aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Ansum/ansum.rtl.css
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/Ansum/ansum.rtl.css
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/Ansum/ansum.rtl.css')
-rw-r--r--p/themes/Ansum/ansum.rtl.css22
1 files changed, 14 insertions, 8 deletions
diff --git a/p/themes/Ansum/ansum.rtl.css b/p/themes/Ansum/ansum.rtl.css
index 7ab296aa5..beb5de8a8 100644
--- a/p/themes/Ansum/ansum.rtl.css
+++ b/p/themes/Ansum/ansum.rtl.css
@@ -240,8 +240,9 @@ form th {
border: none;
left: 17px;
}
-.dropdown-menu .dropdown-header {
- padding: 1rem 1rem 1rem 0.5rem;
+.dropdown-menu .dropdown-header,
+.dropdown-menu .dropdown-section .dropdown-section-title {
+ padding: 1rem 1.5rem;
font-weight: bold;
text-align: right;
color: #766556;
@@ -257,17 +258,22 @@ form th {
font-size: 1rem;
line-height: 2.5em;
}
-.dropdown-menu .item:not(.addItem):hover {
+.dropdown-menu .item a:not(.addItem):hover, .dropdown-menu .item span:not(.addItem):hover, .dropdown-menu .item .as-link:not(.addItem):hover {
background: #ca7227;
color: #fff;
}
-.dropdown-menu .item:not(.addItem):hover a, .dropdown-menu .item:not(.addItem):hover button, .dropdown-menu .item:not(.addItem):hover label {
- text-decoration: none;
- color: #fff;
-}
-.dropdown-menu .item:not(.addItem):hover .icon {
+.dropdown-menu .item a:not(.addItem):hover .icon, .dropdown-menu .item span:not(.addItem):hover .icon, .dropdown-menu .item .as-link:not(.addItem):hover .icon {
filter: grayscale(100%) brightness(2.5);
}
+.dropdown-menu .item.dropdown-section {
+ margin-top: 0.75rem;
+}
+.dropdown-menu .item.dropdown-section ~ .dropdown-section {
+ border-top-color: #f5f0ec;
+}
+.dropdown-menu .item.dropdown-section .item a, .dropdown-menu .item.dropdown-section .item span, .dropdown-menu .item.dropdown-section .item .as-link {
+ padding-right: 2rem;
+}
.dropdown-menu .item:not(.addItem) a:hover,
.dropdown-menu .item:not(.addItem) button:hover {
background: #ca7227;