summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/css/header.scss14
1 files changed, 10 insertions, 4 deletions
diff --git a/core/css/header.scss b/core/css/header.scss
index b38c0bcb401..98ea71f2ed2 100644
--- a/core/css/header.scss
+++ b/core/css/header.scss
@@ -440,7 +440,6 @@ nav {
display: inline-block;
width: auto;
clear: both;
- height: 44px;
li {
float: left;
@@ -462,7 +461,7 @@ nav {
}
}
.app-loading .icon-loading-small-dark {
- top:12px;
+ top: 12px;
width: 20px;
height: 20px;
}
@@ -495,10 +494,11 @@ nav {
color: rgba($color-main-text, .7);
width: auto;
left: 50%;
- top: 45px;
+ top: 100%;
transform: translateX(-50%);
padding: 4px 10px;
filter: drop-shadow(0 1px 10px $color-box-shadow);
+ z-index: 100;
}
li:hover span {
@@ -519,7 +519,6 @@ nav {
transform: translateX(-50%);
left: 50%;
bottom: 0;
- z-index: 100;
display: none;
}
li a.active:before,
@@ -527,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 {