v0.1.10
build / test (push) Waiting to run

This commit is contained in:
Mateusz Gruszczyński committed 2026-11-16 22:48:34 +01:00
1 parent 052a27bc48
commit 528017b0e6
36 files changed
+3394 -216

No files matched your search

+53 -3
View File
@@ -1,7 +1,10 @@
/* ---------------------------------------------------------------- login */
.login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-card { width: 340px; background: var(--panel); border: 1px solid var(--line); padding: 28px; border-radius: 4px; display: flex; flex-direction: column; gap: 12px; }
.login-card h1 { font-size: 24px; margin-bottom: 6px; }
.login-card h1 { font-size: 24px; margin: 4px 0 2px; }
.login-brand { display: flex; align-items: center; gap: 14px; }
.login-brand .brand-mark.big { margin: 0; }
.login-brand .eyebrow { margin: 0; }
.login-card input { padding: 9px 10px; font-size: 13px; }
/* ---------------------------------------------------------------- tuner cards */
@@ -56,7 +59,7 @@
.epg-ev .tm { font: 10px var(--mono); color: var(--muted); }
.epg-ev.cur { border-color: #6d5a45; background: #2a2620; }
html[data-theme=light] .epg-ev.cur { background: #fbeee6; }
.epg-ev.rec::after { content: "●"; color: #e25b45; position: absolute; right: 5px; top: 3px; font-size: 10px; }
.epg-ev.rec::after { content: ""; background: #e25b45; position: absolute; right: 5px; top: 5px; width: 7px; height: 7px; border-radius: 50%; }
.epg-head { display: flex; position: sticky; top: 0; z-index: 4; background: var(--panel); border-bottom: 1px solid var(--line); height: 26px; }
.epg-head .corner { position: sticky; left: 0; width: 170px; flex: 0 0 170px; background: var(--panel); border-right: 1px solid var(--line); z-index: 5; }
.epg-head .hours { position: relative; flex: 1; }
@@ -96,7 +99,8 @@ body.bare { min-height: 100vh; }
.chart .area { opacity: .12; stroke: none; }
.chart rect { opacity: .85; }
.chart .cursor { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.chart-scale { position: absolute; right: 16px; top: 36px; bottom: 26px; display: flex; flex-direction: column; justify-content: space-between; font: 9px var(--mono); color: var(--subtle); pointer-events: none; text-align: right; }
.chart-box { position: relative; }
.chart-scale { position: absolute; right: 2px; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: space-between; font: 9px var(--mono); color: var(--subtle); pointer-events: none; text-align: right; }
.chart-hover { min-height: 14px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tuner-charts { margin-top: 4px; }
.tuner-charts .chart-card { background: var(--panel2); }
@@ -139,3 +143,49 @@ tr.off td:last-child, tr.off td:nth-last-child(2), tr.off td:nth-last-child(3) {
.sched-bar.live { box-shadow: 0 0 0 1px var(--red) inset; }
.sched-bar.conflict { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--red) 35%, transparent) 0 6px, color-mix(in srgb, var(--red) 15%, transparent) 6px 12px); border-left-color: var(--red); }
tr.row-warn td { background: color-mix(in srgb, var(--red) 8%, transparent); }
/* tuner hardware / stream health */
.lock-bits { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin: 8px 0 4px; }
.lock-bits .pill { font: 10px var(--mono); letter-spacing: .06em; opacity: .55; }
.lock-bits .pill.ok { opacity: 1; }
.lock-bits .mono { margin-left: 6px; }
.ts-kv { margin-top: 6px; }
details.hw { margin-top: 8px; border-top: 1px solid var(--row-line); padding-top: 6px; }
details.hw summary { cursor: pointer; font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
details.hw .kv { margin-top: 6px; }
/* favourites */
.ch-item .name { display: flex; align-items: center; gap: 6px; }
.ch-item .fav { margin-left: auto; background: none; border: 0; color: var(--subtle); cursor: pointer; font-size: 15px; line-height: 1; padding: 2px 4px; opacity: 0; }
.ch-item:hover .fav, .ch-item .fav.on, .ch-item.active .fav { opacity: 1; }
.ch-item .fav.on { color: var(--yellow); }
@media (hover: none) { .ch-item .fav { opacity: .6; } .ch-item .fav.on { opacity: 1; } }
/* statistics */
.bar-list { display: flex; flex-direction: column; gap: 7px; }
.bl-row { display: grid; grid-template-columns: minmax(90px, 1.2fr) 2fr 60px; grid-template-rows: auto auto; column-gap: 10px; align-items: center; font-size: 12px; }
.bl-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bl-bar { height: 8px; background: var(--row-line); border-radius: 2px; overflow: hidden; }
.bl-bar i { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
.bl-val { text-align: right; }
.bl-sub { grid-column: 2 / 4; font-size: 10px; }
.cols { display: flex; align-items: flex-end; gap: 3px; height: 130px; padding-top: 6px; }
.col { flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; min-width: 0; }
.col i { display: block; width: 100%; background: var(--accent); opacity: .8; border-radius: 2px 2px 0 0; min-height: 1px; }
.col span { font: 9px var(--mono); color: var(--subtle); margin-top: 3px; white-space: nowrap; overflow: hidden; max-width: 100%; }
.stat .small-value { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* antenna meter */
.sg-pick { gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.sg-pick label { display: flex; flex-direction: column; gap: 4px; font: 11px var(--mono); color: var(--muted); }
.sg-main { text-align: left; }
.sg-verdict { font-size: 22px; font-weight: 700; }
.sg-verdict.ok { color: var(--green); } .sg-verdict.warn { color: var(--yellow); } .sg-verdict.bad { color: var(--red); }
.sg-mux { margin: 2px 0 12px; font-size: 12px; }
.sg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sg-big { font: 600 54px/1.05 var(--mono); margin: 4px 0 6px; }
.sg-big small { font-size: 20px; margin-left: 4px; color: var(--muted); }
@media (max-width: 640px) { .sg-big { font-size: 40px; } .sg-grid { gap: 12px; } }
.topbar { padding-top: env(safe-area-inset-top); height: calc(42px + env(safe-area-inset-top)); }
.sg-pick label { min-width: 0; max-width: 100%; }
.sg-pick select { max-width: 100%; }