- playout-stage: skip loudnorm pass 2 when measured_I=-inf (silent or no-audio clip); fall back to plain AAC transcode so staging completes instead of erroring out - screens-home: add Playout tile; replace Premiere panel tile with Downloads tile opening a combined modal (Premiere panel releases + Dragon-ISO link to forge.wilddragon.net/WildDragonLLC/dragon-iso) - screens-playout: add Delete channel button (visible only when stopped); removes channel from list and selects next on confirm Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
171 lines
6.3 KiB
CSS
171 lines
6.3 KiB
CSS
/* Playout / Master Control (MCR) page styles. */
|
|
|
|
.po-page { display: flex; flex-direction: column; gap: 14px; }
|
|
|
|
/* Channel tab bar */
|
|
.po-channels-bar {
|
|
display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
|
|
padding-bottom: 10px; border-bottom: 1px solid var(--border);
|
|
}
|
|
.po-chan-tab {
|
|
display: inline-flex; align-items: center; gap: 7px;
|
|
padding: 6px 12px; border-radius: 8px;
|
|
background: var(--bg-2); border: 1px solid var(--border);
|
|
color: var(--text-2); font-size: 13px; cursor: pointer;
|
|
}
|
|
.po-chan-tab:hover { background: var(--bg-3); color: var(--text-1); }
|
|
.po-chan-tab.active { background: var(--accent-soft); color: var(--accent-text); border-color: var(--accent-soft-2); }
|
|
.po-chan-dot {
|
|
width: 8px; height: 8px; border-radius: 50%;
|
|
background: var(--text-3);
|
|
}
|
|
.po-chan-dot.live { background: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }
|
|
|
|
.po-empty { text-align: center; padding: 48px 0; display: flex; flex-direction: column; gap: 12px; align-items: center; }
|
|
|
|
/* Channel detail */
|
|
.po-detail { display: flex; flex-direction: column; gap: 14px; }
|
|
.po-detail-head { display: flex; justify-content: space-between; align-items: flex-start; }
|
|
.po-detail-actions { display: flex; gap: 8px; }
|
|
|
|
.po-grid {
|
|
display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px;
|
|
}
|
|
@media (max-width: 900px) { .po-grid { grid-template-columns: 1fr; } }
|
|
|
|
.po-section-label {
|
|
font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
|
|
color: var(--text-3); font-weight: 600;
|
|
}
|
|
|
|
/* Program monitor */
|
|
.po-monitor {
|
|
background: var(--bg-1); border: 1px solid var(--border); border-radius: 12px;
|
|
display: flex; flex-direction: column; overflow: hidden;
|
|
}
|
|
.po-monitor-head {
|
|
display: flex; justify-content: space-between; align-items: center;
|
|
padding: 10px 12px; border-bottom: 1px solid var(--border);
|
|
}
|
|
.po-onair { font-size: 12px; font-weight: 700; color: var(--text-3); letter-spacing: 0.04em; }
|
|
.po-onair.live { color: var(--danger); }
|
|
.po-monitor-screen {
|
|
position: relative; flex: 1; min-height: 220px; background: #000;
|
|
display: flex; align-items: center; justify-content: center;
|
|
}
|
|
.po-monitor-video {
|
|
width: 100%; height: 100%; object-fit: contain; display: block;
|
|
}
|
|
.po-monitor-overlay {
|
|
position: absolute; inset: 0;
|
|
display: flex; align-items: center; justify-content: center;
|
|
background: rgba(0,0,0,0.6); color: var(--text-2);
|
|
pointer-events: none;
|
|
}
|
|
.po-monitor-foot {
|
|
display: flex; align-items: center; gap: 10px;
|
|
padding: 8px 12px; border-top: 1px solid var(--border); font-size: 11px;
|
|
}
|
|
.po-monitor-clip-name {
|
|
flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
color: var(--text-1);
|
|
}
|
|
|
|
/* Media bin */
|
|
.po-bin {
|
|
display: flex; flex-direction: column; min-height: 260px; max-height: 360px;
|
|
border-radius: 12px; overflow: hidden;
|
|
}
|
|
.po-bin-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
|
|
.po-bin-list { overflow-y: auto; flex: 1; }
|
|
.po-bin-item {
|
|
display: flex; justify-content: space-between; align-items: center; gap: 8px;
|
|
padding: 8px 12px; border-bottom: 1px solid var(--border);
|
|
cursor: grab; user-select: none;
|
|
}
|
|
.po-bin-item:hover { background: var(--bg-3); }
|
|
.po-bin-item:active { cursor: grabbing; }
|
|
.po-bin-name { font-size: 13px; color: var(--text-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
|
/* Transport */
|
|
.po-transport {
|
|
display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
|
|
padding: 12px; background: var(--bg-1); border: 1px solid var(--border); border-radius: 12px;
|
|
}
|
|
|
|
/* Playlist */
|
|
.po-playlist {
|
|
border-radius: 12px; overflow: hidden;
|
|
min-height: 120px;
|
|
}
|
|
.po-playlist-head {
|
|
display: flex; align-items: center; gap: 10px;
|
|
padding: 8px 12px; border-bottom: 1px solid var(--border);
|
|
}
|
|
.po-drop-err { font-size: 11px; color: var(--danger); }
|
|
.po-playlist-empty { padding: 28px 12px; text-align: center; }
|
|
|
|
.po-pl-item {
|
|
position: relative;
|
|
display: flex; align-items: center; gap: 10px;
|
|
padding: 9px 12px 13px; /* extra bottom padding for the staging bar */
|
|
border-bottom: 1px solid var(--border);
|
|
cursor: grab; user-select: none;
|
|
}
|
|
.po-pl-item:hover { background: var(--bg-3); }
|
|
.po-pl-item:active { cursor: grabbing; }
|
|
.po-pl-item--active {
|
|
background: color-mix(in srgb, var(--danger) 8%, transparent);
|
|
border-left: 3px solid var(--danger);
|
|
}
|
|
.po-pl-item--active:hover { background: color-mix(in srgb, var(--danger) 12%, transparent); }
|
|
|
|
.po-pl-index {
|
|
width: 22px; text-align: center; font-family: var(--font-mono);
|
|
font-size: 12px; color: var(--text-3); flex-shrink: 0;
|
|
}
|
|
.po-pl-onair { color: var(--danger); font-size: 11px; }
|
|
.po-pl-name { flex: 1; font-size: 13px; color: var(--text-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.po-pl-dur { font-size: 11px; color: var(--text-3); flex-shrink: 0; min-width: 40px; text-align: right; }
|
|
.po-pl-badge { flex-shrink: 0; }
|
|
|
|
/* Staging progress bar — sits flush at the bottom of each playlist item */
|
|
.po-staging-bar {
|
|
position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
|
|
}
|
|
.po-staging-bar--pending { background: var(--text-3); opacity: 0.3; }
|
|
.po-staging-bar--staging {
|
|
background: linear-gradient(90deg, transparent 0%, var(--warning) 50%, transparent 100%);
|
|
background-size: 200% 100%;
|
|
animation: po-staging-sweep 1.4s linear infinite;
|
|
}
|
|
.po-staging-bar--ready { background: var(--success); opacity: 0.8; }
|
|
.po-staging-bar--error { background: var(--danger); }
|
|
|
|
@keyframes po-staging-sweep {
|
|
0% { background-position: 200% 0; }
|
|
100% { background-position: -200% 0; }
|
|
}
|
|
|
|
/* Playlist footer */
|
|
.po-playlist-footer {
|
|
display: flex; justify-content: space-between; align-items: center;
|
|
padding: 8px 12px; border-top: 1px solid var(--border);
|
|
font-size: 11px; color: var(--text-3);
|
|
background: var(--bg-2);
|
|
}
|
|
.po-pl-total { color: var(--text-2); }
|
|
|
|
/* Downloads modal section header */
|
|
.downloads-section-head {
|
|
display: flex; align-items: center; gap: 6px;
|
|
font-size: 11px; font-weight: 600; text-transform: uppercase;
|
|
letter-spacing: 0.06em; color: var(--text-3);
|
|
padding-bottom: 8px; border-bottom: 1px solid var(--border);
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
/* Small button variants reused */
|
|
.btn.xs { padding: 2px 8px; font-size: 11px; }
|
|
.btn.sm { padding: 5px 10px; font-size: 12px; }
|
|
.field-input.sm { padding: 5px 8px; font-size: 12px; }
|