From f94ec779e66ca7203cd3cf1e807bcf3c983ed736 Mon Sep 17 00:00:00 2001 From: maTh Date: Tue, 11 Jan 2022 23:53:40 +0100 Subject: 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 --- p/themes/Origine-compact/origine-compact.css | 10 ++++++++++ p/themes/Origine-compact/origine-compact.rtl.css | 10 ++++++++++ 2 files changed, 20 insertions(+) (limited to 'p/themes/Origine-compact') diff --git a/p/themes/Origine-compact/origine-compact.css b/p/themes/Origine-compact/origine-compact.css index b035b0b3d..0f4af625c 100644 --- a/p/themes/Origine-compact/origine-compact.css +++ b/p/themes/Origine-compact/origine-compact.css @@ -1247,6 +1247,16 @@ a.btn, width: 400px; } + .dropdown-target:target ~ .dropdown-toggle::after { + background-color: #fff; + border-top: 1px solid #ddd; + border-left: 1px solid #ddd; + } + + .dropdown-target:target ~ .dropdown-toggle:not(.btn) ~ .dropdown-menu { + margin-top: 5px; + } + .day .name { font-size: 1.1rem; text-shadow: none; diff --git a/p/themes/Origine-compact/origine-compact.rtl.css b/p/themes/Origine-compact/origine-compact.rtl.css index a7cc0998c..a061f46f3 100644 --- a/p/themes/Origine-compact/origine-compact.rtl.css +++ b/p/themes/Origine-compact/origine-compact.rtl.css @@ -1247,6 +1247,16 @@ a.btn, width: 400px; } + .dropdown-target:target ~ .dropdown-toggle::after { + background-color: #fff; + border-top: 1px solid #ddd; + border-right: 1px solid #ddd; + } + + .dropdown-target:target ~ .dropdown-toggle:not(.btn) ~ .dropdown-menu { + margin-top: 5px; + } + .day .name { font-size: 1.1rem; text-shadow: none; -- cgit v1.2.3