summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-01-04 17:55:21 +0100
committerGitHub <noreply@github.com>2018-01-04 17:55:21 +0100
commit08dbcd238ddfacdb94ddc3ede14f042d04154ba4 (patch)
treeb3d68b11b3299a510aba817ad904866b572c84c0
parentf87977ef2d392d675488cc159d152f6e941c3712 (diff)
parenta3753193ef01802168cc77364368ad43fea4cd04 (diff)
downloadnextcloud-server-08dbcd238ddfacdb94ddc3ede14f042d04154ba4.tar.gz
nextcloud-server-08dbcd238ddfacdb94ddc3ede14f042d04154ba4.zip
Merge pull request #7696 from nextcloud/fix-appmenu-height
Fix small issues with the app menu
-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 {