From 9e50ddd1ed69c7fdb17cbb0c0d07fdb5ffa5081c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Sun, 3 Jul 2022 14:52:42 +0200 Subject: [PATCH] menu: make active expander visible on hover #297 --- static/css/ie.css | 1 + static/css/theme-neon.css | 2 +- static/css/variant.css | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/static/css/ie.css b/static/css/ie.css index 941c3107ee..eb91cb2867 100644 --- a/static/css/ie.css +++ b/static/css/ie.css @@ -53,6 +53,7 @@ background-color: rgba( 0, 0, 0, .166 ); /* var(--MENU-SECTIONS-ACTIVE-BG-color) */ } + #sidebar ul.topics li.active > label:after, #sidebar ul.topics li.active > a { background-color: #ffffff; /* var(--MENU-SECTION-ACTIVE-CATEGORY-BG-color) */ color: #444444; /* var(--MENU-SECTION-ACTIVE-CATEGORY-color) */ diff --git a/static/css/theme-neon.css b/static/css/theme-neon.css index 2e9be5e6a3..62f8855f52 100644 --- a/static/css/theme-neon.css +++ b/static/css/theme-neon.css @@ -150,7 +150,7 @@ body h6 { 0 0 10px var(--INTERNAL-MAIN-TITLES-H5-color); } -body #sidebar ul.topics li.active > label, +body #sidebar ul.topics li.active > label:after, body #sidebar ul.topics li.active > a { color: #fff; text-shadow: diff --git a/static/css/variant.css b/static/css/variant.css index 29d5b422de..dff2603741 100644 --- a/static/css/variant.css +++ b/static/css/variant.css @@ -142,6 +142,7 @@ a:hover, background-color: var(--INTERNAL-MENU-SECTIONS-ACTIVE-BG-color); } +#sidebar ul.topics li.active > label:after, #sidebar ul.topics li.active > a { background-color: var(--INTERNAL-MENU-SECTION-ACTIVE-CATEGORY-BG-color); color: var(--INTERNAL-MENU-SECTION-ACTIVE-CATEGORY-color);