diff options
| author | 2022-11-23 22:40:23 +0100 | |
|---|---|---|
| committer | 2022-11-23 22:40:23 +0100 | |
| commit | ef5483490cf42beeec8f77ed1669ab9a05b9cbc0 (patch) | |
| tree | 99211facb10f2da8cbfb58fd0081fc4a4eba1f3f /p/themes/Ansum/_components.scss | |
| parent | c9f5012f102c5270d27206aca957b2ee16fe04f8 (diff) | |
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
Diffstat (limited to 'p/themes/Ansum/_components.scss')
| -rw-r--r-- | p/themes/Ansum/_components.scss | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/p/themes/Ansum/_components.scss b/p/themes/Ansum/_components.scss index 35298b4de..001d31578 100644 --- a/p/themes/Ansum/_components.scss +++ b/p/themes/Ansum/_components.scss @@ -37,15 +37,14 @@ right: 17px; } - .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; text-transform: uppercase; letter-spacing: 1px; - - } .item { @@ -57,19 +56,28 @@ color: variables.$main-font-color; font-size: 1rem; line-height: 2.5em; + + &:not(.addItem):hover { + background: variables.$main-first; + color: variables.$white; + + .icon { + filter: grayscale(100%) brightness(2.5); + } + } } - &:not(.addItem):hover { - background: variables.$main-first; - color: variables.$white; + &.dropdown-section { + margin-top: 0.75rem; - a, button, label { - text-decoration: none; - color: variables.$white; + ~ .dropdown-section { + border-top-color: variables.$grey-light; } - .icon { - filter: grayscale(100%) brightness(2.5); + .item { + a, span, .as-link { + padding-left: 2rem; + } } } |
