Drop the H0M3 tile hub and the core page. The dashboard is now the index; kept state is its fifth tab. A pages menu in the chrome links flow, stats, API docs and the swarm UI. The swarm apex URL comes from services.hyperhive.swarm.domain via HIVE_SWARM_PUBLIC_URL and the new swarm_public_url field of the state snapshot.
201 lines
5 KiB
CSS
201 lines
5 KiB
CSS
/* ─── SYST3M/BU1LDS section panels — used by the dashboard ───
|
|
Rebuild queue, meta inputs and kept-state panels.
|
|
Imported by dashboard.css. */
|
|
|
|
/* ─── meta inputs panel ────────────────────────────────────────────── */
|
|
.meta-inputs {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0 0 0.8em;
|
|
display: grid;
|
|
gap: 0.2em;
|
|
}
|
|
.meta-inputs li {
|
|
padding: 0.25em 0.6em;
|
|
border: 1px solid var(--border);
|
|
background: color-mix(in srgb, var(--bg-elev) 60%, transparent);
|
|
}
|
|
.meta-inputs label {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 0.5em;
|
|
cursor: pointer;
|
|
font-size: 0.9em;
|
|
}
|
|
.meta-input-name {
|
|
color: var(--amber);
|
|
font-weight: bold;
|
|
}
|
|
.meta-input-rev {
|
|
color: var(--muted);
|
|
}
|
|
.meta-input-ts {
|
|
color: var(--muted);
|
|
font-size: 0.85em;
|
|
}
|
|
.meta-input-url {
|
|
color: var(--muted);
|
|
font-size: 0.85em;
|
|
margin-left: auto;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.meta-inputs-bulk {
|
|
margin: 0 0 0.5em;
|
|
font-size: 0.8em;
|
|
color: var(--muted);
|
|
}
|
|
.meta-bulk-btn {
|
|
font: inherit;
|
|
font-size: 1em;
|
|
background: transparent;
|
|
border: 1px solid var(--purple-dim);
|
|
color: var(--cyan);
|
|
padding: 0.1em 0.6em;
|
|
margin-right: 0.2em;
|
|
cursor: pointer;
|
|
}
|
|
.meta-bulk-btn:hover {
|
|
border-color: var(--cyan);
|
|
text-shadow: 0 0 6px currentColor;
|
|
}
|
|
.meta-input-twig {
|
|
color: var(--purple-dim);
|
|
margin-right: 0.1em;
|
|
}
|
|
.btn-meta-update {
|
|
background: color-mix(in srgb, var(--purple) 12%, transparent);
|
|
border: 1px solid var(--purple);
|
|
color: var(--purple);
|
|
text-shadow: 0 0 4px currentColor;
|
|
padding: 0.3em 1em;
|
|
font: inherit;
|
|
font-size: 0.85em;
|
|
letter-spacing: 0.08em;
|
|
cursor: pointer;
|
|
transition:
|
|
box-shadow 0.15s ease,
|
|
background 0.15s ease;
|
|
}
|
|
.btn-meta-update:hover:not([disabled]) {
|
|
background: color-mix(in srgb, var(--purple) 22%, transparent);
|
|
box-shadow: 0 0 10px -2px currentColor;
|
|
}
|
|
.btn-meta-update[disabled] {
|
|
opacity: 0.35;
|
|
cursor: not-allowed;
|
|
}
|
|
.meta-update-running {
|
|
margin: 0 0 0.7em;
|
|
padding: 0.4em 0.7em;
|
|
border: 1px solid var(--purple);
|
|
background: color-mix(in srgb, var(--purple) 12%, transparent);
|
|
color: var(--purple);
|
|
font-size: 0.85em;
|
|
animation: badge-pulse 1.6s ease-in-out infinite;
|
|
}
|
|
|
|
/* ─── rebuild queue panel ──────────────────────────────────────────────── */
|
|
.rebuild-queue {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
display: grid;
|
|
gap: 0.2em;
|
|
}
|
|
.rebuild-queue-entry {
|
|
padding: 0.3em 0.6em;
|
|
border: 1px solid var(--border);
|
|
background: color-mix(in srgb, var(--bg-elev) 60%, transparent);
|
|
font-size: 0.9em;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: baseline;
|
|
gap: 0.4em;
|
|
}
|
|
.rqe-kind {
|
|
color: var(--cyan);
|
|
}
|
|
.rqe-agent {
|
|
color: var(--amber);
|
|
font-weight: bold;
|
|
}
|
|
/* ─── running-rebuild live log (renderRebuildLiveLog in builds.js) ──────────
|
|
Streams the currently-running rebuild's build log inline under the queue.
|
|
Hidden (native `hidden` attr) when nothing is building. Used on the
|
|
dashboard's R3BU1LD QU3U3 tab. */
|
|
.rebuild-live-log {
|
|
margin-top: 0.8em;
|
|
border: 1px solid var(--purple-dim);
|
|
border-radius: 4px;
|
|
background: color-mix(in srgb, var(--crust) 70%, transparent);
|
|
}
|
|
.rebuild-live-log-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4em;
|
|
padding: 0.4em 0.6em;
|
|
font-size: 0.85em;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.rebuild-live-log-toggle {
|
|
background: transparent;
|
|
border: 0;
|
|
color: var(--muted);
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
font-size: 1em;
|
|
padding: 0 0.2em;
|
|
}
|
|
.rebuild-live-log-toggle:hover {
|
|
color: var(--fg);
|
|
}
|
|
.rebuild-live-log-title {
|
|
color: var(--muted);
|
|
}
|
|
.rebuild-live-log-raw {
|
|
margin-left: auto;
|
|
color: var(--purple);
|
|
text-decoration: none;
|
|
font-size: 0.9em;
|
|
}
|
|
.rebuild-live-log-raw:hover {
|
|
text-decoration: underline;
|
|
}
|
|
.rebuild-live-log-badge {
|
|
font-size: 0.75em;
|
|
font-weight: bold;
|
|
padding: 0.05em 0.5em;
|
|
border-radius: 999px;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
.rebuild-live-log-badge.rll-running {
|
|
color: var(--amber);
|
|
background: color-mix(in srgb, var(--amber) 18%, transparent);
|
|
}
|
|
.rebuild-live-log-badge.rll-ok {
|
|
color: var(--green);
|
|
background: color-mix(in srgb, var(--green) 18%, transparent);
|
|
}
|
|
.rebuild-live-log-badge.rll-fail {
|
|
color: var(--red);
|
|
background: color-mix(in srgb, var(--red) 18%, transparent);
|
|
}
|
|
.rebuild-live-log-output {
|
|
margin: 0;
|
|
padding: 0.5em 0.7em;
|
|
max-height: 22em;
|
|
overflow-y: auto;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
font-family:
|
|
"JetBrains Mono", "Fira Code", "Cascadia Code", "Source Code Pro", monospace;
|
|
font-size: 0.8em;
|
|
line-height: 1.4;
|
|
color: var(--fg);
|
|
}
|
|
|
|
/* Remove the now-dead `.rqe-step` rule (the `step` sub-step label was
|
|
retired from the wire in `feat(job_queue): retire the now-off-wire step
|
|
sub-step label` — the rule has had no JS referents since then). */
|