mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
menu: fix state for alwaysopen=false + collapsibleMenu=false #498
This commit is contained in:
parent
dea3da777d
commit
eaa4580500
1 changed files with 12 additions and 0 deletions
|
@ -1756,6 +1756,18 @@ article ul li input[type="checkbox"]:checked::before {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* menu states for not(.collapsible-menu) */
|
||||||
|
|
||||||
|
#sidebar ul ul {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar ul > li.parent > ul,
|
||||||
|
#sidebar ul > li.active > ul,
|
||||||
|
#sidebar ul > li.alwaysopen > ul {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
/* closed menu */
|
/* closed menu */
|
||||||
|
|
||||||
#sidebar ul.collapsible-menu > li > input + label ~ ul {
|
#sidebar ul.collapsible-menu > li > input + label ~ ul {
|
||||||
|
|
Loading…
Reference in a new issue