show triangle below user menu too when an entry inside there is active

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2017-03-27 19:53:44 +02:00
parent 0037d18aee
commit 1c4603a376
1 changed files with 18 additions and 0 deletions

View File

@ -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;