Browse Source
Merge pull request #11487 from nextcloud/avatar-hover-background
Fix img seelct and variable for avatar hover
pull/11496/head
John Molakvoæ
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
12 additions and
4 deletions
-
core/css/header.scss
|
|
|
@ -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 & { |
|
|
|
|