/* ─── SYST3M section panels — shared by the dashboard + /core.html ── The four SYST3M panels (rebuild queue, meta inputs, kept state, container load) render on /core.html (their renderers live in core.js, carved out of the dashboard in a prior refactor). These section-internal rules used to live in dashboard.css and were pulled in by /core.html via a wholesale `@import "./dashboard.css"`, which dragged the entire ~39kb dashboard stylesheet into the C0R3 bundle. They now live here and are `@import`ed by BOTH core.css and dashboard.css. /core.html gets only this small file instead of all of dashboard.css; the dashboard keeps the rules (a couple are still referenced from dashboard JS — `.rqe-source*` by the schedules view, and `.hive-stats-table`, which already lives in common.css and is loaded by both pages). Behaviour-preserving: identical rules, same custom properties from colors.css / theme.css / common.css. The selectors here are uniquely named to these panels and are not redefined elsewhere, so the cascade is unaffected by the move. */ /* ─── 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; } .rebuild-queue-entry.rqe-child { margin-left: 1.6em; border-color: var(--purple-dim); } .rebuild-queue-entry.rqe-running { border-color: var(--purple); background: color-mix(in srgb, var(--purple) 12%, transparent); animation: badge-pulse 1.6s ease-in-out infinite; } .rebuild-queue-entry.rqe-failed { border-color: var(--red); color: var(--red); } .rebuild-queue-entry.rqe-cancelled { opacity: 0.6; } .rebuild-queue-entry.rqe-done { opacity: 0.7; color: var(--green); } .rqe-state { font-weight: bold; min-width: 1.2em; text-align: center; } .rqe-kind { color: var(--cyan); } .rqe-agent { color: var(--amber); font-weight: bold; } .rqe-source { font-size: 0.75em; padding: 0.05em 0.45em; border-radius: 0.7em; border: 1px solid var(--border); color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; } .rqe-source-manual { color: var(--cyan); border-color: var(--cyan); } .rqe-source-meta_update { color: var(--purple); border-color: var(--purple); } .rqe-source-auto_update { color: var(--muted); } .rqe-source-startup_sweep { color: var(--muted); } .rqe-source-crash_recover { color: var(--amber); border-color: var(--amber); } .rqe-source-approval { color: var(--green); border-color: var(--green); } .rqe-when { color: var(--muted); font-size: 0.85em; } .rqe-reason { color: var(--muted); font-size: 0.85em; flex: 1 1 auto; } .rqe-step { flex-basis: 100%; margin: 0.1em 0 0 1.8em; color: var(--cyan); font-size: 0.85em; } .rqe-error { flex-basis: 100%; margin: 0.3em 0 0; padding: 0.3em 0.5em; background: color-mix(in srgb, var(--red) 10%, transparent); border-left: 2px solid var(--red); color: var(--red); font-size: 0.8em; white-space: pre-wrap; } .rqe-cancel { margin-left: auto; } .rqe-cancel-btn { background: transparent; border: 1px solid var(--purple-dim); color: var(--muted); border-radius: 999px; width: 1.6em; height: 1.6em; font-size: 0.85em; line-height: 1; padding: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; } .rqe-cancel-btn:hover:not(:disabled), .rqe-cancel-btn:focus-visible { color: var(--red); border-color: var(--red); box-shadow: 0 0 8px -2px var(--red); outline: none; } .rqe-cancel-btn:disabled { opacity: 0.5; cursor: default; } /* ─── SYST3M › C0NT41N3R L04D: live cgroup cpu/mem ───────────────────────────── Reuses the shared `.hive-stats-table` styling (in common.css); only the inline meter bar is new. */ .cload-meter { display: inline-block; width: 6em; height: 10px; vertical-align: middle; margin-left: 6px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; } .cload-meter .fill { display: block; height: 100%; background: var(--green); } .cload-meter .fill.warn { background: var(--amber); } .cload-meter .fill.hot { background: var(--red); }