Merge pull request #3227 from nextcloud/fix-avatar-user-menu-header

Fixed menu arrow, padding and avatar position, fix #3217
This commit is contained in:
Morris Jobke 2017-01-24 13:30:04 -06:00 committed by GitHub
commit fa5cb9c875
1 changed files with 6 additions and 8 deletions

View File

@ -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;