summaryrefslogtreecommitdiffstats
path: root/core/css/header.scss
diff options
context:
space:
mode:
Diffstat (limited to 'core/css/header.scss')
-rw-r--r--core/css/header.scss9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/css/header.scss b/core/css/header.scss
index 54324544bb2..98ea71f2ed2 100644
--- a/core/css/header.scss
+++ b/core/css/header.scss
@@ -498,6 +498,7 @@ nav {
transform: translateX(-50%);
padding: 4px 10px;
filter: drop-shadow(0 1px 10px $color-box-shadow);
+ z-index: 100;
}
li:hover span {
@@ -518,7 +519,6 @@ nav {
transform: translateX(-50%);
left: 50%;
bottom: 0;
- z-index: 100;
display: none;
}
li a.active:before,
@@ -526,6 +526,13 @@ nav {
li:hover a.active:before {
display: block;
}
+ li a.active:before {
+ z-index: 99;
+ }
+ li:hover a:before,
+ li a.active:hover:before {
+ z-index: 101;
+ }
&.menu-open li:hover a:before,
&.menu-open li a.active:before,
&.menu-open li:hover span {