mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-11 17:30:00 +02:00
Full visual overhaul from Cyber-Cinematic Glass to "Warm Cinema": warm charcoal (#0B0908), cream (#F3E9DF), ember (#D9541F). Fraunces (editorial serif) for display, Karla for body/UI. Design - app_colors: new palette, all existing token names preserved, plus posterScrim/heroScrim gradients and lift()/emberFocus() shadows - app_theme: new type scale, tighter radii, 20+ component themes - mobile_theme aligned on the same tokens - glass_container: opaque layered surfaces replace glassmorphism; adds GlassCard (hover + remote-focus states) and CinemaBackdrop - players and boot splash restyled (film-leader motif, no web fonts) Performance - remove every BackdropFilter (33 call sites): backdrop blur forced a full framebuffer read per frame per card, the main scroll jank source - bundle Fraunces/Karla as assets: google_fonts no longer fetches from fonts.gstatic.com at startup - drop the blocking hls.js CDN script from index.html; no Dart code ever used it, only the player iframes need it - self-host hls.js/mpegts.js and load them on demand, so ~213 KB of mpegts is never downloaded for HLS streams - bound image decode size on 10 sites: a 40-poster grid drops from ~240 MB to a few tens of MB of GPU memory Players (new shared engine: web/xf-player-core.js) - event-driven start instead of a 200 ms buffer poll plus a 1.5 s wait - initialLiveManifestSize 3 -> 1, liveSyncDurationCount 10 -> 2, startFragPrefetch on, testBandwidth off - MPEG-TS initial stash 512 KB -> 64 KB - adaptive escalation fast -> balanced -> safe on repeated stalls (60 s rolling window), applied live for HLS so there is no visible cut Pre-existing build breakage fixed along the way - undefined AppColors.shimmer, AppTheme.durationXs and spacing8/12/16/32 - broken relative imports in channel_card and quality_selector_widget - missing GlassCard widget and hasBorder/showShadow parameters Also resolves a leftover unmerged .claude/settings.local.json by keeping the remote version. Still broken (pre-existing, dead code, not reachable from main.dart): recommendations_provider.dart and continue_watching_widget.dart import a models/playlist.dart that no longer exists. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
151 lines
3.8 KiB
HTML
151 lines
3.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
|
|
<head>
|
|
<base href="$FLUTTER_BASE_HREF">
|
|
<meta charset="UTF-8">
|
|
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
|
|
<meta name="description" content="XtremFlow — streaming IPTV">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
|
<meta name="apple-mobile-web-app-title" content="XtremFlow">
|
|
<meta name="theme-color" content="#0B0908">
|
|
<meta name="viewport"
|
|
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
|
|
<title>XtremFlow</title>
|
|
|
|
<link rel="icon" type="image/png" href="favicon.png">
|
|
<link rel="apple-touch-icon" href="icons/Icon-192.png">
|
|
<link rel="manifest" href="manifest.json">
|
|
|
|
<style>
|
|
/* =============================================================
|
|
* Amorce « Warm Cinema » — charbon chaud, crème, braise.
|
|
* Aucune police web, aucun script tiers : rien ne retarde le boot.
|
|
* ============================================================= */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
background: radial-gradient(120% 90% at 22% 0%, #1A1310 0%, #0B0908 62%);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
overflow: hidden;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
:fullscreen,
|
|
::backdrop {
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
*:fullscreen,
|
|
*:fullscreen * {
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.boot {
|
|
text-align: center;
|
|
animation: rise 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
}
|
|
|
|
.mark {
|
|
font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
|
|
font-size: clamp(34px, 7vw, 58px);
|
|
font-weight: 600;
|
|
letter-spacing: 0.14em;
|
|
color: #F3E9DF;
|
|
text-transform: uppercase;
|
|
line-height: 1;
|
|
}
|
|
|
|
/* Le « W » d'XtremFlow porte la braise */
|
|
.mark em {
|
|
font-style: normal;
|
|
color: #D9541F;
|
|
}
|
|
|
|
/* Barre d'amorce : balayage lent, comme une pellicule qui se lance */
|
|
.leader {
|
|
position: relative;
|
|
width: min(240px, 56vw);
|
|
height: 2px;
|
|
margin: 26px auto 0;
|
|
background: rgba(243, 233, 223, 0.12);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.leader::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0 auto 0 0;
|
|
width: 42%;
|
|
background: linear-gradient(90deg, transparent, #D9541F, transparent);
|
|
animation: wipe 1150ms cubic-bezier(0.5, 0, 0.5, 1) infinite;
|
|
}
|
|
|
|
.caption {
|
|
margin-top: 16px;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.32em;
|
|
text-transform: uppercase;
|
|
color: rgba(243, 233, 223, 0.38);
|
|
}
|
|
|
|
@keyframes wipe {
|
|
from {
|
|
transform: translateX(-100%);
|
|
}
|
|
|
|
to {
|
|
transform: translateX(340%);
|
|
}
|
|
}
|
|
|
|
@keyframes rise {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(12px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.boot,
|
|
.leader::after {
|
|
animation-duration: 2.4s;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="boot">
|
|
<div class="mark">Xtrem<em>Flow</em></div>
|
|
<div class="leader"></div>
|
|
<div class="caption">Projection</div>
|
|
</div>
|
|
|
|
<!--
|
|
hls.js n'est plus chargé ici. Il était récupéré depuis un CDN de façon
|
|
BLOQUANTE avant flutter_bootstrap.js alors qu'aucun code Dart ne
|
|
l'utilise : seuls les iframes de lecture en ont besoin, et elles le
|
|
chargent désormais elles-mêmes, en local et à la demande.
|
|
-->
|
|
<script src="flutter_bootstrap.js" async></script>
|
|
</body>
|
|
|
|
</html>
|