Merge pull request #4100 from nextcloud/header-indicator

show triangle below user menu too when an entry inside there is active
This commit is contained in:
Morris Jobke 2017-03-29 21:43:18 -06:00 committed by GitHub
commit 85fcd42065
2 changed files with 26 additions and 2 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;
@ -384,10 +385,32 @@ nav {
#expandDisplayName {
padding: 8px;
opacity: .7;
opacity: .6;
}
}
/* full opacity for gear icon if active */
#body-settings #expandDisplayName {
opacity: 1;
}
/* 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;
@ -439,6 +462,7 @@ nav {
vertical-align: top !important;
height: 20px;
padding: 12px;
cursor: pointer;
a {
opacity: 0.6;

View file

@ -187,7 +187,7 @@ body {
-webkit-transition: all 100ms;
transition: all 100ms;
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=70)';
opacity: .7;
opacity: .6;
&:focus, &:active, &:valid {
color: $color-primary-text;
width: 155px;