Nav téléphone : bouton tourner au-dessus du bandeau, recadrage quand le résumé change de hauteur, fil et flèches sur une ligne en résumé
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PWGVmzHkRQiiivdZYKzLAP
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
a003cfe6fa
commit
12f327823a
+7
-1
@@ -49,7 +49,7 @@ body.fond #scene { cursor: default; touch-action: auto; pointer-events: none; }
|
||||
#epoque button::after { content: ''; position: absolute; inset: -7px 0; } /* la cible du doigt fait 40 px, le dessin 26 */
|
||||
#epoque button[aria-pressed="true"] { background: var(--encre); color: var(--papier-2); }
|
||||
/* tourner la maquette : un rond seul, en bas à droite, au-dessus du bandeau ; caché en XL et quand le bandeau est plein */
|
||||
#b-tourner { position: fixed; z-index: 5; right: 12px; bottom: calc(var(--h-bandeau, 60px) + env(safe-area-inset-bottom, 0px) + 12px); width: 40px; height: 40px; padding: 0;
|
||||
#b-tourner { position: fixed; z-index: 5; right: 12px; bottom: calc(var(--h-fiches, 60px) + env(safe-area-inset-bottom, 0px) + 12px); width: 40px; height: 40px; padding: 0;
|
||||
display: grid; place-items: center; border: 1px solid var(--trait); border-radius: 50%; background: rgba(255, 253, 246, .93); box-shadow: var(--ombre); transition: bottom .22s ease; }
|
||||
#b-tourner svg { width: 20px; height: 20px; }
|
||||
body[data-echelle="XL"] #b-tourner, body.bandeau-plein #b-tourner { display: none; }
|
||||
@@ -82,6 +82,12 @@ body[data-echelle="XL"] #b-tourner, body.bandeau-plein #b-tourner { display: non
|
||||
.bandeau .fiche { overflow: visible; }
|
||||
.bandeau[data-etat="barre"] .corps { visibility: hidden; }
|
||||
#fiches:not([data-etat="plein"]) :is(.liste-ch, .mentions) { display: none; }
|
||||
/* le résumé tient en un tiers : le fil et les flèches sur une seule ligne (le compteur est déjà dans la barre et le plein) */
|
||||
#fiches[data-etat="resume"] .corps { flex-flow: row wrap; align-content: flex-start; }
|
||||
#fiches[data-etat="resume"] .corps > * { flex: 0 0 100%; min-width: 0; }
|
||||
#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; }
|
||||
.suite:empty { display: none; }
|
||||
.suite { padding-left: 68px; transition: opacity .35s ease; }
|
||||
.suite.sort { opacity: 0; }
|
||||
|
||||
Reference in New Issue
Block a user