Files
lmxopcua/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/wwwroot/css/site.css
T
Joseph Doherty c6d9b20d9f
v2-ci / build (push) Failing after 6m40s
v2-ci / unit-tests (tests/Core/ZB.MOM.WW.OtOpcUa.Cluster.Tests) (push) Has been skipped
v2-ci / unit-tests (tests/Server/ZB.MOM.WW.OtOpcUa.ControlPlane.Tests) (push) Has been skipped
v2-ci / unit-tests (tests/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer.Tests) (push) Has been skipped
v2-ci / unit-tests (tests/Server/ZB.MOM.WW.OtOpcUa.Runtime.Tests) (push) Has been skipped
v2-ci / unit-tests (tests/Server/ZB.MOM.WW.OtOpcUa.Security.Tests) (push) Has been skipped
v2-ci / integration (tests/Server/ZB.MOM.WW.OtOpcUa.Host.IntegrationTests) (push) Has been skipped
v2-ci / integration (tests/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer.IntegrationTests) (push) Has been skipped
chore(adminui): prune kit-duplicate + dead shell CSS from site.css
The ZB.MOM.WW.Theme cutover left site.css carrying a near-verbatim copy of the
kit's layout.css (.app-shell/.side-rail/.rail-link/.rail-foot/.login-*) plus two
dead rules (#sidebar-collapse — the kit emits #theme-rail; .rail-eyebrow-chevron
— rendered by the deleted NavSection.razor). Those duplicates loaded after the
kit and could silently override it. Removed them; kept only the app-only rules
the kit does not provide: .rail-eyebrow (footer Session label) and
.chip-alert/.chip-caution (domain status variants). 167 lines removed; builds clean.
2026-06-03 04:37:23 -04:00

26 lines
1.3 KiB
CSS

/* OtOpcUa Admin — app-only view layer over the shared ZB.MOM.WW.Theme kit.
The kit's theme.css (tokens) + layout.css (side-rail shell, login card) are
linked via <ThemeHead/> and own all of the shell/rail/login styling. This
sheet carries only the few rules the kit does not provide. */
/* Static (non-collapsible) eyebrow label — used for the "Session" caption in the
rail footer. The kit styles a collapsible section <summary> as
.rail-eyebrow-toggle; a plain inline label needs this lighter rule. */
.rail-eyebrow {
font-size: 0.68rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.07em;
color: var(--ink-faint);
padding: 0.3rem 0.6rem;
}
/* OtOpcUa domain pages (Alerts, ScriptLog, Fleet, Hosts, AlarmsHistorian,
RoleGrants, ImportEquipment) use two extra status-chip variants on top of the
kit's .chip base + .chip-ok/.chip-warn/.chip-bad/.chip-idle/.chip-info set.
.chip-alert is the red/danger variant (mirrors the kit's .chip-bad);
.chip-caution is the amber variant (mirrors the kit's .chip-warn). Both reuse
the kit's status tokens so they stay on-palette. */
.chip-alert { color: var(--bad); background: var(--bad-bg); border-color: var(--bad-border); }
.chip-caution { color: var(--warn-ink); background: var(--warn-bg); border-color: var(--warn-border); }