Refonte de l'interface et nouveau nom : Bobinoo
- Thème « salle de cinéma » : fond salle obscure chaud (clair = papier crème), accent ambre par défaut (l'ancien rouge par défaut passe à l'ambre, préréglage Rouge conservé), coins presque droits - Polices embarquées : Gloock (titres), Onest (texte), Sometype Mono (codes d'épisode) ; Inter retirée - Accueil : bannière en carte avec pellicule d'épisodes, billets « Reprendre » avec talon +1, jaquettes VHS pour « À voir » ; pellicule aussi sur la fiche et le revisionnage - Plus de petites capitales espacées ni de titres bicolores ; métadonnées sans points médians - Nouvelle icône (bobine), pages légales/404 et carte de partage aux nouvelles couleurs - Kino → Bobinoo partout (18 langues, PWA, pages légales) ; identifiants techniques inchangés Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
This commit is contained in:
80 files changed
+697
-544
No files matched your search
+140
-60
@@ -1,29 +1,43 @@
|
||||
@import 'tailwindcss';
|
||||
|
||||
/*
|
||||
* Thème Kino — fond noir + une couleur d'accent (rouge par défaut, modifiable dans Réglages → Thème).
|
||||
* Pas de dégradés ni d'ombres : aplats, filets de 1px, boutons pilule.
|
||||
* Une seule police (Inter), comme une appli type Letterboxd.
|
||||
* Thème Bobinoo — une salle de cinéma : fond « salle obscure » chaud (ou papier crème en clair),
|
||||
* une seule couleur d'accent (ambre par défaut, modifiable dans Réglages → Thème).
|
||||
* Aplats et filets de 1px, coins presque droits (billets, jaquettes, pellicule).
|
||||
* Polices : Gloock pour les titres, Onest pour tout le reste (texte, boutons, données),
|
||||
* Sometype Mono uniquement pour les codes d'épisode (S1 É19).
|
||||
*/
|
||||
@theme {
|
||||
--color-bg: #0a0a0a;
|
||||
--color-surface: #111110;
|
||||
--color-surface-2: #181817;
|
||||
--color-line: #262624;
|
||||
--color-line-strong: #3a3936;
|
||||
--color-ink: #f4f2ee;
|
||||
--color-ink-2: #b3b0a8;
|
||||
--color-ink-3: #8a8781;
|
||||
/* Rouge pour texte / icônes / filets sur fond noir */
|
||||
--color-accent: #ef4444;
|
||||
/* Rouge plein (boutons), avec texte blanc */
|
||||
--color-accent-fill: #d11f2f;
|
||||
/* Texte posé sur un bouton plein (blanc ou noir selon le thème) */
|
||||
--color-on-accent: #ffffff;
|
||||
--color-bg: #14120f;
|
||||
--color-surface: #1d1a16;
|
||||
--color-surface-2: #26221c;
|
||||
--color-line: #2f2a23;
|
||||
--color-line-strong: #453e33;
|
||||
--color-ink: #f1eadd;
|
||||
--color-ink-2: #bcb2a1;
|
||||
--color-ink-3: #948a79;
|
||||
/* Accent pour texte / icônes / filets (posé par JS selon la couleur choisie) */
|
||||
--color-accent: #f0a63a;
|
||||
/* Accent plein (boutons) */
|
||||
--color-accent-fill: #f0a63a;
|
||||
/* Texte posé sur un bouton plein (clair ou sombre selon la couleur) */
|
||||
--color-on-accent: #17130d;
|
||||
/* Voile sombre derrière les fenêtres (identique dans toutes les apparences) */
|
||||
--color-scrim: rgb(0 0 0 / 0.7);
|
||||
/* Pellicule (progression des épisodes) : sombre, et couleur papier en thème clair */
|
||||
--color-film: #0b0a08;
|
||||
--color-film-frame: #2e2820;
|
||||
|
||||
--font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
|
||||
--font-sans: 'Onest Variable', 'Onest', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
|
||||
--font-display: 'Gloock', 'Noto Serif', ui-serif, Georgia, serif;
|
||||
--font-mono: 'Sometype Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
|
||||
|
||||
/* Coins presque droits partout (les classes rounded-xl / 2xl existantes suivent) */
|
||||
--radius-md: 0.3125rem;
|
||||
--radius-lg: 0.375rem;
|
||||
--radius-xl: 0.375rem;
|
||||
--radius-2xl: 0.5rem;
|
||||
--radius-3xl: 0.5rem;
|
||||
}
|
||||
|
||||
@layer base {
|
||||
@@ -37,15 +51,21 @@
|
||||
}
|
||||
body {
|
||||
font-family: var(--font-sans);
|
||||
font-synthesis: none;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
overscroll-behavior-y: none;
|
||||
}
|
||||
/* Titres de page et de section : Gloock (une seule graisse, jamais de faux gras) */
|
||||
h1,
|
||||
h2,
|
||||
h2 {
|
||||
font-family: var(--font-display);
|
||||
font-weight: 400;
|
||||
letter-spacing: -0.005em;
|
||||
}
|
||||
h3 {
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.01em;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.005em;
|
||||
}
|
||||
/* Évite le zoom automatique d'iOS sur les champs (police >= 16px) */
|
||||
input,
|
||||
@@ -69,38 +89,41 @@
|
||||
* pour chaque apparence — les jetons d'accent (--color-accent*) sont posés par JS.
|
||||
*/
|
||||
:root[data-theme='light'] {
|
||||
--color-bg: #fafaf9;
|
||||
--color-surface: #ffffff;
|
||||
--color-surface-2: #f1f0ee;
|
||||
--color-line: #e5e3df;
|
||||
--color-line-strong: #d2cfc9;
|
||||
--color-ink: #1c1b1a;
|
||||
--color-ink-2: #57544e;
|
||||
--color-ink-3: #6b6862;
|
||||
--color-bg: #f1ebdf;
|
||||
--color-surface: #fbf7ef;
|
||||
--color-surface-2: #e9e1d2;
|
||||
--color-line: #dcd2c0;
|
||||
--color-line-strong: #c4b8a3;
|
||||
--color-ink: #1e1a15;
|
||||
--color-ink-2: #5a5246;
|
||||
--color-ink-3: #6e6557;
|
||||
/* Pellicule claire, couleur papier : les images vues gardent l'accent */
|
||||
--color-film: #e2d8c5;
|
||||
--color-film-frame: #cdc0a8;
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
:root[data-theme='dark'] {
|
||||
--color-bg: #0a0a0a;
|
||||
--color-surface: #111110;
|
||||
--color-surface-2: #181817;
|
||||
--color-line: #262624;
|
||||
--color-line-strong: #3a3936;
|
||||
--color-ink: #f4f2ee;
|
||||
--color-ink-2: #b3b0a8;
|
||||
--color-ink-3: #8a8781;
|
||||
--color-bg: #14120f;
|
||||
--color-surface: #1d1a16;
|
||||
--color-surface-2: #26221c;
|
||||
--color-line: #2f2a23;
|
||||
--color-line-strong: #453e33;
|
||||
--color-ink: #f1eadd;
|
||||
--color-ink-2: #bcb2a1;
|
||||
--color-ink-3: #948a79;
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
:root[data-theme='night'] {
|
||||
--color-bg: #000000;
|
||||
--color-surface: #0a0a0a;
|
||||
--color-surface-2: #141414;
|
||||
--color-line: #222222;
|
||||
--color-line-strong: #333333;
|
||||
--color-ink: #f4f2ee;
|
||||
--color-ink-2: #b3b0a8;
|
||||
--color-ink-3: #8a8781;
|
||||
--color-surface: #0c0b09;
|
||||
--color-surface-2: #161411;
|
||||
--color-line: #24211c;
|
||||
--color-line-strong: #36322b;
|
||||
--color-ink: #f1eadd;
|
||||
--color-ink-2: #bcb2a1;
|
||||
--color-ink-3: #8e8574;
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
@@ -120,14 +143,16 @@
|
||||
claire ne doit pas voir la palette sombre le temps d'une frame. */
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root:not([data-theme]) {
|
||||
--color-bg: #fafaf9;
|
||||
--color-surface: #ffffff;
|
||||
--color-surface-2: #f1f0ee;
|
||||
--color-line: #e5e3df;
|
||||
--color-line-strong: #d2cfc9;
|
||||
--color-ink: #1c1b1a;
|
||||
--color-ink-2: #57544e;
|
||||
--color-ink-3: #6b6862;
|
||||
--color-bg: #f1ebdf;
|
||||
--color-surface: #fbf7ef;
|
||||
--color-surface-2: #e9e1d2;
|
||||
--color-line: #dcd2c0;
|
||||
--color-line-strong: #c4b8a3;
|
||||
--color-ink: #1e1a15;
|
||||
--color-ink-2: #5a5246;
|
||||
--color-ink-3: #6e6557;
|
||||
--color-film: #e2d8c5;
|
||||
--color-film-frame: #cdc0a8;
|
||||
color-scheme: light;
|
||||
}
|
||||
}
|
||||
@@ -174,15 +199,22 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* Petite étiquette en capitales (titres de section, libellés de champs) */
|
||||
/* Petit libellé (champs, chiffres clés) : texte normal, pas de capitales espacées */
|
||||
@utility eyebrow {
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
font-family: var(--font-sans);
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
line-height: 1.3;
|
||||
color: var(--color-ink-3);
|
||||
}
|
||||
|
||||
/* Code d'épisode façon minutage de banc de montage : « S1 É19 » */
|
||||
@utility code {
|
||||
font-family: var(--font-mono);
|
||||
font-variant-numeric: tabular-nums;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
@layer components {
|
||||
.field {
|
||||
@apply w-full rounded-xl border border-line bg-surface px-3.5 py-2.5 text-ink placeholder:text-ink-3 outline-none transition-colors focus:border-accent;
|
||||
@@ -191,13 +223,13 @@
|
||||
@apply eyebrow mb-2 block;
|
||||
}
|
||||
.chip {
|
||||
@apply inline-flex shrink-0 items-center gap-1.5 rounded-full border border-line px-3.5 py-1.5 text-sm text-ink-2 transition-colors active:scale-[0.97];
|
||||
@apply inline-flex shrink-0 items-center gap-1.5 rounded-md border border-line px-3.5 py-1.5 text-sm text-ink-2 transition-colors active:scale-[0.97];
|
||||
}
|
||||
.chip-on {
|
||||
@apply border-ink bg-ink text-bg;
|
||||
}
|
||||
.btn {
|
||||
@apply inline-flex items-center justify-center gap-2 rounded-full px-5 py-2.5 text-[15px] font-medium transition-colors active:scale-[0.98] disabled:opacity-40;
|
||||
@apply inline-flex items-center justify-center gap-2 rounded-[4px] border border-transparent px-5 py-2.5 text-[15px] font-semibold transition-colors active:scale-[0.98] disabled:opacity-40;
|
||||
}
|
||||
.btn-primary {
|
||||
@apply bg-accent-fill text-on-accent;
|
||||
@@ -206,11 +238,59 @@
|
||||
@apply bg-ink text-bg;
|
||||
}
|
||||
.btn-ghost {
|
||||
@apply border border-ink/80 text-ink;
|
||||
@apply border border-line-strong text-ink hover:border-ink-3;
|
||||
}
|
||||
.card {
|
||||
@apply rounded-2xl border border-line bg-surface;
|
||||
}
|
||||
/* Pellicule : bande sombre, perforations dessinées en haut et en bas */
|
||||
.film-strip {
|
||||
position: relative;
|
||||
height: 29px;
|
||||
padding: 7px 6px;
|
||||
border-radius: 2px;
|
||||
background: var(--color-film);
|
||||
}
|
||||
.film-strip i {
|
||||
display: block;
|
||||
border-radius: 1px;
|
||||
}
|
||||
.film-strip::before,
|
||||
.film-strip::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset-inline: 6px;
|
||||
height: 3px;
|
||||
background: repeating-linear-gradient(90deg, var(--color-film-frame) 0 6px, transparent 6px 11px);
|
||||
}
|
||||
.film-strip::before {
|
||||
top: 2px;
|
||||
}
|
||||
.film-strip::after {
|
||||
bottom: 2px;
|
||||
}
|
||||
/* Billet « Reprendre » : talon détachable (pointillés + deux encoches) */
|
||||
.ticket-stub {
|
||||
position: relative;
|
||||
border-inline-start: 1.5px dashed var(--color-line-strong);
|
||||
}
|
||||
.ticket-stub::before,
|
||||
.ticket-stub::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset-inline-start: -7px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 9999px;
|
||||
background: var(--color-bg);
|
||||
border: 1px solid var(--color-line);
|
||||
}
|
||||
.ticket-stub::before {
|
||||
top: -7px;
|
||||
}
|
||||
.ticket-stub::after {
|
||||
bottom: -7px;
|
||||
}
|
||||
.no-scrollbar {
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user