Unify box-shadow style, remove filter

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2017-05-16 21:08:44 +02:00
parent 2c9007616b
commit 35bd469aa0
2 changed files with 3 additions and 11 deletions

View File

@ -601,11 +601,7 @@ kbd {
margin: 5px; margin: 5px;
margin-top: -5px; margin-top: -5px;
right: 0; right: 0;
-webkit-filter: drop-shadow(0 0 5px $color-box-shadow); box-shadow: 0 1px 10px $color-box-shadow;
-moz-filter: drop-shadow(0 0 5px $color-box-shadow);
-ms-filter: drop-shadow(0 0 5px $color-box-shadow);
-o-filter: drop-shadow(0 0 5px $color-box-shadow);
filter: drop-shadow(0 0 5px $color-box-shadow);
display: none; display: none;
&:after { &:after {

View File

@ -27,7 +27,7 @@
position: absolute; position: absolute;
top: 45px; top: 45px;
background-color: #fff; background-color: #fff;
box-shadow: 0 1px 10px rgba(150, 150, 150, 0.75); box-shadow: 0 1px 10px $color-box-shadow;
border-radius: 0 0 3px 3px; border-radius: 0 0 3px 3px;
display: none; display: none;
box-sizing: border-box; box-sizing: border-box;
@ -508,11 +508,7 @@ nav {
top: 45px; top: 45px;
transform: translateX(-50%); transform: translateX(-50%);
padding: 4px 10px; padding: 4px 10px;
-webkit-filter: drop-shadow(0 0 5px rgba(150, 150, 150, .75)); box-shadow: 0 1px 10px $color-box-shadow;
-moz-filter: drop-shadow(0 0 5px rgba(150, 150, 150, .75));
-ms-filter: drop-shadow(0 0 5px rgba(150, 150, 150, .75));
-o-filter: drop-shadow(0 0 5px rgba(150, 150, 150, .75));
filter: drop-shadow(0 0 5px rgba(150, 150, 150, .75));
} }
li:hover span { li:hover span {