diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2018-10-01 15:50:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-01 15:50:22 +0200 |
commit | c4ea7b1e8f3fc05bee6c52859231ad9df51f01b4 (patch) | |
tree | b2d509d24d1d30b4378578c1fcc77d51a18a9b94 /core/css | |
parent | b5bf83fb4c09be131a7b8741bd1272ac2e5ca774 (diff) | |
parent | 7afa1cf2839b4ce97beae6d5311ecdc20e8b1d7d (diff) | |
download | nextcloud-server-c4ea7b1e8f3fc05bee6c52859231ad9df51f01b4.tar.gz nextcloud-server-c4ea7b1e8f3fc05bee6c52859231ad9df51f01b4.zip |
Merge pull request #11487 from nextcloud/avatar-hover-background
Fix img seelct and variable for avatar hover
Diffstat (limited to 'core/css')
-rw-r--r-- | core/css/header.scss | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/core/css/header.scss b/core/css/header.scss index 01e9e0ff481..4c0f05f9cc6 100644 --- a/core/css/header.scss +++ b/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 & { |