menu: replace expander by fontawesome chevrons #296

This commit is contained in:
Sören Weber 2022-07-03 14:49:29 +02:00
parent d12227fbd5
commit 5173c02e8b
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589

View file

@ -1406,17 +1406,23 @@ input[type="search"]::-webkit-search-results-decoration { display: none; }
display: inline; display: inline;
height: 1rem; height: 1rem;
left: 0; left: 0;
margin-top: .25em; margin-top: .2em;
position: absolute; position: absolute;
width: 1rem; width: 1rem;
} }
#sidebar .collapsible-menu input.toggle + label:after { #sidebar .collapsible-menu input.toggle + label:after {
content: "▸"; content: "\f054";
font-family: "Font Awesome 5 Free";
font-size: .8rem;
font-weight: 900;
} }
#sidebar .collapsible-menu input.toggle:checked + label:after { #sidebar .collapsible-menu input.toggle:checked + label:after {
content: "▾"; content: "\f078";
font-family: "Font Awesome 5 Free";
font-size: .8rem;
font-weight: 900;
} }
#sidebar .collapsible-menu input.toggle + label + a + ul { #sidebar .collapsible-menu input.toggle + label + a + ul {