aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Mapco/_components.scss
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2023-01-30 20:32:55 +0100
committerGravatar GitHub <noreply@github.com> 2023-01-30 20:32:55 +0100
commite53ba88bb96ba1343ffc771f6170baa4342b4e39 (patch)
tree6b7f2cec9fe51b788e186f102008ff4b2e86d1b2 /p/themes/Mapco/_components.scss
parent4ad66c24bfd96a5f5a71eec895e9d3085d67f4a0 (diff)
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 <alexandre@alapetite.fr> * Update app/layout/nav_menu.phtml Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * Update app/layout/nav_menu.phtml Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * Update app/layout/nav_menu.phtml Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * wip * mapco theme * RTL for Ansum and Mapco * fix * fix --------- Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'p/themes/Mapco/_components.scss')
-rw-r--r--p/themes/Mapco/_components.scss13
1 files changed, 12 insertions, 1 deletions
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;