diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-01-30 17:23:10 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-30 17:23:10 -0600 |
commit | 5618287b689465c926b9d465aa843db3bf0617f3 (patch) | |
tree | 708acefb4ef3306f3841ffa4825010be8aee5cc3 /core | |
parent | 687e38c40949ac291c036523e6d8cb5f1d8dd180 (diff) | |
parent | 3017bae892fd83e3fe22f0a6bc201cbc0aa3e2c1 (diff) | |
download | nextcloud-server-5618287b689465c926b9d465aa843db3bf0617f3.tar.gz nextcloud-server-5618287b689465c926b9d465aa843db3bf0617f3.zip |
Merge pull request #3282 from nextcloud/header-menu-arrow-up
Merge similar properties and standardize the arrow to the menu class
Diffstat (limited to 'core')
-rw-r--r-- | core/css/header.scss | 38 |
1 files changed, 15 insertions, 23 deletions
diff --git a/core/css/header.scss b/core/css/header.scss index 21b8cff4d28..2b73937a3c4 100644 --- a/core/css/header.scss +++ b/core/css/header.scss @@ -20,6 +20,21 @@ -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; + + /* Dropdown menu arrow */ + &.menu:after, + .menu:after { + border: 10px solid transparent; + border-color: transparent; + border-bottom-color: #fff; + bottom: 100%; + content: ' '; + height: 0; + width: 0; + position: absolute; + pointer-events: none; + margin-left: -10px; + } } /* removed until content-focusing issue is fixed */ @@ -194,21 +209,8 @@ border-top-right-radius: 0; display: none; box-sizing: border-box; - /*overflow-y: auto; - overflow-x: hidden;*/ z-index: 2000; &:after { - bottom: 100%; - border: solid transparent; - content: ' '; - height: 0; - width: 0; - position: absolute; - pointer-events: none; - border-color: rgba(0, 0, 0, 0); - border-bottom-color: rgba(255, 255, 255, 0.97); - border-width: 10px; - margin-left: -10px; left: 47%; } * { @@ -381,16 +383,6 @@ &:after { /* position of dropdown arrow */ right: 15px; - border: 10px solid transparent; - border-color: transparent; - border-bottom-color: #fff; - bottom: 100%; - content: ' '; - height: 0; - width: 0; - position: absolute; - pointer-events: none; - margin-left: -10px; } a { display: block; |