From d1fd2eb30786d205356ece9176f7e2ebe60be273 Mon Sep 17 00:00:00 2001 From: Joshua Laymon Date: Sat, 6 Sep 2025 19:11:55 +0000 Subject: [PATCH] Update web/static/themes/win95.css --- web/static/themes/win95.css | 43 ++++++++++++++++++++++++++++++++----- 1 file changed, 38 insertions(+), 5 deletions(-) diff --git a/web/static/themes/win95.css b/web/static/themes/win95.css index af3bafc..6597247 100644 --- a/web/static/themes/win95.css +++ b/web/static/themes/win95.css @@ -66,8 +66,8 @@ html[data-theme="win95"] .topbar .nav-btn{ align-items:center !important; justify-content:center !important; padding:6px 14px !important; /* consistent size */ - height:36px !important; /* NEW: lock height */ - box-sizing:border-box !important; /* NEW: include borders/padding */ + height:36px !important; /* lock height */ + box-sizing:border-box !important; font-size:15px !important; line-height:1 !important; box-shadow: inset -1px -1px 0 var(--w95-dark) !important; @@ -80,6 +80,39 @@ html[data-theme="win95"] .topbar .nav-btn:active{ box-shadow: inset 1px 1px 0 var(--w95-dark) !important; } +/* ---------- Topbar .btn/.btn-success match nav buttons (for CREATE) ---------- */ +html[data-theme="win95"] .topbar .btn, +html[data-theme="win95"] .topbar .btn-success{ + background:var(--w95-face) !important; + color:#000 !important; + border:2px solid var(--w95-face) !important; + border-top-color:var(--w95-light) !important; + border-left-color:var(--w95-light) !important; + border-right-color:var(--w95-shadow) !important; + border-bottom-color:var(--w95-shadow) !important; + border-radius:0 !important; + + display:inline-flex !important; + align-items:center !important; + justify-content:center !important; + + padding:6px 14px !important; + height:36px !important; + box-sizing:border-box !important; + font-size:15px !important; + line-height:1 !important; + + box-shadow: inset -1px -1px 0 var(--w95-dark) !important; +} +html[data-theme="win95"] .topbar .btn:active, +html[data-theme="win95"] .topbar .btn-success:active{ + border-top-color:var(--w95-shadow) !important; + border-left-color:var(--w95-shadow) !important; + border-right-color:var(--w95-light) !important; + border-bottom-color:var(--w95-light) !important; + box-shadow: inset 1px 1px 0 var(--w95-dark) !important; +} + /* ---------- Username Chip ---------- */ html[data-theme="win95"] .topbar .user-chip{ background:var(--w95-face-dark) !important; @@ -94,10 +127,10 @@ html[data-theme="win95"] .topbar .user-chip{ align-items:center !important; justify-content:center !important; padding:6px 14px !important; - height:36px !important; /* NEW: lock height like nav buttons */ - box-sizing:border-box !important; /* NEW */ + height:36px !important; + box-sizing:border-box !important; font-size:15px !important; - line-height:1 !important; /* NEW: match baseline */ + line-height:1 !important; box-shadow: inset -1px -1px 0 var(--w95-dark) !important; }