feat(overlay): TV graphics OBS layout with title plate, timing tower and start position (1.76.0)

This commit is contained in:
larssand committed 2026-11-07 17:00:27 +01:00
1 parent 50a99fe33f
commit 3d0ab0c4b7
11 files changed
+144 -8

No files matched your search

+33
View File
@@ -4899,3 +4899,36 @@ tr:has(> td > .medal-1) { background: linear-gradient(90deg, rgba(240, 197, 63,
tr:has(> td > .medal-2) { background: linear-gradient(90deg, rgba(190, 199, 210, 0.26), rgba(190, 199, 210, 0) 70%); }
tr:has(> td > .medal-1) > td, tr:has(> td > .medal-2) > td, tr:has(> td > .medal-3) > td { background: transparent; }
tr:has(> td > .medal-3) { background: linear-gradient(90deg, rgba(205, 127, 60, 0.26), rgba(205, 127, 60, 0) 70%); }
/* OBS TV graphics: title plate top left, timing tower top right. No backdrop of its own,
so the camera image shows through (chroma keeps its green). */
.overlay-shell-obs-layout-broadcast:not(.overlay-shell-obs-theme-chroma) { background: transparent; }
.overlay-shell-obs-layout-broadcast { padding: 0; }
.obs-tv { position: relative; min-height: 100vh; font-family: "Barlow Condensed", Barlow, "Arial Narrow", sans-serif; color: #fff; text-transform: uppercase; font-size: clamp(16px, 1.45vw, 30px); }
.obs-tv-plate { position: absolute; top: 1.2em; left: 1.2em; max-width: 46vw; filter: drop-shadow(0 0.15em 0.4em rgb(0 0 0 / 45%)); }
.obs-tv-event { margin: 0; padding: 0.15em 1.6em 0.1em 0.6em; background: #15181f; font-size: 1.35em; font-weight: 800; letter-spacing: 0.01em; clip-path: polygon(0 0, 100% 0, calc(100% - 0.8em) 100%, 0 100%); }
.obs-tv-session { margin: 0; padding: 0.1em 1.8em 0.1em 0.6em; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #fff)); color: #fff; font-size: 1.8em; font-weight: 800; line-height: 1.15; clip-path: polygon(0 0, 100% 0, calc(100% - 0.9em) 100%, 0 100%); text-shadow: 0 0.05em 0.1em rgb(0 0 0 / 35%); }
.obs-tv-tower { position: absolute; top: 1em; right: 1em; min-width: clamp(320px, 26vw, 560px); max-width: 52vw; filter: drop-shadow(0 0.15em 0.5em rgb(0 0 0 / 50%)); }
.obs-tv-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6em; padding: 0.2em 0.5em; background: linear-gradient(90deg, #15181f 55%, var(--accent)); }
.obs-tv-logo { max-height: 1.9em; max-width: 50%; object-fit: contain; }
.obs-tv-brand { font-weight: 800; font-size: 1.05em; letter-spacing: 0.04em; }
.obs-tv-clock { font-size: 1.75em; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.obs-tv-row { display: grid; grid-template-columns: var(--obs-tv-cols); align-items: center; column-gap: 0.45em; padding: 0 0.45em 0 0; min-height: 1.6em; background: rgb(17 21 30 / 88%); border-bottom: 1px solid rgb(255 255 255 / 10%); font-weight: 700; font-variant-numeric: tabular-nums; }
.obs-tv-row:nth-child(even of .obs-tv-row:not(.obs-tv-labels)) { background: rgb(27 33 45 / 88%); }
.obs-tv-labels { min-height: 1.15em; background: rgb(10 12 18 / 92%); color: rgb(255 255 255 / 60%); font-size: 0.62em; letter-spacing: 0.08em; }
.obs-tv-cell { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: right; }
.obs-tv-pos { align-self: stretch; display: grid; place-items: center; text-align: center; background: rgb(255 255 255 / 14%); font-weight: 800; }
.obs-tv-labels .obs-tv-pos { background: none; }
.obs-tv-start { text-align: left; color: #9fd3ff; }
.obs-tv-slash { margin-right: 0.12em; opacity: 0.55; }
.obs-tv-name { text-align: left; letter-spacing: 0.01em; }
.obs-tv-name small { font-size: 0.7em; opacity: 0.75; text-transform: none; }
.obs-tv-change { text-align: center; font-size: 0.8em; }
.obs-tv-gap { color: rgb(255 255 255 / 75%); }
.obs-tv-row.is-p1 .obs-tv-pos { background: linear-gradient(180deg, #ffe27a, #d4a017); color: #3b2a00; }
.obs-tv-row.is-p2 .obs-tv-pos { background: linear-gradient(180deg, #f1f3f6, #a9b1bc); color: #22262d; }
.obs-tv-row.is-p3 .obs-tv-pos { background: linear-gradient(180deg, #f0b27a, #a8642c); color: #2e1606; }
.obs-tv-row.is-fastest .obs-tv-best { color: #d39bff; }
.obs-tv-foot { padding: 0.15em 0.5em; background: rgb(10 12 18 / 92%); font-size: 0.7em; font-weight: 600; letter-spacing: 0.04em; }
.obs-tv-foot strong { color: #d39bff; }
.obs-tv-empty { margin: 0; padding: 0.4em 0.6em; background: rgb(17 21 30 / 88%); }