summaryrefslogtreecommitdiff
path: root/crates/wipfel/www
diff options
context:
space:
mode:
Diffstat (limited to 'crates/wipfel/www')
-rw-r--r--crates/wipfel/www/style.css36
1 files changed, 36 insertions, 0 deletions
diff --git a/crates/wipfel/www/style.css b/crates/wipfel/www/style.css
index 5122c43..7170199 100644
--- a/crates/wipfel/www/style.css
+++ b/crates/wipfel/www/style.css
@@ -22,6 +22,42 @@ body {
flex-direction: column;
gap: 8px;
overflow-y: auto;
+ position: relative;
+}
+.sidebar.collapsed {
+ display: none;
+}
+.sidebar .collapse-btn {
+ position: absolute;
+ top: 10px;
+ right: 10px;
+ width: 28px;
+ height: 28px;
+ padding: 0;
+ background: #2c2c34;
+ font-size: 12px;
+ border-radius: 5px;
+}
+.sidebar .collapse-btn:hover {
+ background: #3b3b46;
+}
+.nav-toggle {
+ position: absolute;
+ top: 10px;
+ left: 10px;
+ z-index: 5;
+ width: 36px;
+ height: 36px;
+ padding: 0;
+ background: rgba(26, 26, 32, 0.85);
+ color: #e8e8ea;
+ border: 1px solid #2c2c34;
+ border-radius: 6px;
+ font-size: 16px;
+ cursor: pointer;
+}
+.nav-toggle:hover {
+ background: rgba(59, 111, 212, 0.9);
}
.sidebar h1 {
margin: 0;