CSS theme that restyles Jellyfin as a 1999-era DVR: gold selection bar, chunky bevels, a proper grid channel guide, CRT phosphor. Selectors were read out of a live 10.11.11 server's own shipped bundles rather than from memory. Includes an offline preview harness that uses Jellyfin's real DOM structure, an optional Web Audio + guide-NOW-line extras layer, and install/rollback scripts. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2040 lines
76 KiB
HTML
2040 lines
76 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<title>FlameNet Classic — Jellyfin theme preview</title>
|
|
|
|
<!-- THE THEME UNDER TEST -->
|
|
<style>
|
|
/* ===== flamenet.css inlined for a portable single-file preview ===== */
|
|
/* =============================================================================
|
|
FlameNet Classic — a 1999-era set-top skin for Jellyfin 10.11.x
|
|
-----------------------------------------------------------------------------
|
|
Paste into: Dashboard -> General -> Custom CSS (then hard-reload the client)
|
|
Base theme: set Display -> Theme = "Dark" for the cleanest result.
|
|
|
|
Selectors verified against the live 10.11.11 client bundles
|
|
(main.jellyfin.*.css + the lazy-loaded Live TV guide chunk 36154).
|
|
|
|
Contents
|
|
0 Palette + font
|
|
1 Page chrome
|
|
2 Top banner (skinHeader)
|
|
3 FlameNet Central menu (left drawer)
|
|
4 Buttons + form controls
|
|
5 On Demand tiles (cards)
|
|
6 Section headers
|
|
7 THE CHANNEL GUIDE
|
|
8 Now Playing List (list views)
|
|
9 Detail pages
|
|
10 Dialogs, scrollbars, misc
|
|
11 CRT phosphor (scanlines + vignette) <- delete this block for a clean look
|
|
12 Now Playing bar
|
|
13 Volume / brightness popups
|
|
14 Login / splash
|
|
15 Search + alpha picker
|
|
16 Dashboard / admin
|
|
17 Progress bars, toasts, spinners, action sheets
|
|
18 Video player OSD (BEST EFFORT -- selectors unverified on this build)
|
|
============================================================================= */
|
|
|
|
|
|
/* ---------- 0. PALETTE ---------------------------------------------------- */
|
|
|
|
:root {
|
|
/* backgrounds */
|
|
--fn-deep: #0b1119;
|
|
--fn-bg: #16253a;
|
|
--fn-bg-2: #101b2b;
|
|
--fn-panel: #24405e;
|
|
--fn-panel-2: #1b3049;
|
|
--fn-panel-hi: #33587e;
|
|
|
|
/* the gold selection bar — the defining element of the whole skin */
|
|
--fn-gold: #ffd24a;
|
|
--fn-gold-2: #f2a516;
|
|
--fn-gold-dk: #b9740a;
|
|
|
|
/* type */
|
|
--fn-ink: #f3f1e4; /* warm off-white, CRT-safe */
|
|
--fn-ink-dim: #a9bed6;
|
|
--fn-ink-black: #14100a; /* text on gold */
|
|
|
|
/* status */
|
|
--fn-rec: #e0453c;
|
|
--fn-live: #56c25a;
|
|
--fn-teal: #2b93a8;
|
|
|
|
/* the era: fat radii, hard bevels, soft drop shadows */
|
|
--fn-r: 12px;
|
|
--fn-r-sm: 7px;
|
|
--fn-bevel: inset 0 1px 0 rgba(255, 255, 255, 0.28),
|
|
inset 0 -2px 0 rgba(0, 0, 0, 0.38);
|
|
--fn-drop: 0 3px 0 rgba(0, 0, 0, 0.45), 0 6px 14px rgba(0, 0, 0, 0.45);
|
|
--fn-font: "Trebuchet MS", "Lucida Grande", Verdana, Tahoma, sans-serif;
|
|
}
|
|
|
|
|
|
/* ---------- 1. PAGE CHROME ------------------------------------------------ */
|
|
|
|
body,
|
|
.mainAnimatedPages,
|
|
.backgroundContainer,
|
|
.backgroundContainer.withBackdrop {
|
|
background: linear-gradient(180deg, var(--fn-bg) 0%, var(--fn-deep) 100%) fixed !important;
|
|
color: var(--fn-ink) !important;
|
|
font-family: var(--fn-font) !important;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
/* Jellyfin paints a blurred backdrop behind detail pages — knock it back so the
|
|
set-top chrome stays readable instead of fighting a movie still. */
|
|
.backdropImage,
|
|
.backdropContainer {
|
|
opacity: 0.16 !important;
|
|
filter: saturate(0.6) blur(2px);
|
|
}
|
|
|
|
h1, h2, h3, .sectionTitle, .pageTitle {
|
|
font-family: var(--fn-font) !important;
|
|
font-weight: 700 !important;
|
|
letter-spacing: 0.015em;
|
|
text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55);
|
|
}
|
|
|
|
|
|
/* ---------- 2. TOP BANNER ------------------------------------------------- */
|
|
|
|
/* THE GOLD RULE UNDER THE HEADER MUST NOT COST LAYOUT HEIGHT.
|
|
Jellyfin sets `contain: content` on .skinHeader, which includes PAINT
|
|
containment — descendants are clipped to the padding box, silently and with
|
|
no scrollbar (scrollHeight even collapses to clientHeight, so overflow checks
|
|
report nothing wrong). A `border-bottom: 3px` shrinks that padding box, so the
|
|
bottom of the logo and the right-hand icons got sliced off.
|
|
Fix: no border. The rule is an ::after pinned just below the header, and paint
|
|
containment is dropped so it can render outside the padding box. Net effect on
|
|
header height vs stock Jellyfin: zero. */
|
|
.skinHeader,
|
|
.skinHeader.focuscontainer-x,
|
|
.skinHeader-withBackground {
|
|
background: linear-gradient(180deg, var(--fn-panel-hi) 0%, var(--fn-panel-2) 100%) !important;
|
|
border-bottom: 0 !important;
|
|
contain: layout style !important; /* was `content` — drops the paint clip */
|
|
overflow: visible !important;
|
|
box-shadow: 0 4px 0 rgba(0, 0, 0, 0.45), 0 10px 22px rgba(0, 0, 0, 0.5) !important;
|
|
color: var(--fn-ink) !important;
|
|
}
|
|
|
|
.skinHeader::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: -3px;
|
|
height: 3px;
|
|
background: var(--fn-gold-dk);
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* the FlameNet mark. inline SVG data URI so there's no extra request and nothing
|
|
to 404 — swap it for your own artwork if you have one. */
|
|
/* SIZE THIS CONSERVATIVELY. .headerLeft is only ~30px tall, and it is a flex
|
|
container: a pseudo-element taller than the row's natural content GROWS the
|
|
row and drags the whole left group (hamburger + Jellyfin wordmark) out of
|
|
alignment with the centred tabs and the right-hand icons — which reads as the
|
|
header being cropped by the gold rule. max-height keeps it bounded no matter
|
|
what the row height turns out to be on a given page. */
|
|
.skinHeader .headerLeft::before {
|
|
content: "";
|
|
width: 1.45em;
|
|
height: 1.45em;
|
|
max-height: 70%;
|
|
margin: 0 0.5em 0 0.4em;
|
|
flex-shrink: 0;
|
|
align-self: center;
|
|
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 2c10 16 20 22 20 35a20 20 0 0 1-40 0c0-8 5-13 9-19 1 5 0 9 3 12 4-7 6-18 8-28z' fill='%23e0453c'/%3E%3Cpath d='M32 14c7 12 14 16 14 25a14 14 0 0 1-28 0c0-6 4-10 7-14 1 4 0 7 2 9 3-5 4-13 5-20z' fill='%23f2a516'/%3E%3Cpath d='M32 30c5 8 10 11 10 17a10 10 0 0 1-20 0c0-6 6-9 10-17z' fill='%23ffd24a'/%3E%3C/svg%3E") center / contain no-repeat;
|
|
filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6));
|
|
}
|
|
|
|
/* keep every group on the header row vertically centred on the same axis, so
|
|
the left group can't drift down relative to the tabs and the right icons */
|
|
.skinHeader .headerTop,
|
|
.skinHeader .headerLeft,
|
|
.skinHeader .headerRight {
|
|
align-items: center !important;
|
|
}
|
|
|
|
.headerTabs,
|
|
.emby-tabs-slider {
|
|
background: transparent !important;
|
|
}
|
|
|
|
/* DO NOT set padding/height here. Jellyfin's own tab padding is what gives the
|
|
header its height (the tabs row is ~57px of a ~102px header). Overriding it
|
|
with `padding: .5em 1.1em` collapsed the row to 32px and took 24px off the
|
|
whole header — everything then sat crowded against the bottom rule and read as
|
|
the header being cropped. Colour and type only; let Jellyfin own the metrics. */
|
|
.emby-tab-button {
|
|
color: var(--fn-ink-dim) !important;
|
|
font-family: var(--fn-font) !important;
|
|
font-weight: 700 !important;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
border-radius: var(--fn-r-sm) var(--fn-r-sm) 0 0 !important;
|
|
}
|
|
|
|
.emby-tab-button-active {
|
|
color: var(--fn-ink-black) !important;
|
|
background: linear-gradient(180deg, var(--fn-gold) 0%, var(--fn-gold-2) 100%) !important;
|
|
box-shadow: var(--fn-bevel);
|
|
}
|
|
|
|
/* HEADER TABS: short pill, full-height row.
|
|
The tabs row is what gives .skinHeader its height, so we must not shrink the
|
|
button's own box (that was the "cropped header" bug). Instead the button keeps
|
|
its full 57px footprint and stays transparent, and the visible pill is a
|
|
centred ::before sized to match the logo and hamburger (~30px).
|
|
Scoped to .skinHeader so the guide's date tabs keep their own sizing.
|
|
The pseudo is z-index:-1, which paints above the button's background but
|
|
below its text, so the label stays legible without extra markup. */
|
|
/* border-COLOR only, never `border: 0` — stock's border contributes 4px to the
|
|
button box, and removing it shrinks the row and therefore the whole header. */
|
|
.skinHeader .emby-tab-button {
|
|
background: transparent !important;
|
|
box-shadow: none !important;
|
|
border-color: transparent !important;
|
|
position: relative;
|
|
z-index: 0;
|
|
border-radius: 999px !important;
|
|
}
|
|
|
|
.skinHeader .emby-tab-button::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
height: 2.42em; /* ~30px, matching .pageTitleWithLogo */
|
|
border-radius: 999px;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
|
|
border: 1px solid rgba(255, 255, 255, 0.16);
|
|
z-index: -1;
|
|
}
|
|
|
|
.skinHeader .emby-tab-button-active {
|
|
color: var(--fn-ink-black) !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.skinHeader .emby-tab-button-active::before {
|
|
background: linear-gradient(180deg, var(--fn-gold) 0%, var(--fn-gold-2) 100%);
|
|
border-color: var(--fn-gold);
|
|
box-shadow: var(--fn-bevel);
|
|
}
|
|
|
|
/* Hover/focus must land on the PILL, not the button box. The button is still
|
|
57px tall (it sets the header height), so anything painted on the element
|
|
itself — a background, or the global gold focus ring from section 10 — draws
|
|
full height and towers over the 30px pill. Strip all of it here and re-express
|
|
the state on ::before. Specificity (0,3,0) beats `.show-focus:focus` (0,2,0). */
|
|
.skinHeader .emby-tab-button:hover,
|
|
.skinHeader .emby-tab-button:focus,
|
|
.skinHeader .emby-tab-button:focus-visible,
|
|
.skinHeader .emby-tab-button.show-focus:focus {
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
background-image: none !important;
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
transform: none !important;
|
|
color: var(--fn-ink-black) !important; /* label goes dark on the gold pill */
|
|
}
|
|
|
|
/* hovering an inactive tab fills the pill gold, same as the selection bar */
|
|
.skinHeader .emby-tab-button:hover::before,
|
|
.skinHeader .emby-tab-button:focus::before {
|
|
background: linear-gradient(180deg, var(--fn-gold) 0%, var(--fn-gold-2) 100%);
|
|
border-color: #fff2c0;
|
|
box-shadow: var(--fn-bevel);
|
|
}
|
|
|
|
/* the active tab stays gold while hovered — don't wash it out */
|
|
.skinHeader .emby-tab-button-active:hover::before,
|
|
.skinHeader .emby-tab-button-active:focus::before {
|
|
background: linear-gradient(180deg, var(--fn-gold) 0%, var(--fn-gold-2) 100%);
|
|
border-color: #fff2c0;
|
|
}
|
|
|
|
.paper-icon-button-light {
|
|
color: var(--fn-ink) !important;
|
|
border-radius: 50% !important;
|
|
}
|
|
|
|
.paper-icon-button-light:hover,
|
|
.paper-icon-button-light:focus {
|
|
color: var(--fn-ink-black) !important;
|
|
background: radial-gradient(circle, var(--fn-gold) 0%, var(--fn-gold-2) 100%) !important;
|
|
}
|
|
|
|
|
|
/* ---------- 3. FLAMENET CENTRAL MENU (left drawer) ---------------------------- */
|
|
|
|
.mainDrawer,
|
|
.drawerContent,
|
|
.mainDrawer-scrollContainer {
|
|
background: linear-gradient(180deg, var(--fn-panel-2) 0%, var(--fn-deep) 100%) !important;
|
|
border-right: 3px solid var(--fn-gold-dk) !important;
|
|
}
|
|
|
|
.navMenuOption,
|
|
.navMenuOption.navMenuOption-selected,
|
|
.mainDrawer .listItem {
|
|
color: var(--fn-ink) !important;
|
|
font-family: var(--fn-font) !important;
|
|
font-weight: 700 !important;
|
|
font-size: 1.04em;
|
|
margin: 3px 8px !important;
|
|
padding: 0.62em 0.7em !important;
|
|
border-radius: 999px !important; /* stadium bar — the set-top menu selector */
|
|
position: relative;
|
|
transition: none; /* 1999 had no easing curves */
|
|
}
|
|
|
|
.navMenuOption:hover,
|
|
.navMenuOption:focus,
|
|
.mainDrawer .listItem:hover,
|
|
.mainDrawer .listItem:focus,
|
|
.navMenuOption-selected {
|
|
background: linear-gradient(180deg, var(--fn-gold) 0%, var(--fn-gold-2) 100%) !important;
|
|
color: var(--fn-ink-black) !important;
|
|
box-shadow: var(--fn-bevel), 0 2px 0 rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.navMenuOption:hover .navMenuOptionIcon,
|
|
.navMenuOption:focus .navMenuOptionIcon,
|
|
.navMenuOption-selected .navMenuOptionIcon,
|
|
.navMenuOption-selected .navMenuOptionText {
|
|
color: var(--fn-ink-black) !important;
|
|
}
|
|
|
|
/* the little right-pointing caret that rode the selection bar */
|
|
.navMenuOption:hover::after,
|
|
.navMenuOption:focus::after,
|
|
.navMenuOption-selected::after {
|
|
content: "\25B6";
|
|
position: absolute;
|
|
right: 0.85em;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
font-size: 0.72em;
|
|
color: var(--fn-ink-black);
|
|
}
|
|
|
|
|
|
/* ---------- 4. BUTTONS + FORM CONTROLS ------------------------------------ */
|
|
|
|
.emby-button,
|
|
.raised,
|
|
button.emby-button {
|
|
font-family: var(--fn-font) !important;
|
|
font-weight: 700 !important;
|
|
letter-spacing: 0.05em;
|
|
text-transform: uppercase;
|
|
border-radius: 999px !important;
|
|
background: linear-gradient(180deg, var(--fn-panel-hi) 0%, var(--fn-panel-2) 100%) !important;
|
|
color: var(--fn-ink) !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.16) !important;
|
|
box-shadow: var(--fn-bevel), 0 3px 0 rgba(0, 0, 0, 0.4) !important;
|
|
}
|
|
|
|
/* NOTE the specificity here: the base rule above includes `button.emby-button`
|
|
(0,1,1), so a bare `.button-submit` (0,1,0) loses and primary buttons stayed
|
|
blue. These selectors have to match or beat it. */
|
|
.emby-button:hover,
|
|
.emby-button:focus,
|
|
.raised:hover,
|
|
.raised:focus,
|
|
.emby-button.button-submit,
|
|
button.button-submit,
|
|
.raised.button-submit {
|
|
background: linear-gradient(180deg, var(--fn-gold) 0%, var(--fn-gold-2) 100%) !important;
|
|
color: var(--fn-ink-black) !important;
|
|
}
|
|
|
|
.emby-button:active,
|
|
.raised:active {
|
|
transform: translateY(2px);
|
|
box-shadow: var(--fn-bevel), 0 1px 0 rgba(0, 0, 0, 0.4) !important;
|
|
}
|
|
|
|
.emby-input,
|
|
.emby-select,
|
|
.emby-textarea {
|
|
background: var(--fn-deep) !important;
|
|
color: var(--fn-ink) !important;
|
|
font-family: var(--fn-font) !important;
|
|
border: 2px solid var(--fn-panel-hi) !important;
|
|
border-radius: var(--fn-r-sm) !important;
|
|
}
|
|
|
|
.emby-input:focus,
|
|
.emby-select:focus {
|
|
border-color: var(--fn-gold) !important;
|
|
outline: none !important;
|
|
}
|
|
|
|
.checkboxLabel,
|
|
.inputLabel,
|
|
.selectLabel,
|
|
.fieldDescription {
|
|
color: var(--fn-ink-dim) !important;
|
|
font-family: var(--fn-font) !important;
|
|
}
|
|
|
|
|
|
/* ---------- 5. ON DEMAND TILES (cards) ------------------------------------ */
|
|
|
|
.card {
|
|
font-family: var(--fn-font) !important;
|
|
}
|
|
|
|
.cardBox {
|
|
background: linear-gradient(180deg, var(--fn-panel) 0%, var(--fn-panel-2) 100%) !important;
|
|
border: 2px solid rgba(255, 255, 255, 0.13) !important;
|
|
border-radius: var(--fn-r) !important;
|
|
box-shadow: var(--fn-drop) !important;
|
|
padding: 6px !important;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.cardImageContainer,
|
|
.cardScalable,
|
|
.cardPadder {
|
|
border-radius: var(--fn-r-sm) !important;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.defaultCardBackground {
|
|
background: linear-gradient(160deg, var(--fn-panel-hi), var(--fn-panel-2)) !important;
|
|
color: var(--fn-gold) !important;
|
|
}
|
|
|
|
.cardText {
|
|
color: var(--fn-ink) !important;
|
|
font-family: var(--fn-font) !important;
|
|
font-weight: 700 !important;
|
|
padding: 0.25em 0.35em !important;
|
|
}
|
|
|
|
.cardText-secondary,
|
|
.cardText.cardText-secondary {
|
|
color: var(--fn-ink-dim) !important;
|
|
font-weight: 400 !important;
|
|
}
|
|
|
|
/* selection = gold frame + a nudge up, like a highlighted tile on a CRT menu */
|
|
.card:hover .cardBox,
|
|
.card:focus .cardBox,
|
|
.card:focus-within .cardBox,
|
|
.cardBox:hover {
|
|
border-color: var(--fn-gold) !important;
|
|
box-shadow: 0 0 0 3px var(--fn-gold-2), var(--fn-drop) !important;
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
.cardOverlayContainer {
|
|
background: linear-gradient(0deg, rgba(11, 17, 25, 0.94), rgba(11, 17, 25, 0.1)) !important;
|
|
border-radius: var(--fn-r-sm) !important;
|
|
}
|
|
|
|
.cardOverlayFab-primary,
|
|
.cardOverlayButtonIcon {
|
|
background: linear-gradient(180deg, var(--fn-gold), var(--fn-gold-2)) !important;
|
|
color: var(--fn-ink-black) !important;
|
|
}
|
|
|
|
.cardIndicators .indicator,
|
|
.countIndicator,
|
|
.playedIndicator {
|
|
background: var(--fn-rec) !important;
|
|
color: #fff !important;
|
|
border-radius: 999px !important;
|
|
font-family: var(--fn-font) !important;
|
|
font-weight: 700 !important;
|
|
}
|
|
|
|
|
|
/* ---------- 6. SECTION HEADERS -------------------------------------------- */
|
|
|
|
.sectionTitle,
|
|
.verticalSection > .sectionTitleContainer > .sectionTitle {
|
|
color: var(--fn-gold) !important;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
font-size: 1.12em !important;
|
|
border-bottom: 2px solid var(--fn-gold-dk);
|
|
padding-bottom: 0.25em;
|
|
display: inline-block;
|
|
}
|
|
|
|
|
|
/* ---------- 7. THE CHANNEL GUIDE ------------------------------------------ */
|
|
/* Structure (10.11): .tvguide > .tvGuideHeader > .guide-headerTimeslots
|
|
[ .guide-channelTimeslotHeader | .timeslotHeaders ]
|
|
.tvguide > .guideVerticalScroller
|
|
[ .channelsContainer > .guide-channelHeaderCell*
|
|
| .programGrid > .programContainer > .channelPrograms*
|
|
> .programCell* ] */
|
|
|
|
.tvguide {
|
|
background: var(--fn-bg-2) !important;
|
|
padding: 0 0.4em 0.6em !important;
|
|
}
|
|
|
|
/* no left/right border here: it would inset the time ribbon by 2px while the
|
|
program grid below stays put, so the columns would no longer line up with
|
|
their time labels. Top/bottom only. */
|
|
.tvGuideHeader {
|
|
background: linear-gradient(180deg, var(--fn-panel-hi), var(--fn-panel-2)) !important;
|
|
border: 0 !important;
|
|
border-top: 2px solid rgba(255, 255, 255, 0.14) !important;
|
|
border-bottom: 3px solid var(--fn-gold-dk) !important;
|
|
border-radius: var(--fn-r) var(--fn-r) 0 0;
|
|
box-shadow: var(--fn-drop);
|
|
padding-top: 0.35em !important;
|
|
}
|
|
|
|
/* the date strip across the top */
|
|
.guideHeaderDateSelection {
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.guide-date-tab-button {
|
|
font-family: var(--fn-font) !important;
|
|
font-weight: 700 !important;
|
|
color: var(--fn-ink-dim) !important;
|
|
border-radius: 999px !important;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
.guide-date-tab-button.emby-tab-button-active {
|
|
background: linear-gradient(180deg, var(--fn-gold), var(--fn-gold-2)) !important;
|
|
color: var(--fn-ink-black) !important;
|
|
box-shadow: var(--fn-bevel);
|
|
}
|
|
|
|
/* top-left corner block, above the channel column.
|
|
ROW-PITCH RULE (applies to this block and the two below): the channel column
|
|
and the program grid are two independent flex columns that must stay in
|
|
lockstep. Anything that changes an element's outer height or width -- margin,
|
|
or a border on a content-box element -- desyncs them, and the error is
|
|
CUMULATIVE (3px/row over 552 channels is ~1600px of drift). So every gutter
|
|
here is a transparent border on a border-box element, which is drawn *inside*
|
|
the stock 4.42em row height and the stock 12vw column width. Never swap these
|
|
for margins. */
|
|
.guide-channelTimeslotHeader {
|
|
box-sizing: border-box !important;
|
|
margin: 0 !important;
|
|
border: 0 !important;
|
|
border-right: 5px solid transparent !important; /* gutter, inside 12vw */
|
|
border-bottom: 4px solid transparent !important;
|
|
background: linear-gradient(180deg, var(--fn-gold), var(--fn-gold-2)) !important;
|
|
background-clip: padding-box !important;
|
|
color: var(--fn-ink-black) !important;
|
|
border-radius: var(--fn-r-sm) !important;
|
|
box-shadow: var(--fn-bevel);
|
|
font-weight: 700 !important;
|
|
}
|
|
|
|
.guide-channelTimeslotHeader::after {
|
|
content: "GUIDE";
|
|
font-size: 0.82em;
|
|
letter-spacing: 0.16em;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* the gold time ribbon */
|
|
.timeslotHeaders {
|
|
color: var(--fn-ink-black) !important;
|
|
}
|
|
|
|
.timeslotHeadersInner {
|
|
background: linear-gradient(180deg, var(--fn-gold) 0%, var(--fn-gold-2) 100%);
|
|
border-radius: var(--fn-r-sm);
|
|
box-shadow: var(--fn-bevel);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.timeslotHeader {
|
|
color: var(--fn-ink-black) !important;
|
|
font-weight: 700 !important;
|
|
font-size: 0.92em;
|
|
border-left: 2px solid rgba(0, 0, 0, 0.28);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.timeslotHeader:first-child {
|
|
border-left: 0;
|
|
}
|
|
|
|
/* ---- channel column ---- */
|
|
|
|
.channelsContainer {
|
|
background: transparent !important;
|
|
}
|
|
|
|
/* gutters are transparent borders, NOT margins -- see ROW-PITCH RULE above.
|
|
the visible 2px frame is an inset box-shadow so it costs no layout space. */
|
|
.guide-channelHeaderCell {
|
|
box-sizing: border-box !important;
|
|
margin: 0 !important;
|
|
border: 0 !important;
|
|
border-right: 5px solid transparent !important; /* gutter, inside 12vw */
|
|
border-bottom: 3px solid transparent !important; /* gutter, inside 4.42em */
|
|
background: linear-gradient(180deg, var(--fn-panel) 0%, var(--fn-panel-2) 100%) !important;
|
|
background-clip: padding-box !important;
|
|
border-radius: var(--fn-r-sm) !important;
|
|
color: var(--fn-ink) !important;
|
|
box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.15), var(--fn-bevel);
|
|
}
|
|
|
|
.guide-channelHeaderCell:hover,
|
|
.guide-channelHeaderCell:focus {
|
|
background: linear-gradient(180deg, var(--fn-gold), var(--fn-gold-2)) !important;
|
|
color: var(--fn-ink-black) !important;
|
|
box-shadow: inset 0 0 0 2px #fff2c0, var(--fn-bevel);
|
|
}
|
|
|
|
/* channel number becomes a chunky badge on the left */
|
|
.guideChannelNumber {
|
|
background: var(--fn-deep);
|
|
color: var(--fn-gold) !important;
|
|
font-weight: 700 !important;
|
|
font-size: 0.95em;
|
|
padding: 0.16em 0.5em !important;
|
|
margin-left: 0.45em !important;
|
|
border-radius: var(--fn-r-sm);
|
|
border: 1px solid var(--fn-gold-dk);
|
|
max-width: 38% !important;
|
|
}
|
|
|
|
.guide-channelHeaderCell:hover .guideChannelNumber,
|
|
.guide-channelHeaderCell:focus .guideChannelNumber {
|
|
background: var(--fn-ink-black);
|
|
color: var(--fn-gold) !important;
|
|
}
|
|
|
|
.guideChannelName {
|
|
font-weight: 700 !important;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
/* ---- program grid ---- */
|
|
|
|
.programGrid,
|
|
.programContainer {
|
|
background: transparent !important;
|
|
}
|
|
|
|
.channelPrograms {
|
|
border: 0 !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
/* Stock Jellyfin pulls BOTH columns up 1px per row to collapse their borders
|
|
(.guide-channelHeaderCell + .guide-channelHeaderCell and this one, both
|
|
margin-top:-1px). We removed the borders, so we zero both -- and it has to be
|
|
BOTH. Zeroing only one side reintroduces 1px/row of cumulative drift. */
|
|
.channelPrograms + .channelPrograms {
|
|
margin-top: 0 !important;
|
|
}
|
|
|
|
/* each program = a rounded block. cells are absolutely positioned with inline
|
|
left/width percentages, so only touch colours + the vertical inset. */
|
|
.programCell {
|
|
box-sizing: border-box !important;
|
|
top: 0 !important;
|
|
bottom: 3px !important;
|
|
border: 2px solid rgba(255, 255, 255, 0.13) !important;
|
|
border-radius: var(--fn-r-sm) !important;
|
|
background: linear-gradient(180deg, var(--fn-panel) 0%, var(--fn-panel-2) 100%) !important;
|
|
color: var(--fn-ink) !important;
|
|
box-shadow: var(--fn-bevel);
|
|
}
|
|
|
|
.programCell:hover,
|
|
.programCell:focus {
|
|
background: linear-gradient(180deg, var(--fn-gold) 0%, var(--fn-gold-2) 100%) !important;
|
|
border-color: #fff2c0 !important;
|
|
color: var(--fn-ink-black) !important;
|
|
z-index: 5;
|
|
}
|
|
|
|
.programCell:hover .guideProgramNameText,
|
|
.programCell:focus .guideProgramNameText,
|
|
.programCell:hover .guideProgramSecondaryInfo,
|
|
.programCell:focus .guideProgramSecondaryInfo {
|
|
color: var(--fn-ink-black) !important;
|
|
}
|
|
|
|
.guideProgramNameText {
|
|
font-family: var(--fn-font) !important;
|
|
font-weight: 700 !important;
|
|
font-size: 0.97em;
|
|
}
|
|
|
|
.guideProgramSecondaryInfo {
|
|
color: var(--fn-ink-dim) !important;
|
|
font-size: 0.84em;
|
|
}
|
|
|
|
/* the NEW / LIVE / HD / REPEAT chips */
|
|
.guide-programTextIcon,
|
|
.guideProgramIndicator {
|
|
border-radius: var(--fn-r-sm) !important;
|
|
font-weight: 700 !important;
|
|
letter-spacing: 0.06em;
|
|
box-shadow: var(--fn-bevel);
|
|
}
|
|
|
|
.liveTvProgram {
|
|
background: var(--fn-rec) !important;
|
|
color: #fff !important;
|
|
}
|
|
|
|
.newTvProgram,
|
|
.premiereTvProgram {
|
|
background: var(--fn-live) !important;
|
|
color: var(--fn-ink-black) !important;
|
|
}
|
|
|
|
.repeatTvProgram {
|
|
background: var(--fn-teal) !important;
|
|
color: #fff !important;
|
|
}
|
|
|
|
.guideHdIcon {
|
|
background: var(--fn-gold) !important;
|
|
color: var(--fn-ink-black) !important;
|
|
}
|
|
|
|
/* the HD chip is gold, and so is the selection bar -- invert it while selected
|
|
so it doesn't vanish. LIVE (red) and NEW (green) still read fine on gold. */
|
|
.programCell:hover .guideHdIcon,
|
|
.programCell:focus .guideHdIcon {
|
|
background: var(--fn-ink-black) !important;
|
|
color: var(--fn-gold) !important;
|
|
}
|
|
|
|
/* the record dot */
|
|
.timerIcon,
|
|
.seriesTimerIcon {
|
|
color: var(--fn-rec) !important;
|
|
filter: drop-shadow(0 0 3px rgba(224, 69, 60, 0.8));
|
|
}
|
|
|
|
|
|
/* ---------- 8. NOW PLAYING LIST (list views) ------------------------------ */
|
|
|
|
.listItem {
|
|
font-family: var(--fn-font) !important;
|
|
border-radius: var(--fn-r-sm) !important;
|
|
margin-bottom: 3px !important;
|
|
background: linear-gradient(180deg, rgba(36, 64, 94, 0.65), rgba(27, 48, 73, 0.65)) !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.1) !important;
|
|
}
|
|
|
|
.listItem:hover,
|
|
.listItem:focus {
|
|
background: linear-gradient(180deg, var(--fn-gold), var(--fn-gold-2)) !important;
|
|
color: var(--fn-ink-black) !important;
|
|
}
|
|
|
|
.listItem:hover .listItemBodyText,
|
|
.listItem:focus .listItemBodyText {
|
|
color: var(--fn-ink-black) !important;
|
|
}
|
|
|
|
.listItemBodyText {
|
|
color: var(--fn-ink) !important;
|
|
font-weight: 700 !important;
|
|
}
|
|
|
|
.listItemBodyText-secondary {
|
|
color: var(--fn-ink-dim) !important;
|
|
font-weight: 400 !important;
|
|
}
|
|
|
|
|
|
/* ---------- 9. DETAIL PAGES ----------------------------------------------- */
|
|
|
|
.detailPagePrimaryContainer {
|
|
background: linear-gradient(180deg, rgba(36, 64, 94, 0.9), rgba(16, 27, 43, 0.9)) !important;
|
|
border: 2px solid rgba(255, 255, 255, 0.13);
|
|
border-top: 3px solid var(--fn-gold-dk);
|
|
border-radius: var(--fn-r);
|
|
box-shadow: var(--fn-drop);
|
|
padding: 1em !important;
|
|
}
|
|
|
|
.detailButton {
|
|
border-radius: 999px !important;
|
|
}
|
|
|
|
.itemBackdrop {
|
|
border-radius: var(--fn-r);
|
|
border: 2px solid rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.mediaInfoItem,
|
|
.mediaInfoProgramAttribute {
|
|
background: var(--fn-deep) !important;
|
|
color: var(--fn-gold) !important;
|
|
border: 1px solid var(--fn-gold-dk) !important;
|
|
border-radius: var(--fn-r-sm) !important;
|
|
font-weight: 700 !important;
|
|
}
|
|
|
|
|
|
/* ---------- 10. DIALOGS, SCROLLBARS, MISC --------------------------------- */
|
|
|
|
.dialog,
|
|
.formDialogHeader,
|
|
.actionSheet {
|
|
background: linear-gradient(180deg, var(--fn-panel) 0%, var(--fn-panel-2) 100%) !important;
|
|
color: var(--fn-ink) !important;
|
|
font-family: var(--fn-font) !important;
|
|
border: 2px solid var(--fn-gold-dk) !important;
|
|
border-radius: var(--fn-r) !important;
|
|
box-shadow: var(--fn-drop) !important;
|
|
}
|
|
|
|
.dialogBackdropOpened {
|
|
background: rgba(4, 8, 14, 0.78) !important;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: var(--fn-deep);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: linear-gradient(180deg, var(--fn-gold), var(--fn-gold-2));
|
|
border: 3px solid var(--fn-deep);
|
|
border-radius: 999px;
|
|
}
|
|
|
|
/* the on-screen keyboard-focus ring, remote-control style */
|
|
.show-focus:focus,
|
|
button:focus-visible,
|
|
a:focus-visible {
|
|
outline: 3px solid var(--fn-gold) !important;
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
|
|
/* ---------- 11. CRT PHOSPHOR ---------------------------------------------- */
|
|
/* Delete this whole block if you want the skin without it. Two layers:
|
|
::after = scanlines, ::before = corner vignette. Tune with --fn-crt-*. */
|
|
|
|
:root {
|
|
--fn-crt-scanline: 0.34; /* 0 = off, 0.6 = heavy */
|
|
--fn-crt-vignette: 0.22; /* corner darkening */
|
|
}
|
|
|
|
/* Z-INDEX RULE — do not raise these above 998.
|
|
Jellyfin's fixed chrome sits at z-index 999 (.skinHeader) and above (drawer,
|
|
dialogs, now-playing bar). An earlier draft put these overlays at 9998/9999,
|
|
which painted the phosphor OVER the header — and because the vignette is
|
|
darkest at the viewport edges, the top strip of the screen took the full
|
|
darkening and the header looked half-swallowed.
|
|
At 998 the overlays cover page content (z-index auto/0) and nothing else, so
|
|
the tube look stays but every interactive surface remains legible. */
|
|
body::after {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 998;
|
|
pointer-events: none;
|
|
background: repeating-linear-gradient(
|
|
180deg,
|
|
rgba(0, 0, 0, 0.16) 0px,
|
|
rgba(0, 0, 0, 0.16) 1px,
|
|
transparent 1px,
|
|
transparent 3px
|
|
);
|
|
mix-blend-mode: multiply;
|
|
opacity: var(--fn-crt-scanline);
|
|
}
|
|
|
|
/* The soft darkening a real tube had toward the corners. Starts at 68% rather
|
|
than 55% so it stays a corner effect and doesn't wash the top and bottom
|
|
edges, where the header and now-playing bar live. */
|
|
body::before {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 998;
|
|
pointer-events: none;
|
|
background: radial-gradient(
|
|
ellipse at center,
|
|
transparent 68%,
|
|
rgba(0, 0, 0, var(--fn-crt-vignette)) 100%
|
|
);
|
|
}
|
|
|
|
/* Keep the phosphor off the video itself — it belongs on the menus, not the show.
|
|
NOTE: an earlier draft used `.videoPlayerContainer body::after`, which can
|
|
never match (body is not a descendant of anything) AND named two classes this
|
|
build doesn't ship. These are the real playback-state classes in 10.11:
|
|
body gains noScroll/hide-scroll and the menu bar hides. :has() covers the case
|
|
where hiddenViewMenuBar sits on a wrapper rather than on body itself. */
|
|
body.noScroll::after,
|
|
body.noScroll::before,
|
|
body.hide-scroll::after,
|
|
body.hide-scroll::before,
|
|
body.hiddenViewMenuBar::after,
|
|
body.hiddenViewMenuBar::before,
|
|
body:has(.hiddenViewMenuBar)::after,
|
|
body:has(.hiddenViewMenuBar)::before,
|
|
body:has(video)::after,
|
|
body:has(video)::before {
|
|
display: none;
|
|
}
|
|
|
|
|
|
/* ---------- 12. NOW PLAYING BAR ------------------------------------------- */
|
|
/* verified: chunk 14245 (.nowPlayingBar family) */
|
|
|
|
.nowPlayingBar {
|
|
background: linear-gradient(180deg, var(--fn-panel-hi) 0%, var(--fn-panel-2) 100%) !important;
|
|
border-top: 3px solid var(--fn-gold-dk) !important;
|
|
box-shadow: 0 -4px 0 rgba(0, 0, 0, 0.4), 0 -10px 22px rgba(0, 0, 0, 0.45) !important;
|
|
color: var(--fn-ink) !important;
|
|
font-family: var(--fn-font) !important;
|
|
}
|
|
|
|
.nowPlayingBarText {
|
|
color: var(--fn-ink) !important;
|
|
font-weight: 700 !important;
|
|
}
|
|
|
|
.nowPlayingBar .nowPlayingImage {
|
|
border-radius: var(--fn-r-sm);
|
|
border: 2px solid rgba(255, 255, 255, 0.18);
|
|
}
|
|
|
|
.nowPlayingBarCurrentTime {
|
|
color: var(--fn-gold) !important;
|
|
font-weight: 700 !important;
|
|
}
|
|
|
|
/* the scrub + volume sliders as gold tape.
|
|
`accent-color` recolours the browser-default blue fill on range inputs and
|
|
checkboxes in one line. We deliberately do NOT set `background` on the slider
|
|
itself: Jellyfin paints the played portion by writing an inline
|
|
`linear-gradient(to right, ...)` onto the element, and overriding it with
|
|
!important would erase the progress fill entirely. */
|
|
input[type="range"],
|
|
input[type="checkbox"],
|
|
.emby-checkbox,
|
|
.mdl-slider {
|
|
accent-color: var(--fn-gold);
|
|
}
|
|
|
|
.nowPlayingBarPositionSlider::-webkit-slider-runnable-track,
|
|
.mdl-slider::-webkit-slider-runnable-track {
|
|
background: transparent;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.nowPlayingBarPositionSlider::-webkit-slider-thumb,
|
|
.mdl-slider::-webkit-slider-thumb {
|
|
background: var(--fn-gold) !important;
|
|
border: 2px solid var(--fn-ink-black) !important;
|
|
border-radius: 50% !important;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
|
|
}
|
|
|
|
.sliderBubble {
|
|
background: var(--fn-gold) !important;
|
|
color: var(--fn-ink-black) !important;
|
|
font-family: var(--fn-font) !important;
|
|
font-weight: 700 !important;
|
|
border-radius: var(--fn-r-sm) !important;
|
|
border: 1px solid var(--fn-gold-dk) !important;
|
|
}
|
|
|
|
|
|
/* ---------- 13. VOLUME / BRIGHTNESS POPUPS -------------------------------- */
|
|
/* verified: .iconOsd, .iconOsdIcon, .iconOsdProgress*, .brightnessOsd* */
|
|
|
|
.iconOsd {
|
|
background: linear-gradient(180deg, var(--fn-panel) 0%, var(--fn-panel-2) 100%) !important;
|
|
border: 2px solid var(--fn-gold-dk) !important;
|
|
border-radius: var(--fn-r) !important;
|
|
box-shadow: var(--fn-drop) !important;
|
|
color: var(--fn-ink) !important;
|
|
}
|
|
|
|
.iconOsdIcon {
|
|
color: var(--fn-gold) !important;
|
|
}
|
|
|
|
.iconOsdProgressOuter {
|
|
background: var(--fn-deep) !important;
|
|
border-radius: 999px !important;
|
|
}
|
|
|
|
.iconOsdProgressInner,
|
|
.brightnessOsdProgressInner {
|
|
background: linear-gradient(90deg, var(--fn-gold-2), var(--fn-gold)) !important;
|
|
border-radius: 999px !important;
|
|
}
|
|
|
|
|
|
/* ---------- 14. LOGIN / SPLASH -------------------------------------------- */
|
|
/* verified: .login, .splashLogo */
|
|
|
|
.login,
|
|
.login .readOnlyContent,
|
|
.login .padded-left {
|
|
font-family: var(--fn-font) !important;
|
|
color: var(--fn-ink) !important;
|
|
}
|
|
|
|
.splashLogo {
|
|
filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.5)) saturate(1.15);
|
|
}
|
|
|
|
/* the user-pick tiles on the login screen are .card/.cardBox, already themed */
|
|
|
|
|
|
/* ---------- 15. SEARCH ---------------------------------------------------- */
|
|
/* verified: .search, .searchfields-icon */
|
|
|
|
.search,
|
|
.searchFields {
|
|
font-family: var(--fn-font) !important;
|
|
}
|
|
|
|
.searchfields-icon {
|
|
color: var(--fn-gold) !important;
|
|
}
|
|
|
|
.alphaPicker {
|
|
font-family: var(--fn-font) !important;
|
|
}
|
|
|
|
.alphaPickerButton {
|
|
color: var(--fn-ink-dim) !important;
|
|
font-weight: 700 !important;
|
|
border-radius: 999px !important;
|
|
}
|
|
|
|
.alphaPickerButton:hover,
|
|
.alphaPickerButton:focus,
|
|
.alphaPickerButton-selected {
|
|
background: linear-gradient(180deg, var(--fn-gold), var(--fn-gold-2)) !important;
|
|
color: var(--fn-ink-black) !important;
|
|
}
|
|
|
|
|
|
/* ---------- 16. DASHBOARD / ADMIN ----------------------------------------- */
|
|
/* verified: .dashboardSection(s), .dashboardColumn, .adminSection,
|
|
.adminDrawerLogo, .dashboardFooter, .sessionCard*, .sessionNowPlaying* */
|
|
|
|
.dashboardSection,
|
|
.adminSection,
|
|
.dashboardColumn > .verticalSection {
|
|
background: linear-gradient(180deg, rgba(36, 64, 94, 0.85), rgba(27, 48, 73, 0.85)) !important;
|
|
border: 2px solid rgba(255, 255, 255, 0.13);
|
|
border-top: 3px solid var(--fn-gold-dk);
|
|
border-radius: var(--fn-r);
|
|
box-shadow: var(--fn-drop);
|
|
padding: 0.9em 1.1em !important;
|
|
margin-bottom: 1.1em;
|
|
}
|
|
|
|
.adminDrawerLogo {
|
|
border-bottom: 2px solid var(--fn-gold-dk);
|
|
}
|
|
|
|
.adminDrawerLogo img {
|
|
filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.5));
|
|
}
|
|
|
|
.dashboardFooter {
|
|
color: var(--fn-ink-dim) !important;
|
|
font-family: var(--fn-font) !important;
|
|
border-top: 2px solid var(--fn-gold-dk);
|
|
}
|
|
|
|
.dashboardEntryHeaderButton {
|
|
color: var(--fn-gold) !important;
|
|
}
|
|
|
|
/* active playback sessions on the dashboard */
|
|
.sessionCardFooter,
|
|
.sessionNowPlayingContent,
|
|
.sessionNowPlayingInnerContent {
|
|
font-family: var(--fn-font) !important;
|
|
}
|
|
|
|
.sessionNowPlayingName,
|
|
.sessionAppName {
|
|
color: var(--fn-ink) !important;
|
|
font-weight: 700 !important;
|
|
}
|
|
|
|
.sessionNowPlayingTime,
|
|
.sessionAppInfo {
|
|
color: var(--fn-ink-dim) !important;
|
|
}
|
|
|
|
|
|
/* ---------- 17. PROGRESS, TOASTS, SPINNERS, SHEETS ------------------------ */
|
|
/* verified: .itemProgressBar*, .itemLinearProgress, .playbackProgress,
|
|
.backgroundProgress, .toast, .progressring*, .actionSheet*,
|
|
.paperList, .emby-checkbox, .upNextContainer */
|
|
|
|
.itemProgressBar,
|
|
.listItemProgressBar,
|
|
.itemLinearProgress {
|
|
background: var(--fn-deep) !important;
|
|
border-radius: 999px !important;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.itemProgressBarForeground,
|
|
.playbackProgress,
|
|
.backgroundProgress {
|
|
background: linear-gradient(90deg, var(--fn-gold-2), var(--fn-gold)) !important;
|
|
}
|
|
|
|
.toast {
|
|
background: linear-gradient(180deg, var(--fn-panel-hi), var(--fn-panel-2)) !important;
|
|
color: var(--fn-ink) !important;
|
|
font-family: var(--fn-font) !important;
|
|
font-weight: 700 !important;
|
|
border: 2px solid var(--fn-gold-dk) !important;
|
|
border-radius: 999px !important;
|
|
box-shadow: var(--fn-drop) !important;
|
|
}
|
|
|
|
.progressring-spiner {
|
|
stroke: var(--fn-gold) !important;
|
|
}
|
|
|
|
.progressring-bg {
|
|
stroke: var(--fn-panel) !important;
|
|
}
|
|
|
|
.actionSheetContent,
|
|
.actionSheetScroller {
|
|
font-family: var(--fn-font) !important;
|
|
}
|
|
|
|
.actionSheetTitle {
|
|
color: var(--fn-gold) !important;
|
|
font-weight: 700 !important;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
.actionSheetMenuItem:hover,
|
|
.actionSheetMenuItem:focus {
|
|
background: linear-gradient(180deg, var(--fn-gold), var(--fn-gold-2)) !important;
|
|
color: var(--fn-ink-black) !important;
|
|
}
|
|
|
|
.paperList {
|
|
background: transparent !important;
|
|
border-radius: var(--fn-r) !important;
|
|
}
|
|
|
|
.upNextContainer {
|
|
background: linear-gradient(180deg, rgba(36, 64, 94, 0.95), rgba(16, 27, 43, 0.95)) !important;
|
|
border: 2px solid var(--fn-gold-dk) !important;
|
|
border-radius: var(--fn-r) !important;
|
|
font-family: var(--fn-font) !important;
|
|
}
|
|
|
|
|
|
/* ---------- 18. VIDEO PLAYER OSD (BEST EFFORT, UNVERIFIED) --------------- */
|
|
/* Every other selector in this file was read out of this server's own shipped
|
|
bundles. These were NOT: the video OSD's stylesheet is not in any CSS chunk
|
|
10.11.11 serves, so these names come from Jellyfin's long-standing markup
|
|
rather than from something I could confirm on this build.
|
|
An unmatched selector is a no-op, so the worst case is that the player keeps
|
|
its stock look. If it does, inspect the OSD and correct the names here. */
|
|
|
|
.videoOsdBottom {
|
|
background: linear-gradient(0deg, rgba(11, 17, 25, 0.96), rgba(11, 17, 25, 0)) !important;
|
|
font-family: var(--fn-font) !important;
|
|
color: var(--fn-ink) !important;
|
|
}
|
|
|
|
.osdControls .paper-icon-button-light {
|
|
color: var(--fn-ink) !important;
|
|
}
|
|
|
|
.osdTitle,
|
|
.osdMediaInfo {
|
|
font-family: var(--fn-font) !important;
|
|
font-weight: 700 !important;
|
|
text-shadow: 0 2px 3px rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
.osdTitle {
|
|
color: var(--fn-gold) !important;
|
|
}
|
|
|
|
.osdTimeText {
|
|
color: var(--fn-ink) !important;
|
|
font-weight: 700 !important;
|
|
}
|
|
|
|
.osdPoster img {
|
|
border-radius: var(--fn-r-sm);
|
|
border: 2px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
</style>
|
|
|
|
<style>
|
|
/* ===========================================================================
|
|
PREVIEW HARNESS ONLY — none of this ships in flamenet.css.
|
|
It reproduces the layout geometry Jellyfin's own bundles provide
|
|
(flex scaffolding + the absolute-positioned guide grid) so the theme
|
|
can be judged against real markup offline.
|
|
=========================================================================== */
|
|
* { box-sizing: border-box; }
|
|
html, body { margin: 0; padding: 0; min-height: 100%; }
|
|
|
|
.screen { display: none; }
|
|
.screen.active { display: block; }
|
|
|
|
/* --- switcher chrome (harness furniture) --- */
|
|
#switcher {
|
|
position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%);
|
|
z-index: 10000; display: flex; gap: 8px;
|
|
background: rgba(4,8,14,.85); padding: 8px; border-radius: 999px;
|
|
border: 2px solid #b9740a;
|
|
}
|
|
#switcher button {
|
|
font: 700 12px/1 "Trebuchet MS", Verdana, sans-serif;
|
|
letter-spacing: .08em; text-transform: uppercase;
|
|
padding: 9px 16px; border-radius: 999px; cursor: pointer;
|
|
border: 1px solid rgba(255,255,255,.2); color: #f3f1e4;
|
|
background: linear-gradient(180deg,#33587e,#1b3049);
|
|
}
|
|
#switcher button.on { background: linear-gradient(180deg,#ffd24a,#f2a516); color: #14100a; }
|
|
/* lift the switcher clear of the now-playing bar on the components screen */
|
|
#s-parts.active ~ #switcher { bottom: 5.6em; }
|
|
|
|
/* --- Jellyfin layout scaffolding (from main.jellyfin.css) --- */
|
|
.skinHeader {
|
|
display: flex; flex-direction: column; position: sticky; top: 0; z-index: 999;
|
|
}
|
|
.skinHeader .headerLeft { display: flex; align-items: center; padding: .5em .8em; gap: .3em; }
|
|
.headerButton { background: none; border: 0; font-size: 1.5em; cursor: pointer; color: inherit; padding: .2em .4em; }
|
|
.pageTitle { margin: 0 0 0 .4em; font-size: 1.15em; }
|
|
.headerRight { margin-left: auto; display: flex; gap: .2em; }
|
|
|
|
.layoutRow { display: flex; min-height: calc(100vh - 4em); }
|
|
.mainDrawer { width: 17em; flex-shrink: 0; padding: .8em 0; }
|
|
.drawerContent { padding: 0; }
|
|
.navMenuOption { display: flex; align-items: center; gap: .7em; text-decoration: none; cursor: pointer; }
|
|
.navMenuOptionIcon { width: 1.4em; text-align: center; font-size: 1.1em; }
|
|
.pageContent { flex: 1; padding: 1.2em 1.6em 5em; min-width: 0; }
|
|
|
|
.verticalSection { margin-bottom: 2em; }
|
|
.itemsContainer { display: flex; gap: 14px; flex-wrap: wrap; margin-top: .9em; }
|
|
.card { width: 190px; text-decoration: none; display: block; }
|
|
.card.backdropCard { width: 300px; }
|
|
.cardScalable { position: relative; }
|
|
.cardPadder { padding-bottom: 150%; }
|
|
.cardPadder-backdrop { padding-bottom: 56.25%; }
|
|
.cardImageContainer {
|
|
position: absolute; inset: 0; background-size: cover; background-position: center;
|
|
display: flex; align-items: center; justify-content: center;
|
|
font: 700 13px/1.3 "Trebuchet MS", Verdana, sans-serif; text-align: center;
|
|
color: rgba(255,255,255,.9); padding: 8px; text-shadow: 0 2px 4px rgba(0,0,0,.8);
|
|
}
|
|
.cardOverlayContainer { position: absolute; inset: 0; opacity: 0; }
|
|
.card:hover .cardOverlayContainer { opacity: 1; }
|
|
.cardIndicators { position: absolute; top: 6px; right: 6px; }
|
|
.indicator { padding: 2px 8px; font: 700 11px/1.6 "Trebuchet MS", Verdana, sans-serif; }
|
|
|
|
/* --- guide geometry (from the lazy chunk 36154) --- */
|
|
.tvguide { display: flex; flex-direction: column; }
|
|
.tvGuideHeader { display: flex; flex-direction: column; flex-shrink: 0; white-space: nowrap; }
|
|
.guideHeaderDateSelection { padding: .4em .5em; display: flex; gap: .3em; }
|
|
.guide-date-tab-button { border: 0; cursor: pointer; background: none; padding: .3em .7em; }
|
|
.guide-headerTimeslots { display: flex; }
|
|
.guide-channelTimeslotHeader {
|
|
width: 12vw; min-width: 150px; height: 2.8em; flex-shrink: 0; border: 0; cursor: pointer;
|
|
display: flex; align-items: center; justify-content: center;
|
|
}
|
|
.timeslotHeaders { flex: 1; overflow: hidden; font-size: 120%; font-weight: 500; }
|
|
.timeslotHeadersInner { position: relative; width: 100%; display: flex; }
|
|
.timeslotHeader { display: inline-flex; align-items: center; height: 2.8em; width: 16.6667%; text-indent: .3em; }
|
|
|
|
.guideVerticalScroller { display: flex; }
|
|
.channelsContainer { display: flex; flex-direction: column; flex-shrink: 0; width: 12vw; min-width: 150px; }
|
|
.guide-channelHeaderCell {
|
|
display: flex; align-items: center; height: 4.42em; width: 100%; cursor: pointer;
|
|
border: 0; text-align: left; overflow: hidden; position: relative; font-size: inherit;
|
|
font-family: inherit; padding: 0;
|
|
}
|
|
.guideChannelNumber { margin: 0; }
|
|
.guideChannelName { margin-left: auto; margin-right: 1em; overflow: hidden; text-overflow: ellipsis; }
|
|
.programGrid { flex-grow: 1; overflow: hidden; }
|
|
.programContainer { position: relative; }
|
|
.channelPrograms { position: relative; height: 4.42em; width: 100%; }
|
|
.programCell {
|
|
position: absolute; top: 0; bottom: 0; cursor: pointer; text-align: left;
|
|
display: flex; align-items: center; overflow: hidden; border: 0;
|
|
font-family: inherit; font-size: inherit; padding: 0; margin: 0;
|
|
}
|
|
.guideProgramName { display: flex; flex-direction: column; justify-content: center; padding: 0 .7em; overflow: hidden; width: 100%; }
|
|
.guideProgramNameText { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.guideProgramSecondaryInfo { display: flex; align-items: center; gap: .35em; margin-top: .15em; }
|
|
.guide-programTextIcon { padding: .16em .35em; font-size: .74em; }
|
|
|
|
/* --- components screen geometry (chunk 14245 + main bundle) --- */
|
|
.nowPlayingBar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; text-align: center; }
|
|
.nowPlayingBarPositionContainer { position: relative; height: 0; }
|
|
.nowPlayingBarPositionSlider { width: 100%; margin: 0; position: relative; top: -.3em; }
|
|
.nowPlayingBarTop { display: flex; align-items: center; height: 4.2em; padding: 0 .8em; }
|
|
.nowPlayingBarInfoContainer { display: flex; align-items: center; height: 100%; width: 40%; overflow: hidden; }
|
|
.nowPlayingBar .nowPlayingImage { height: 70%; width: 4.2em; flex-shrink: 0; background-size: contain; }
|
|
.nowPlayingBarText { flex-grow: 1; font-size: 92%; margin-left: .5em; text-align: left; }
|
|
.nowPlayingBarCenter { display: flex; align-items: center; justify-content: center; flex-grow: 1; gap: .2em; }
|
|
.nowPlayingBarRight { display: flex; align-items: center; justify-content: flex-end; flex-shrink: 0; margin-left: auto; }
|
|
.nowPlayingBarCurrentTime { display: inline-block; padding-left: 1.5em; }
|
|
|
|
.dashboardSection { margin-bottom: 1.1em; }
|
|
.sessionNowPlayingName { margin: 0 0 .2em; }
|
|
.sessionNowPlayingTime, .sessionAppName, .sessionAppInfo { font-size: .88em; }
|
|
.sessionAppName { margin-top: .5em; }
|
|
.itemProgressBar { height: .5em; width: 100%; max-width: 460px; margin: .45em 0; position: relative; }
|
|
.itemProgressBarForeground { height: 100%; }
|
|
|
|
.alphaPicker { display: flex; gap: .3em; flex-wrap: wrap; }
|
|
.alphaPickerButton { width: 2.2em; height: 2.2em; border: 0; cursor: pointer; background: none; font-family: inherit; }
|
|
|
|
.iconOsd { display: flex; align-items: center; gap: .7em; padding: .8em 1.1em; }
|
|
.iconOsdIcon { font-size: 1.4em; }
|
|
.iconOsdProgressOuter { width: 9em; height: .55em; overflow: hidden; }
|
|
.iconOsdProgressInner { height: 100%; }
|
|
.toast { padding: .7em 1.3em; display: inline-block; }
|
|
|
|
.listItem { display: flex; align-items: center; gap: .8em; padding: .6em .8em; cursor: pointer; }
|
|
.listItemBody { display: flex; flex-direction: column; }
|
|
.listItemBodyText { margin: 0; }
|
|
.listItemImage {
|
|
width: 3.4em; height: 3.4em; border-radius: 7px; flex-shrink: 0;
|
|
background: linear-gradient(160deg,#33587e,#1b3049);
|
|
display: flex; align-items: center; justify-content: center; font-size: 1.3em;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<!-- ======================= 1. FLAMENET CENTRAL (home) ======================= -->
|
|
<div class="screen active" id="s-home">
|
|
<div class="skinHeader skinHeader-withBackground">
|
|
<div class="headerLeft">
|
|
<button class="headerButton paper-icon-button-light">☰</button>
|
|
<h3 class="pageTitle">FlameNet Central</h3>
|
|
<div class="headerRight">
|
|
<button class="headerButton paper-icon-button-light">🔍</button>
|
|
<button class="headerButton paper-icon-button-light">⚙</button>
|
|
<button class="headerButton paper-icon-button-light">👤</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="layoutRow">
|
|
<div class="mainDrawer">
|
|
<div class="drawerContent mainDrawer-scrollContainer">
|
|
<a class="navMenuOption navMenuOption-selected"><span class="navMenuOptionIcon">●</span><span class="navMenuOptionText">Now Playing List</span></a>
|
|
<a class="navMenuOption"><span class="navMenuOptionIcon">📺</span><span class="navMenuOptionText">Live TV</span></a>
|
|
<a class="navMenuOption"><span class="navMenuOptionIcon">📅</span><span class="navMenuOptionText">Channel Guide</span></a>
|
|
<a class="navMenuOption"><span class="navMenuOptionIcon">🎬</span><span class="navMenuOptionText">Movies on Demand</span></a>
|
|
<a class="navMenuOption"><span class="navMenuOptionIcon">📽</span><span class="navMenuOptionText">TV Shows</span></a>
|
|
<a class="navMenuOption"><span class="navMenuOptionIcon">🎵</span><span class="navMenuOptionText">Music</span></a>
|
|
<a class="navMenuOption"><span class="navMenuOptionIcon">🔴</span><span class="navMenuOptionText">To Do List</span></a>
|
|
<a class="navMenuOption"><span class="navMenuOptionIcon">⚙</span><span class="navMenuOptionText">Messages & Setup</span></a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="pageContent">
|
|
<div class="verticalSection">
|
|
<h2 class="sectionTitle">Continue Watching</h2>
|
|
<div class="itemsContainer">
|
|
<a class="card backdropCard"><div class="cardBox"><div class="cardScalable">
|
|
<div class="cardPadder cardPadder-backdrop"></div>
|
|
<div class="cardImageContainer" style="background:linear-gradient(140deg,#3b2f5e,#141024)">The Sopranos</div>
|
|
<div class="cardOverlayContainer"></div>
|
|
<div class="cardIndicators"><span class="indicator">S2 E4</span></div>
|
|
</div><div class="cardText cardText-first">The Sopranos</div><div class="cardText cardText-secondary">28 min left</div></div></a>
|
|
|
|
<a class="card backdropCard"><div class="cardBox"><div class="cardScalable">
|
|
<div class="cardPadder cardPadder-backdrop"></div>
|
|
<div class="cardImageContainer" style="background:linear-gradient(140deg,#0f3f3a,#07211f)">Law & Order</div>
|
|
<div class="cardOverlayContainer"></div>
|
|
<div class="cardIndicators"><span class="indicator">S9 E12</span></div>
|
|
</div><div class="cardText cardText-first">Law & Order</div><div class="cardText cardText-secondary">41 min left</div></div></a>
|
|
|
|
<a class="card backdropCard"><div class="cardBox"><div class="cardScalable">
|
|
<div class="cardPadder cardPadder-backdrop"></div>
|
|
<div class="cardImageContainer" style="background:linear-gradient(140deg,#5e3a1a,#231407)">Antiques Roadshow</div>
|
|
<div class="cardOverlayContainer"></div>
|
|
</div><div class="cardText cardText-first">Antiques Roadshow</div><div class="cardText cardText-secondary">12 min left</div></div></a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="verticalSection">
|
|
<h2 class="sectionTitle">Recorded This Week</h2>
|
|
<div class="itemsContainer">
|
|
<div class="listItem" style="width:100%"><div class="listItemImage">🔴</div>
|
|
<div class="listItemBody"><h3 class="listItemBodyText">Monday Night Football</h3>
|
|
<div class="listItemBodyText listItemBodyText-secondary">CH 206 · Mon 8:00 PM · 3h 15m</div></div></div>
|
|
<div class="listItem" style="width:100%"><div class="listItemImage">📺</div>
|
|
<div class="listItemBody"><h3 class="listItemBodyText">Seinfeld — The Contest</h3>
|
|
<div class="listItemBodyText listItemBodyText-secondary">CH 112 · Tue 7:30 PM · 30m</div></div></div>
|
|
<div class="listItem" style="width:100%"><div class="listItemImage">🎬</div>
|
|
<div class="listItemBody"><h3 class="listItemBodyText">The Matrix</h3>
|
|
<div class="listItemBodyText listItemBodyText-secondary">CH 301 · Wed 9:00 PM · 2h 16m</div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- ======================= 2. CHANNEL GUIDE ======================= -->
|
|
<div class="screen" id="s-guide">
|
|
<div class="skinHeader skinHeader-withBackground">
|
|
<div class="headerLeft">
|
|
<button class="headerButton paper-icon-button-light">☰</button>
|
|
<h3 class="pageTitle">Channel Guide</h3>
|
|
<div class="headerRight">
|
|
<button class="headerButton paper-icon-button-light">🔍</button>
|
|
<button class="headerButton paper-icon-button-light">⚙</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="tvguide">
|
|
<div class="tvGuideHeader">
|
|
<div class="guideHeaderDateSelection">
|
|
<button class="guide-date-tab-button emby-tab-button emby-tab-button-active">Today</button>
|
|
<button class="guide-date-tab-button emby-tab-button">Fri 8</button>
|
|
<button class="guide-date-tab-button emby-tab-button">Sat 9</button>
|
|
<button class="guide-date-tab-button emby-tab-button">Sun 10</button>
|
|
</div>
|
|
<div class="guide-headerTimeslots">
|
|
<button class="guide-channelTimeslotHeader"></button>
|
|
<div class="timeslotHeaders">
|
|
<div class="timeslotHeadersInner">
|
|
<div class="timeslotHeader">7:00 PM</div>
|
|
<div class="timeslotHeader">7:30 PM</div>
|
|
<div class="timeslotHeader">8:00 PM</div>
|
|
<div class="timeslotHeader">8:30 PM</div>
|
|
<div class="timeslotHeader">9:00 PM</div>
|
|
<div class="timeslotHeader">9:30 PM</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="guideVerticalScroller">
|
|
<div class="channelsContainer">
|
|
<button class="guide-channelHeaderCell"><h3 class="guideChannelNumber">102</h3><div class="guideChannelName">TNT</div></button>
|
|
<button class="guide-channelHeaderCell"><h3 class="guideChannelNumber">112</h3><div class="guideChannelName">TBS</div></button>
|
|
<button class="guide-channelHeaderCell"><h3 class="guideChannelNumber">206</h3><div class="guideChannelName">ESPN</div></button>
|
|
<button class="guide-channelHeaderCell"><h3 class="guideChannelNumber">301</h3><div class="guideChannelName">HBO</div></button>
|
|
<button class="guide-channelHeaderCell"><h3 class="guideChannelNumber">044</h3><div class="guideChannelName">Discovery</div></button>
|
|
<button class="guide-channelHeaderCell"><h3 class="guideChannelNumber">318</h3><div class="guideChannelName">AMC</div></button>
|
|
<button class="guide-channelHeaderCell"><h3 class="guideChannelNumber">029</h3><div class="guideChannelName">Cartoon Net</div></button>
|
|
</div>
|
|
|
|
<div class="programGrid">
|
|
<div class="programContainer">
|
|
|
|
<div class="channelPrograms">
|
|
<button class="programCell" style="left:0%;width:33.33%"><div class="guideProgramName">
|
|
<div class="guideProgramNameText">NBA on TNT: Bulls at Knicks</div>
|
|
<div class="guideProgramSecondaryInfo"><span class="guide-programTextIcon liveTvProgram">LIVE</span><span class="guide-programTextIcon guideHdIcon">HD</span>7:00 - 9:00 PM</div>
|
|
</div></button>
|
|
<button class="programCell" style="left:33.33%;width:33.34%"><div class="guideProgramName">
|
|
<div class="guideProgramNameText">Inside the NBA</div>
|
|
<div class="guideProgramSecondaryInfo"><span class="guide-programTextIcon newTvProgram">NEW</span>9:00 - 10:00 PM</div>
|
|
</div></button>
|
|
<button class="programCell" style="left:66.67%;width:33.33%"><div class="guideProgramName">
|
|
<div class="guideProgramNameText">Law & Order</div>
|
|
<div class="guideProgramSecondaryInfo"><span class="guide-programTextIcon repeatTvProgram">REP</span>10:00 - 11:00 PM</div>
|
|
</div></button>
|
|
</div>
|
|
|
|
<div class="channelPrograms">
|
|
<button class="programCell" style="left:0%;width:16.66%"><div class="guideProgramName">
|
|
<div class="guideProgramNameText">Seinfeld</div>
|
|
<div class="guideProgramSecondaryInfo"><span class="guide-programTextIcon repeatTvProgram">REP</span>7:00 PM</div>
|
|
</div></button>
|
|
<button class="programCell" style="left:16.66%;width:16.67%"><div class="guideProgramName">
|
|
<div class="guideProgramNameText">Friends</div>
|
|
<div class="guideProgramSecondaryInfo">7:30 PM</div>
|
|
</div></button>
|
|
<button class="programCell" style="left:33.33%;width:33.34%"><div class="guideProgramName">
|
|
<div class="guideProgramNameText">Movie: Ghostbusters</div>
|
|
<div class="guideProgramSecondaryInfo"><span class="guide-programTextIcon guideHdIcon">HD</span>8:00 - 10:00 PM</div>
|
|
</div></button>
|
|
<button class="programCell" style="left:66.67%;width:33.33%"><div class="guideProgramName">
|
|
<div class="guideProgramNameText">Family Guy</div>
|
|
<div class="guideProgramSecondaryInfo">10:00 PM</div>
|
|
</div></button>
|
|
</div>
|
|
|
|
<div class="channelPrograms">
|
|
<button class="programCell" style="left:0%;width:16.66%"><div class="guideProgramName">
|
|
<div class="guideProgramNameText">SportsCenter</div>
|
|
<div class="guideProgramSecondaryInfo"><span class="guide-programTextIcon liveTvProgram">LIVE</span>7:00 PM</div>
|
|
</div></button>
|
|
<button class="programCell" style="left:16.66%;width:66.68%"><div class="guideProgramName">
|
|
<div class="guideProgramNameText">Monday Night Football: Packers at Vikings</div>
|
|
<div class="guideProgramSecondaryInfo"><span class="guide-programTextIcon liveTvProgram">LIVE</span><span class="guide-programTextIcon guideHdIcon">HD</span>7:30 - 11:00 PM</div>
|
|
</div></button>
|
|
<button class="programCell" style="left:83.34%;width:16.66%"><div class="guideProgramName">
|
|
<div class="guideProgramNameText">NFL PrimeTime</div>
|
|
<div class="guideProgramSecondaryInfo">11:00 PM</div>
|
|
</div></button>
|
|
</div>
|
|
|
|
<div class="channelPrograms">
|
|
<button class="programCell" style="left:0%;width:50%"><div class="guideProgramName">
|
|
<div class="guideProgramNameText">The Sopranos: Pine Barrens</div>
|
|
<div class="guideProgramSecondaryInfo"><span class="guide-programTextIcon newTvProgram">NEW</span><span class="guide-programTextIcon guideHdIcon">HD</span>7:00 - 8:30 PM</div>
|
|
</div></button>
|
|
<button class="programCell" style="left:50%;width:50%"><div class="guideProgramName">
|
|
<div class="guideProgramNameText">Movie: The Matrix</div>
|
|
<div class="guideProgramSecondaryInfo"><span class="guide-programTextIcon guideHdIcon">HD</span>8:30 - 11:00 PM</div>
|
|
</div></button>
|
|
</div>
|
|
|
|
<div class="channelPrograms">
|
|
<button class="programCell" style="left:0%;width:33.33%"><div class="guideProgramName">
|
|
<div class="guideProgramNameText">Shark Week: Air Jaws</div>
|
|
<div class="guideProgramSecondaryInfo"><span class="guide-programTextIcon newTvProgram">NEW</span>7:00 - 9:00 PM</div>
|
|
</div></button>
|
|
<button class="programCell" style="left:33.33%;width:16.67%"><div class="guideProgramName">
|
|
<div class="guideProgramNameText">MythBusters</div>
|
|
<div class="guideProgramSecondaryInfo">9:00 PM</div>
|
|
</div></button>
|
|
<button class="programCell" style="left:50%;width:50%"><div class="guideProgramName">
|
|
<div class="guideProgramNameText">How It's Made Marathon</div>
|
|
<div class="guideProgramSecondaryInfo"><span class="guide-programTextIcon repeatTvProgram">REP</span>9:30 PM - 12:00 AM</div>
|
|
</div></button>
|
|
</div>
|
|
|
|
<div class="channelPrograms">
|
|
<button class="programCell" style="left:0%;width:50%"><div class="guideProgramName">
|
|
<div class="guideProgramNameText">Movie: Goodfellas</div>
|
|
<div class="guideProgramSecondaryInfo"><span class="guide-programTextIcon guideHdIcon">HD</span>7:00 - 9:30 PM</div>
|
|
</div></button>
|
|
<button class="programCell" style="left:50%;width:50%"><div class="guideProgramName">
|
|
<div class="guideProgramNameText">Mad Men</div>
|
|
<div class="guideProgramSecondaryInfo"><span class="guide-programTextIcon newTvProgram">NEW</span>9:30 - 10:30 PM</div>
|
|
</div></button>
|
|
</div>
|
|
|
|
<div class="channelPrograms">
|
|
<button class="programCell" style="left:0%;width:16.66%"><div class="guideProgramName">
|
|
<div class="guideProgramNameText">Dexter's Laboratory</div>
|
|
<div class="guideProgramSecondaryInfo">7:00 PM</div>
|
|
</div></button>
|
|
<button class="programCell" style="left:16.66%;width:16.67%"><div class="guideProgramName">
|
|
<div class="guideProgramNameText">Johnny Bravo</div>
|
|
<div class="guideProgramSecondaryInfo">7:30 PM</div>
|
|
</div></button>
|
|
<button class="programCell" style="left:33.33%;width:16.67%"><div class="guideProgramName">
|
|
<div class="guideProgramNameText">Ed, Edd n Eddy</div>
|
|
<div class="guideProgramSecondaryInfo">8:00 PM</div>
|
|
</div></button>
|
|
<button class="programCell" style="left:50%;width:50%"><div class="guideProgramName">
|
|
<div class="guideProgramNameText">Toonami: Dragon Ball Z</div>
|
|
<div class="guideProgramSecondaryInfo"><span class="guide-programTextIcon repeatTvProgram">REP</span>8:30 - 11:00 PM</div>
|
|
</div></button>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- ======================= 3. ON DEMAND ======================= -->
|
|
<div class="screen" id="s-vod">
|
|
<div class="skinHeader skinHeader-withBackground">
|
|
<div class="headerLeft">
|
|
<button class="headerButton paper-icon-button-light">☰</button>
|
|
<h3 class="pageTitle">Movies on Demand</h3>
|
|
<div class="headerRight">
|
|
<button class="headerButton paper-icon-button-light">🔍</button>
|
|
<button class="headerButton paper-icon-button-light">⚙</button>
|
|
</div>
|
|
</div>
|
|
<div class="headerTabs">
|
|
<button class="emby-tab-button emby-tab-button-active">Movies</button>
|
|
<button class="emby-tab-button">Collections</button>
|
|
<button class="emby-tab-button">Genres</button>
|
|
<button class="emby-tab-button">Favorites</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="pageContent">
|
|
<div class="verticalSection">
|
|
<h2 class="sectionTitle">Showcase — New Arrivals</h2>
|
|
<div class="itemsContainer" id="vodGrid"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- ======================= 4. COMPONENTS ======================= -->
|
|
<div class="screen" id="s-parts">
|
|
<div class="skinHeader skinHeader-withBackground">
|
|
<div class="headerLeft">
|
|
<button class="headerButton paper-icon-button-light">☰</button>
|
|
<h3 class="pageTitle">Components</h3>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="pageContent">
|
|
<div class="verticalSection">
|
|
<h2 class="sectionTitle">Dashboard — Active Sessions</h2>
|
|
<div class="dashboardSection">
|
|
<div class="sessionNowPlayingContent">
|
|
<h3 class="sessionNowPlayingName">Monday Night Football</h3>
|
|
<div class="sessionNowPlayingTime">1:42:08 / 3:15:00</div>
|
|
<div class="itemProgressBar"><div class="itemProgressBarForeground" style="width:52%"></div></div>
|
|
<div class="sessionAppName">Jellyfin Web · Chrome</div>
|
|
<div class="sessionAppInfo">FlameNet · 10.0.0.42</div>
|
|
</div>
|
|
</div>
|
|
<div class="dashboardSection">
|
|
<div class="sessionNowPlayingContent">
|
|
<h3 class="sessionNowPlayingName">The Sopranos — Pine Barrens</h3>
|
|
<div class="sessionNowPlayingTime">0:12:41 / 0:58:00</div>
|
|
<div class="itemProgressBar"><div class="itemProgressBarForeground" style="width:22%"></div></div>
|
|
<div class="sessionAppName">Infuse · Apple TV</div>
|
|
<div class="sessionAppInfo">Direct Play</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="verticalSection">
|
|
<h2 class="sectionTitle">Search & Alpha Picker</h2>
|
|
<div style="display:flex;align-items:center;gap:.7em;margin-bottom:1em">
|
|
<span class="searchfields-icon">🔍</span>
|
|
<input class="emby-input" style="flex:1;max-width:380px" value="sopranos" >
|
|
</div>
|
|
<div class="alphaPicker">
|
|
<button class="alphaPickerButton">#</button><button class="alphaPickerButton">A</button>
|
|
<button class="alphaPickerButton">B</button><button class="alphaPickerButton alphaPickerButton-selected">C</button>
|
|
<button class="alphaPickerButton">D</button><button class="alphaPickerButton">E</button>
|
|
<button class="alphaPickerButton">F</button><button class="alphaPickerButton">G</button>
|
|
<button class="alphaPickerButton">H</button><button class="alphaPickerButton">I</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="verticalSection">
|
|
<h2 class="sectionTitle">Popups</h2>
|
|
<div style="display:flex;gap:1.4em;align-items:center;flex-wrap:wrap">
|
|
<div class="iconOsd">
|
|
<span class="iconOsdIcon">🔊</span>
|
|
<div class="iconOsdProgressOuter"><div class="iconOsdProgressInner" style="width:68%"></div></div>
|
|
</div>
|
|
<div class="toast">Recording scheduled — Monday Night Football</div>
|
|
<button class="emby-button raised">Watch Now</button>
|
|
<button class="emby-button raised button-submit">Record</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- now playing bar, pinned bottom -->
|
|
<div class="nowPlayingBar">
|
|
<div class="nowPlayingBarPositionContainer">
|
|
<input type="range" class="nowPlayingBarPositionSlider mdl-slider" value="52" >
|
|
</div>
|
|
<div class="nowPlayingBarTop">
|
|
<div class="nowPlayingBarInfoContainer">
|
|
<div class="nowPlayingImage" style="background:linear-gradient(150deg,#4a3a12,#191305)"></div>
|
|
<div class="nowPlayingBarText">Monday Night Football<br><span style="opacity:.75;font-weight:400">ESPN · CH 206</span></div>
|
|
</div>
|
|
<div class="nowPlayingBarCenter">
|
|
<button class="headerButton paper-icon-button-light">⏮</button>
|
|
<button class="headerButton paper-icon-button-light">⏯</button>
|
|
<button class="headerButton paper-icon-button-light">⏭</button>
|
|
<span class="nowPlayingBarCurrentTime">1:42:08 / 3:15:00</span>
|
|
</div>
|
|
<div class="nowPlayingBarRight">
|
|
<button class="headerButton paper-icon-button-light">🔊</button>
|
|
<button class="headerButton paper-icon-button-light">☰</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div id="switcher">
|
|
<button data-t="s-home" class="on">FlameNet Central</button>
|
|
<button data-t="s-guide">Channel Guide</button>
|
|
<button data-t="s-vod">On Demand</button>
|
|
<button data-t="s-parts">Components</button>
|
|
</div>
|
|
|
|
<script>
|
|
// harness only: fake poster grid + screen switching
|
|
var titles = [
|
|
["The Matrix","1999",["#1d3f2a","#07140d"]],
|
|
["Fight Club","1999",["#4a1f1f","#180909"]],
|
|
["Goodfellas","1990",["#4a3a12","#191305"]],
|
|
["Jurassic Park","1993",["#1b3f4a","#08181c"]],
|
|
["Pulp Fiction","1994",["#4a1230","#1a0611"]],
|
|
["Terminator 2","1991",["#2a2a35","#0d0d12"]],
|
|
["Heat","1995",["#173049","#07131d"]],
|
|
["The Big Lebowski","1998",["#3d4a12","#151a05"]],
|
|
["Fargo","1996",["#39496b","#141828"]],
|
|
["Toy Story","1995",["#4a3812","#1a1305"]],
|
|
["Se7en","1995",["#1f1f1f","#080808"]],
|
|
["Ghostbusters","1984",["#0f3f3a","#051917"]]
|
|
];
|
|
var g = document.getElementById('vodGrid');
|
|
titles.forEach(function (t) {
|
|
var a = document.createElement('a');
|
|
a.className = 'card';
|
|
a.innerHTML =
|
|
'<div class="cardBox"><div class="cardScalable">' +
|
|
'<div class="cardPadder"></div>' +
|
|
'<div class="cardImageContainer" style="background:linear-gradient(150deg,' + t[2][0] + ',' + t[2][1] + ')">' + t[0] + '</div>' +
|
|
'<div class="cardOverlayContainer"></div>' +
|
|
'</div>' +
|
|
'<div class="cardText cardText-first">' + t[0] + '</div>' +
|
|
'<div class="cardText cardText-secondary">' + t[1] + '</div></div>';
|
|
g.appendChild(a);
|
|
});
|
|
|
|
function show(id) {
|
|
if (!document.getElementById(id)) return false;
|
|
[].forEach.call(document.querySelectorAll('#switcher button'), function (x) {
|
|
x.classList.toggle('on', x.dataset.t === id);
|
|
});
|
|
[].forEach.call(document.querySelectorAll('.screen'), function (x) {
|
|
x.classList.toggle('active', x.id === id);
|
|
});
|
|
return true;
|
|
}
|
|
|
|
document.getElementById('switcher').addEventListener('click', function (e) {
|
|
var b = e.target.closest('button');
|
|
if (!b) return;
|
|
show(b.dataset.t);
|
|
history.replaceState(null, '', '#' + b.dataset.t.replace(/^s-/, ''));
|
|
});
|
|
|
|
// deep-link a screen: preview.html#guide / #vod / #parts / #home
|
|
(function () {
|
|
var h = (location.hash || '').replace(/^#/, '');
|
|
if (h) show(h.indexOf('s-') === 0 ? h : 's-' + h);
|
|
})();
|
|
window.addEventListener('hashchange', function () {
|
|
var h = (location.hash || '').replace(/^#/, '');
|
|
if (h) show(h.indexOf('s-') === 0 ? h : 's-' + h);
|
|
});
|
|
</script>
|
|
|
|
<!-- optional extras layer (sounds + guide NOW line); theme works without it -->
|
|
<script>
|
|
/* ===== flamenet-extras.js inlined ===== */
|
|
/* =============================================================================
|
|
FlameNet Classic — extras
|
|
-----------------------------------------------------------------------------
|
|
The things Custom CSS cannot do:
|
|
|
|
1. Navigation sounds — synthesised set-top "bloop"/"ding", no audio files
|
|
2. Guide NOW line — a live red time marker down the channel guide
|
|
3. Boot chime — one tone on first load
|
|
|
|
OPTIONAL. The theme is complete without this file; nothing here is required
|
|
for flamenet.css to work.
|
|
|
|
Install: see install-extras.sh (injects one <script> tag into index.html).
|
|
Toggle at runtime from the browser console:
|
|
|
|
FlameNet.sound(false) // mute (persists in localStorage)
|
|
FlameNet.sound(true) // unmute
|
|
FlameNet.nowLine(false) // hide the guide time marker
|
|
FlameNet.status() // what's on
|
|
|
|
Everything is defensive: if Jellyfin's DOM changes, features disable
|
|
themselves rather than throwing. No globals beyond `window.FlameNet`.
|
|
============================================================================= */
|
|
|
|
(function () {
|
|
'use strict';
|
|
|
|
if (window.FlameNet) return; // idempotent — double-inject is a no-op
|
|
|
|
var LS = 'flamenet.extras';
|
|
var prefs = { sound: true, nowLine: true, volume: 0.22 };
|
|
|
|
try {
|
|
var saved = JSON.parse(localStorage.getItem(LS) || '{}');
|
|
Object.keys(saved).forEach(function (k) {
|
|
if (k in prefs) prefs[k] = saved[k];
|
|
});
|
|
} catch (e) { /* corrupt or blocked storage — fall back to defaults */ }
|
|
|
|
function save() {
|
|
try { localStorage.setItem(LS, JSON.stringify(prefs)); } catch (e) {}
|
|
}
|
|
|
|
/* ---------------------------------------------------------------------------
|
|
1. SOUND
|
|
Synthesised with Web Audio — no asset files, so nothing to 404 and nothing
|
|
for a CSP to block. Two voices:
|
|
bloop : short triangle blip, for moving the selection
|
|
ding : two-tone rise, for committing to something
|
|
--------------------------------------------------------------------------- */
|
|
|
|
var ctx = null;
|
|
|
|
function audio() {
|
|
if (ctx) return ctx;
|
|
var AC = window.AudioContext || window.webkitAudioContext;
|
|
if (!AC) return null;
|
|
try { ctx = new AC(); } catch (e) { return null; }
|
|
return ctx;
|
|
}
|
|
|
|
// Browsers block audio until the user has interacted. Resume on the first
|
|
// real gesture, then stop listening.
|
|
function unlock() {
|
|
var c = audio();
|
|
if (c && c.state === 'suspended') c.resume();
|
|
window.removeEventListener('pointerdown', unlock, true);
|
|
window.removeEventListener('keydown', unlock, true);
|
|
}
|
|
window.addEventListener('pointerdown', unlock, true);
|
|
window.addEventListener('keydown', unlock, true);
|
|
|
|
function tone(freq, dur, type, delay, peak) {
|
|
var c = audio();
|
|
if (!c || c.state !== 'running') return;
|
|
var t0 = c.currentTime + (delay || 0);
|
|
var osc = c.createOscillator();
|
|
var gain = c.createGain();
|
|
osc.type = type || 'triangle';
|
|
osc.frequency.setValueAtTime(freq, t0);
|
|
// quick attack, exponential decay — the percussive set-top blip
|
|
gain.gain.setValueAtTime(0.0001, t0);
|
|
gain.gain.exponentialRampToValueAtTime(peak || prefs.volume, t0 + 0.008);
|
|
gain.gain.exponentialRampToValueAtTime(0.0001, t0 + dur);
|
|
osc.connect(gain).connect(c.destination);
|
|
osc.start(t0);
|
|
osc.stop(t0 + dur + 0.02);
|
|
}
|
|
|
|
var lastSound = 0;
|
|
function play(kind) {
|
|
if (!prefs.sound) return;
|
|
var now = Date.now();
|
|
if (now - lastSound < 45) return; // don't machine-gun on fast scrolling
|
|
lastSound = now;
|
|
if (kind === 'bloop') tone(660, 0.09, 'triangle');
|
|
else if (kind === 'ding') { tone(784, 0.10, 'triangle'); tone(1175, 0.16, 'triangle', 0.07); }
|
|
else if (kind === 'boot') { tone(523, 0.14, 'triangle'); tone(784, 0.14, 'triangle', 0.11);
|
|
tone(1047, 0.28, 'triangle', 0.22); }
|
|
}
|
|
|
|
// What counts as "moving the selection" vs "choosing something".
|
|
var NAV = '.navMenuOption, .listItem, .card, .programCell, .guide-channelHeaderCell,' +
|
|
' .alphaPickerButton, .emby-tab-button, .actionSheetMenuItem';
|
|
var GO = '.emby-button, .raised, .cardOverlayButton, .detailButton, .paper-icon-button-light';
|
|
|
|
var lastNav = null;
|
|
document.addEventListener('mouseover', function (e) {
|
|
var t = e.target.closest && e.target.closest(NAV);
|
|
if (t && t !== lastNav) { lastNav = t; play('bloop'); }
|
|
}, true);
|
|
|
|
document.addEventListener('focusin', function (e) {
|
|
var t = e.target.closest && e.target.closest(NAV);
|
|
if (t && t !== lastNav) { lastNav = t; play('bloop'); }
|
|
}, true);
|
|
|
|
document.addEventListener('click', function (e) {
|
|
if (!e.target.closest) return;
|
|
if (e.target.closest(GO) || e.target.closest(NAV)) play('ding');
|
|
}, true);
|
|
|
|
/* ---------------------------------------------------------------------------
|
|
2. GUIDE "NOW" LINE
|
|
Jellyfin's guide lays programmes out as absolutely-positioned .programCell
|
|
inside .channelPrograms, using percentage left/width across the visible time
|
|
span. We read that span off the time-slot headers and drop a red marker at
|
|
the current time. Pure overlay: nothing in the guide's own layout is touched,
|
|
so it cannot desync the channel column (see the row-pitch note in README).
|
|
--------------------------------------------------------------------------- */
|
|
|
|
var lineTimer = null;
|
|
|
|
function parseSlotTime(text) {
|
|
// ".timeslotHeader" renders localised times like "7:00 PM" or "19:00"
|
|
var m = /(\d{1,2}):(\d{2})\s*([AaPp])?/.exec(text || '');
|
|
if (!m) return null;
|
|
var h = parseInt(m[1], 10), min = parseInt(m[2], 10);
|
|
if (m[3]) {
|
|
var pm = /[Pp]/.test(m[3]);
|
|
if (h === 12) h = pm ? 12 : 0; else if (pm) h += 12;
|
|
}
|
|
return h * 60 + min;
|
|
}
|
|
|
|
function drawNowLine() {
|
|
var grid = document.querySelector('.programGrid');
|
|
var inner = document.querySelector('.timeslotHeadersInner');
|
|
var slots = document.querySelectorAll('.timeslotHeader');
|
|
|
|
if (!prefs.nowLine || !grid || !inner || slots.length < 2) {
|
|
var stale = document.getElementById('fnNowLine');
|
|
if (stale) stale.remove();
|
|
return;
|
|
}
|
|
|
|
var startMin = parseSlotTime(slots[0].textContent);
|
|
var secondMin = parseSlotTime(slots[1].textContent);
|
|
if (startMin === null || secondMin === null) return;
|
|
|
|
var step = secondMin - startMin;
|
|
if (step <= 0) step += 24 * 60; // wrapped past midnight
|
|
var spanMin = step * slots.length;
|
|
|
|
var d = new Date();
|
|
var nowMin = d.getHours() * 60 + d.getMinutes() + d.getSeconds() / 60;
|
|
var offset = nowMin - startMin;
|
|
if (offset < 0) offset += 24 * 60;
|
|
|
|
var line = document.getElementById('fnNowLine');
|
|
|
|
// outside the visible window (guide scrolled to another time) — hide it
|
|
if (offset < 0 || offset > spanMin) {
|
|
if (line) line.style.display = 'none';
|
|
return;
|
|
}
|
|
|
|
var container = grid.querySelector('.programContainer') || grid;
|
|
if (!line) {
|
|
line = document.createElement('div');
|
|
line.id = 'fnNowLine';
|
|
line.setAttribute('aria-hidden', 'true');
|
|
line.style.cssText =
|
|
'position:absolute;top:0;bottom:0;width:2px;z-index:6;pointer-events:none;' +
|
|
'background:#e0453c;box-shadow:0 0 6px 1px rgba(224,69,60,.85);';
|
|
var dot = document.createElement('div');
|
|
dot.style.cssText =
|
|
'position:absolute;top:-4px;left:-4px;width:10px;height:10px;border-radius:50%;' +
|
|
'background:#e0453c;box-shadow:0 0 6px 1px rgba(224,69,60,.85);';
|
|
line.appendChild(dot);
|
|
if (getComputedStyle(container).position === 'static') {
|
|
container.style.position = 'relative';
|
|
}
|
|
container.appendChild(line);
|
|
}
|
|
line.style.display = '';
|
|
line.style.left = (offset / spanMin * 100).toFixed(4) + '%';
|
|
}
|
|
|
|
function startNowLine() {
|
|
if (lineTimer) clearInterval(lineTimer);
|
|
lineTimer = setInterval(function () {
|
|
try { drawNowLine(); } catch (e) { /* guide gone or markup changed */ }
|
|
}, 30000);
|
|
try { drawNowLine(); } catch (e) {}
|
|
}
|
|
|
|
// Jellyfin is a SPA: the guide mounts and unmounts without a page load, so
|
|
// watch for it rather than running once.
|
|
var mo = new MutationObserver(function () {
|
|
if (document.querySelector('.programGrid')) {
|
|
try { drawNowLine(); } catch (e) {}
|
|
}
|
|
});
|
|
|
|
function boot() {
|
|
try {
|
|
mo.observe(document.body, { childList: true, subtree: true });
|
|
} catch (e) {}
|
|
startNowLine();
|
|
play('boot');
|
|
}
|
|
|
|
if (document.readyState === 'loading') {
|
|
document.addEventListener('DOMContentLoaded', boot);
|
|
} else {
|
|
boot();
|
|
}
|
|
|
|
/* ---------------------------------------------------------------------------
|
|
3. PUBLIC API
|
|
--------------------------------------------------------------------------- */
|
|
|
|
window.FlameNet = {
|
|
sound: function (on) {
|
|
if (on === undefined) return prefs.sound;
|
|
prefs.sound = !!on; save();
|
|
if (prefs.sound) play('ding');
|
|
return prefs.sound;
|
|
},
|
|
volume: function (v) {
|
|
if (v === undefined) return prefs.volume;
|
|
prefs.volume = Math.max(0.01, Math.min(1, Number(v) || 0.22)); save();
|
|
play('bloop');
|
|
return prefs.volume;
|
|
},
|
|
nowLine: function (on) {
|
|
if (on === undefined) return prefs.nowLine;
|
|
prefs.nowLine = !!on; save();
|
|
try { drawNowLine(); } catch (e) {}
|
|
return prefs.nowLine;
|
|
},
|
|
status: function () {
|
|
return {
|
|
sound: prefs.sound,
|
|
volume: prefs.volume,
|
|
nowLine: prefs.nowLine,
|
|
audioContext: ctx ? ctx.state : 'not created',
|
|
guidePresent: !!document.querySelector('.programGrid')
|
|
};
|
|
},
|
|
_redraw: drawNowLine
|
|
};
|
|
})();
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|