diff --git a/static/style.css b/static/style.css index 65d5662..04dcfbf 100644 --- a/static/style.css +++ b/static/style.css @@ -356,6 +356,66 @@ a:hover { text-decoration: underline; text-shadow: var(--glow-amber); } .topo-status-dot { width:7px; height:7px; border:1px solid var(--text-muted); background:transparent; position:absolute; top:5px; right:5px; } +/* Topology subtitle text */ +.topo-node-sub { + font-size: .58em; + color: var(--text-muted); + letter-spacing: .02em; + font-weight: normal; +} + +.topo-badge-unknown { color:var(--text-muted); border-color:var(--border); } + +/* Switch tier: two switches with horizontal connector */ +.topo-switch-tier { + display: flex; + align-items: center; + gap: 0; +} + +.topo-h-link { + display: flex; + flex-direction: column; + align-items: center; + padding: 0 8px; +} + +.topo-h-link-line { + width: 70px; + height: 1px; + background: var(--amber); + opacity: .5; +} + +.topo-h-link-label { + font-size: .52em; + color: var(--amber); + opacity: .7; + margin-top: 3px; + letter-spacing: .04em; +} + +/* Host tier: two groups side by side */ +.topo-host-tier { + display: flex; + justify-content: center; + align-items: flex-start; + gap: 40px; + margin-top: 0; +} + +.topo-host-group { flex-shrink: 0; } + +/* PoE host group: offset right to sit below PoE switch */ +.topo-poe-hosts { + padding-top: 0; +} + +/* Off-rack node (dashed border) */ +.topo-host-table { + border-style: dashed; +} + /* ── Host cards ───────────────────────────────────────────────────── */ .host-grid { display: grid; diff --git a/templates/index.html b/templates/index.html index 49d9eb1..b9dccfb 100644 --- a/templates/index.html +++ b/templates/index.html @@ -29,56 +29,103 @@