diff options
| author | 2022-01-11 23:53:40 +0100 | |
|---|---|---|
| committer | 2022-01-11 23:53:40 +0100 | |
| commit | f94ec779e66ca7203cd3cf1e807bcf3c983ed736 (patch) | |
| tree | 2e0c0133937d92217cecc8bb2c8d0c16de54338e /p/themes/Mapco/mapco.rtl.css | |
| parent | 9cd9e9a0930a04f594394a8dc6a95791134521a3 (diff) | |
Improve dropdown menu mobile (#4141)
* Theme template.css
* theme adark
* theme ansum
* theme bluelagoon
* theme dark
* theme template.css RTL fix
* theme flat
* theme Origine
* theme Origine-compact
* theme Pafat
* theme Screwdriver
* theme Swage
* theme Mapco
* dropdown menu with thin scrollbar
* Fix CI foundings
* Fix RTL
* Fix CSS semicolons
* Fix CSS RTL
* Fix SCSS
* Update _mobile.scss
Diffstat (limited to 'p/themes/Mapco/mapco.rtl.css')
| -rw-r--r-- | p/themes/Mapco/mapco.rtl.css | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/p/themes/Mapco/mapco.rtl.css b/p/themes/Mapco/mapco.rtl.css index 868766236..23fc886db 100644 --- a/p/themes/Mapco/mapco.rtl.css +++ b/p/themes/Mapco/mapco.rtl.css @@ -228,7 +228,7 @@ form th { /*=== Dropdown */ .dropdown-menu { - margin: 0; + margin: 9px 0 0 0; padding: 0.5rem 0 1rem 0; background: #f9fafb; font-size: 1rem; @@ -238,13 +238,14 @@ form th { text-align: right; } .dropdown-menu::after { - background: white; + background: #f9fafb; width: 10px; height: 10px; content: ""; position: absolute; top: -4px; - left: 13px; + left: 18px; + bottom: -14px; z-index: -10; transform: rotate(-45deg); } @@ -1566,6 +1567,20 @@ form th { padding: 0.5rem 0; } + .dropdown-target:target ~ .dropdown-toggle::after { + background-color: #f9fafb; + border-top: 1px solid #eff0f2; + border-right: 1px solid #eff0f2; + left: 21px; + bottom: -14px; + } + .dropdown-target:target ~ a.dropdown-toggle:not(.btn) ~ .dropdown-menu { + margin-top: 0; + } + .dropdown-target:target ~ a.dropdown-toggle:not(.btn)::after { + bottom: -17px; + } + .day { text-align: center; padding: 1rem 0; |
