From ef5483490cf42beeec8f77ed1669ab9a05b9cbc0 Mon Sep 17 00:00:00 2001 From: maTh Date: Wed, 23 Nov 2022 22:40:23 +0100 Subject: Improved: config dropdown structure (#4891) * phtml and frss.css * theme Origine * theme adark * theme Ansum * theme Mapco * theme BlueLagoon * theme dark * theme flat * theme nord * theme Screwdriver * theme swage * fix * fix * RTL * fix nord theme * fix SourceMap lines --- p/themes/Mapco/_components.scss | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'p/themes/Mapco/_components.scss') diff --git a/p/themes/Mapco/_components.scss b/p/themes/Mapco/_components.scss index cf7aca73d..55542f2e7 100644 --- a/p/themes/Mapco/_components.scss +++ b/p/themes/Mapco/_components.scss @@ -37,8 +37,9 @@ right: 18px; } - .dropdown-header { - padding: 1rem 0.5rem 1rem 1rem; + .dropdown-header, + .dropdown-section .dropdown-section-title { + padding: 1rem 1.5rem; font-weight: bold; text-align: left; color: variables.$grey-dark; @@ -55,11 +56,8 @@ color: variables.$main-font-color; font-size: 1rem; line-height: 2.5em; - } - &:not(.addItem) { - a:hover, - button:hover { + &:not(.addItem):hover { background: variables.$main-first; color: variables.$white; @@ -69,6 +67,20 @@ } } + &.dropdown-section { + margin-top: 0.75rem; + + ~ .dropdown-section { + border-top-color: variables.$grey-light; + } + + .item { + a, span, .as-link { + padding-left: 2rem; + } + } + } + &[aria-checked="true"] { a::before { margin: 0 0 0 -14px; -- cgit v1.2.3