017c3c38fe
Address friction points identified in a full interface audit: - Re-add status badge to dashboard tiles so run state is visible at a glance - Add active nav indicator and SSE connection health monitor (live/stale) - Show manual registration form by default instead of hiding behind <details> - Add copy-to-clipboard buttons on SSH hold command and quick-register one-liner - Replace tooltip-only profile descriptions with inline visible text - Clarify non-destructive toggle with explicit stage impact description - Replace disabled "Start vetting" button with actionable offline guidance - Swap browser confirm() dialogs for styled inline confirmations - Add colored badge to spec diffs summary visible when collapsed - Add distinct "cancelled" mood for cancelled runs (vs idle) - Add match count to log search and aria-label for accessibility - Add styled 404 page rendered inside the app shell Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
986 lines
31 KiB
CSS
986 lines
31 KiB
CSS
:root {
|
|
--bg: #0f1115;
|
|
--bg-elev: #171a21;
|
|
--bg-elev-2: #1f232c;
|
|
--border: #2a2f3a;
|
|
--text: #e5e8ef;
|
|
--text-dim: #9aa2b1;
|
|
--accent: #6aa9ff;
|
|
--accent-strong: #3c82f6;
|
|
--success: #35c27b;
|
|
--warn: #e4a94b;
|
|
--danger: #e56466;
|
|
--radius: 8px;
|
|
--font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
|
|
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
font: 15px/1.45 var(--font);
|
|
}
|
|
|
|
a { color: var(--accent); text-decoration: none; }
|
|
a:hover { text-decoration: underline; }
|
|
|
|
.topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 24px;
|
|
padding: 12px 24px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--bg-elev);
|
|
}
|
|
.topbar .brand { font-weight: 700; letter-spacing: .2px; }
|
|
.topbar nav { display: flex; gap: 16px; flex: 1; }
|
|
.topbar nav a { color: var(--text-dim); }
|
|
.topbar nav a:hover { color: var(--text); text-decoration: none; }
|
|
.topbar .session { display: flex; align-items: center; gap: 12px; }
|
|
.topbar .heartbeat { color: var(--text-dim); font-family: var(--mono); font-size: 12px; }
|
|
.topbar .logout-form { margin: 0; }
|
|
|
|
main { max-width: 1440px; margin: 0 auto; padding: 24px; }
|
|
|
|
button, .button, .button-secondary {
|
|
appearance: none;
|
|
font: inherit;
|
|
padding: 8px 14px;
|
|
border-radius: var(--radius);
|
|
border: 1px solid var(--border);
|
|
background: var(--bg-elev-2);
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
}
|
|
button:hover, .button:hover { border-color: var(--accent); }
|
|
button:disabled { opacity: .5; cursor: not-allowed; }
|
|
button.danger { border-color: var(--danger); color: var(--danger); background: transparent; }
|
|
button.danger:hover { background: rgba(229,100,102,.1); }
|
|
.button-secondary { background: transparent; }
|
|
|
|
.error {
|
|
background: rgba(229,100,102,.12);
|
|
border: 1px solid var(--danger);
|
|
color: var(--danger);
|
|
padding: 10px 14px;
|
|
border-radius: var(--radius);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.dashboard-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
.dashboard-header h1 { font-size: 20px; margin: 0; }
|
|
|
|
.empty {
|
|
text-align: center;
|
|
padding: 48px 24px;
|
|
border: 1px dashed var(--border);
|
|
border-radius: var(--radius);
|
|
color: var(--text-dim);
|
|
}
|
|
.empty .button { margin-top: 12px; }
|
|
|
|
.tile-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.tile {
|
|
background: var(--bg-elev);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
position: relative;
|
|
transition: border-color .12s ease, transform .12s ease;
|
|
}
|
|
.tile:hover { border-color: var(--accent); }
|
|
.tile-link {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 0;
|
|
border-radius: var(--radius);
|
|
background: transparent;
|
|
text-decoration: none;
|
|
}
|
|
.tile > *:not(.tile-link) { position: relative; z-index: 1; }
|
|
.tile-head { display: flex; justify-content: space-between; align-items: center; }
|
|
.tile-name { font-weight: 600; }
|
|
|
|
.tile-last-seen {
|
|
font-family: var(--mono);
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
.tile-last-seen::before {
|
|
content: "";
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: var(--text-dim);
|
|
}
|
|
.tile-last-seen.online { color: var(--success); }
|
|
.tile-last-seen.online::before { background: var(--success); }
|
|
.tile-last-seen.stale::before { background: var(--warn); }
|
|
.tile-last-seen.offline::before { background: var(--text-dim); opacity: .5; }
|
|
|
|
.tile-fail { border-color: rgba(229,100,102,.6); }
|
|
.tile-pass { border-color: rgba(53,194,123,.5); }
|
|
.tile-active { border-color: var(--accent); }
|
|
|
|
.form-wrap { max-width: 640px; display: flex; flex-direction: column; gap: 16px; }
|
|
.form-wrap h1 { font-size: 20px; margin: 0; }
|
|
.form-wrap-head {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.host-form { display: flex; flex-direction: column; gap: 14px; }
|
|
.host-form label { display: flex; flex-direction: column; gap: 4px; color: var(--text-dim); font-size: 13px; }
|
|
.host-form input,
|
|
.host-form textarea {
|
|
font: inherit;
|
|
font-family: var(--mono);
|
|
color: var(--text);
|
|
background: var(--bg-elev);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 8px 10px;
|
|
}
|
|
.host-form textarea { resize: vertical; min-height: 96px; }
|
|
.host-form .grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
|
|
.host-form .actions { display: flex; gap: 10px; margin-top: 4px; }
|
|
|
|
.login-card {
|
|
max-width: 360px;
|
|
margin: 12vh auto;
|
|
padding: 28px;
|
|
background: var(--bg-elev);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
}
|
|
.login-card h1 { margin: 0 0 16px; font-size: 22px; }
|
|
.login-card label { display: flex; flex-direction: column; gap: 4px; color: var(--text-dim); font-size: 13px; }
|
|
.login-card input {
|
|
font: inherit;
|
|
color: var(--text);
|
|
background: var(--bg-elev-2);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 10px;
|
|
margin-bottom: 12px;
|
|
}
|
|
.login-card button { width: 100%; background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
|
|
.login-card button:hover { background: var(--accent); border-color: var(--accent); }
|
|
|
|
body.bare main { max-width: none; }
|
|
|
|
/* .quick-register now inherits card shell from .detail-section; these
|
|
rules only cover its own content. */
|
|
.quick-register h2 { margin: 0 0 8px; font-size: 15px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-dim); font-weight: 600; }
|
|
.quick-register h2 .muted { text-transform: none; letter-spacing: 0; }
|
|
.quick-register p { margin: 6px 0; font-size: 13px; color: var(--text-dim); }
|
|
.quick-register p b { color: var(--text); }
|
|
.quick-register .muted { color: var(--text-dim); font-weight: 400; }
|
|
.quick-register code { font-family: var(--mono); }
|
|
.quick-register .one-liner {
|
|
background: #0b0d12;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 10px 12px;
|
|
margin: 8px 0;
|
|
overflow-x: auto;
|
|
user-select: all;
|
|
font-size: 13px;
|
|
color: var(--text);
|
|
}
|
|
.quick-register .one-liner code { white-space: pre; }
|
|
|
|
.manual-register-card { padding-top: 10px; padding-bottom: 14px; }
|
|
.manual-register-card h2 {
|
|
margin: 0 0 12px;
|
|
font-size: 15px;
|
|
text-transform: uppercase;
|
|
letter-spacing: .5px;
|
|
color: var(--text-dim);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* ===== Host detail page ===== */
|
|
.detail { display: flex; flex-direction: column; gap: 20px; }
|
|
.breadcrumb { color: var(--text-dim); font-size: 13px; display: flex; gap: 6px; }
|
|
.breadcrumb a { color: var(--text-dim); }
|
|
.breadcrumb a:hover { color: var(--text); }
|
|
.breadcrumb-sep { opacity: .5; }
|
|
|
|
.detail-summary {
|
|
background: var(--bg-elev);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 18px 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
.detail-summary.tile-fail { border-color: rgba(229,100,102,.6); }
|
|
.detail-summary.tile-pass { border-color: rgba(53,194,123,.5); }
|
|
.detail-summary.tile-active { border-color: var(--accent); }
|
|
.detail-summary-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
|
|
.detail-name { margin: 0; font-size: 22px; }
|
|
.detail-meta {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 8px 24px;
|
|
margin: 0;
|
|
font-size: 13px;
|
|
}
|
|
.detail-meta div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
|
|
.detail-meta dt { color: var(--text-dim); }
|
|
.detail-meta dd { margin: 0; font-family: var(--mono); }
|
|
.detail-meta dd.bad { color: var(--danger); }
|
|
|
|
.detail-section {
|
|
background: var(--bg-elev);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 16px 20px;
|
|
}
|
|
.detail-section h2 { margin: 0 0 12px; font-size: 15px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
|
|
.detail-section details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; }
|
|
.detail-section details > summary::before { content: "▸"; color: var(--text-dim); font-size: 12px; transition: transform .1s ease; }
|
|
.detail-section details[open] > summary::before { transform: rotate(90deg); }
|
|
.detail-section details > summary h2 { margin: 0; }
|
|
|
|
.hold-ssh {
|
|
font-family: var(--mono);
|
|
font-size: 13px;
|
|
color: var(--text);
|
|
word-break: break-all;
|
|
user-select: all;
|
|
display: block;
|
|
padding: 10px 12px;
|
|
background: #0b0d12;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
}
|
|
|
|
.detail-actions-row { display: flex; flex-wrap: wrap; gap: 10px; }
|
|
.detail-actions-row .inline { margin: 0; }
|
|
|
|
/* ===== Log tabs (CSS-only radio switch) ===== */
|
|
/* Radios are visually hidden but still functional: checked state is read
|
|
by sibling selectors below to flip the active label + pane. */
|
|
.log-tabs {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
background: #0b0d12;
|
|
overflow: hidden;
|
|
}
|
|
.log-tab-input {
|
|
position: absolute;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
.log-tab-label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 8px 14px;
|
|
font-size: 12px;
|
|
font-family: var(--mono);
|
|
color: var(--text-dim);
|
|
cursor: pointer;
|
|
border-right: 1px solid var(--border);
|
|
border-bottom: 1px solid var(--border);
|
|
user-select: none;
|
|
background: transparent;
|
|
transition: background .12s ease, color .12s ease;
|
|
}
|
|
.log-tab-label:hover { background: rgba(255,255,255,.03); color: var(--text); }
|
|
/* Active tab: coloured bar + filled background. */
|
|
.log-tab-input:checked + .log-tab-label {
|
|
background: var(--bg-elev-2);
|
|
color: var(--text);
|
|
box-shadow: inset 0 -2px 0 0 var(--accent);
|
|
}
|
|
.log-pane {
|
|
display: none;
|
|
flex-basis: 100%;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
padding: 10px 12px;
|
|
font-family: var(--mono);
|
|
font-size: 12px;
|
|
color: var(--text-dim);
|
|
max-height: 500px;
|
|
overflow-y: auto;
|
|
order: 99; /* keep panes below the tab labels in flex order */
|
|
}
|
|
.log-pane .log-line { white-space: pre-wrap; }
|
|
.log-pane .log-warn { color: var(--warn); }
|
|
.log-pane .log-error { color: var(--danger); }
|
|
.log-pane .log-stage { color: var(--text-dim); opacity: .75; margin-right: 4px; }
|
|
.log-pane:empty::before { content: "(no log output yet)"; color: var(--text-dim); opacity: .5; }
|
|
|
|
/* Sibling-selector cascade: .log-tab-all:checked flips .log-pane-all,
|
|
.log-tab-Inventory:checked flips .log-pane-Inventory, etc. The radios
|
|
live as siblings of the panes inside .log-tabs, so ~ works. */
|
|
.log-tab-all:checked ~ .log-pane-all { display: flex; }
|
|
.log-tab-Inventory:checked ~ .log-pane-Inventory { display: flex; }
|
|
.log-tab-SpecValidate:checked ~ .log-pane-SpecValidate { display: flex; }
|
|
.log-tab-SMART:checked ~ .log-pane-SMART { display: flex; }
|
|
.log-tab-CPUStress:checked ~ .log-pane-CPUStress { display: flex; }
|
|
.log-tab-Storage:checked ~ .log-pane-Storage { display: flex; }
|
|
.log-tab-Network:checked ~ .log-pane-Network { display: flex; }
|
|
.log-tab-GPU:checked ~ .log-pane-GPU { display: flex; }
|
|
.log-tab-PSU:checked ~ .log-pane-PSU { display: flex; }
|
|
.log-tab-Reporting:checked ~ .log-pane-Reporting { display: flex; }
|
|
|
|
.diff-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
|
|
.diff-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
gap: 12px;
|
|
padding: 8px 10px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
font-size: 13px;
|
|
}
|
|
.diff-row code { font-family: var(--mono); font-size: 12px; color: var(--text); }
|
|
.diff-field { font-weight: 600; }
|
|
.diff-expected, .diff-actual { color: var(--text-dim); }
|
|
.diff-critical { border-color: rgba(229,100,102,.5); background: rgba(229,100,102,.06); }
|
|
.diff-critical .diff-field { color: var(--danger); }
|
|
.diff-warning { border-color: rgba(228,169,75,.45); background: rgba(228,169,75,.05); }
|
|
.diff-warning .diff-field { color: var(--warn); }
|
|
.diff-info { opacity: .75; }
|
|
|
|
.detail-host-meta h3 { margin: 12px 0 6px; font-size: 13px; color: var(--text-dim); }
|
|
.detail-notes p { margin: 0; color: var(--text); }
|
|
.detail-spec-yaml {
|
|
font-family: var(--mono);
|
|
font-size: 12px;
|
|
background: #0b0d12;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 10px 12px;
|
|
white-space: pre;
|
|
overflow-x: auto;
|
|
margin: 0;
|
|
}
|
|
|
|
/* ===== Pipeline timeline =====
|
|
15 nodes (3 pre-stage + 11 stage + Completed). flex:1 on every node
|
|
so they share the full width evenly. Multi-word labels
|
|
(stageDisplayName in pipeline.templ) wrap on two lines so nodes pack
|
|
tight without horizontal scroll. */
|
|
.pipeline {
|
|
display: flex;
|
|
align-items: stretch;
|
|
gap: 0;
|
|
width: 100%;
|
|
padding: 28px 8px 16px;
|
|
background: #0b0d12;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
}
|
|
.stage-node {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex: 1 1 0;
|
|
min-width: 56px;
|
|
padding: 0 2px;
|
|
}
|
|
.stage-dot {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
border: 2px solid var(--border);
|
|
background: var(--bg-elev-2);
|
|
color: var(--text-dim);
|
|
line-height: 1;
|
|
transition: transform .12s ease, box-shadow .12s ease;
|
|
}
|
|
.stage-node:hover .stage-dot { transform: scale(1.12); }
|
|
.stage-dot-passed { background: var(--success); border-color: var(--success); color: #0b0d12; }
|
|
.stage-dot-running { background: var(--accent-strong); border-color: var(--accent); color: #fff; animation: pulse 1.2s ease-in-out infinite; }
|
|
.stage-dot-failed { background: var(--danger); border-color: var(--danger); color: #fff; }
|
|
.stage-dot-skipped { background: transparent; border-color: var(--border); color: var(--text-dim); opacity: .45; }
|
|
.stage-dot-pending { background: transparent; border-color: var(--border); color: transparent; }
|
|
|
|
.stage-name {
|
|
font-size: 12px;
|
|
color: var(--text-dim);
|
|
text-align: center;
|
|
font-weight: 500;
|
|
line-height: 1.2;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.stage-node-passed .stage-name { color: var(--text); }
|
|
.stage-node-running .stage-name { color: var(--accent); font-weight: 600; }
|
|
.stage-node-failed .stage-name { color: var(--danger); font-weight: 600; }
|
|
.stage-node-skipped .stage-name { opacity: .5; }
|
|
.stage-duration { font-size: 10px; color: var(--text-dim); font-family: var(--mono); min-height: 12px; }
|
|
|
|
.stage-connector {
|
|
flex: 1 1 0;
|
|
min-width: 8px;
|
|
height: 3px;
|
|
align-self: center;
|
|
margin-top: -30px;
|
|
background: var(--border);
|
|
border-radius: 2px;
|
|
}
|
|
.stage-connector-passed { background: var(--success); }
|
|
.stage-connector-running { background: linear-gradient(90deg, var(--success), var(--accent)); }
|
|
.stage-connector-failed { background: var(--danger); }
|
|
.stage-connector-skipped { background: var(--border); opacity: .5; }
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { box-shadow: 0 0 0 0 rgba(60,130,246,.55); }
|
|
50% { box-shadow: 0 0 0 8px rgba(60,130,246,0); }
|
|
}
|
|
|
|
.run-header {
|
|
background: var(--bg-elev);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 16px 20px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 20px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.run-header.tile-fail { border-color: rgba(229,100,102,.6); }
|
|
.run-header.tile-pass { border-color: rgba(53,194,123,.5); }
|
|
.run-header.tile-active { border-color: var(--accent); }
|
|
.run-header-left { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
|
|
.run-header-right { display: flex; align-items: center; gap: 14px; font-size: 13px; }
|
|
.run-header .detail-name { margin: 0; font-size: 22px; }
|
|
.run-number { font-family: var(--mono); font-size: 15px; color: var(--text-dim); }
|
|
.run-status-badge {
|
|
padding: 3px 10px;
|
|
font-size: 11px;
|
|
text-transform: uppercase;
|
|
letter-spacing: .5px;
|
|
border-radius: 999px;
|
|
border: 1px solid var(--border);
|
|
background: var(--bg-elev-2);
|
|
color: var(--text-dim);
|
|
font-weight: 600;
|
|
}
|
|
.run-status-pass { background: rgba(53,194,123,.15); border-color: rgba(53,194,123,.5); color: var(--success); }
|
|
.run-status-fail { background: rgba(229,100,102,.12); border-color: rgba(229,100,102,.5); color: var(--danger); }
|
|
.run-status-active { background: rgba(60,130,246,.15); border-color: rgba(60,130,246,.5); color: var(--accent); }
|
|
.run-duration { font-family: var(--mono); font-size: 13px; color: var(--text-dim); }
|
|
.run-failed-stage { color: var(--danger); }
|
|
.run-failed-stage strong { font-family: var(--mono); }
|
|
.run-diffs { color: var(--danger); }
|
|
.run-profile-chip {
|
|
display: inline-block;
|
|
font-family: var(--mono);
|
|
font-size: 11px;
|
|
text-transform: uppercase;
|
|
letter-spacing: .04em;
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(255,255,255,.15);
|
|
background: rgba(255,255,255,.05);
|
|
color: var(--text-dim);
|
|
}
|
|
.run-profile-quick { color: var(--accent); border-color: rgba(60,130,246,.45); background: rgba(60,130,246,.08); }
|
|
.run-profile-deep { color: #e5b94f; border-color: rgba(229,185,79,.45); background: rgba(229,185,79,.08); }
|
|
.run-profile-soak { color: #d97a57; border-color: rgba(217,122,87,.45); background: rgba(217,122,87,.08); }
|
|
|
|
.hold-banner {
|
|
background: rgba(229,100,102,.1);
|
|
border: 1px solid rgba(229,100,102,.5);
|
|
border-left: 4px solid var(--danger);
|
|
border-radius: var(--radius);
|
|
padding: 10px 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.hold-banner-label { color: var(--danger); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
|
|
.hold-banner .hold-ssh {
|
|
font-family: var(--mono);
|
|
font-size: 13px;
|
|
user-select: all;
|
|
padding: 6px 10px;
|
|
background: rgba(0,0,0,.3);
|
|
border: 1px solid rgba(229,100,102,.3);
|
|
border-radius: 4px;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
word-break: break-all;
|
|
}
|
|
.detail-hold-placeholder { display: none; }
|
|
|
|
.active-step-pane { display: flex; flex-direction: column; gap: 8px; }
|
|
.step {
|
|
background: var(--bg-elev);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
overflow: hidden;
|
|
}
|
|
.step[open] { border-color: var(--accent); }
|
|
.step-passed { border-left: 3px solid var(--success); }
|
|
.step-running { border-left: 3px solid var(--accent); }
|
|
.step-failed { border-left: 3px solid var(--danger); }
|
|
.step-skipped { opacity: .55; }
|
|
.step-pending { opacity: .7; }
|
|
.step > summary {
|
|
list-style: none;
|
|
cursor: pointer;
|
|
padding: 10px 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
.step > summary::-webkit-details-marker { display: none; }
|
|
.step-summary .stage-dot { width: 20px; height: 20px; font-size: 12px; flex-shrink: 0; }
|
|
.step-name { font-weight: 600; color: var(--text); flex: 1; }
|
|
.step-duration { font-family: var(--mono); font-size: 12px; color: var(--text-dim); }
|
|
.step-body {
|
|
padding: 8px 14px 14px;
|
|
border-top: 1px solid var(--border);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
background: var(--bg);
|
|
}
|
|
|
|
.substep-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
.substep {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 6px 10px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
background: var(--bg-elev);
|
|
font-size: 13px;
|
|
}
|
|
.substep-badge {
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 50%;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
background: var(--bg-elev-2);
|
|
border: 1px solid var(--border);
|
|
color: var(--text-dim);
|
|
flex-shrink: 0;
|
|
}
|
|
.substep-badge-passed { background: var(--success); border-color: var(--success); color: #0b0d12; }
|
|
.substep-badge-running { background: var(--accent-strong); border-color: var(--accent); color: #fff; animation: pulse 1.2s ease-in-out infinite; }
|
|
.substep-badge-failed { background: var(--danger); border-color: var(--danger); color: #fff; }
|
|
.substep-badge-skipped { opacity: .5; }
|
|
.substep-name { flex: 1; }
|
|
.substep-duration { font-family: var(--mono); font-size: 12px; color: var(--text-dim); }
|
|
.substep-failed { border-color: rgba(229,100,102,.5); }
|
|
.substep-running { border-color: rgba(60,130,246,.5); }
|
|
|
|
.log-search-wrap { display: flex; }
|
|
.log-search {
|
|
flex: 1;
|
|
font: inherit;
|
|
font-size: 12px;
|
|
font-family: var(--mono);
|
|
padding: 6px 10px;
|
|
background: var(--bg-elev-2);
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
color: var(--text);
|
|
}
|
|
.log-search::placeholder { color: var(--text-dim); }
|
|
.log-search:focus { outline: none; border-color: var(--accent); }
|
|
|
|
/* Log pane: now a standalone block (no tabs). Each step owns its pane. */
|
|
.step .log-pane {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
padding: 6px 0;
|
|
background: #0b0d12;
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
font-family: var(--mono);
|
|
font-size: 12px;
|
|
color: var(--text-dim);
|
|
max-height: 480px;
|
|
overflow-y: auto;
|
|
order: unset;
|
|
}
|
|
.step .log-pane:empty::before {
|
|
content: "(no log output for this step yet)";
|
|
padding: 10px 12px;
|
|
color: var(--text-dim);
|
|
opacity: .5;
|
|
}
|
|
.log-line {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 8px;
|
|
padding: 2px 10px;
|
|
border-left: 3px solid transparent;
|
|
}
|
|
.log-line:target { background: rgba(60,130,246,.12); border-left-color: var(--accent); }
|
|
.log-line .log-anchor {
|
|
flex: 0 0 18px;
|
|
color: var(--text-dim);
|
|
opacity: 0;
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
text-align: center;
|
|
}
|
|
.log-line:hover .log-anchor { opacity: 1; }
|
|
.log-line .ln { flex: 0 0 40px; color: var(--text-dim); opacity: .6; text-align: right; user-select: none; }
|
|
.log-line .lvl { flex: 0 0 44px; color: var(--text-dim); text-transform: uppercase; font-size: 10px; font-weight: 700; letter-spacing: .5px; }
|
|
.log-line .log-ts { flex: 0 0 64px; color: var(--text-dim); opacity: .75; }
|
|
.log-line .log-stage { flex: 0 0 auto; color: var(--text-dim); opacity: .75; }
|
|
.log-line .log-text { flex: 1 1 auto; min-width: 0; color: var(--text); white-space: pre-wrap; word-break: break-word; }
|
|
.log-line.log-warn .log-text { color: var(--warn); }
|
|
.log-line.log-warn .lvl { color: var(--warn); }
|
|
.log-line.log-error .log-text { color: var(--danger); }
|
|
.log-line.log-error .lvl { color: var(--danger); }
|
|
.log-line.log-debug { opacity: .6; }
|
|
.log-line.log-hit { background: rgba(228,169,75,.08); }
|
|
|
|
.btn-primary {
|
|
background: var(--accent-strong);
|
|
border-color: var(--accent-strong);
|
|
color: #fff;
|
|
}
|
|
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
|
|
.btn-danger {
|
|
border-color: var(--danger);
|
|
color: var(--danger);
|
|
background: transparent;
|
|
}
|
|
.btn-danger:hover { background: rgba(229,100,102,.1); }
|
|
|
|
/* ---------- Host page (/hosts/{id}) ------------------------------- */
|
|
|
|
/* Small variant of stage-dot, reused by the runs-table stage-strip so
|
|
per-row progress reads with the same visual language as the pipeline
|
|
on the run page. Kept lean — no borders, no glyphs, just colour. */
|
|
.stage-dot-sm {
|
|
width: 10px;
|
|
height: 10px;
|
|
font-size: 0;
|
|
border-width: 1px;
|
|
flex-shrink: 0;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.host-page { display: flex; flex-direction: column; gap: 12px; }
|
|
|
|
.host-summary {
|
|
background: var(--bg-elev);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 14px 16px;
|
|
}
|
|
.host-summary-head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
.host-summary-name { margin: 0; font-size: 22px; font-weight: 600; }
|
|
.host-summary-meta {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 6px 20px;
|
|
margin: 0 0 6px;
|
|
font-size: 13px;
|
|
}
|
|
.host-summary-meta dt { color: var(--text-dim); font-size: 11px; text-transform: uppercase; letter-spacing: .4px; }
|
|
.host-summary-meta dd { margin: 0; font-family: var(--mono); }
|
|
.host-summary-notes { margin-top: 8px; }
|
|
.host-summary-notes h3 { margin: 0 0 4px; font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .4px; }
|
|
.host-summary-spec summary { cursor: pointer; color: var(--text-dim); font-size: 12px; }
|
|
.host-summary-spec-yaml {
|
|
background: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
padding: 8px 10px;
|
|
font-family: var(--mono);
|
|
font-size: 12px;
|
|
overflow-x: auto;
|
|
margin: 6px 0 0;
|
|
}
|
|
|
|
.host-actions { padding: 0; }
|
|
.host-actions-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
|
|
.host-nd-toggle { display: inline-flex; gap: 6px; align-items: center; color: var(--text-dim); font-size: 13px; }
|
|
.host-profile-picker {
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 8px 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
margin: 0 8px 0 0;
|
|
}
|
|
.host-profile-picker legend { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .05em; padding: 0 4px; }
|
|
.host-profile-picker label { cursor: pointer; }
|
|
|
|
.in-flight-banner-wrap { display: contents; }
|
|
.in-flight-banner {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
background: rgba(60,130,246,.12);
|
|
border: 1px solid rgba(60,130,246,.5);
|
|
border-radius: var(--radius);
|
|
padding: 10px 14px;
|
|
color: var(--text);
|
|
text-decoration: none;
|
|
font-size: 14px;
|
|
}
|
|
.in-flight-banner:hover { background: rgba(60,130,246,.20); text-decoration: none; }
|
|
.in-flight-label { font-weight: 600; }
|
|
.in-flight-state { color: var(--text-dim); font-family: var(--mono); }
|
|
.in-flight-open { margin-left: auto; color: var(--accent); }
|
|
|
|
.host-empty-state {
|
|
text-align: center;
|
|
background: var(--bg-elev);
|
|
border: 1px dashed var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 40px 20px;
|
|
}
|
|
.host-empty-title { font-size: 18px; font-weight: 600; margin: 0 0 4px; }
|
|
.host-empty-sub { color: var(--text-dim); margin: 0 0 16px; font-size: 13px; }
|
|
.btn-primary.big { font-size: 15px; padding: 10px 20px; }
|
|
|
|
.host-runs { }
|
|
.host-runs h2 { font-size: 14px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .4px; margin: 0 0 8px; }
|
|
|
|
.runs-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
background: var(--bg-elev);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
overflow: hidden;
|
|
font-size: 13px;
|
|
}
|
|
.runs-table thead th {
|
|
text-align: left;
|
|
padding: 8px 10px;
|
|
color: var(--text-dim);
|
|
font-size: 11px;
|
|
text-transform: uppercase;
|
|
letter-spacing: .4px;
|
|
font-weight: 600;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--bg-elev-2);
|
|
}
|
|
.runs-table tbody td {
|
|
padding: 8px 10px;
|
|
border-top: 1px solid var(--border);
|
|
vertical-align: middle;
|
|
}
|
|
.runs-table tbody tr:first-child td { border-top: none; }
|
|
.runs-table tbody tr:hover { background: var(--bg-elev-2); }
|
|
.runs-row-live { background: rgba(60,130,246,.08); }
|
|
.runs-row-live:hover { background: rgba(60,130,246,.14); }
|
|
.runs-col-id a { font-family: var(--mono); font-weight: 600; color: var(--text); text-decoration: none; }
|
|
.runs-col-id a:hover { color: var(--accent); }
|
|
.runs-col-started, .runs-col-duration { color: var(--text-dim); font-family: var(--mono); white-space: nowrap; }
|
|
.runs-open-link { color: var(--accent); text-decoration: none; font-size: 12px; white-space: nowrap; }
|
|
.runs-open-link:hover { text-decoration: underline; }
|
|
|
|
.stage-strip {
|
|
display: inline-flex;
|
|
gap: 3px;
|
|
align-items: center;
|
|
}
|
|
|
|
/* ---------- Run page (/runs/{runID}) ------------------------------ */
|
|
|
|
.run-page { display: flex; flex-direction: column; gap: 12px; }
|
|
.run-body { display: flex; flex-direction: column; gap: 10px; }
|
|
.run-header-name { margin: 0; font-size: 20px; font-weight: 600; }
|
|
|
|
/* ---------- UX fixes ------------------------------------------------ */
|
|
|
|
/* #1: Active nav indicator */
|
|
.topbar nav a.nav-active { color: var(--text); }
|
|
|
|
/* #3: Copy button for code blocks */
|
|
.copyable-wrap { position: relative; display: flex; align-items: stretch; gap: 0; }
|
|
.copyable-wrap .one-liner,
|
|
.copyable-wrap .hold-ssh { flex: 1; margin: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
|
|
.copy-btn {
|
|
padding: 6px 12px;
|
|
font-size: 11px;
|
|
font-family: var(--mono);
|
|
text-transform: uppercase;
|
|
letter-spacing: .5px;
|
|
background: var(--bg-elev-2);
|
|
border: 1px solid var(--border);
|
|
border-left: none;
|
|
border-radius: 0 var(--radius) var(--radius) 0;
|
|
color: var(--text-dim);
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
.copy-btn:hover { color: var(--text); background: var(--bg-elev); }
|
|
.copy-btn.copied { color: var(--success); }
|
|
|
|
/* #4: Profile picker descriptions */
|
|
.host-profile-picker label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
align-items: flex-start;
|
|
font-family: var(--mono);
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
}
|
|
.host-profile-picker label > .profile-label { display: inline-flex; align-items: center; gap: 4px; }
|
|
.host-profile-picker label > .profile-desc { font-family: var(--font); font-size: 11px; color: var(--text-dim); padding-left: 18px; }
|
|
|
|
/* #5: Non-destructive hint */
|
|
.nd-hint {
|
|
display: block;
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
padding-left: 20px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* #6: Offline guidance */
|
|
.offline-hint {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.offline-hint span { font-size: 13px; color: var(--text-dim); }
|
|
.offline-hint a { color: var(--accent); }
|
|
|
|
/* #7: SSE connection indicator */
|
|
.heartbeat { transition: color .3s ease; }
|
|
.heartbeat-live { color: var(--success) !important; }
|
|
.heartbeat-stale { color: var(--danger) !important; }
|
|
|
|
/* #9: Diff badge on collapsed spec diffs */
|
|
.diff-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 20px;
|
|
height: 20px;
|
|
padding: 0 6px;
|
|
border-radius: 999px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
font-family: var(--mono);
|
|
line-height: 1;
|
|
}
|
|
.diff-badge-critical { background: rgba(229,100,102,.2); color: var(--danger); border: 1px solid rgba(229,100,102,.5); }
|
|
.diff-badge-warn { background: rgba(228,169,75,.15); color: var(--warn); border: 1px solid rgba(228,169,75,.4); }
|
|
|
|
/* #10: Cancelled run state */
|
|
.run-status-cancelled { background: rgba(154,162,177,.12); border-color: rgba(154,162,177,.4); color: var(--text-dim); }
|
|
.tile-cancelled { border-color: rgba(154,162,177,.3); }
|
|
|
|
/* #11: Small status badge on tiles */
|
|
.run-status-badge-sm { font-size: 10px; padding: 2px 7px; }
|
|
.tile-status { display: flex; }
|
|
|
|
/* #12: Log search match count */
|
|
.log-match-count {
|
|
font-family: var(--mono);
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
padding: 6px 8px;
|
|
white-space: nowrap;
|
|
align-self: center;
|
|
}
|
|
.log-match-count:empty { display: none; }
|
|
|
|
/* #8: Inline confirm */
|
|
.confirm-overlay {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 8px 12px;
|
|
background: rgba(229,100,102,.1);
|
|
border: 1px solid rgba(229,100,102,.5);
|
|
border-radius: var(--radius);
|
|
font-size: 13px;
|
|
color: var(--danger);
|
|
}
|
|
.confirm-overlay .confirm-msg { flex: 1; }
|
|
.confirm-overlay .confirm-yes {
|
|
background: var(--danger);
|
|
border-color: var(--danger);
|
|
color: #fff;
|
|
font-weight: 600;
|
|
padding: 6px 14px;
|
|
}
|
|
.confirm-overlay .confirm-no {
|
|
background: transparent;
|
|
border-color: var(--border);
|
|
color: var(--text-dim);
|
|
padding: 6px 14px;
|
|
}
|
|
|
|
/* #13: 404 page */
|
|
.not-found {
|
|
text-align: center;
|
|
padding: 80px 24px;
|
|
color: var(--text-dim);
|
|
}
|
|
.not-found h1 { font-size: 24px; color: var(--text); margin: 0 0 8px; }
|
|
.not-found p { margin: 0 0 20px; }
|
|
.not-found .button { display: inline-block; }
|