From 5539ec8542c026c433eca02a370e7afe8f6289b1 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Wed, 3 Jun 2026 04:37:23 -0400 Subject: [PATCH] chore(dashboard): prune dead sidebar + orphaned login CSS from site.css Removed the dead .sidebar nav block (replaced by the kit's .side-rail shell) and the orphaned .dashboard-login/.login-card rules (the /login page now uses the kit's ). Kept .app-bar (still used by the /denied page header) and the .chip white-space override (emitted by StatusPill); corrected the now-stale app-bar comment. 106 lines removed; builds clean. --- .../wwwroot/css/site.css | 109 +----------------- 1 file changed, 3 insertions(+), 106 deletions(-) diff --git a/src/ZB.MOM.WW.MxGateway.Server/wwwroot/css/site.css b/src/ZB.MOM.WW.MxGateway.Server/wwwroot/css/site.css index 100071c..40542db 100644 --- a/src/ZB.MOM.WW.MxGateway.Server/wwwroot/css/site.css +++ b/src/ZB.MOM.WW.MxGateway.Server/wwwroot/css/site.css @@ -9,108 +9,13 @@ body.dashboard-body { min-height: 100vh; } /* ── App bar ───────────────────────────────────────────────────────────────── - theme.css styles .app-bar / .brand / .mark / .spacer. Here we centre the row - and add the meta cluster. Navigation lives in the side rail below. */ + The kit's theme.css styles .app-bar / .brand / .mark / .spacer; these rules + centre the row and tweak the brand. Used by the minimal /denied page header — + the main dashboard's navigation lives in the kit side-rail shell (ThemeShell). */ .app-bar { align-items: center; gap: 1rem; } .app-bar .brand { color: var(--ink); } .app-bar .brand:hover { text-decoration: none; } -/* ── Sidebar ───────────────────────────────────────────────────────────────── - Left-rail navigation. Pattern lifted from ScadaLink CentralUI: a fixed-width - sidebar that hosts the brand at the top, a scrollable nav region with - collapsible NavSections in the middle, and a sign-in/out footer at the - bottom. The sidebar is wrapped in a Bootstrap .collapse so a hamburger - button can show/hide it on