From 67b44873bcff0ebcebdb045a288b8b331ba11612 Mon Sep 17 00:00:00 2001 From: pisouvigne Date: Sat, 27 Jun 2020 21:32:55 +0200 Subject: [PATCH] graphique + timer --- site/vue/css/style.css | 21 +++++++++++ site/vue/index.html | 8 +++-- site/vue/js/func.js | 6 ++++ site/vue/js/generateGame.js | 25 ++++++++++++- site/vue/js/timer.js | 72 ++++++++++++++++++++----------------- 5 files changed, 95 insertions(+), 37 deletions(-) diff --git a/site/vue/css/style.css b/site/vue/css/style.css index fbc10d0..7a1908b 100644 --- a/site/vue/css/style.css +++ b/site/vue/css/style.css @@ -575,4 +575,25 @@ input[type=color] { width: 99%; display: none; z-index: 80; +} + +@keyframes progressbar-countdown { + 0% { + width: 0%; + } + + 100% { + width: 95%; + } +} + +.progress_bar { + height: 10px; + margin: 20px; + animation: progressbar-countdown; + animation-duration: 40s; + animation-iteration-count: 1; + animation-fill-mode: forwards; + animation-play-state: paused; + animation-timing-function: linear; } \ No newline at end of file diff --git a/site/vue/index.html b/site/vue/index.html index 484cfa8..62593a5 100644 --- a/site/vue/index.html +++ b/site/vue/index.html @@ -116,7 +116,7 @@