Choix de la langue VF/VOSTFR sur la fiche titre

- Episode : nouveau champ version (vf/vostfr)
- French-Manga : épisodes listés pour chaque langue disponible
  (VOSTFR puis VF) au lieu d'un choix automatique, fragment
  #ep=<version>-<num> déjà résolu par extract_embed_links
- Vostfree : langue déduite du titre h1 ou du slug de la fiche
- UI : filtre VOSTFR/VF/Tout (défaut VOSTFR), badge par épisode,
  téléchargement de saison limité à la langue filtrée, compteur
  d'épisodes unique, version incluse dans le nom de fichier
This commit is contained in:
Roman
2026-09-22 11:58:10 +00:00
parent 9148b5fb6a
commit affc97c527
5 changed files with 92 additions and 23 deletions
+27
View File
@@ -676,3 +676,30 @@ button { font-family: inherit; }
.update-banner .spin { display: inline-block; animation: update-spin 1s linear infinite; }
@keyframes update-spin { to { transform: rotate(360deg); } }
/* ------------------------------------------------------------ filtre VF/VOSTFR */
.version-filter {
display: inline-flex;
gap: 0.2rem;
background: var(--surface-2);
padding: 0.2rem;
border-radius: 99px;
margin-left: 0.8rem;
vertical-align: middle;
}
.version-tab {
border: none;
background: transparent;
color: var(--text-dim);
font-size: 0.72rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.04em;
padding: 0.28rem 0.75rem;
border-radius: 99px;
cursor: pointer;
transition: all 0.15s;
}
.version-tab:hover { color: var(--text); }
.version-tab.active { background: var(--accent); color: #fff; }
.badge-version { background: rgba(90, 200, 250, 0.14); color: #7ec8f5; }