diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2017-12-19 06:58:58 +0100 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2017-12-19 06:58:58 +0100 |
commit | 48b62a0eee8b670d92a2eaeefe0cbcd82a072013 (patch) | |
tree | 766f27b9bea147766ada45668a034cd6ee96b6cd /core | |
parent | 2ec181e084d327dbbbc7ebc767ed6024671759f6 (diff) | |
download | nextcloud-server-48b62a0eee8b670d92a2eaeefe0cbcd82a072013.tar.gz nextcloud-server-48b62a0eee8b670d92a2eaeefe0cbcd82a072013.zip |
Fix opening the menu in a Share page
".popovermenu" elements are visible or not depending on whether they
also have the "open" CSS class or not. "#header .menu" elements were
always hidden, so when both rules applied to the same element, like in
the menu of a Share page, the element was always hidden due to
"#header .menu" being more specific than ".popovermenu" and thus
overriding its rules. Now, "#header .menu" elements are hidden only if
they are not a ".popovermenu" too.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/css/header.scss | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/css/header.scss b/core/css/header.scss index 21305de0d02..b5bb8ca9c5b 100644 --- a/core/css/header.scss +++ b/core/css/header.scss @@ -78,11 +78,14 @@ background-color: $color-main-background; filter: drop-shadow(0 1px 3px $color-box-shadow); border-radius: 0 0 3px 3px; - display: none; box-sizing: border-box; z-index: 2000; position: absolute; + &:not(.popovermenu) { + display: none; + } + /* Dropdown arrow */ &:after { border: 10px solid transparent; |