Update web/static/themes/win95.css

This commit is contained in:
Joshua Laymon 2025-09-06 19:11:55 +00:00
parent de1cf955dc
commit d1fd2eb307

View File

@ -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;
}