diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2017-03-27 19:53:44 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2017-03-27 20:17:03 +0200 |
commit | 1c4603a3764fda597f6f2b9c3c1a1ae29390a61a (patch) | |
tree | 47dd0ad51e6c922874b5bdd889bdd7db91fcb898 /core | |
parent | 0037d18aeeaa9ab4bc8ef6a110ca9f410eae9222 (diff) | |
download | nextcloud-server-1c4603a3764fda597f6f2b9c3c1a1ae29390a61a.tar.gz nextcloud-server-1c4603a3764fda597f6f2b9c3c1a1ae29390a61a.zip |
show triangle below user menu too when an entry inside there is active
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core')
-rw-r--r-- | core/css/header.scss | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/core/css/header.scss b/core/css/header.scss index 6f41dd8154f..33b6ca69e96 100644 --- a/core/css/header.scss +++ b/core/css/header.scss @@ -344,6 +344,7 @@ nav { /* User menu on the right */ #expand { + position: relative; display: flex; align-items: center; padding: 7px 20px 6px 10px; @@ -388,6 +389,23 @@ nav { } } +/* show triangle below user menu if active */ +#body-settings #expand:before { + content: ' '; + height: 0; + width: 0; + position: absolute; + pointer-events: none; + border: 0 solid transparent; + border-bottom-color: white; + border-width: 10px; + transform: translateX(-50%); + left: 26px; + bottom: 0; + z-index: 100; + display: block; +} + #expanddiv { position: absolute; right: 13px; |