Admin galerie + compteur copies + flash capture + erreur imprimante toast

- Galerie admin : onglet avec sélection photos + impression par lot
- Compteur : compte les copies (×N) et non plus 1 par impression
- Flash blanc immédiat après countdown pour masquer le délai AF
- Erreur imprimante : petit toast discret au lieu de bannière plein écran

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-30 13:24:55 +02:00
parent e9143f7a72
commit 8bc854b5a7
6 changed files with 139 additions and 12 deletions

View File

@@ -413,6 +413,7 @@ html, body {
@keyframes flash {
0% { opacity: 1; }
30% { opacity: 0.9; }
100% { opacity: 0; }
}
@@ -1772,18 +1773,33 @@ h3 {
border-radius: 3px;
}
/* === Admin galerie check === */
.admin-galerie-check {
position: absolute; top: 6px; right: 6px;
width: 28px; height: 28px; border-radius: 50%;
background: rgba(0,0,0,0.4); border: 2px solid #fff;
color: #fff; font-size: 1rem; display: flex;
align-items: center; justify-content: center;
opacity: 0; transition: opacity 0.15s;
}
.admin-galerie-check.visible {
opacity: 1; background: var(--accent);
}
/* === Erreur camera === */
.printer-erreur {
position: fixed;
bottom: 0; left: 0; right: 0;
background: #b71c1c;
top: 1rem; right: 1rem;
background: rgba(183, 28, 28, 0.85);
color: #fff;
display: flex;
align-items: center;
gap: 1rem;
padding: 0.8rem 1.5rem;
z-index: 9999;
font-size: 1rem;
gap: 0.5rem;
padding: 0.5rem 1rem;
z-index: 100;
font-size: 0.85rem;
border-radius: 10px;
max-width: 300px;
}
.printer-erreur-icon { font-size: 1.4rem; flex-shrink: 0; }