style(overview): adopt shared readable stale and status treatments

This commit is contained in:
Joseph Doherty
2026-11-13 16:12:46 -05:00
parent 3d61456d61
commit 70c5aa2b4d
3 changed files with 7 additions and 7 deletions
@@ -6,7 +6,8 @@
there is no user to show and nothing to sign out of. The rail's application
links are fragment anchors into the single page rather than routes: the whole
fleet is one view, and splitting it per application would defeat the point. *@
<ThemeShell Product="SCADA Overview" Accent="#6d28d9">
<ThemeShell Product="SCADA Overview" Accent="#6d28d9" AccentDeep="#4c1d95" AccentTint="#f2ecfc"
AccentBorder="#d7c5f2" AccentFocus="#4c1d95">
<Nav>
<NavRailItem Href="/" Text="Overview" Match="NavLinkMatch.All" />
@if (Applications.Count > 0)
@@ -25,7 +25,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="ZB.MOM.WW.Theme" Version="0.5.0" />
<PackageReference Include="ZB.MOM.WW.Theme" Version="1.0.0" />
<PackageReference Include="ZB.MOM.WW.Health" Version="0.3.0" />
<PackageReference Include="ZB.MOM.WW.Telemetry" Version="0.1.0" />
<PackageReference Include="ZB.MOM.WW.Telemetry.Serilog" Version="0.1.0" />
@@ -17,9 +17,9 @@
.page-meta { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-soft); }
/* KPI variants the kit does not carry (it ships .alert / .caution only). */
.agg-card.good .agg-value { color: var(--ok); }
.agg-card.quiet .agg-value { color: var(--idle); }
.kv .v.idle { color: var(--idle); }
.agg-card.good .agg-value { color: var(--ok-ink); }
.agg-card.quiet .agg-value { color: var(--idle-ink); }
.kv .v.idle { color: var(--idle-ink); }
/* ── Application sections ───────────────────────────────────────────────── */
.app-section { margin-bottom: 1.5rem; }
@@ -54,8 +54,7 @@
.inst.unreachable { border-top: 3px solid var(--bad); border-style: dashed; border-top-style: solid; }
.inst.pending { border-top: 3px solid var(--rule-strong); }
.inst.stale { border-top: 3px solid var(--idle); }
.inst.stale .inst-body,
.inst.stale .inst-head .inst-host { opacity: 0.55; }
/* Stale evidence keeps full text contrast; its label/age and neutral stripe carry state. */
.inst-head {
display: flex; align-items: flex-start; justify-content: space-between;