Dashboard (screens-home.jsx): rebuild to new design, fully live-wired. Dropped fabricated figures per "real data" rule (object-store %, uptime, storage breakdown); repurposed ingest cell to real Assets-24h count. Fixed undefined refs and double-rendered Resources section. Playout: as-run writer in scheduler.js writeAsRun() off the health-tick /status poll; AsRunPanel UI + missing CSS in styles-playout.css. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1606 lines
44 KiB
CSS
1606 lines
44 KiB
CSS
/* ========== Asset thumbnails ========== */
|
|
.asset-thumb {
|
|
position: relative;
|
|
width: 100%;
|
|
border-radius: var(--r-md);
|
|
overflow: hidden;
|
|
background: var(--bg-2);
|
|
display: block;
|
|
}
|
|
.asset-thumb.audio {
|
|
background: linear-gradient(135deg, hsl(180 30% 14%), hsl(200 30% 8%));
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.asset-thumb .thumb-svg { width: 100%; height: 100%; display: block; }
|
|
.scanlines {
|
|
position: absolute; inset: 0;
|
|
background-image: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0,0,0,0.06) 2px 3px);
|
|
pointer-events: none;
|
|
opacity: 0.4;
|
|
}
|
|
.thumb-overlay {
|
|
position: absolute; inset: 0;
|
|
display: flex; align-items: center; justify-content: center;
|
|
color: white;
|
|
}
|
|
.thumb-duration {
|
|
position: absolute;
|
|
right: 6px; bottom: 6px;
|
|
font-family: var(--font-mono);
|
|
font-size: 10.5px;
|
|
font-weight: 500;
|
|
color: white;
|
|
background: rgba(0,0,0,0.7);
|
|
padding: 2px 6px;
|
|
border-radius: 3px;
|
|
line-height: 1.3;
|
|
}
|
|
.thumb-status {
|
|
position: absolute;
|
|
left: 6px; top: 6px;
|
|
display: flex; gap: 4px;
|
|
}
|
|
|
|
/* Hi-res download button - top-right corner of an asset thumbnail.
|
|
Hidden by default, revealed on card hover or button focus. Avoids
|
|
crowding the resting-state thumb (issue #145). */
|
|
.thumb-download-btn {
|
|
position: absolute;
|
|
right: 6px; top: 6px;
|
|
width: 22px; height: 22px;
|
|
display: flex; align-items: center; justify-content: center;
|
|
padding: 0;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
color: #fff;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
opacity: 0;
|
|
transform: translateY(-2px);
|
|
transition: opacity 80ms ease-out, transform 120ms ease-out, background 80ms;
|
|
}
|
|
.asset-card:hover .thumb-download-btn,
|
|
.thumb-download-btn:focus-visible {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
.thumb-download-btn:hover {
|
|
background: rgba(0, 0, 0, 0.85);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
/* ========== Waveform ========== */
|
|
.waveform { width: 70%; height: 50%; opacity: 0.85; }
|
|
.audio-meter.h { display: flex; gap: 2px; height: 12px; align-items: stretch; }
|
|
.audio-meter.v { display: flex; flex-direction: column-reverse; gap: 2px; width: 6px; height: 60px; }
|
|
.audio-seg { flex: 1; border-radius: 1px; transition: opacity 80ms, background 80ms; }
|
|
.audio-meter.h .audio-seg { min-width: 3px; }
|
|
.audio-meter.v .audio-seg { min-height: 2px; }
|
|
|
|
/* ========== Live strip ========== */
|
|
.live-strip {
|
|
display: flex;
|
|
gap: 2px;
|
|
align-items: stretch;
|
|
height: 56px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
border-radius: var(--r-sm);
|
|
background: var(--bg-2);
|
|
}
|
|
.live-strip-cell {
|
|
flex: 1;
|
|
position: relative;
|
|
overflow: hidden;
|
|
animation: stripIn 600ms ease;
|
|
}
|
|
.live-strip-cell .thumb-svg { width: 100%; height: 100%; }
|
|
@keyframes stripIn {
|
|
from { transform: translateX(20%); opacity: 0; }
|
|
to { transform: none; opacity: 1; }
|
|
}
|
|
.live-strip-now {
|
|
position: absolute;
|
|
right: 6px; top: 6px;
|
|
display: flex; align-items: center; gap: 4px;
|
|
font-family: var(--font-mono);
|
|
font-size: 9.5px;
|
|
font-weight: 600;
|
|
color: var(--live);
|
|
background: rgba(0,0,0,0.6);
|
|
padding: 2px 6px;
|
|
border-radius: 99px;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
.live-pulse {
|
|
width: 5px; height: 5px;
|
|
border-radius: 50%;
|
|
background: var(--live);
|
|
animation: pulse 1.6s ease-in-out infinite;
|
|
}
|
|
|
|
/* ========== Status dot ========== */
|
|
.status-dot {
|
|
display: inline-block;
|
|
width: 8px; height: 8px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
}
|
|
.status-dot.pulse {
|
|
animation: dotpulse 1.6s ease-in-out infinite;
|
|
}
|
|
@keyframes dotpulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.6; }
|
|
}
|
|
|
|
/* ========== Dashboard stats - dense row, not hero-metric cards ========== */
|
|
.dash-stat-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 10px;
|
|
padding: 12px 28px;
|
|
}
|
|
@media (max-width: 1100px) {
|
|
.dash-stat-row { grid-template-columns: repeat(2, 1fr); }
|
|
}
|
|
|
|
.dash-stat {
|
|
background: var(--bg-1);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--r-md);
|
|
padding: 10px 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
transition: border-color 80ms;
|
|
}
|
|
.dash-stat:hover { border-color: var(--border-stronger); }
|
|
|
|
.dash-stat-top {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
.dash-stat-label {
|
|
font-size: 10.5px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
color: var(--text-3);
|
|
white-space: nowrap;
|
|
}
|
|
.dash-stat-ico {
|
|
color: var(--text-4);
|
|
flex-shrink: 0;
|
|
}
|
|
.dash-stat-mono {
|
|
font-family: var(--font-mono);
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
letter-spacing: -0.02em;
|
|
font-variant-numeric: tabular-nums;
|
|
line-height: 1.2;
|
|
color: var(--text-1);
|
|
}
|
|
.dash-stat-mono-sub {
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
color: var(--text-3);
|
|
}
|
|
.dash-stat-sub {
|
|
font-size: 11px;
|
|
color: var(--text-3);
|
|
font-family: var(--font-mono);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.dash-stat-sub.up { color: var(--success); }
|
|
|
|
/* Sparkline sits in its own row at the bottom - no absolute positioning */
|
|
.dash-sparkline {
|
|
height: 24px;
|
|
margin-top: 4px;
|
|
opacity: 0.6;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* ========== Live feed tiles ========== */
|
|
.home-grid {
|
|
display: grid;
|
|
grid-template-columns: 2fr 1fr;
|
|
gap: 16px;
|
|
padding: 4px 28px 40px;
|
|
}
|
|
.live-feed-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 10px;
|
|
}
|
|
.live-feed-tile {
|
|
position: relative;
|
|
border-radius: var(--r-md);
|
|
overflow: hidden;
|
|
aspect-ratio: 16 / 9;
|
|
background: var(--bg-2);
|
|
cursor: pointer;
|
|
transition: transform 120ms;
|
|
border: 1px solid var(--border);
|
|
}
|
|
.live-feed-tile:hover { transform: translateY(-1px); border-color: var(--border-stronger); }
|
|
.live-feed-tile-label {
|
|
position: absolute;
|
|
left: 8px; bottom: 8px;
|
|
right: 8px;
|
|
display: flex; align-items: center; gap: 6px;
|
|
z-index: 2;
|
|
}
|
|
.live-feed-tile-label .name {
|
|
color: white;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
background: rgba(0,0,0,0.6);
|
|
padding: 3px 8px;
|
|
border-radius: 4px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
min-width: 0;
|
|
}
|
|
.live-feed-tile-label .source {
|
|
color: rgba(255,255,255,0.7);
|
|
font-family: var(--font-mono);
|
|
font-size: 10px;
|
|
background: rgba(0,0,0,0.5);
|
|
padding: 2px 5px;
|
|
border-radius: 3px;
|
|
white-space: nowrap;
|
|
}
|
|
.live-feed-tile-label .time {
|
|
margin-left: auto;
|
|
color: white;
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
background: rgba(0,0,0,0.6);
|
|
padding: 3px 6px;
|
|
border-radius: 4px;
|
|
}
|
|
.live-feed-tile-badge {
|
|
position: absolute;
|
|
top: 8px; left: 8px;
|
|
z-index: 2;
|
|
}
|
|
.live-feed-tile-project {
|
|
position: absolute;
|
|
top: 8px; right: 8px;
|
|
z-index: 2;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
color: rgba(255,255,255,0.8);
|
|
font-size: 10.5px;
|
|
font-family: var(--font-mono);
|
|
background: rgba(0,0,0,0.5);
|
|
padding: 2px 7px;
|
|
border-radius: 4px;
|
|
}
|
|
.live-feed-project-dot {
|
|
width: 6px; height: 6px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* ========== Activity feed ========== */
|
|
.activity-feed {
|
|
background: var(--bg-1);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--r-lg);
|
|
overflow: hidden;
|
|
}
|
|
.activity-row {
|
|
display: flex; align-items: flex-start; gap: 10px;
|
|
padding: 10px 14px;
|
|
border-bottom: 1px solid var(--border);
|
|
font-size: 12.5px;
|
|
}
|
|
.activity-row:last-child { border-bottom: 0; }
|
|
.activity-icon {
|
|
width: 24px; height: 24px;
|
|
border-radius: 50%;
|
|
display: grid; place-items: center;
|
|
flex-shrink: 0;
|
|
color: var(--text-2);
|
|
}
|
|
.activity-icon.record { background: var(--live-soft); color: var(--live); }
|
|
.activity-text { flex: 1; line-height: 1.4; min-width: 0; }
|
|
.activity-text strong { color: var(--text-1); font-weight: 500; }
|
|
.activity-text .target { color: var(--accent-text); }
|
|
.activity-meta {
|
|
display: flex; gap: 6px;
|
|
flex-shrink: 0;
|
|
}
|
|
.activity-dur {
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
color: var(--text-3);
|
|
background: var(--bg-2);
|
|
padding: 1px 5px;
|
|
border-radius: 3px;
|
|
}
|
|
.activity-res {
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
color: var(--text-3);
|
|
background: var(--bg-2);
|
|
padding: 1px 5px;
|
|
border-radius: 3px;
|
|
}
|
|
.activity-time { font-size: 11px; color: var(--text-3); font-family: var(--font-mono); white-space: nowrap; }
|
|
|
|
/* ========== Mini job rows ========== */
|
|
.mini-job-row {
|
|
padding: 8px 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.mini-job-row:last-child { border-bottom: 0; }
|
|
.mini-job-body {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
}
|
|
.mini-job-line1 {
|
|
font-size: 12px;
|
|
display: flex;
|
|
gap: 5px;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
}
|
|
.mini-job-kind { color: var(--text-2); flex-shrink: 0; }
|
|
.mini-job-sep { color: var(--text-4); flex-shrink: 0; }
|
|
.mini-job-asset {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
min-width: 0;
|
|
}
|
|
.mini-job-node {
|
|
color: var(--text-4);
|
|
font-size: 10.5px;
|
|
font-family: var(--font-mono);
|
|
flex-shrink: 0;
|
|
margin-left: auto;
|
|
}
|
|
.mini-job-progress {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
height: 18px;
|
|
}
|
|
.mini-job-progress::before {
|
|
content: '';
|
|
flex: 1;
|
|
height: 3px;
|
|
background: var(--bg-3);
|
|
border-radius: 99px;
|
|
overflow: hidden;
|
|
display: block;
|
|
}
|
|
.mini-job-progress-fill {
|
|
height: 3px;
|
|
background: var(--accent);
|
|
border-radius: 99px;
|
|
transition: width 300ms;
|
|
display: block;
|
|
flex: 1;
|
|
}
|
|
.mini-job-progress-fill { display: none; }
|
|
.mini-job-progress {
|
|
position: relative;
|
|
height: 14px;
|
|
}
|
|
.mini-job-progress .mini-job-progress-fill {
|
|
position: absolute;
|
|
left: 0; top: 50%;
|
|
transform: translateY(-50%);
|
|
height: 3px;
|
|
background: var(--accent);
|
|
border-radius: 99px;
|
|
display: block;
|
|
}
|
|
.mini-job-pct {
|
|
font-family: var(--font-mono);
|
|
font-size: 10px;
|
|
color: var(--text-3);
|
|
flex-shrink: 0;
|
|
min-width: 28px;
|
|
text-align: right;
|
|
}
|
|
.mini-job-error {
|
|
font-size: 11px;
|
|
color: var(--danger);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.mini-job-right {
|
|
font-family: var(--font-mono);
|
|
font-size: 10.5px;
|
|
color: var(--text-3);
|
|
min-width: 40px;
|
|
text-align: right;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* ========== Cluster node rows ========== */
|
|
.cluster-node-row {
|
|
padding: 8px 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
border-bottom: 1px solid var(--border);
|
|
font-size: 12.5px;
|
|
}
|
|
.cluster-node-row:last-child { border-bottom: 0; }
|
|
.cluster-node-name {
|
|
font-weight: 500;
|
|
font-size: 12.5px;
|
|
white-space: nowrap;
|
|
}
|
|
.cluster-node-spacer { flex: 1; min-width: 8px; }
|
|
.cluster-node-metric {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
.cluster-node-metric-label {
|
|
font-family: var(--font-mono);
|
|
font-size: 9.5px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
color: var(--text-4);
|
|
width: 22px;
|
|
}
|
|
.cluster-node-bar {
|
|
width: 48px;
|
|
height: 3px;
|
|
background: var(--bg-3);
|
|
border-radius: 99px;
|
|
overflow: hidden;
|
|
display: block;
|
|
}
|
|
.cluster-node-bar-fill {
|
|
height: 100%;
|
|
border-radius: 99px;
|
|
display: block;
|
|
transition: width 200ms;
|
|
}
|
|
.cluster-node-metric-val {
|
|
font-family: var(--font-mono);
|
|
font-size: 10.5px;
|
|
color: var(--text-3);
|
|
min-width: 30px;
|
|
text-align: right;
|
|
}
|
|
|
|
/* ========== Dashboard page ========== */
|
|
.page.dash {
|
|
padding: 0 28px 12px;
|
|
}
|
|
|
|
.dash-section {
|
|
margin-bottom: 20px;
|
|
}
|
|
.dash-section:last-child { margin-bottom: 0; }
|
|
|
|
.dash-sectionhead {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 16px 0 10px;
|
|
position: relative;
|
|
}
|
|
.dash-sectionhead[data-accent=live] .dash-sectionhead-title { color: var(--live); }
|
|
.dash-sectionhead[data-accent=danger] .dash-sectionhead-title { color: var(--danger); }
|
|
.dash-sectionhead-title {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--text-1);
|
|
letter-spacing: -0.01em;
|
|
}
|
|
.dash-sectionhead-count {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
margin-left: 2px;
|
|
}
|
|
.dash-sectionhead-num {
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--text-2);
|
|
}
|
|
.dash-sectionhead-label {
|
|
font-size: 11.5px;
|
|
color: var(--text-3);
|
|
}
|
|
.dash-sectionhead-more {
|
|
margin-left: auto;
|
|
font-size: 11.5px;
|
|
color: var(--text-3);
|
|
background: none;
|
|
border: 0;
|
|
padding: 4px 6px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
transition: background 100ms, color 100ms;
|
|
}
|
|
.dash-sectionhead-more:hover {
|
|
background: var(--bg-2);
|
|
color: var(--text-1);
|
|
}
|
|
|
|
/* On-air grid */
|
|
.dash-onair-grid {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
.dash-onair-grid[data-count="1"] { grid-template-columns: 1fr; }
|
|
.dash-onair-grid[data-count="2"] { grid-template-columns: 1fr 1fr; }
|
|
.dash-onair-grid[data-count="3"] { grid-template-columns: 1fr 1fr 1fr; }
|
|
.dash-onair-grid[data-count="4"] { grid-template-columns: 1fr 1fr; }
|
|
|
|
.dash-onair-tile {
|
|
background: var(--bg-1);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--r-lg);
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
transition: border-color 120ms;
|
|
}
|
|
.dash-onair-tile:hover { border-color: var(--border-stronger); }
|
|
|
|
.dash-onair-video {
|
|
position: relative;
|
|
aspect-ratio: 16/9;
|
|
background: var(--bg-2);
|
|
overflow: hidden;
|
|
}
|
|
.dash-onair-rec-pip {
|
|
position: absolute;
|
|
top: 8px; left: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
font-size: 10.5px;
|
|
font-weight: 600;
|
|
color: white;
|
|
background: var(--danger);
|
|
padding: 2px 7px;
|
|
border-radius: 4px;
|
|
line-height: 1.3;
|
|
}
|
|
.dash-onair-rec-dot {
|
|
width: 6px; height: 6px;
|
|
border-radius: 50%;
|
|
background: white;
|
|
animation: dash-rec-pulse 1.5s ease-in-out infinite;
|
|
}
|
|
@keyframes dash-rec-pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.3; }
|
|
}
|
|
.dash-onair-time {
|
|
position: absolute;
|
|
bottom: 8px; right: 8px;
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
color: white;
|
|
background: rgba(0,0,0,0.65);
|
|
padding: 2px 7px;
|
|
border-radius: 4px;
|
|
}
|
|
.dash-onair-meta {
|
|
padding: 10px 12px;
|
|
}
|
|
.dash-onair-name {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--text-1);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.dash-onair-sub {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
margin-top: 3px;
|
|
font-size: 11.5px;
|
|
color: var(--text-3);
|
|
}
|
|
.dash-onair-dot {
|
|
color: var(--text-4);
|
|
}
|
|
.dash-onair-source,
|
|
.dash-onair-res,
|
|
.dash-onair-codec { font-family: var(--font-mono); font-size: 10.5px; }
|
|
|
|
/* Inline empty state */
|
|
.dash-inline-empty {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 14px 14px;
|
|
background: var(--bg-1);
|
|
border: 1px dashed var(--border);
|
|
border-radius: var(--r-md);
|
|
color: var(--text-3);
|
|
font-size: 12.5px;
|
|
}
|
|
.dash-inline-empty-cta {
|
|
margin-left: auto;
|
|
font-size: 11.5px;
|
|
color: var(--accent);
|
|
background: none;
|
|
border: 0;
|
|
padding: 4px 6px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
.dash-inline-empty-cta:hover {
|
|
background: var(--accent-soft);
|
|
}
|
|
|
|
/* Up next strip */
|
|
.dash-next-row {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
.dash-next-card {
|
|
flex: 1;
|
|
background: var(--bg-1);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--r-lg);
|
|
overflow: hidden;
|
|
transition: border-color 120ms;
|
|
}
|
|
.dash-next-card.imminent {
|
|
border-color: var(--accent);
|
|
}
|
|
.dash-next-time {
|
|
padding: 8px 12px 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
.dash-next-clock {
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--text-2);
|
|
}
|
|
.dash-next-rel {
|
|
font-size: 10.5px;
|
|
color: var(--accent-text);
|
|
}
|
|
.dash-next-body {
|
|
padding: 4px 12px 10px;
|
|
}
|
|
.dash-next-name {
|
|
font-size: 12.5px;
|
|
font-weight: 500;
|
|
color: var(--text-1);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.dash-next-sub {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
margin-top: 3px;
|
|
font-size: 11px;
|
|
color: var(--text-3);
|
|
}
|
|
|
|
/* Attention section */
|
|
.dash-attention {
|
|
}
|
|
.dash-attention-panel {
|
|
background: var(--bg-1);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--r-lg);
|
|
overflow: hidden;
|
|
}
|
|
.dash-attention-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 12px;
|
|
border-bottom: 1px solid var(--border);
|
|
cursor: pointer;
|
|
transition: background 100ms;
|
|
}
|
|
.dash-attention-row:last-child { border-bottom: 0; }
|
|
.dash-attention-row.level-danger {
|
|
border-left: 3px solid var(--danger);
|
|
}
|
|
.dash-attention-row.level-warning {
|
|
border-left: 3px solid var(--warning);
|
|
}
|
|
.dash-attention-row:hover { background: var(--bg-2); }
|
|
.dash-attention-icon {
|
|
width: 24px; height: 24px;
|
|
display: grid; place-items: center;
|
|
flex-shrink: 0;
|
|
}
|
|
.dash-attention-title {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--text-1);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.dash-attention-detail {
|
|
font-size: 11px;
|
|
color: var(--text-3);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
flex: 1;
|
|
}
|
|
.dash-attention-arrow {
|
|
flex-shrink: 0;
|
|
color: var(--text-4);
|
|
}
|
|
.dash-attention-more {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 8px 12px;
|
|
font-size: 11.5px;
|
|
color: var(--text-3);
|
|
cursor: pointer;
|
|
justify-content: center;
|
|
}
|
|
.dash-attention-more:hover { color: var(--text-1); }
|
|
|
|
/* Two-column work + cluster grid */
|
|
.dash-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 14px;
|
|
}
|
|
.dash-col {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
/* Job queue panel */
|
|
.dash-jobs-panel {
|
|
background: var(--bg-1);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--r-lg);
|
|
overflow: hidden;
|
|
}
|
|
.dash-jobs-head {
|
|
display: grid;
|
|
grid-template-columns: 20px 1fr 1fr 1fr;
|
|
gap: 6px;
|
|
padding: 6px 12px;
|
|
border-bottom: 1px solid var(--border);
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: var(--text-4);
|
|
}
|
|
.dash-jobs-row {
|
|
display: grid;
|
|
grid-template-columns: 20px 1fr 1fr 1fr;
|
|
gap: 6px;
|
|
padding: 7px 12px;
|
|
border-bottom: 1px solid var(--border);
|
|
align-items: center;
|
|
font-size: 12px;
|
|
}
|
|
.dash-jobs-row:last-child { border-bottom: 0; }
|
|
.dash-jobs-statr { justify-content: center; }
|
|
.dash-jobs-kind {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
color: var(--text-2);
|
|
overflow: hidden;
|
|
}
|
|
.dash-jobs-kind span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.dash-jobs-asset {
|
|
color: var(--text-1);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.dash-jobs-progress {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
.dash-jobs-bar {
|
|
flex: 1;
|
|
height: 4px;
|
|
background: var(--bg-3);
|
|
border-radius: 99px;
|
|
overflow: hidden;
|
|
}
|
|
.dash-jobs-bar-fill {
|
|
height: 100%;
|
|
background: var(--accent);
|
|
border-radius: 99px;
|
|
transition: width 300ms;
|
|
}
|
|
.dash-jobs-pct {
|
|
font-family: var(--font-mono);
|
|
font-size: 10px;
|
|
color: var(--text-3);
|
|
min-width: 28px;
|
|
text-align: right;
|
|
}
|
|
.dash-jobs-state {
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
color: var(--text-4);
|
|
}
|
|
.dash-jobs-state.done { color: var(--success); }
|
|
.dash-jobs-state.failed { color: var(--danger); }
|
|
|
|
/* Cluster panel (dashboard) */
|
|
.dash-cluster-panel {
|
|
background: var(--bg-1);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--r-lg);
|
|
overflow: hidden;
|
|
}
|
|
.dash-cluster-head {
|
|
display: grid;
|
|
grid-template-columns: 20px 1fr 1fr 1fr;
|
|
gap: 6px;
|
|
padding: 6px 12px;
|
|
border-bottom: 1px solid var(--border);
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: var(--text-4);
|
|
}
|
|
.dash-cluster-row {
|
|
display: grid;
|
|
grid-template-columns: 20px 1fr 1fr 1fr;
|
|
gap: 6px;
|
|
padding: 7px 12px;
|
|
border-bottom: 1px solid var(--border);
|
|
align-items: center;
|
|
font-size: 12px;
|
|
}
|
|
.dash-cluster-row:last-child { border-bottom: 0; }
|
|
.dash-cluster-row[data-online=false] { opacity: 0.55; }
|
|
.dash-cluster-status { display: flex; align-items: center; }
|
|
.dash-cluster-name {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
overflow: hidden;
|
|
}
|
|
.dash-cluster-host {
|
|
font-weight: 500;
|
|
color: var(--text-1);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.dash-cluster-role {
|
|
font-size: 9.5px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
color: var(--accent-text);
|
|
background: var(--accent-soft);
|
|
padding: 1px 5px;
|
|
border-radius: 3px;
|
|
flex-shrink: 0;
|
|
}
|
|
.dash-cluster-metric {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
.dash-cluster-bar {
|
|
flex: 1;
|
|
height: 4px;
|
|
background: var(--bg-3);
|
|
border-radius: 99px;
|
|
overflow: hidden;
|
|
}
|
|
.dash-cluster-bar-fill {
|
|
height: 100%;
|
|
border-radius: 99px;
|
|
transition: width 200ms;
|
|
}
|
|
.dash-cluster-val {
|
|
font-family: var(--font-mono);
|
|
font-size: 10.5px;
|
|
color: var(--text-2);
|
|
min-width: 32px;
|
|
text-align: right;
|
|
}
|
|
.dash-cluster-val.muted { color: var(--text-4); }
|
|
|
|
/* Panel empty state */
|
|
.dash-panel-empty {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
padding: 18px 12px;
|
|
color: var(--text-3);
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Status bar */
|
|
.dash-statusbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 10px 0 6px;
|
|
border-top: 1px solid var(--border);
|
|
margin-top: 6px;
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
}
|
|
.dash-stat-pip {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
.dash-stat-pip[data-tone=live] .dash-pip-dot { background: var(--live); }
|
|
.dash-stat-pip[data-tone=accent] .dash-pip-dot { background: var(--accent); }
|
|
.dash-stat-pip[data-tone=warning] .dash-pip-dot { background: var(--warning); }
|
|
.dash-stat-pip[data-tone=success] .dash-pip-dot { background: var(--success); }
|
|
.dash-stat-pip[data-tone=idle] .dash-pip-dot { background: var(--text-4); }
|
|
.dash-pip-dot {
|
|
width: 6px; height: 6px;
|
|
border-radius: 50%;
|
|
background: var(--text-4);
|
|
}
|
|
.dash-pip-num {
|
|
font-weight: 600;
|
|
color: var(--text-2);
|
|
}
|
|
.dash-pip-label {
|
|
color: var(--text-4);
|
|
text-transform: lowercase;
|
|
}
|
|
.dash-statusbar-sep {
|
|
color: var(--text-5, var(--text-4));
|
|
opacity: 0.5;
|
|
}
|
|
.dash-statusbar-spacer { flex: 1; }
|
|
.dash-statusbar-clock {
|
|
color: var(--text-3);
|
|
margin-left: auto;
|
|
}
|
|
|
|
/* ========== Empty states ========== */
|
|
.dash-empty {
|
|
padding: 16px 0;
|
|
color: var(--text-3);
|
|
font-size: 12.5px;
|
|
}
|
|
.dash-empty-panel {
|
|
padding: 14px 12px;
|
|
color: var(--text-3);
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* ========== Library ========== */
|
|
.library-layout {
|
|
display: grid;
|
|
grid-template-columns: 240px 1fr;
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
.library-rail {
|
|
border-right: 1px solid var(--border);
|
|
background: var(--bg-0);
|
|
padding: 16px 12px;
|
|
overflow-y: auto;
|
|
display: flex; flex-direction: column; gap: 16px;
|
|
}
|
|
.library-rail h4 {
|
|
margin: 0;
|
|
font-size: 10.5px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
color: var(--text-4);
|
|
padding: 0 10px;
|
|
}
|
|
.rail-list { display: flex; flex-direction: column; gap: 1px; }
|
|
.rail-item {
|
|
display: flex; align-items: center; gap: 8px;
|
|
height: 30px;
|
|
padding: 0 10px;
|
|
border-radius: var(--r-sm);
|
|
font-size: 12.5px;
|
|
color: var(--text-2);
|
|
cursor: pointer;
|
|
}
|
|
.rail-item:hover { background: var(--hover); color: var(--text-1); }
|
|
.rail-item.active { background: var(--accent-soft); color: var(--accent-text); }
|
|
.rail-item.droppable { outline: 2px dashed var(--accent); outline-offset: -2px; background: var(--accent-subtle); }
|
|
.rail-item.active .rail-icon { color: var(--accent); }
|
|
.rail-item .rail-icon { color: var(--text-3); }
|
|
.rail-item .rail-count { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; color: var(--text-3); }
|
|
.rail-color-dot { width: 8px; height: 8px; border-radius: 50%; }
|
|
|
|
.library-main {
|
|
display: flex; flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
.library-toolbar {
|
|
padding: 12px 24px;
|
|
display: flex; align-items: center; gap: 8px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.library-toolbar .toolbar-title {
|
|
font-size: 14px; font-weight: 600;
|
|
letter-spacing: -0.01em;
|
|
margin: 0;
|
|
line-height: inherit;
|
|
}
|
|
.library-toolbar .count { color: var(--text-3); font-size: 12.5px; }
|
|
|
|
.tab-group {
|
|
display: flex;
|
|
background: var(--bg-1);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--r-sm);
|
|
padding: 2px;
|
|
gap: 2px;
|
|
}
|
|
.tab-group button {
|
|
height: 24px;
|
|
padding: 0 10px;
|
|
font-size: 11.5px;
|
|
font-weight: 500;
|
|
color: var(--text-3);
|
|
border-radius: 4px;
|
|
display: flex; align-items: center; gap: 4px;
|
|
}
|
|
.tab-group button:hover { color: var(--text-1); }
|
|
.tab-group button.active { background: var(--bg-3); color: var(--text-1); }
|
|
|
|
.library-grid {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 16px 24px 32px;
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
|
gap: 14px;
|
|
align-content: start;
|
|
}
|
|
[data-grid-size="lg"] .library-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
|
|
[data-grid-size="sm"] .library-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
|
|
|
|
.asset-card {
|
|
position: relative;
|
|
cursor: pointer;
|
|
border-radius: var(--r-md);
|
|
transition: transform 120ms;
|
|
}
|
|
.asset-card:hover { transform: translateY(-2px); }
|
|
.asset-card:hover .asset-thumb { box-shadow: 0 0 0 1.5px var(--accent), var(--shadow-pop); }
|
|
.asset-card .meta {
|
|
padding: 8px 4px 4px;
|
|
}
|
|
.asset-card .meta .name {
|
|
font-size: 12.5px;
|
|
font-weight: 500;
|
|
color: var(--text-1);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.asset-card .meta .sub {
|
|
font-size: 11px;
|
|
color: var(--text-3);
|
|
margin-top: 2px;
|
|
display: flex; align-items: center; gap: 6px;
|
|
font-family: var(--font-mono);
|
|
}
|
|
.asset-card.selected .asset-thumb { box-shadow: 0 0 0 2px var(--accent); }
|
|
|
|
.asset-progress-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
|
|
display: flex;
|
|
align-items: flex-end;
|
|
padding: 8px;
|
|
}
|
|
.asset-progress-bar {
|
|
width: 100%;
|
|
height: 4px;
|
|
background: rgba(255,255,255,0.15);
|
|
border-radius: 99px;
|
|
overflow: hidden;
|
|
}
|
|
.asset-progress-fill {
|
|
height: 100%;
|
|
background: var(--warning);
|
|
transition: width 200ms;
|
|
}
|
|
|
|
.library-list {
|
|
flex: 1; overflow-y: auto;
|
|
padding: 0 24px 32px;
|
|
}
|
|
.list-row {
|
|
display: grid;
|
|
grid-template-columns: 80px 2fr 120px 100px 100px 80px 80px 32px;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 8px 0;
|
|
border-bottom: 1px solid var(--border);
|
|
cursor: pointer;
|
|
font-size: 12.5px;
|
|
}
|
|
.list-row:hover { background: var(--hover); }
|
|
.list-row.head {
|
|
font-size: 10.5px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
color: var(--text-4);
|
|
cursor: default;
|
|
position: sticky; top: 0;
|
|
background: var(--bg-0);
|
|
z-index: 1;
|
|
padding-top: 12px;
|
|
}
|
|
.list-row:hover.head { background: var(--bg-0); }
|
|
.list-row .thumb {
|
|
width: 80px; aspect-ratio: 16/9;
|
|
border-radius: 4px; overflow: hidden;
|
|
}
|
|
.list-row .name { font-weight: 500; }
|
|
.list-row .col-sub { color: var(--text-3); font-family: var(--font-mono); font-size: 11.5px; }
|
|
|
|
/* Editor beta banner: flat strip on top of editor, replacing the old
|
|
glassmorphism + gradient + glow bumper. No blur, no gradients, no glow. */
|
|
.editor-beta-banner {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 8px 16px;
|
|
background: var(--accent-soft);
|
|
border-bottom: 1px solid var(--border);
|
|
color: var(--text-2);
|
|
font-size: 12.5px;
|
|
flex-shrink: 0;
|
|
}
|
|
.editor-beta-banner > svg { color: var(--accent-text); flex-shrink: 0; }
|
|
.editor-beta-banner-body { flex: 1; min-width: 0; }
|
|
.editor-beta-banner-body strong { color: var(--text-1); font-weight: 600; margin-right: 4px; }
|
|
.editor-beta-banner-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
|
|
.editor-beta-banner-actions a { text-decoration: none; }
|
|
.editor-beta-banner-version { font-size: 11px; color: var(--text-3); padding-left: 4px; }
|
|
|
|
/* Home activity strip (issue #153). Sits below the launcher grid and shows
|
|
real activity: live recorders, last-24h assets, attention alerts. */
|
|
.launcher-activity {
|
|
margin-top: 28px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
max-width: 880px;
|
|
width: 100%;
|
|
}
|
|
.launcher-activity-strip.alert {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 10px 14px;
|
|
border-radius: 8px;
|
|
background: rgba(255,91,91,0.08);
|
|
border: 1px solid var(--danger);
|
|
color: var(--text-2);
|
|
font-size: 12.5px;
|
|
}
|
|
.launcher-activity-strip.alert > svg { color: var(--danger); flex-shrink: 0; }
|
|
.launcher-activity-strip.alert strong { color: var(--text-1); font-weight: 600; }
|
|
.launcher-activity-strip.alert > span { flex: 1; }
|
|
.launcher-activity-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
.launcher-activity-head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 10.5px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--text-3);
|
|
}
|
|
.launcher-activity-head .muted { color: var(--text-4); font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 11px; }
|
|
.launcher-activity-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
|
gap: 6px;
|
|
}
|
|
.launcher-activity-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 10px;
|
|
background: var(--bg-1);
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
font-size: 12.5px;
|
|
color: var(--text-2);
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition: background 80ms, border-color 80ms;
|
|
}
|
|
.launcher-activity-item:hover { background: var(--bg-2); border-color: var(--border-strong); }
|
|
.launcher-activity-item > svg { color: var(--text-3); flex-shrink: 0; }
|
|
.launcher-activity-item-name {
|
|
flex: 1; min-width: 0;
|
|
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
color: var(--text-1); font-weight: 500;
|
|
}
|
|
.launcher-activity-item-meta {
|
|
font-size: 10.5px; color: var(--text-3);
|
|
text-transform: uppercase; letter-spacing: 0.04em;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Jobs screen: classes extracted from per-row inline styles (issue #148).
|
|
Cuts 487 rendered inline styles to roughly zero. */
|
|
.jobs-tabs { margin-top: 20px; width: fit-content; }
|
|
.jobs-panel { margin-top: 12px; }
|
|
.jobs-empty { padding: 24px; text-align: center; color: var(--text-3); }
|
|
|
|
.stat-card .delta.delta-warn { color: var(--warning); }
|
|
.stat-card .delta.delta-tiny { font-size: 10.5px; }
|
|
|
|
.job-row .job-row-kind { display: flex; align-items: center; gap: 8px; }
|
|
.job-row .job-row-kind-icon { color: var(--text-3); }
|
|
.job-row .job-row-kind-name { font-weight: 500; }
|
|
.job-row .job-row-asset {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: var(--text-2);
|
|
}
|
|
.job-row .job-row-node { font-size: 11.5px; color: var(--text-3); }
|
|
.job-row .job-row-progress-pct {
|
|
font-size: 10.5px;
|
|
color: var(--text-3);
|
|
min-width: 32px;
|
|
text-align: right;
|
|
}
|
|
.job-row .job-row-status-done { background: transparent; padding: 0; }
|
|
.job-row .job-row-status-queued { font-size: 12px; color: var(--text-3); }
|
|
.job-row .job-row-status-failed {
|
|
font-size: 12px;
|
|
color: var(--danger);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
overflow: hidden;
|
|
}
|
|
.job-row .job-row-status-failed-msg {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
min-width: 0;
|
|
}
|
|
.job-row .job-row-time {
|
|
font-size: 11.5px;
|
|
color: var(--text-3);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.job-row .job-row-actions {
|
|
display: flex;
|
|
gap: 4px;
|
|
justify-content: flex-end;
|
|
}
|
|
.job-row .job-row-cancel { color: var(--danger); }
|
|
|
|
/* Premiere panel download modal (rows for each released version) */
|
|
.premiere-release {
|
|
display: flex; flex-direction: column;
|
|
gap: 6px;
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.premiere-release:last-child { border-bottom: 0; }
|
|
.premiere-release-head {
|
|
display: flex; align-items: center; gap: 8px;
|
|
}
|
|
.premiere-release-version {
|
|
font-size: 13px; font-weight: 600; color: var(--text-1);
|
|
}
|
|
.premiere-release-date {
|
|
font-size: 11px; color: var(--text-3);
|
|
margin-left: auto;
|
|
}
|
|
.premiere-release-notes {
|
|
font-size: 12px; color: var(--text-2); line-height: 1.5;
|
|
}
|
|
.premiere-release-actions {
|
|
display: flex; gap: 8px; margin-top: 4px;
|
|
}
|
|
.premiere-release-actions a { text-decoration: none; }
|
|
|
|
/* Tint Cancel-all-failed button to signal destructive action without
|
|
making it loud — same pattern as the per-row Cancel. */
|
|
.jobs-cancel-all { color: var(--danger); }
|
|
|
|
/* ========================================================================
|
|
Dashboard (operations overview) - design rebuild.
|
|
Appended last so the design's .dash-grid / .dash-statusbar override the
|
|
earlier (pre-redesign) definitions of those two container classes.
|
|
======================================================================== */
|
|
|
|
.page.dashboard { padding: 0; }
|
|
|
|
.ops-header {
|
|
display: flex; align-items: flex-end; gap: 16px;
|
|
padding: 24px 28px 18px;
|
|
}
|
|
.ops-header h1 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
|
|
.ops-sub { margin-top: 5px; color: var(--text-3); font-size: 12.5px; }
|
|
.ops-header-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
|
|
|
|
.ops-clock {
|
|
display: flex; align-items: center; gap: 9px;
|
|
height: 32px; padding: 0 12px;
|
|
border: 1px solid var(--border); border-radius: var(--r-sm);
|
|
background: var(--bg-1);
|
|
}
|
|
.ops-clock-dot {
|
|
width: 6px; height: 6px; border-radius: 50%;
|
|
background: var(--live); box-shadow: 0 0 0 3px var(--live-soft);
|
|
animation: dotpulse 1.6s ease-in-out infinite;
|
|
}
|
|
.ops-clock-time { font-size: 13px; font-weight: 500; letter-spacing: 0.03em; color: var(--text-1); font-variant-numeric: tabular-nums; }
|
|
.ops-clock-day { font-size: 10px; color: var(--text-3); letter-spacing: 0.08em; }
|
|
|
|
.ops-nodes-pill {
|
|
display: flex; align-items: center; gap: 7px;
|
|
height: 32px; padding: 0 12px;
|
|
border: 1px solid var(--border); border-radius: var(--r-sm);
|
|
background: var(--bg-1);
|
|
font-size: 12px; color: var(--text-2); font-family: var(--font-mono);
|
|
}
|
|
|
|
/* ---- status strip ---- */
|
|
.ops-stats {
|
|
display: grid; grid-template-columns: repeat(4, 1fr);
|
|
margin: 0 28px;
|
|
background: var(--bg-1); border: 1px solid var(--border);
|
|
border-radius: var(--r-lg); overflow: hidden;
|
|
}
|
|
.ops-stats.six { grid-template-columns: repeat(6, 1fr); }
|
|
.stat-cell { padding: 15px 16px 14px; border-left: 1px solid var(--border); min-width: 0; }
|
|
.stat-cell:first-child { border-left: 0; }
|
|
.stat-cell-label {
|
|
font-size: 10.5px; color: var(--text-3); font-weight: 600;
|
|
text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap;
|
|
overflow: hidden; text-overflow: ellipsis;
|
|
}
|
|
.stat-cell-value {
|
|
margin-top: 9px; font-size: 26px; font-weight: 600; line-height: 1;
|
|
letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
|
|
display: flex; align-items: baseline; gap: 6px;
|
|
}
|
|
.stat-cell-unit { font-size: 12px; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
|
|
.stat-cell-foot {
|
|
margin-top: 10px; font-size: 11.5px; color: var(--text-3);
|
|
display: flex; align-items: center; gap: 8px; white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
.stat-cell-foot .foot-danger { color: var(--danger); }
|
|
.stat-cell-foot .foot-warn { color: var(--warning); }
|
|
.stat-pips { display: flex; align-items: center; gap: 11px; }
|
|
.stat-pip { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-2); font-variant-numeric: tabular-nums; }
|
|
.stat-pip i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
|
|
.stat-pip.armed i { background: var(--accent); }
|
|
.stat-pip.idle i { background: var(--text-4); }
|
|
.stat-pip.zero { color: var(--text-4); }
|
|
.stat-pip.zero i { opacity: 0.4; }
|
|
|
|
/* ---- section heads ---- */
|
|
.section-head { display: flex; align-items: center; gap: 10px; padding: 22px 0 11px; }
|
|
.section-head:first-child { padding-top: 6px; }
|
|
.section-head-title { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
|
|
.section-head-sub { font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.section-head-count { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; color: var(--danger); background: var(--danger-soft); padding: 1px 7px; border-radius: 99px; }
|
|
.section-head .btn { margin-left: auto; flex-shrink: 0; }
|
|
.section-head-live {
|
|
width: 7px; height: 7px; border-radius: 50%;
|
|
background: var(--live); box-shadow: 0 0 0 3px var(--live-soft);
|
|
animation: dotpulse 1.6s ease-in-out infinite; flex-shrink: 0;
|
|
}
|
|
|
|
/* ---- dashboard grid (overrides earlier .dash-grid) ---- */
|
|
.page.dashboard .dash-grid {
|
|
display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
|
|
gap: 22px; padding: 6px 28px 8px; align-items: start;
|
|
}
|
|
.dash-main, .dash-side { min-width: 0; }
|
|
|
|
/* ---- live ingest tiles ---- */
|
|
.live-now-grid {
|
|
display: grid; grid-template-columns: repeat(auto-fill, minmax(188px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
.ingest-tile {
|
|
background: var(--bg-1); border: 1px solid var(--border);
|
|
border-radius: var(--r-md); overflow: hidden; cursor: pointer;
|
|
transition: border-color 120ms, transform 120ms;
|
|
}
|
|
.ingest-tile:hover { border-color: var(--border-strong); transform: translateY(-1px); }
|
|
.ingest-tile.recording { border-color: rgba(255,59,48,0.28); }
|
|
.ingest-tile-screen { position: relative; aspect-ratio: 16 / 9; background: var(--bg-2); overflow: hidden; }
|
|
.ingest-tile-audio {
|
|
position: absolute; inset: 0; display: grid; place-items: center; padding: 16px;
|
|
background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
|
|
}
|
|
.ingest-tile-audio .waveform { width: 100%; height: 58%; opacity: 0.85; }
|
|
.ingest-tile-veil { position: absolute; inset: 0; background: rgba(11,13,17,0.5); z-index: 1; }
|
|
.ingest-tile-top { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; align-items: center; gap: 6px; z-index: 2; }
|
|
.ingest-tile-top .badge.outline { margin-left: auto; background: rgba(0,0,0,0.45); border-color: rgba(255,255,255,0.18); color: #fff; backdrop-filter: blur(4px); }
|
|
.ingest-tile-bottom { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; gap: 6px; z-index: 2; }
|
|
.ingest-tile-name {
|
|
color: #fff; font-size: 12px; font-weight: 500;
|
|
background: rgba(0,0,0,0.6); padding: 3px 8px; border-radius: 4px; backdrop-filter: blur(4px);
|
|
white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
|
|
}
|
|
.ingest-tile-tc { margin-left: auto; color: #fff; font-size: 11px; background: rgba(0,0,0,0.6); padding: 3px 6px; border-radius: 4px; backdrop-filter: blur(4px); flex-shrink: 0; }
|
|
.ingest-tile-foot { display: flex; align-items: center; gap: 8px; padding: 8px 11px; font-size: 11px; color: var(--text-3); }
|
|
.ingest-tile-foot .dot-sep { color: var(--text-4); }
|
|
.ingest-tile-node { margin-left: auto; color: var(--text-4); }
|
|
|
|
/* ---- on-air empty / standby ---- */
|
|
.onair-empty { background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
|
|
.onair-empty-head { display: flex; align-items: center; gap: 14px; padding: 18px; }
|
|
.onair-empty-icon {
|
|
width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%;
|
|
background: var(--bg-3); border: 1px solid var(--border);
|
|
display: grid; place-items: center; color: var(--text-3);
|
|
}
|
|
.onair-empty-copy { flex: 1; min-width: 0; }
|
|
.onair-empty-title { font-size: 13.5px; font-weight: 600; }
|
|
.onair-empty-sub { font-size: 12px; color: var(--text-3); margin-top: 2px; }
|
|
.onair-empty-head .btn { flex-shrink: 0; }
|
|
.onair-sources {
|
|
display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
|
gap: 8px; padding: 14px; border-top: 1px solid var(--border); background: var(--bg-0);
|
|
}
|
|
.onair-source {
|
|
display: flex; align-items: center; gap: 9px; padding: 9px 11px;
|
|
background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-md);
|
|
text-align: left; cursor: pointer; transition: background 80ms, border-color 80ms;
|
|
}
|
|
.onair-source:hover { background: var(--bg-3); border-color: var(--border-strong); }
|
|
.onair-source-name { font-size: 12.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
|
|
.onair-source-src { font-size: 10px; font-family: var(--font-mono); color: var(--text-3); padding: 1px 6px; border: 1px solid var(--border-strong); border-radius: 4px; }
|
|
.onair-source-go { margin-left: auto; display: flex; align-items: center; gap: 3px; font-size: 11px; color: var(--accent-text); white-space: nowrap; }
|
|
|
|
/* ---- job queue table ---- */
|
|
.job-table { background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
|
|
.job-table-head, .job-table-row {
|
|
display: grid; grid-template-columns: 148px minmax(0, 1fr) 84px 170px 52px;
|
|
gap: 14px; align-items: center; padding: 0 14px;
|
|
}
|
|
.job-table-head {
|
|
height: 34px; border-bottom: 1px solid var(--border);
|
|
font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-4);
|
|
}
|
|
.job-table-row { height: 42px; border-bottom: 1px solid var(--border); }
|
|
.job-table-row:last-child { border-bottom: 0; }
|
|
.jt-job { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 11.5px; }
|
|
.jt-asset { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-1); font-size: 12.5px; }
|
|
.jt-node { color: var(--text-3); font-size: 11px; }
|
|
.jt-progress { display: flex; align-items: center; }
|
|
.jt-bar { display: block; width: 100%; height: 5px; background: var(--bg-3); border-radius: 99px; overflow: hidden; }
|
|
.jt-bar > span { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width 300ms; }
|
|
.jt-eta { color: var(--text-3); font-size: 11px; text-align: right; }
|
|
|
|
/* ---- needs attention ---- */
|
|
.attention-panel { background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
|
|
.attn-row { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-bottom: 1px solid var(--border); }
|
|
.attn-row:last-child { border-bottom: 0; }
|
|
.attn-sev { width: 26px; height: 26px; flex-shrink: 0; border-radius: var(--r-sm); display: grid; place-items: center; }
|
|
.attn-sev.danger { background: var(--danger-soft); color: var(--danger); }
|
|
.attn-sev.warning { background: var(--warning-soft); color: var(--warning); }
|
|
.attn-body { flex: 1; min-width: 0; }
|
|
.attn-title { font-size: 12.5px; font-weight: 500; color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.attn-meta { font-size: 10.5px; color: var(--text-3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.attn-row .btn { flex-shrink: 0; }
|
|
|
|
/* ---- cluster node list ---- */
|
|
.node-list { background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
|
|
.node-row { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-bottom: 1px solid var(--border); }
|
|
.node-row:last-child { border-bottom: 0; }
|
|
.node-row.offline { opacity: 0.55; }
|
|
.node-row-id { display: flex; align-items: center; gap: 8px; width: 158px; flex-shrink: 0; }
|
|
.node-name { font-size: 12px; color: var(--text-1); font-weight: 500; }
|
|
.badge.node-role { height: 17px; padding: 0 5px; font-size: 9px; }
|
|
.node-row-metrics { flex: 1; display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: center; min-width: 0; }
|
|
.node-metric { display: flex; align-items: center; gap: 8px; min-width: 0; }
|
|
.node-metric-label { font-size: 10px; color: var(--text-4); width: 24px; flex-shrink: 0; letter-spacing: 0.04em; }
|
|
.node-metric-bar { flex: 1; height: 5px; background: var(--bg-3); border-radius: 99px; overflow: hidden; min-width: 26px; }
|
|
.node-metric-bar > span { display: block; height: 100%; border-radius: 99px; transition: width 300ms; }
|
|
.node-metric-text { font-size: 10.5px; color: var(--text-3); white-space: nowrap; flex-shrink: 0; }
|
|
.node-gpu { font-size: 10.5px; color: var(--text-3); white-space: nowrap; justify-self: end; }
|
|
.node-row-off { flex: 1; color: var(--text-4); font-size: 11.5px; font-family: var(--font-mono); }
|
|
|
|
/* ---- footer status bar (overrides earlier .dash-statusbar) ---- */
|
|
.page.dashboard .dash-statusbar {
|
|
display: flex; align-items: center; gap: 14px;
|
|
margin: 14px 28px 30px; padding-top: 13px;
|
|
border-top: 1px solid var(--border);
|
|
font-size: 11.5px; color: var(--text-3); font-family: var(--font-mono);
|
|
}
|
|
.dash-statusbar .sb-item { display: flex; align-items: center; gap: 6px; }
|
|
.dash-statusbar .sb-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-4); }
|
|
.dash-statusbar .sb-dot.live { background: var(--live); }
|
|
.dash-statusbar .sb-dot.run { background: var(--accent); }
|
|
.dash-statusbar .sb-dot.fail { background: var(--danger); }
|
|
.dash-statusbar .sb-spacer { flex: 1; }
|
|
.dash-statusbar .sb-sep { color: var(--text-4); }
|
|
|
|
@media (max-width: 1340px) {
|
|
.ops-stats.six { grid-template-columns: repeat(3, 1fr); }
|
|
}
|
|
@media (max-width: 1180px) {
|
|
.ops-stats { grid-template-columns: repeat(2, 1fr); }
|
|
}
|
|
@media (max-width: 1080px) {
|
|
.page.dashboard .dash-grid { grid-template-columns: 1fr; }
|
|
.job-table-head, .job-table-row { grid-template-columns: 130px minmax(0, 1fr) 140px 48px; }
|
|
.job-table-head span:nth-child(3), .job-table-row .jt-node { display: none; }
|
|
}
|