#231, Allow open collapsed menu without changing page

This commit is contained in:
Alex Shpak
2020-09-14 22:45:31 +02:00
parent 4e34988b5d
commit 5cc3d6719c
6 changed files with 23 additions and 40 deletions
+8 -7
View File
@@ -107,8 +107,10 @@ ul.pagination {
@include fixed;
}
a {
a,
label {
color: inherit;
cursor: pointer;
word-wrap: break-word;
}
@@ -116,13 +118,12 @@ ul.pagination {
color: var(--color-link);
}
a.collapsed {
display: flex;
justify-content: space-between;
input.toggle + label + ul {
display: none;
}
&::after {
content: "";
}
input.toggle:checked + label + ul {
display: block;
}
}