Lot ⑥c, étape B : la colonne des documents au bureau

À partir de 1 024 px, les dix-sept documents du dessin vivent dans une colonne à droite, 320 px, sous le sticky, pleine hauteur, défilante, au fond du bandeau : un titre, une aide, puis une section par thématique (Eau, Énergie, Alimentation, Documents du projet), une ligne par document (vignette de 56 px, numéro, titre ; l'état « vu » s'y lit). La zone libre de la carte et sa barre s'arrêtent à 336 px du bord droit ; le bandeau d'étape reste à gauche.

Survoler ou focaliser un document allume son rond (ou son repère) sans recadrer ; le toucher fait ce que fait son rond ; toucher un rond ou un repère allume son document dans la colonne et l'amène à vue, sans animation sous mouvement réduit. Allumage par la couleur, sans fil. Clavier : un seul arrêt de tabulation par thématique, les flèches, Origine et Fin dans la thématique. « Voir le vrai territoire » se centre entre le bandeau et la colonne. Mesuré à 1 280 × 800 : 17 / 17 dans les deux sens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PWGVn1ZCPDVJJ2cRer31k8
This commit is contained in:
Jules Nény
2026-11-11 19:43:39 +01:00
co-authored by Claude Opus 5.5
parent 62bfc528e8
commit 3fe58e4de8
3 changed files with 58 additions and 5 deletions
+40
View File
@@ -327,6 +327,46 @@ body.vue-s #b-tourner { display: none; }
.c-compte { font-size: 12.5px; color: var(--encre-2); background: rgba(255, 253, 246, .9); border-radius: 8px; padding: 3px 8px; font-variant-numeric: tabular-nums; }
.c-entrer { border: 0; background: var(--quartier-encre); color: #fff; font-weight: 600; border-radius: 10px; padding: 0 13px; min-height: 38px; box-shadow: var(--ombre); }
@media (min-width: 900px) { .carte-outils { left: 472px; } }
/* ---------- lot ⑥c (11/11) : les documents du dessin, à côté de lui (carte.js, maquette/documents-carte.ts) ---------- */
/* « les documents apparaissent sur le côté, sur les latéraux, qui gâchent pas la vue du dessin » (Jules, 07/11) */
.c-docs { position: absolute; z-index: 3; box-sizing: border-box; margin: 0; background: var(--papier-2); }
.c-docs h2, .c-docs h3, .c-docs ul, .c-docs p { margin: 0; }
.c-docs ul { list-style: none; padding: 0; }
.c-docs .vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cd-doc { position: relative; box-sizing: border-box; border: 2px solid transparent; background: transparent; border-radius: 12px; padding: 0; text-align: left; transition: background .2s, border-color .2s; }
.cd-img { display: block; box-sizing: border-box; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 2px dotted var(--c); background: #fff; }
.cd-doc.rect .cd-img, .cd-doc.doc .cd-img { border-radius: 10px; }
.cd-doc.doc .cd-img { border-style: solid; border-width: 1px; border-color: var(--trait); }
.cd-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cd-n { display: inline-grid; place-items: center; box-sizing: border-box; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; border: 1.5px solid var(--c-encre); background: #fff; color: var(--c-encre);
font: 600 13.5px/1 "Barlow Condensed", Barlow, sans-serif; }
.cd-doc.vu .cd-n { background: var(--c-encre); color: #fff; }
.cd-n.cd-picto { padding: 0; width: 22px; border-radius: 50%; }
.cd-n.cd-picto svg { width: 15px; height: 15px; }
/* allumé (X5) : le bord de sa couleur ; survolé ou focalisé, il allume son rond sur le dessin */
.cd-doc:hover, .cd-doc.allume, .cd-doc.ici, .cd-doc:focus-visible { border-color: var(--c); background: var(--c-fond); }
.cd-doc.ici .cd-img { border-style: solid; }
/* au bureau (≥ 1 024 px) : une colonne à droite, 320 px, sous le sticky, pleine hauteur, défilante ; la barre de la carte
et la zone libre s'arrêtent à 336 px du bord (main.js, libre()) ; le bandeau d'étape reste à gauche : deux panneaux au plus */
@media (min-width: 1024px) {
.c-docs { top: var(--haut-carte, 64px); right: 0; bottom: 0; width: 320px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
padding: 14px 12px 24px; border: 1px solid var(--trait); border-right: 0; border-bottom: 0; border-radius: 16px 0 0 0; box-shadow: var(--ombre); }
.carte-outils { right: 336px; }
.cd-tete { padding: 0 4px 6px; }
.cd-tete h2 { font: 600 19px/1.15 "Barlow Condensed", Barlow, sans-serif; }
.cd-tete p { margin-top: 3px; font-size: 12.5px; color: var(--encre-2); }
.cd-groupe { margin-top: 12px; }
.cd-groupe h3 { display: flex; align-items: center; gap: 7px; padding: 0 4px 5px; font: 600 13.5px/1.2 "Barlow Condensed", Barlow, sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--c-encre); }
.cd-groupe h3::before { content: ''; width: 10px; height: 10px; border-radius: 50%; border: 2px dotted var(--c); }
.cd-groupe ul { display: grid; gap: 2px; }
.cd-doc { display: grid; grid-template-columns: 56px auto 1fr; align-items: center; gap: 9px; width: 100%; min-height: 64px; padding: 2px 8px 2px 2px; }
.cd-t { font-weight: 500; font-size: 14.5px; line-height: 1.25; }
/* « Voir le vrai territoire » : au milieu de ce que la colonne et le bandeau laissent libre */
body.sur-carte .vers-vue { left: calc(472px + (100% - 808px) / 2); }
}
@media (max-width: 1023.98px) { .c-docs { display: none; } }
@media (max-width: 560px) { .c-titre, .c-compte, .c-entrer .long { display: none; } .c-sys button { padding: 3px 9px; font-size: 12.5px; } .c-entrer { min-height: 34px; padding: 0 10px; font-size: 13.5px; } }
body.sur-carte #b-tourner { display: none; }