summaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-01-24 00:25:09 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-01-24 00:25:09 +0100
commitc30cf00ec3dcf786ef5e91f782d58ed24cfe0852 (patch)
treefed0c54f8203b6937b68d573496ddf5b2c2423c8 /core/css
parentd4d116503cdb5538f544e47de9d2ec7d1698c8cd (diff)
downloadnextcloud-server-c30cf00ec3dcf786ef5e91f782d58ed24cfe0852.tar.gz
nextcloud-server-c30cf00ec3dcf786ef5e91f782d58ed24cfe0852.zip
Fixed menu arrow, padding and avatar position, fix #3217
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/css')
-rw-r--r--core/css/header.scss14
1 files changed, 6 insertions, 8 deletions
diff --git a/core/css/header.scss b/core/css/header.scss
index 0134ca951d4..28da7f6dfa6 100644
--- a/core/css/header.scss
+++ b/core/css/header.scss
@@ -318,7 +318,8 @@
/* User menu on the right */
#expand {
- display: block;
+ display: flex;
+ align-items: center;
padding: 7px 30px 6px 10px;
cursor: pointer;
* {
@@ -344,8 +345,6 @@
/* Profile picture in header */
.avatardiv {
- float: left;
- display: inline-block;
margin-right: 8px;
cursor: pointer;
height: 32px;
@@ -376,23 +375,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;