From 645224a303c5672b318b62ff294302a9e82abe06 Mon Sep 17 00:00:00 2001 From: maTh Date: Mon, 3 Oct 2022 21:50:40 +0200 Subject: Improved: Remove
  • as separator (#4597) * templates * themes * fix * fix * fixes * fix --- p/themes/Mapco/mapco.rtl.css | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'p/themes/Mapco/mapco.rtl.css') diff --git a/p/themes/Mapco/mapco.rtl.css b/p/themes/Mapco/mapco.rtl.css index 5aa6c6ee6..1a14433c0 100644 --- a/p/themes/Mapco/mapco.rtl.css +++ b/p/themes/Mapco/mapco.rtl.css @@ -242,7 +242,7 @@ form th { left: 18px; } .dropdown-menu .dropdown-header { - margin: 1rem 1rem 1rem 0.5rem; + padding: 1rem 1rem 1rem 0.5rem; font-weight: bold; text-align: right; 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 -14px 0 0; 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,4 +1397,4 @@ body.register { a, button.as-link { outline: none; color: #36c; -} +} \ No newline at end of file -- cgit v1.2.3