From e53ba88bb96ba1343ffc771f6170baa4342b4e39 Mon Sep 17 00:00:00 2001 From: maTh Date: Mon, 30 Jan 2023 20:32:55 +0100 Subject: Search Improved: dropdown (#4994) * first draft * fix * RTL CSS * add link to documentation * hide search button in desktop view * rename .no-desktop to .only-mobile * i18n * add ID * Theme: Swage * Theme Scewdriver * Theme Pafat * Theme flat * Theme: Adark * Theme: Dark * i18n: German * i18n en-us * fix i18n * Update app/i18n/fr/gen.php Co-authored-by: Alexandre Alapetite * Update app/layout/nav_menu.phtml Co-authored-by: Alexandre Alapetite * Update app/layout/nav_menu.phtml Co-authored-by: Alexandre Alapetite * Update app/layout/nav_menu.phtml Co-authored-by: Alexandre Alapetite * wip * mapco theme * RTL for Ansum and Mapco * fix * fix --------- Co-authored-by: Alexandre Alapetite --- p/themes/Mapco/_components.scss | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'p/themes/Mapco/_components.scss') diff --git a/p/themes/Mapco/_components.scss b/p/themes/Mapco/_components.scss index 8b60dcf0f..5f7e04e56 100644 --- a/p/themes/Mapco/_components.scss +++ b/p/themes/Mapco/_components.scss @@ -22,6 +22,12 @@ } /*=== Dropdown */ +.dropdown { + .dropdown-target:target + .btn { + background-color: variables.$grey-medium-light; + } +} + .dropdown-menu { margin: 9px 0 0 0; padding: 0.5rem 0 1rem 0; @@ -51,7 +57,9 @@ @include mixins.transition(all, 0.075s, ease-in-out); - a, .as-link { + > a, + > span, + > .as-link { padding: 0 2rem; color: variables.$main-font-color; font-size: inherit; @@ -60,7 +68,10 @@ span.icon { padding: 0 0.25rem !important; } + } + > a, + > .as-link { &:not(.addItem):hover { background: variables.$main-first; color: variables.$white; -- cgit v1.2.3