Canon réveil: frontend attend connexion + fix taille countdown CSS
- /api/camera/statut expose reveil_en_cours pour que le frontend sache - lancerCapture() poll toutes les 2s (max 60s) si Canon en réveil au lieu de fail immédiat - Fix CSS countdown: .compte-a-rebours span était à 14rem (écrasait .anim-texte par spécificité) → chiffres clamp(2rem, 8vw, 5rem), texte clamp(0.8rem, 3vw, 1.5rem) - Bump cache versions (style v17, camera v18) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -389,13 +389,17 @@ html, body {
|
||||
}
|
||||
|
||||
.compte-a-rebours span {
|
||||
font-size: 14rem;
|
||||
font-size: clamp(2rem, 8vw, 5rem);
|
||||
font-weight: 800;
|
||||
color: #ffffff;
|
||||
text-shadow: 0 0 40px rgba(0,0,0,0.8), 0 0 80px var(--primaire);
|
||||
animation: pop 0.5s ease;
|
||||
}
|
||||
|
||||
.compte-a-rebours span.anim-texte {
|
||||
font-size: clamp(0.8rem, 3vw, 1.5rem);
|
||||
}
|
||||
|
||||
@keyframes pop {
|
||||
0% { transform: scale(0.3); opacity: 0; }
|
||||
60% { transform: scale(1.2); }
|
||||
@@ -1761,13 +1765,13 @@ h3 {
|
||||
}
|
||||
|
||||
.anim-chiffre {
|
||||
font-size: 8rem;
|
||||
font-size: clamp(2rem, 6vw, 4rem);
|
||||
font-weight: 700;
|
||||
color: var(--primaire);
|
||||
}
|
||||
|
||||
.anim-texte {
|
||||
font-size: clamp(0.9rem, 2.5vw, 1.6rem);
|
||||
font-size: clamp(0.7rem, 2vw, 1.2rem);
|
||||
max-width: 80vw;
|
||||
text-align: center;
|
||||
line-height: 1.2;
|
||||
|
||||
Reference in New Issue
Block a user