1 parent
052a27bc48
commit
528017b0e6
36 files changed
+3394
-216
No files matched your search
@@ -90,3 +90,17 @@ label.check { flex-direction: row; align-items: center; gap: 8px; font: 12px var
|
||||
.toast.err { background: #ffd2bd; color: #42241b; border-color: #ff9f7a; }
|
||||
@keyframes slide { from { transform: translateY(10px); opacity: 0; } }
|
||||
|
||||
|
||||
/* line icons (inline SVG, same style as the side menu) */
|
||||
.i { width: 1.1em; height: 1.1em; flex: 0 0 auto; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
|
||||
.i .f { fill: currentColor; stroke: none; }
|
||||
.i:not(:last-child) { margin-right: .45em; }
|
||||
.i:last-child:not(:first-child) { margin-left: .45em; }
|
||||
.pill .i { width: 1em; height: 1em; }
|
||||
.osd .i { width: 1.3em; height: 1.3em; }
|
||||
td.drag .i { width: 14px; height: 14px; margin: 0; color: var(--subtle); }
|
||||
|
||||
/* simple alert box (e.g. sign-in errors) */
|
||||
.alert { padding: 9px 12px; border: 1px solid var(--line); border-left-width: 3px; border-radius: 3px; font-size: 12px; line-height: 1.45; background: var(--panel2); color: var(--text); }
|
||||
.alert.err { border-color: var(--red); background: color-mix(in srgb, var(--red) 12%, var(--panel)); }
|
||||
label.btn { display: inline-flex; flex-direction: row; align-items: center; gap: 0; }
|
||||
+53
-3
@@ -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%; }
|
||||
@@ -10,3 +10,50 @@
|
||||
.epg-ch .logo, .epg-ch .logo-ph { display: none; }
|
||||
}
|
||||
|
||||
|
||||
/* ---------------------------------------------------------------- phones
|
||||
* The side rail becomes a bottom tab bar (icons only), the top bar keeps only the page
|
||||
* name and compact buttons, wide rows scroll inside their own box instead of the page. */
|
||||
@media (max-width: 640px) {
|
||||
html { -webkit-text-size-adjust: 100%; }
|
||||
body { overflow-x: clip; }
|
||||
.sidebar, .sidebar:hover,
|
||||
html[data-sidebar] .sidebar, html[data-sidebar] .sidebar:hover {
|
||||
inset: auto 0 0 0; width: 100%; height: calc(54px + env(safe-area-inset-bottom)); flex-direction: row; justify-content: space-around;
|
||||
padding: 0 0 env(safe-area-inset-bottom); gap: 0; border-right: 0; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px #0005; transition: none;
|
||||
}
|
||||
.sidebar a, html[data-sidebar] .sidebar a { flex: 1 1 0; justify-content: center; padding: 0; height: 54px; border-left: 0; border-top: 2px solid transparent; min-width: 0; }
|
||||
.sidebar a.active { border-left: 0; border-top-color: var(--green); }
|
||||
.sidebar a span, .sidebar:hover a span { display: none !important; }
|
||||
.sidebar a.brand, .sidebar-foot { display: none; }
|
||||
.main, html[data-sidebar] .main, html[data-sidebar=pinned] .main { margin-left: 0 !important; padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
|
||||
.topbar { padding-left: 10px; padding-right: 10px; gap: 8px; }
|
||||
.crumbs { min-width: 0; overflow: hidden; white-space: nowrap; }
|
||||
.crumbs .crumb-root, .crumbs .sep { display: none; }
|
||||
.crumbs #crumb { overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
|
||||
.top-actions { gap: 4px; flex: 0 0 auto; }
|
||||
.top-actions .clock { display: none; }
|
||||
#logout .lbl { display: none; }
|
||||
#lang-switch .lang-select { max-width: 64px; }
|
||||
.view { padding: 10px 10px 24px; }
|
||||
.page-head { margin-bottom: 12px; gap: 10px; }
|
||||
.page-head h1 { font-size: 21px; }
|
||||
.actions .btn { flex: 0 0 auto; }
|
||||
.tabs { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
|
||||
.tabs::-webkit-scrollbar { display: none; }
|
||||
.tabs button { white-space: nowrap; flex: 0 0 auto; }
|
||||
.modal { padding: 10px 6px; }
|
||||
.modal-card, .modal-card.wide { padding: 12px; }
|
||||
.filters { gap: 6px; }
|
||||
.filters input, .filters select { max-width: 100%; }
|
||||
input, select, textarea { font-size: 16px; } /* no zoom-in on focus (iOS) */
|
||||
.toast-wrap, .toasts { left: 10px; right: 10px; bottom: calc(66px + env(safe-area-inset-bottom)); }
|
||||
}
|
||||
|
||||
/* any box holding a table scrolls sideways instead of widening the page */
|
||||
*:has(> table) { overflow-x: auto; }
|
||||
@media (max-width: 640px) {
|
||||
.search { flex-wrap: wrap; }
|
||||
.search > input { flex: 1 1 160px; min-width: 0; }
|
||||
.search > select { flex: 1 1 120px; min-width: 0; max-width: 100%; }
|
||||
}
|
||||
Reference in new issue
Block a user