diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-01-24 13:30:04 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-24 13:30:04 -0600 |
commit | fa5cb9c875d87c1f5da42b5586118d1ecccf1079 (patch) | |
tree | faf058e73a22600fbbd2b7e7a4e595e9c014127d /core/css | |
parent | ca6f5735b12b9240b9aee6e10b5e17a887241a18 (diff) | |
parent | c30cf00ec3dcf786ef5e91f782d58ed24cfe0852 (diff) | |
download | nextcloud-server-fa5cb9c875d87c1f5da42b5586118d1ecccf1079.tar.gz nextcloud-server-fa5cb9c875d87c1f5da42b5586118d1ecccf1079.zip |
Merge pull request #3227 from nextcloud/fix-avatar-user-menu-header
Fixed menu arrow, padding and avatar position, fix #3217
Diffstat (limited to 'core/css')
-rw-r--r-- | core/css/header.scss | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/core/css/header.scss b/core/css/header.scss index d0c773372e9..2d3c0fb3b5b 100644 --- a/core/css/header.scss +++ b/core/css/header.scss @@ -319,7 +319,8 @@ /* User menu on the right */ #expand { - display: block; + display: flex; + align-items: center; padding: 7px 30px 6px 10px; cursor: pointer; * { @@ -345,8 +346,6 @@ /* Profile picture in header */ .avatardiv { - float: left; - display: inline-block; margin-right: 8px; cursor: pointer; height: 32px; @@ -377,23 +376,22 @@ &:after { /* position of dropdown arrow */ right: 15px; - border-color: rgba(0, 0, 0, 0); - border-bottom-color: rgba(255, 255, 255, 1); + border: 10px solid transparent; + border-color: transparent; + border-bottom-color: #fff; bottom: 100%; - border: solid transparent; content: ' '; height: 0; width: 0; position: absolute; pointer-events: none; - border-width: 10px; margin-left: -10px; } a { display: block; height: 40px; color: #000; - padding: 4px 12px 0; + padding: 10px 12px 0; -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)'; opacity: .5; box-sizing: border-box; |