Merge branch 'feature-icon-size-tweaks' of https://github.com/naepalm/OurUmbraco into naepalm-feature-icon-size-tweaks
This commit is contained in:
@@ -1,174 +1,175 @@
|
|||||||
body.packages {
|
body.packages {
|
||||||
nav {
|
nav {
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
&:hover {
|
&:hover {
|
||||||
opacity: .8;
|
opacity: .8;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
opacity: .7;
|
opacity: .7;
|
||||||
margin: .5rem 0 .5rem;
|
margin: .5rem 0 .5rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
h3 {
|
h3 {
|
||||||
opacity: .5;
|
opacity: .5;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.open, &.active {
|
&.open, &.active {
|
||||||
h3, a {
|
h3, a {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
color: #000 !important;
|
color: #000 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active > ul {
|
&.active > ul {
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.packages-content {
|
.packages-content {
|
||||||
|
|
||||||
.search-big {
|
.search-big {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
margin: 1em 0 10px;
|
margin: 1em 0 10px;
|
||||||
font-size: 2.1rem;
|
font-size: 2.1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.package {
|
.package {
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
transition: all .1s linear;
|
transition: all .1s linear;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
border: 1px solid #e9e9e9;
|
border: 1px solid #e9e9e9;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
@include box-shadow(2);
|
@include box-shadow(2);
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
transform: scale(1.1);
|
transform: scale(1.1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.box {
|
.box {
|
||||||
border: none;
|
border: none;
|
||||||
border-bottom: 1px solid whitesmoke;
|
border-bottom: 1px solid whitesmoke;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
.row{
|
.row{
|
||||||
width:100%;
|
width:100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
margin-bottom: .5rem;
|
margin-bottom: .5rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: $color-headline;
|
color: $color-headline;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $color-our;
|
color: $color-our;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
display: block;
|
display: block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
width: 50px;
|
||||||
@media (min-width: $md) {
|
|
||||||
|
@media (min-width: $md) {
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
.col-xs-2 {
|
|
||||||
vertical-align: middle !important;
|
.col-xs-2 {
|
||||||
padding: 0 !important;
|
vertical-align: middle !important;
|
||||||
}
|
padding: 0 !important;
|
||||||
|
}
|
||||||
.other {
|
|
||||||
margin-top: 30px;
|
.other {
|
||||||
}
|
margin-top: 30px;
|
||||||
|
}
|
||||||
.stats {
|
|
||||||
left: calc(16.666666666666664% + 15px);
|
.stats {
|
||||||
font-family: Consolas, "Liberation Mono", Menlo, Monaco, Courier, monospace;
|
left: calc(16.666666666666664% + 15px);
|
||||||
font-size: .75rem;
|
font-family: Consolas, "Liberation Mono", Menlo, Monaco, Courier, monospace;
|
||||||
|
font-size: .75rem;
|
||||||
i {
|
|
||||||
margin-left: 3px;
|
i {
|
||||||
font-size: .9rem;
|
margin-left: 3px;
|
||||||
}
|
font-size: .9rem;
|
||||||
|
}
|
||||||
span {
|
|
||||||
&:first-child {
|
span {
|
||||||
margin-right: 0px;
|
&:first-child {
|
||||||
}
|
margin-right: 0px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
p {
|
|
||||||
font-size: .9rem;
|
p {
|
||||||
color: $color-text;
|
font-size: .9rem;
|
||||||
opacity: 1;
|
color: $color-text;
|
||||||
}
|
opacity: 1;
|
||||||
|
}
|
||||||
.package-badge {
|
|
||||||
position: absolute;
|
.package-badge {
|
||||||
right: 15px;
|
position: absolute;
|
||||||
bottom: -3px;
|
right: 15px;
|
||||||
|
bottom: -3px;
|
||||||
|
|
||||||
@media (min-width: $md) {
|
|
||||||
position: absolute;
|
@media (min-width: $md) {
|
||||||
right: 0;
|
position: absolute;
|
||||||
bottom: 25px;
|
right: 0;
|
||||||
}
|
bottom: 25px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
.karma , .downloads {
|
|
||||||
color: #000;
|
.karma , .downloads {
|
||||||
|
color: #000;
|
||||||
span {
|
|
||||||
transform: translate(0, 2px);
|
span {
|
||||||
display: inline-block;
|
transform: translate(0, 2px);
|
||||||
}
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
&.liked {
|
|
||||||
.karma {
|
&.liked {
|
||||||
i {
|
.karma {
|
||||||
color: $color-red;
|
i {
|
||||||
}
|
color: $color-red;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
.name {
|
|
||||||
font-size: 1rem;
|
.name {
|
||||||
line-height: 1.3;
|
font-size: 1rem;
|
||||||
font-weight: bold;
|
line-height: 1.3;
|
||||||
}
|
font-weight: bold;
|
||||||
|
}
|
||||||
.description {
|
|
||||||
font-size: .8rem;
|
.description {
|
||||||
margin-top: 3px;
|
font-size: .8rem;
|
||||||
max-height: 28px;
|
margin-top: 3px;
|
||||||
overflow: hidden;
|
max-height: 28px;
|
||||||
}
|
overflow: hidden;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -157,6 +157,10 @@ section.forum {
|
|||||||
max-width: 112px;
|
max-width: 112px;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
|
||||||
|
.package-forum-activity & {
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
@media (min-width: $md) {
|
@media (min-width: $md) {
|
||||||
width: 58px;
|
width: 58px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -185,7 +185,7 @@
|
|||||||
defaultScreenshot = childContent.GetPropertyValue("defaultScreenshotPath", false, "/css/img/package2.png");
|
defaultScreenshot = childContent.GetPropertyValue("defaultScreenshotPath", false, "/css/img/package2.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
<img src="@Utils.GetScreenshotPath(defaultScreenshot)?bgcolor=fff&width=50&height=50&format=png" />
|
<img src="@Utils.GetScreenshotPath(defaultScreenshot)?bgcolor=fff&width=100&height=100&format=png" />
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-10 col-md-6">
|
<div class="col-xs-10 col-md-6">
|
||||||
<div class="forum-thread-text">
|
<div class="forum-thread-text">
|
||||||
|
|||||||
Reference in New Issue
Block a user