mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
menu: make active expander visible on hover #297
This commit is contained in:
parent
de7d1f6b8f
commit
9e50ddd1ed
3 changed files with 3 additions and 1 deletions
|
@ -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) */
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue