hamburger for filetree
parent
51bd874063
commit
668a057bc5
|
|
@ -1,9 +1,8 @@
|
||||||
todo:
|
todo:
|
||||||
- do not rewrite .md title vs. link cause hrefs to ./gobs.md wont work
|
- table of contents
|
||||||
- alert box; https://concisecss.com/documentation/ui
|
- alert box; https://concisecss.com/documentation/ui
|
||||||
- scrape odo
|
- scrape odo
|
||||||
- scrape gdoc
|
- scrape gdoc
|
||||||
- hide checkbox for tree
|
|
||||||
- scrape gsheet
|
- scrape gsheet
|
||||||
- scrape gslide
|
- scrape gslide
|
||||||
- anchor links work
|
- anchor links work
|
||||||
|
|
@ -11,6 +10,8 @@ todo:
|
||||||
- ui; last updated; 2022.02.01T12:34:56
|
- ui; last updated; 2022.02.01T12:34:56
|
||||||
- mark generated via meta so other files in the dir can be created, deleted, replaced safely
|
- mark generated via meta so other files in the dir can be created, deleted, replaced safely
|
||||||
done:
|
done:
|
||||||
|
- hide checkbox for tree
|
||||||
|
- do not rewrite .md title vs. link cause hrefs to ./gobs.md wont work
|
||||||
- only one scroll bar
|
- only one scroll bar
|
||||||
- https://codepen.io/bisserof/pen/nrMveb
|
- https://codepen.io/bisserof/pen/nrMveb
|
||||||
- delete button does nothing
|
- delete button does nothing
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{{ define "_filetree" }}
|
{{ define "_filetree" }}
|
||||||
<style>
|
<style>
|
||||||
details > details {
|
details > details details {
|
||||||
padding-inline-start: 2em;
|
padding-inline-start: 2em;
|
||||||
}
|
}
|
||||||
summary {
|
summary {
|
||||||
|
|
@ -16,10 +16,19 @@
|
||||||
#filetree {
|
#filetree {
|
||||||
padding-right: 1em;
|
padding-right: 1em;
|
||||||
}
|
}
|
||||||
|
details > summary > .hamburger::before {
|
||||||
|
content: "+";
|
||||||
|
}
|
||||||
|
details[open] > summary > .hamburger::before {
|
||||||
|
content: "-";
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<div class="fullscreen tb_fullscreen" style="max-width: 25em;">
|
<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 open id="filetree">
|
||||||
</details>
|
</details>
|
||||||
|
</details>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
function drawTree(tree) {
|
function drawTree(tree) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue