From ca4bcef26c64b83d323d1dceadc0b74be9b80871 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Sun, 10 May 2026 23:17:22 -0400 Subject: [PATCH] CSS: replace remaining inline color/size styles with TDS utilities - Stat card icons and values: style="color:var(--red)" etc replaced with lt-text-red, lt-text-amber, lt-text-cyan, lt-text-green (defined in base.css with both color and glow-shadow) - Host search input: style="width:180px" extracted to .lt-search-input--sm - base.html: suppress modal form groups use lt-form-group--last for last item (already committed); lt-divider--compact applied to settings divider Co-Authored-By: Claude Sonnet 4.6 --- static/style.css | 3 +++ templates/index.html | 20 ++++++++++---------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/static/style.css b/static/style.css index df726bc..950a07a 100644 --- a/static/style.css +++ b/static/style.css @@ -121,6 +121,9 @@ /* ── Form group modifiers ────────────────────────────────────────── */ .lt-form-group--last { margin-bottom: 0; } +/* ── Search input size variant ───────────────────────────────────── */ +.lt-search-input--sm { width: 180px; } + /* ── Divider compact variant ─────────────────────────────────────── */ .lt-divider--compact { margin: 1rem 0 0.75rem; } diff --git a/templates/index.html b/templates/index.html index c03bbad..7120eb0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -31,32 +31,32 @@
- +
- {{ summary.critical or 0 }} + {{ summary.critical or 0 }} Critical
- +
- {{ summary.warning or 0 }} + {{ summary.warning or 0 }} Warning
- +
- {{ snapshot.hosts | length }} + {{ snapshot.hosts | length }} Hosts
- +
- {{ recent_resolved | length }} + {{ recent_resolved | length }} Resolved 24h
@@ -315,8 +315,8 @@