aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Ansum/_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/Ansum/_components.scss
parent46d0b4140ebc3365618b23b01c094b0860baed9d (diff)
Improved: Remove <li> as separator (#4597)
* templates * themes * fix * fix * fixes * fix
Diffstat (limited to 'p/themes/Ansum/_components.scss')
-rw-r--r--p/themes/Ansum/_components.scss32
1 files changed, 24 insertions, 8 deletions
diff --git a/p/themes/Ansum/_components.scss b/p/themes/Ansum/_components.scss
index acb2430ff..35298b4de 100644
--- a/p/themes/Ansum/_components.scss
+++ b/p/themes/Ansum/_components.scss
@@ -38,8 +38,7 @@
}
.dropdown-header {
- // padding: 0 5px 5px;
- margin: 1rem 0.5rem 1rem 1rem;
+ padding: 1rem 0.5rem 1rem 1rem;
font-weight: bold;
text-align: left;
color: variables.$grey-dark;
@@ -74,12 +73,35 @@
}
}
+ &:not(.addItem) {
+ a:hover,
+ button:hover {
+ background: variables.$main-first;
+ color: variables.$white;
+
+ .icon {
+ filter: brightness(3);
+ }
+ }
+ }
+
&[aria-checked="true"] {
a::before {
margin: 0 0 0 -14px;
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 {
@@ -90,12 +112,6 @@
}
}
- .separator {
- margin: 0.75rem 0;
- border-bottom: 1px solid variables.$grey-light;
- // display: none;
- }
-
}
.tree .tree-folder .tree-folder-items .dropdown-menu {