Skip to content

Commit ed4ada2

Browse files
committed
Fix box shadow of header elements
* unify shadow blur from 10px to 3px * remove opacity of background of app labels * use box-shadow instead of filter: drop-shadow for better support in Safari Signed-off-by: Morris Jobke <hey@morrisjobke.de>
1 parent e550a3d commit ed4ada2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

core/css/header.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
.menu {
7777
top: 45px;
7878
background-color: $color-main-background;
79-
filter: drop-shadow(0 1px 3px $color-box-shadow);
79+
box-shadow: 0 1px 3px $color-box-shadow;
8080
border-radius: 0 0 3px 3px;
8181
display: none;
8282
box-sizing: border-box;
@@ -408,7 +408,6 @@ nav {
408408
#expanddiv {
409409
right: 13px;
410410
background: $color-main-background;
411-
box-shadow: 0 1px 10px $color-box-shadow;
412411
&:after {
413412
/* position of dropdown arrow */
414413
right: 13px;
@@ -483,7 +482,7 @@ nav {
483482
display: none;
484483
position: absolute;
485484
overflow: visible;
486-
background-color: rgba($color-main-background, .97);
485+
background-color: $color-main-background;
487486
white-space: nowrap;
488487
border: none;
489488
border-radius: $border-radius;
@@ -496,7 +495,7 @@ nav {
496495
top: 45px;
497496
transform: translateX(-50%);
498497
padding: 4px 10px;
499-
box-shadow: 0 1px 10px $color-box-shadow;
498+
box-shadow: 0 1px 3px $color-box-shadow;
500499
}
501500

502501
li:hover span {

0 commit comments

Comments
 (0)