aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Mapco/_components.scss
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2022-11-23 22:40:23 +0100
committerGravatar GitHub <noreply@github.com> 2022-11-23 22:40:23 +0100
commitef5483490cf42beeec8f77ed1669ab9a05b9cbc0 (patch)
tree99211facb10f2da8cbfb58fd0081fc4a4eba1f3f /p/themes/Mapco/_components.scss
parentc9f5012f102c5270d27206aca957b2ee16fe04f8 (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/Mapco/_components.scss')
-rw-r--r--p/themes/Mapco/_components.scss24
1 files changed, 18 insertions, 6 deletions
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;