Comparer les révisions
2
Révisions
main
...
fix/animations
| Auteur | SHA1 | Date | ||
|---|---|---|---|---|
| ||||
|
|
e2b648e36c | |||
|
|
c2894ca5a2 | |||
Aucun fichier ne correspond à votre recherche
+12
-32
@@ -96,6 +96,11 @@
|
|||||||
opacity: 1;
|
opacity: 1;
|
||||||
transform: translateY(0);
|
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 {
|
#view-home.active {
|
||||||
display: flex !important;
|
display: flex !important;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -149,6 +154,13 @@
|
|||||||
50% { transform: scale(1.3); opacity: 0.5; }
|
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 {
|
.snap-y-mandatory {
|
||||||
scroll-snap-type: y mandatory;
|
scroll-snap-type: y mandatory;
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
@@ -163,38 +175,6 @@
|
|||||||
</head>
|
</head>
|
||||||
<body class="selection:bg-job-sage selection:text-white">
|
<body class="selection:bg-job-sage selection:text-white">
|
||||||
|
|
||||||
<!-- ================= ÉCRAN DE CHARGEMENT VIDÉO (SPLASH SCREEN) ================= -->
|
|
||||||
<div id="jobrunner-splash-screen" style="position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999;background-color:#F2F0E6;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:opacity 0.7s ease-out;user-select:none;">
|
|
||||||
<div style="position:relative;width:100%;max-width:580px;padding:0 16px;display:flex;flex-direction:column;align-items:center;justify-content:center;">
|
|
||||||
<video id="splash-video" src="assets/video/loading.mp4" autoplay muted playsinline style="width:100%;height:auto;max-height:75vh;object-fit:contain;border-radius:1rem;pointer-events:none;user-select:none;display:block;"></video>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script>
|
|
||||||
function dismissJobrunnerSplash() {
|
|
||||||
const splash = document.getElementById('jobrunner-splash-screen');
|
|
||||||
if (!splash || splash.dataset.dismissed) return;
|
|
||||||
splash.dataset.dismissed = 'true';
|
|
||||||
splash.style.opacity = '0';
|
|
||||||
splash.style.pointerEvents = 'none';
|
|
||||||
setTimeout(function() {
|
|
||||||
if (splash && splash.parentNode) splash.parentNode.removeChild(splash);
|
|
||||||
}, 750);
|
|
||||||
}
|
|
||||||
(function() {
|
|
||||||
const v = document.getElementById('splash-video');
|
|
||||||
if (v) {
|
|
||||||
v.addEventListener('ended', dismissJobrunnerSplash);
|
|
||||||
const p = v.play();
|
|
||||||
if (p !== undefined) {
|
|
||||||
p.catch(function() {
|
|
||||||
setTimeout(dismissJobrunnerSplash, 1200);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
setTimeout(dismissJobrunnerSplash, 5500);
|
|
||||||
}
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div id="app-wrapper">
|
<div id="app-wrapper">
|
||||||
|
|
||||||
<!-- Toast Notification Global -->
|
<!-- Toast Notification Global -->
|
||||||
|
|||||||
Fichier binaire non affiché.
+4
-6
@@ -264,12 +264,10 @@ footer{max-width:1040px;margin:0 auto;padding:24px 16px 40px;color:var(--doux);f
|
|||||||
<p class="chapo">Des mouvements courts et fluides qui accompagnent une action, jamais décoratifs. Si l'appareil demande moins d'animations, tout s'affiche directement à l'état final.</p>
|
<p class="chapo">Des mouvements courts et fluides qui accompagnent une action, jamais décoratifs. Si l'appareil demande moins d'animations, tout s'affiche directement à l'état final.</p>
|
||||||
<div class="grille g2">
|
<div class="grille g2">
|
||||||
<div class="carte demo" style="grid-column:1/-1">
|
<div class="carte demo" style="grid-column:1/-1">
|
||||||
<h3>Écran de chargement officiel : animation vidéo</h3>
|
<h3>Écran de chargement : le logo se trace</h3>
|
||||||
<p style="color:var(--doux);margin:0">Animation vidéo officielle de démarrage de Jobrunner (5s). Le tracé du J forme la flèche dynamique puis révèle le logo complet.</p>
|
<p style="color:var(--doux);margin:0">La flèche part du bout du crochet et trace le J, puis les deux traits de vitesse arrivent, puis le nom s'écrit lettre par lettre. Environ 5 s.</p>
|
||||||
<div class="scene" style="background:#F2F0E6;padding:16px;border-radius:18px;display:flex;justify-content:center;">
|
<div class="scene"><svg id="a-logo" viewBox="0 0 1376 768" role="img" aria-label="jobrunner"><g id="a-icone"><path id="a-contour" fill="none" stroke="#2D2D2D" stroke-width="106" stroke-linecap="round" stroke-linejoin="round" d="M530 480 L530 550 A96 96 0 0 0 722 550 L722 255 A60 60 0 0 1 782 195 L806 195"/><g id="a-pointe" opacity="0"><polygon points="0,-118 143,0 0,118" fill="#8B9E90" stroke="#2D2D2D" stroke-width="5" stroke-linejoin="round"/></g><path id="a-fut" fill="none" stroke="#8B9E90" stroke-width="100" stroke-linecap="round" stroke-linejoin="round" d="M530 480 L530 550 A96 96 0 0 0 722 550 L722 255 A60 60 0 0 1 782 195 L806 195"/><g id="a-traits" fill="#8B9E90" stroke="#2D2D2D" stroke-width="4" stroke-linejoin="round" opacity="0"><path d="M492 270 C530 235 590 205 635 198 C660 196 658 240 630 241 C580 243 530 252 492 270 Z"/><path d="M432 370 C480 310 560 268 628 258 C660 256 655 310 622 312 C560 316 490 335 432 370 Z"/></g></g><text id="a-texte" x="540" y="295" font-family="Chillax, Outfit, sans-serif" font-weight="700" font-size="150" fill="#8B9E90" stroke="#2D2D2D" stroke-width="3" stroke-linejoin="round" style="paint-order:stroke fill"></text></svg></div>
|
||||||
<video id="charte-splash-video" src="assets/video/loading.mp4" controls autoplay muted playsinline style="max-width:100%;max-height:380px;border-radius:14px;display:block;"></video>
|
<button class="lancer" id="lancer-logo">▶ Lancer</button>
|
||||||
</div>
|
|
||||||
<button class="lancer" id="lancer-logo" onclick="document.getElementById('charte-splash-video').currentTime=0;document.getElementById('charte-splash-video').play();">▶ Rejouer la vidéo</button>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="carte demo">
|
<div class="carte demo">
|
||||||
<h3>Bouton d'action glissant</h3>
|
<h3>Bouton d'action glissant</h3>
|
||||||
|
|||||||
Référencer dans un nouveau ticket
Bloquer un utilisateur