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 {
color: var(--color-primary-text);
img, #expandDisplayName {
border: 2px solid $color-primary-text;
margin-top: -2px;
margin-left: -2px;
#expandDisplayName,
.avatardiv{
border-radius: 50%;
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 {
padding: 8px;
opacity: .6;
cursor: pointer;
/* full opacity for gear icon if active */
#body-settings & {