Merge pull request #11487 from nextcloud/avatar-hover-background

Fix img seelct and variable for avatar hover
This commit is contained in:
John Molakvoæ 2018-10-01 15:50:22 +02:00 committed by GitHub
commit c4ea7b1e8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 4 deletions

View File

@ -357,10 +357,17 @@ nav[role='navigation'] {
&:active { &:active {
color: var(--color-primary-text); color: var(--color-primary-text);
img, #expandDisplayName { #expandDisplayName,
border: 2px solid $color-primary-text; .avatardiv{
margin-top: -2px; border-radius: 50%;
margin-left: -2px; border: 2px solid var(--color-primary-text);
margin: -2px;
}
.avatardiv{
background-color: var(--color-primary-text);
}
#expandDisplayName {
opacity: 1;
} }
} }
@ -383,6 +390,7 @@ nav[role='navigation'] {
#expandDisplayName { #expandDisplayName {
padding: 8px; padding: 8px;
opacity: .6; opacity: .6;
cursor: pointer;
/* full opacity for gear icon if active */ /* full opacity for gear icon if active */
#body-settings & { #body-settings & {