diff --git a/app.html b/app.html index 00194a2..90bd648 100644 --- a/app.html +++ b/app.html @@ -96,6 +96,11 @@ opacity: 1; transform: translateY(0); } + /* Les vues passent de display:none à block : la transition CSS ne se joue pas, on utilise une animation */ + @keyframes jrViewIn { + from { opacity: 0; transform: translateY(8px); } + } + .app-view.active { animation: jrViewIn 0.22s ease-out; } #view-home.active { display: flex !important; flex-direction: column; @@ -149,6 +154,13 @@ 50% { transform: scale(1.3); opacity: 0.5; } } + /* Entrée des fenêtres (classe animate-in, jamais définie : plugin tailwindcss-animate absent) */ + @keyframes jrAnimateIn { + from { opacity: 0; transform: translateY(14px) scale(0.98); } + to { opacity: 1; transform: translateY(0) scale(1); } + } + .animate-in { animation: jrAnimateIn 0.28s ease-out both; } + .snap-y-mandatory { scroll-snap-type: y mandatory; scroll-behavior: smooth; @@ -163,38 +175,6 @@
- -