menu: make active expander visible on hover #297

This commit is contained in:
Sören Weber 2022-07-03 14:52:42 +02:00
parent de7d1f6b8f
commit 9e50ddd1ed
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
3 changed files with 3 additions and 1 deletions

View file

@ -53,6 +53,7 @@
background-color: rgba( 0, 0, 0, .166 ); /* var(--MENU-SECTIONS-ACTIVE-BG-color) */ 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 { #sidebar ul.topics li.active > a {
background-color: #ffffff; /* var(--MENU-SECTION-ACTIVE-CATEGORY-BG-color) */ background-color: #ffffff; /* var(--MENU-SECTION-ACTIVE-CATEGORY-BG-color) */
color: #444444; /* var(--MENU-SECTION-ACTIVE-CATEGORY-color) */ color: #444444; /* var(--MENU-SECTION-ACTIVE-CATEGORY-color) */

View file

@ -150,7 +150,7 @@ body h6 {
0 0 10px var(--INTERNAL-MAIN-TITLES-H5-color); 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 { body #sidebar ul.topics li.active > a {
color: #fff; color: #fff;
text-shadow: text-shadow:

View file

@ -142,6 +142,7 @@ a:hover,
background-color: var(--INTERNAL-MENU-SECTIONS-ACTIVE-BG-color); background-color: var(--INTERNAL-MENU-SECTIONS-ACTIVE-BG-color);
} }
#sidebar ul.topics li.active > label:after,
#sidebar ul.topics li.active > a { #sidebar ul.topics li.active > a {
background-color: var(--INTERNAL-MENU-SECTION-ACTIVE-CATEGORY-BG-color); background-color: var(--INTERNAL-MENU-SECTION-ACTIVE-CATEGORY-BG-color);
color: var(--INTERNAL-MENU-SECTION-ACTIVE-CATEGORY-color); color: var(--INTERNAL-MENU-SECTION-ACTIVE-CATEGORY-color);