Some checks failed
release / build-and-upload (push) Failing after 3m33s
- WebUI Copy button for absolute m3u8 URLs (no player) - Per-stream variants ladder; HD/SD live-transcoded as sibling HLS - variants_json in DB/API; supervisor spawns scaled ffmpeg packagers
211 lines
5.3 KiB
CSS
211 lines
5.3 KiB
CSS
:root {
|
|
--bg: #0f1115;
|
|
--card: #171a21;
|
|
--border: #2a303c;
|
|
--text: #e8eaed;
|
|
--muted: #9aa0a6;
|
|
--accent: #7aa2ff;
|
|
--ok: #3dd68c;
|
|
--degraded: #f5a524;
|
|
--down: #f07178;
|
|
--stopped: #6b7280;
|
|
--chip: #1c2230;
|
|
}
|
|
* { box-sizing: border-box; }
|
|
body {
|
|
margin: 0;
|
|
font: 14px/1.45 system-ui, Segoe UI, sans-serif;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
}
|
|
header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 12px 20px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
h1 { margin: 0; font-size: 18px; font-weight: 600; }
|
|
h2 { margin: 0 0 12px; font-size: 15px; font-weight: 600; }
|
|
.header-right { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
|
|
.muted { color: var(--muted); }
|
|
.card {
|
|
margin: 16px 20px;
|
|
padding: 16px;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
}
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 10px 14px;
|
|
}
|
|
.span2 { grid-column: span 2; }
|
|
label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
|
|
input, select, button, textarea {
|
|
font: inherit;
|
|
color: var(--text);
|
|
background: #0c0e12;
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
padding: 7px 9px;
|
|
}
|
|
textarea {
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 12px;
|
|
line-height: 1.4;
|
|
resize: vertical;
|
|
min-height: 4.5em;
|
|
white-space: pre;
|
|
}
|
|
button {
|
|
background: #243044;
|
|
border-color: #334155;
|
|
cursor: pointer;
|
|
}
|
|
button:hover { border-color: var(--accent); }
|
|
button.ghost { background: transparent; }
|
|
button.danger { border-color: #7f1d1d; color: #fecaca; }
|
|
button.tiny {
|
|
padding: 3px 8px;
|
|
font-size: 11px;
|
|
line-height: 1.2;
|
|
}
|
|
.actions { display: flex; gap: 8px; align-items: end; }
|
|
.token-box input { width: 180px; }
|
|
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
|
|
.table-wrap { overflow-x: auto; }
|
|
table { width: 100%; border-collapse: collapse; }
|
|
th, td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--border); vertical-align: top; }
|
|
th { color: var(--muted); font-weight: 500; font-size: 12px; }
|
|
.pill {
|
|
display: inline-block;
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
background: #222;
|
|
}
|
|
.pill.ok { color: var(--ok); }
|
|
.pill.degraded { color: var(--degraded); }
|
|
.pill.down, .pill.starting, .pill.pending { color: var(--down); }
|
|
.pill.stopped, .pill.off { color: var(--stopped); }
|
|
.pill.claim { color: #c4b5fd; background: #1f1635; }
|
|
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
|
|
.row-actions button { padding: 4px 8px; font-size: 12px; }
|
|
.msg { min-height: 1.2em; margin: 8px 0 0; }
|
|
.msg.err { color: var(--down); }
|
|
a { color: var(--accent); }
|
|
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
|
|
|
|
.variants-field {
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
padding: 12px;
|
|
margin: 0;
|
|
}
|
|
.variants-field legend {
|
|
padding: 0 6px;
|
|
color: var(--text);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
.hint { margin: 0 0 10px; color: var(--muted); font-size: 12px; }
|
|
.variant-toggles {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 8px;
|
|
}
|
|
.variant-card {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
grid-template-rows: auto auto;
|
|
column-gap: 8px;
|
|
row-gap: 2px;
|
|
align-items: center;
|
|
padding: 10px 12px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
background: #12151c;
|
|
cursor: pointer;
|
|
color: var(--text);
|
|
}
|
|
.variant-card input {
|
|
grid-row: 1 / span 2;
|
|
width: 16px;
|
|
height: 16px;
|
|
accent-color: var(--accent);
|
|
}
|
|
.variant-card .v-title { font-weight: 600; font-size: 13px; color: var(--text); }
|
|
.variant-card .v-meta { font-size: 11px; color: var(--muted); }
|
|
.variant-card.on,
|
|
.variant-card:has(input:checked) {
|
|
border-color: #3b82f6;
|
|
background: #152033;
|
|
box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.25);
|
|
}
|
|
.variant-card.locked {
|
|
opacity: 0.92;
|
|
cursor: default;
|
|
}
|
|
|
|
.link-stack { display: flex; flex-direction: column; gap: 6px; min-width: 180px; }
|
|
.link-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
padding: 6px 8px;
|
|
background: var(--chip);
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
}
|
|
.link-row .v-label {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.02em;
|
|
min-width: 2.4em;
|
|
color: var(--accent);
|
|
}
|
|
.link-row .v-path {
|
|
flex: 1;
|
|
min-width: 0;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.link-row .pill { margin-left: auto; }
|
|
|
|
.toast {
|
|
position: fixed;
|
|
right: 16px;
|
|
bottom: 16px;
|
|
background: #1e293b;
|
|
border: 1px solid #334155;
|
|
color: var(--text);
|
|
padding: 10px 14px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 8px 24px rgba(0,0,0,.35);
|
|
z-index: 50;
|
|
font-size: 13px;
|
|
}
|
|
.toast.show { display: block; }
|
|
|
|
dialog {
|
|
border: 1px solid var(--border);
|
|
background: var(--card);
|
|
color: var(--text);
|
|
border-radius: 8px;
|
|
padding: 16px;
|
|
min-width: min(640px, 94vw);
|
|
}
|
|
dialog::backdrop { background: rgba(0,0,0,.55); }
|
|
@media (max-width: 720px) {
|
|
.grid { grid-template-columns: 1fr; }
|
|
.span2 { grid-column: span 1; }
|
|
.variant-toggles { grid-template-columns: 1fr; }
|
|
header { flex-direction: column; align-items: flex-start; gap: 8px; }
|
|
}
|