diff options
| author | 2022-11-23 22:40:23 +0100 | |
|---|---|---|
| committer | 2022-11-23 22:40:23 +0100 | |
| commit | ef5483490cf42beeec8f77ed1669ab9a05b9cbc0 (patch) | |
| tree | 99211facb10f2da8cbfb58fd0081fc4a4eba1f3f /p/themes/Dark/dark.css | |
| parent | c9f5012f102c5270d27206aca957b2ee16fe04f8 (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/Dark/dark.css')
| -rw-r--r-- | p/themes/Dark/dark.css | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css index a4aed0c2d..4a13c4099 100644 --- a/p/themes/Dark/dark.css +++ b/p/themes/Dark/dark.css @@ -336,23 +336,35 @@ a.btn { border-color: #888; } -.dropdown-header { - padding: 0 5px 5px; +.dropdown-header, +.dropdown-section .dropdown-section-title { + padding: 0.25rem 0.5rem 0.25rem 1rem; font-weight: bold; text-align: left; color: #888; } -.dropdown-menu > .item > a, -.dropdown-menu > .item > span, -.dropdown-menu > .item > .as-link { +.dropdown-menu .item > a, +.dropdown-menu .item > span, +.dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5em; font-size: 0.8rem; } -.dropdown-menu > .item > a:hover, -.dropdown-menu > .item > button:hover { +.dropdown-menu .dropdown-section .item > a, +.dropdown-menu .dropdown-section .item > span, +.dropdown-menu .dropdown-section .item > .as-link { + padding-left: 2rem; +} + +.dropdown-menu .dropdown-section .item:last-child { + margin-bottom: 0.5rem; +} + +.dropdown-menu .item > a:hover, +.dropdown-menu .item > button:hover, +.dropdown-menu .item > label:hover:not(.noHover) { background: #26303f; color: #888; } @@ -370,6 +382,7 @@ a.btn { } .item ~ .dropdown-header, +.dropdown-section ~ .dropdown-section, .item.separator { border-top-color: #333; } |
