summaryrefslogtreecommitdiff
path: root/vrsite/assets/style.css.tmpl
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-02 17:38:06 -0300
committerGabriel Schneider <[email protected]>2026-08-02 23:11:01 -0300
commita9263daee9413c5eff3c1f1bebcd224442fd8685 (patch)
treef0a74fe1420cd9933cb2f85dc8313914aa674e94 /vrsite/assets/style.css.tmpl
parente16f78b255bcf46d8c6f9a4b9e76dd7a3817edeb (diff)
downloadnotevi-a9263daee9413c5eff3c1f1bebcd224442fd8685.tar.gz
notevi-a9263daee9413c5eff3c1f1bebcd224442fd8685.zip
vrsite: toggle repository file list
Diffstat (limited to 'vrsite/assets/style.css.tmpl')
-rw-r--r--vrsite/assets/style.css.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/vrsite/assets/style.css.tmpl b/vrsite/assets/style.css.tmpl
index 60d2a2b..5ea2a40 100644
--- a/vrsite/assets/style.css.tmpl
+++ b/vrsite/assets/style.css.tmpl
@@ -73,6 +73,13 @@ nav > header {
}
nav > header a { color: var(--fg); }
nav .brand { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
+#filetoggle {
+ display: block; margin: 0 0 6px auto;
+ background: none; color: var(--muted); border: 0;
+ font: inherit; font-size: 11px; padding: 1px 3px; cursor: pointer;
+}
+#filetoggle:hover { color: var(--fg); }
+:root[data-files="hidden"] #filelist { display: none; }
/* ── the current change ────────────────────────────────────────
Everything on screen is read at one change: the tree, the code, the