diff --git a/exercices/Exo_FDS.html b/exercices/Exo_FDS.html index f881311..862c66b 100644 --- a/exercices/Exo_FDS.html +++ b/exercices/Exo_FDS.html @@ -229,8 +229,8 @@ .dnd-bank { display: grid; grid-template-columns: 1fr; gap: 6px; align-content: start; } .dnd-tile { font-family: 'Syne', sans-serif; - font-size: 12px; font-weight: 800; - padding: 8px 10px; min-width: 66px; text-align: center; + font-size: 12px; font-weight: 800; white-space: nowrap; + padding: 8px 12px; min-width: 92px; text-align: center; border-radius: 8px; background: var(--amber-light); color: var(--amber-dark); border: 1px solid var(--amber); @@ -261,7 +261,7 @@ .drop-slot.slot-wrong { border-color: #c62828; color: #c62828; } @media (max-width: 900px) { .dnd-layout { grid-template-columns: 1fr; } - .dnd-bank { grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); } + .dnd-bank { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); } } /* SLIDE 5 — RELIER (MATCHING) */ .match-hint { font-size: 12.5px; color: var(--text-muted); text-align: center; margin: -0.4rem 0 0.1rem; max-width: 640px; line-height: 1.5; } @@ -635,6 +635,60 @@ span.hotspot { display: inline; padding: 0 2px; -webkit-box-decoration-break: cl .lbl-cols { grid-template-columns: 1fr; } .lbl-title { font-size: 26px; } } + +/* ---- SLIDE 1 — sélection formateur + garde nom ---- */ +.formateur-label { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); margin: 4px 0 2px; } +.formateur-row { display: flex; gap: 8px; } +.formateur-btn { + flex: 1; font-family: 'DM Sans', sans-serif; font-size: 13.5px; + padding: 9px 13px; border: 1px solid var(--border); border-radius: 10px; + background: var(--bg); color: var(--text); cursor: pointer; transition: all 0.2s ease; +} +.formateur-btn:hover { border-color: var(--amber); } +.formateur-btn.active { background: var(--amber); border-color: var(--amber); color: #fff; } +.identity-error { color: var(--coral); font-size: 12px; margin-top: 8px; line-height: 1.4; } +.identity-error[hidden] { display: none; } + +/* ---- SLIDE 7 — encadré de réponse sur le côté de l'étiquette ---- */ +#eti-stage { + max-width: 980px; + display: grid; + grid-template-columns: minmax(0, 1fr) 300px; + align-items: start; + gap: 16px; + justify-content: center; +} +#eti-stage .label-card { grid-column: 1; grid-row: 1; } +#eti-stage .eti-pop, +#eti-stage .eti-side-hint { grid-column: 2; grid-row: 1; align-self: start; } +#eti-stage .eti-pop { position: relative; inset: auto; left: auto; top: auto; max-width: none; width: 100%; } +.eti-side-hint { + font-size: 12.5px; color: var(--teal-dark); line-height: 1.5; + background: var(--teal-light); border: 1px dashed var(--teal-mid); + border-radius: 10px; padding: 12px 14px; +} +.eti-side-hint[hidden] { display: none; } + +/* ---- SLIDE 7 — récapitulatif : étiquette à gauche, tableau à droite ---- */ +.recap-layout { display: flex; gap: 20px; align-items: flex-start; justify-content: center; width: 100%; max-width: 1120px; } +.recap-layout #recap-stage { flex: 1 1 0; min-width: 0; max-width: 560px; } +.recap-layout .checklist-table { flex: 1 1 0; min-width: 0; margin: 0; } +.recap-layout.animate #recap-stage { animation: recapSlideLeft 0.5s ease both; } +.recap-layout.animate .checklist-table { animation: recapSlideRight 0.5s ease both; } +@keyframes recapSlideLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } } +@keyframes recapSlideRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } } + +@media (max-width: 820px) { + #eti-stage { grid-template-columns: 1fr; max-width: 680px; } + #eti-stage .eti-pop, + #eti-stage .eti-side-hint { grid-column: 1; grid-row: auto; } + #eti-stage .label-card { grid-row: auto; } +} +@media (max-width: 1000px) { + .recap-layout { flex-direction: column; align-items: center; } + .recap-layout #recap-stage { flex: none; max-width: 560px; width: 100%; } + .recap-layout .checklist-table { flex: none; width: 100%; max-width: 640px; } +}
@@ -706,12 +760,18 @@ span.hotspot { display: inline; padding: 0 2px; -webkit-box-decoration-break: cl