]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fixed menu arrow, padding and avatar position, fix #3217 3227/head
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Mon, 23 Jan 2017 23:25:09 +0000 (00:25 +0100)
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Mon, 23 Jan 2017 23:25:09 +0000 (00:25 +0100)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
core/css/header.scss

index 0134ca951d4797ce204ef4b3fcc5dd56677abee3..28da7f6dfa65afbf42b5f8492f8f162830ca9548 100644 (file)
 
 /* User menu on the right */
 #expand {
-       display: block;
+       display: flex;
+       align-items: center;
        padding: 7px 30px 6px 10px;
        cursor: pointer;
        * {
 
        /* Profile picture in header */
        .avatardiv {
-               float: left;
-               display: inline-block;
                margin-right: 8px;
                cursor: pointer;
                height: 32px;
        &: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;