diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-02-22 12:13:35 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-02-22 12:15:32 +0100 |
commit | 1e2a082cd29cef0f6a7c56402720fd005f2bf292 (patch) | |
tree | 36b2bcfba4069ced73b0f0115415f2f78be50ed1 /core | |
parent | c2c2c06546801d956778f5ab87e9042d45b40dc4 (diff) | |
download | nextcloud-server-1e2a082cd29cef0f6a7c56402720fd005f2bf292.tar.gz nextcloud-server-1e2a082cd29cef0f6a7c56402720fd005f2bf292.zip |
Use popovermenu instead of dropdown and small fix to popovermenu
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/css/apps.scss | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss index a92db4ed4ab..50c48d132ef 100644 --- a/core/css/apps.scss +++ b/core/css/apps.scss @@ -683,10 +683,9 @@ kbd { /* DROPDOWN ----------------------------------------------------------------- */ .dropdown { - background: nc-darken($color-main-background, 8%); - border-bottom-left-radius: 5px; - border-bottom-right-radius: 5px; - box-shadow: 0 1px 1px $color-box-shadow; + background: $color-main-background; + border-radius: 0 0 $border-radius $border-radius; + filter: drop-shadow(0 1px 3px $color-box-shadow); display: block; margin-right: 0; position: absolute; @@ -868,17 +867,17 @@ kbd { width: 16px; padding: 0 10px; } + /* checkbox/radio fixes */ + > input.radio + label, > input.checkbox + label { padding: 0 !important; - &::before { - margin: -2px 12px 0; - } + width: 100%; } - > input.radio + label { - padding: 0 !important; - &::before { - margin: -2px 11px 0; - } + > input.checkbox + label::before { + margin: -2px 12px 0; + } + > input.radio + label::before { + margin: -2px 11px 0; } } > button { |