diff options
| author | 2022-10-03 21:50:40 +0200 | |
|---|---|---|
| committer | 2022-10-03 21:50:40 +0200 | |
| commit | 645224a303c5672b318b62ff294302a9e82abe06 (patch) | |
| tree | 93a7da325bbcf9b3cb0e433774938fc2a845c496 /p/themes/Mapco/mapco.css | |
| parent | 46d0b4140ebc3365618b23b01c094b0860baed9d (diff) | |
Improved: Remove <li> as separator (#4597)
* templates
* themes
* fix
* fix
* fixes
* fix
Diffstat (limited to 'p/themes/Mapco/mapco.css')
| -rw-r--r-- | p/themes/Mapco/mapco.css | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/p/themes/Mapco/mapco.css b/p/themes/Mapco/mapco.css index e1c1d262c..01586510b 100644 --- a/p/themes/Mapco/mapco.css +++ b/p/themes/Mapco/mapco.css @@ -242,7 +242,7 @@ form th { right: 18px; } .dropdown-menu .dropdown-header { - margin: 1rem 0.5rem 1rem 1rem; + padding: 1rem 0.5rem 1rem 1rem; font-weight: bold; text-align: left; color: #5b6871; @@ -258,30 +258,33 @@ form th { font-size: 1rem; line-height: 2.5em; } -.dropdown-menu .item:not(.addItem):hover { +.dropdown-menu .item:not(.addItem) a:hover, +.dropdown-menu .item:not(.addItem) button:hover { background: #36c; color: #fff; } -.dropdown-menu .item:not(.addItem):hover .icon { +.dropdown-menu .item:not(.addItem) a:hover .icon, +.dropdown-menu .item:not(.addItem) button:hover .icon { filter: brightness(3); } -.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[aria-checked=true] a::before { margin: 0 0 0 -14px; font-weight: bold; } +.dropdown-menu .item ~ .dropdown-header { + margin-top: 0.75rem; + padding-top: 1.75rem; + border-top-color: #eff0f2; +} +.dropdown-menu .item.separator { + margin-top: 0.75rem; + border-top-color: #eff0f2; +} .dropdown-menu .input select, .dropdown-menu .input input { margin: 0 auto 5px; padding: 2px 5px; border-radius: 3px; } -.dropdown-menu .separator { - margin: 0.75rem 0; - border-bottom: 1px solid #eff0f2; -} .tree .tree-folder .tree-folder-items .dropdown-menu .item { padding: 0; @@ -1394,6 +1397,4 @@ body.register { a, button.as-link { outline: none; color: #36c; -} - -/*# sourceMappingURL=mapco.css.map */ +}
\ No newline at end of file |
