aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Mapco/_components.scss
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2022-10-03 21:50:40 +0200
committerGravatar GitHub <noreply@github.com> 2022-10-03 21:50:40 +0200
commit645224a303c5672b318b62ff294302a9e82abe06 (patch)
tree93a7da325bbcf9b3cb0e433774938fc2a845c496 /p/themes/Mapco/_components.scss
parent46d0b4140ebc3365618b23b01c094b0860baed9d (diff)
Improved: Remove <li> as separator (#4597)
* templates * themes * fix * fix * fixes * fix
Diffstat (limited to 'p/themes/Mapco/_components.scss')
-rw-r--r--p/themes/Mapco/_components.scss38
1 files changed, 20 insertions, 18 deletions
diff --git a/p/themes/Mapco/_components.scss b/p/themes/Mapco/_components.scss
index 594ef4371..cf7aca73d 100644
--- a/p/themes/Mapco/_components.scss
+++ b/p/themes/Mapco/_components.scss
@@ -38,13 +38,12 @@
}
.dropdown-header {
- margin: 1rem 0.5rem 1rem 1rem;
+ padding: 1rem 0.5rem 1rem 1rem;
font-weight: bold;
text-align: left;
color: variables.$grey-dark;
text-transform: uppercase;
letter-spacing: 1px;
-
}
.item {
@@ -58,17 +57,15 @@
line-height: 2.5em;
}
- &:not(.addItem):hover {
- background: variables.$main-first;
- color: variables.$white;
-
- .icon {
- filter: brightness(3);
- }
-
- a, button, label {
- text-decoration: none;
+ &:not(.addItem) {
+ a:hover,
+ button:hover {
+ background: variables.$main-first;
color: variables.$white;
+
+ .icon {
+ filter: brightness(3);
+ }
}
}
@@ -78,6 +75,17 @@
font-weight: bold;
}
}
+
+ ~ .dropdown-header {
+ margin-top: 0.75rem;
+ padding-top: 1.75rem;
+ border-top-color: variables.$grey-light;
+ }
+
+ &.separator {
+ margin-top: 0.75rem;
+ border-top-color: variables.$grey-light;
+ }
}
.input {
@@ -87,12 +95,6 @@
border-radius: 3px;
}
}
-
- .separator {
- margin: 0.75rem 0;
- border-bottom: 1px solid variables.$grey-light;
- }
-
}
.tree .tree-folder .tree-folder-items .dropdown-menu {