mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
remove unnecessary @includes on box-shadow
This commit is contained in:
parent
66a51729b3
commit
5c0bb56748
@ -127,7 +127,7 @@
|
||||
|
||||
.loading .topic-list {
|
||||
border: 0;
|
||||
@include box-shadow(none);
|
||||
box-shadow: none;
|
||||
tr {
|
||||
background-color: transparent;
|
||||
}
|
||||
@ -263,7 +263,7 @@ ol.category-breadcrumb {
|
||||
background: $secondary;
|
||||
position: absolute;
|
||||
z-index: 1110;
|
||||
@include box-shadow(0 2px 2px rgba(0,0,0, .4));
|
||||
box-shadow: 0 2px 2px rgba(0,0,0, .4);
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
|
@ -144,7 +144,7 @@
|
||||
border: 1px solid scale-color-diff();
|
||||
padding: 5px;
|
||||
|
||||
@include box-shadow(0 2px 2px rgba(0,0,0, .4));
|
||||
box-shadow: 0 2px 2px rgba(0,0,0, .4);
|
||||
|
||||
// note these topic counts only appear for anons in the category hamburger drop down
|
||||
b.topics-count {
|
||||
|
@ -128,5 +128,5 @@ h1 a.badge-category div {vertical-align: top;}
|
||||
background-color: dark-light-diff($primary, $secondary, 90%, -65%);
|
||||
border-color: dark-light-diff($primary, $secondary, 90%, -65%);
|
||||
font-size: 12px;
|
||||
@include box-shadow(inset 0 1px 0 rgba(0,0,0, 0.22));
|
||||
box-shadow: inset 0 1px 0 rgba(0,0,0, 0.22);
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
background: scale-color($tertiary, $lightness: 90%);
|
||||
@include box-shadow(0 1px 2px scale-color($tertiary, $lightness: 70%));
|
||||
box-shadow: 0 1px 2px scale-color($tertiary, $lightness: 70%);
|
||||
z-index: 501;
|
||||
overflow: auto;
|
||||
|
||||
|
@ -122,7 +122,7 @@
|
||||
.btn-social {
|
||||
color: $secondary;
|
||||
text-shadow: 0 1px 0 rgba($primary, 0.2);
|
||||
@include box-shadow(inset 0 1px 0 rgba(0,0,0, 0.1));
|
||||
box-shadow: inset 0 1px 0 rgba(0,0,0, 0.1);
|
||||
&[href] {
|
||||
color: $secondary;
|
||||
}
|
||||
|
@ -3,7 +3,7 @@
|
||||
border: 1px solid scale-color-diff();
|
||||
padding: 5px;
|
||||
background: $secondary;
|
||||
@include box-shadow(0 0px 2px rgba(0,0,0, .2));
|
||||
box-shadow: 0 0px 2px rgba(0,0,0, .2);
|
||||
z-index: 100;
|
||||
|
||||
position: absolute;
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
.composer-popup {
|
||||
|
||||
@include box-shadow(3px 3px 3px rgba(0,0,0, 0.34));
|
||||
box-shadow: 3px 3px 3px rgba(0,0,0, 0.34);
|
||||
background: dark-light-diff($highlight, $secondary, 50%, -80%);
|
||||
|
||||
&.urgent {
|
||||
|
@ -124,7 +124,7 @@
|
||||
}
|
||||
.avatar {
|
||||
&.latest:not(.single) {
|
||||
@include box-shadow(0 0 6px 1px desaturate(scale-color($tertiary, $lightness: 30%), 35%));
|
||||
box-shadow: 0 0 6px 1px desaturate(scale-color($tertiary, $lightness: 30%), 35%);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -130,7 +130,7 @@ nav.post-controls {
|
||||
|
||||
&:active {
|
||||
background: dark-light-diff($tertiary, $secondary, 50%, -35%);
|
||||
@include box-shadow(inset 0 1px 3px rgba(0,0,0, .3));
|
||||
box-shadow: inset 0 1px 3px rgba(0,0,0, .3);
|
||||
|
||||
}
|
||||
|
||||
@ -154,7 +154,7 @@ nav.post-controls {
|
||||
}
|
||||
|
||||
&:active {
|
||||
@include box-shadow(inset 0 1px 3px rgba(0,0,0, .4));
|
||||
box-shadow: inset 0 1px 3px rgba(0,0,0, .4);
|
||||
}
|
||||
|
||||
&.hidden {
|
||||
@ -929,7 +929,7 @@ $topic-avatar-width: 45px;
|
||||
}
|
||||
&:active {
|
||||
@include linear-gradient(darken($tertiary, 18%), darken($tertiary, 12%));
|
||||
@include box-shadow(inset 0 1px 3px rgba(0,0,0, 0.2));
|
||||
box-shadow: inset 0 1px 3px rgba(0,0,0, 0.2);
|
||||
color: $secondary;
|
||||
}
|
||||
&[disabled] {
|
||||
@ -1091,7 +1091,7 @@ and (max-width : 870px) {
|
||||
&.top {
|
||||
margin-left: 6%;
|
||||
width: 91%;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -134,10 +134,6 @@ a.star {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
|
||||
#main a.star.starred {
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.topic-post .boxed .contents {
|
||||
float: none;
|
||||
padding-top: 5px;
|
||||
|
@ -65,7 +65,7 @@
|
||||
border: 1px solid scale-color-diff();
|
||||
padding: 5px;
|
||||
background: $secondary;
|
||||
@include box-shadow(0 0px 2px rgba(0,0,0, .2));
|
||||
box-shadow(0 0px 2px rgba(0,0,0, .2));
|
||||
|
||||
position: absolute;
|
||||
bottom: 34px;
|
||||
|
Loading…
Reference in New Issue
Block a user