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/Ansum/_components.scss | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) (limited to 'p/themes/Ansum/_components.scss') diff --git a/p/themes/Ansum/_components.scss b/p/themes/Ansum/_components.scss index acb2430ff..35298b4de 100644 --- a/p/themes/Ansum/_components.scss +++ b/p/themes/Ansum/_components.scss @@ -38,8 +38,7 @@ } .dropdown-header { - // padding: 0 5px 5px; - margin: 1rem 0.5rem 1rem 1rem; + padding: 1rem 0.5rem 1rem 1rem; font-weight: bold; text-align: left; color: variables.$grey-dark; @@ -74,12 +73,35 @@ } } + &:not(.addItem) { + a:hover, + button:hover { + background: variables.$main-first; + color: variables.$white; + + .icon { + filter: brightness(3); + } + } + } + &[aria-checked="true"] { a::before { margin: 0 0 0 -14px; 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 { @@ -90,12 +112,6 @@ } } - .separator { - margin: 0.75rem 0; - border-bottom: 1px solid variables.$grey-light; - // display: none; - } - } .tree .tree-folder .tree-folder-items .dropdown-menu { -- cgit v1.2.3