Maison filaire (lot ④) : le branchement de l'allumage en S (main.js : fil, logos allumés, flèches par étape, pause en lisant ; style du fil)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PWGVn3MeAPFsoCSyLs2zZW
This commit is contained in:
Jules Nény
2026-11-06 15:35:12 +01:00
co-authored by Claude Opus 5.5
parent 7aba1c2594
commit 1b1b9a6fac
2 changed files with 96 additions and 16 deletions
+12
View File
@@ -88,6 +88,18 @@ body[data-echelle="XL"] #b-tourner, body.bandeau-plein #b-tourner { display: non
#fiches[data-etat="resume"] .corps > .fil { flex: 1 1 0; }
#fiches[data-etat="resume"] .corps > .pied { flex: none; margin-left: auto; }
#fiches[data-etat="resume"] .pied .compteur { display: none; }
/* le fil (lot ④, S seulement) : la poignée et sa ligne de titre, les onglets, les logos du chapitre et la lecture ; pas de texte (≤ 25 % de l'écran) */
.bandeau[data-etat="fil"] .poignee .ligne { display: flex; }
#fiches[data-etat="fil"] :is(.fiche, .suite, .liste-ch, .mentions) { display: none; }
#fiches[data-etat="fil"] .corps { flex-flow: row wrap; align-content: flex-start; overflow: hidden; padding-top: 4px; }
#fiches[data-etat="fil"] .corps > * { flex: 0 0 100%; min-width: 0; }
#fiches[data-etat="fil"] .corps > .fil { flex: 1 1 0; }
#fiches[data-etat="fil"] .corps > .pied { flex: none; margin-left: auto; }
#fiches[data-etat="fil"] .pied .compteur { display: none; }
@media (max-width: 899px) { #fiches[data-etat="fil"] :is(#b-prec, #b-suiv) { display: none; } }
/* un logo allumé : l'anneau de la couleur du chapitre, 1,08 d'échelle (« comme t'inviter à cliquer ») */
#points .maillon.allume { opacity: 1; filter: none; transform: scale(1.08); box-shadow: 0 0 0 2px var(--c-fond, #fff), 0 0 0 4px var(--c, var(--encre)); }
@media (prefers-reduced-motion: reduce) { .maillon { transition: none; } }
.suite:empty { display: none; }
.suite { padding-left: 68px; transition: opacity .35s ease; }
.suite.sort { opacity: 0; }