From 645224a303c5672b318b62ff294302a9e82abe06 Mon Sep 17 00:00:00 2001 From: maTh Date: Mon, 3 Oct 2022 21:50:40 +0200 Subject: Improved: Remove
  • as separator (#4597) * templates * themes * fix * fix * fixes * fix --- p/themes/Mapco/_components.scss | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) (limited to 'p/themes/Mapco/_components.scss') diff --git a/p/themes/Mapco/_components.scss b/p/themes/Mapco/_components.scss index 594ef4371..cf7aca73d 100644 --- a/p/themes/Mapco/_components.scss +++ b/p/themes/Mapco/_components.scss @@ -38,13 +38,12 @@ } .dropdown-header { - margin: 1rem 0.5rem 1rem 1rem; + padding: 1rem 0.5rem 1rem 1rem; font-weight: bold; text-align: left; color: variables.$grey-dark; text-transform: uppercase; letter-spacing: 1px; - } .item { @@ -58,17 +57,15 @@ line-height: 2.5em; } - &:not(.addItem):hover { - background: variables.$main-first; - color: variables.$white; - - .icon { - filter: brightness(3); - } - - a, button, label { - text-decoration: none; + &:not(.addItem) { + a:hover, + button:hover { + background: variables.$main-first; color: variables.$white; + + .icon { + filter: brightness(3); + } } } @@ -78,6 +75,17 @@ font-weight: bold; } } + + ~ .dropdown-header { + margin-top: 0.75rem; + padding-top: 1.75rem; + border-top-color: variables.$grey-light; + } + + &.separator { + margin-top: 0.75rem; + border-top-color: variables.$grey-light; + } } .input { @@ -87,12 +95,6 @@ border-radius: 3px; } } - - .separator { - margin: 0.75rem 0; - border-bottom: 1px solid variables.$grey-light; - } - } .tree .tree-folder .tree-folder-items .dropdown-menu { -- cgit v1.2.3