hamburger for filetree

This commit is contained in:
Bel LaPointe
2022-02-16 11:32:48 -07:00
parent 51bd874063
commit 668a057bc5
2 changed files with 15 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
{{ define "_filetree" }}
<style>
details > details {
details > details details {
padding-inline-start: 2em;
}
summary {
@@ -16,9 +16,18 @@
#filetree {
padding-right: 1em;
}
details > summary > .hamburger::before {
content: "+";
}
details[open] > summary > .hamburger::before {
content: "-";
}
</style>
<div class="fullscreen tb_fullscreen" style="max-width: 25em;">
<details open id="filetree">
<div class="fullscreen tb_fullscreen" style="max-width: 25em; margin: auto;">
<details open>
<summary style="outline: none;"><span class="border button hamburger"></span></summary>
<details open id="filetree">
</details>
</details>
</div>
<script>