diff --git a/SwichGIT/src/css/PartieGame.css b/SwichGIT/src/css/PartieGame.css index 6fbd8bf..68e14c8 100644 --- a/SwichGIT/src/css/PartieGame.css +++ b/SwichGIT/src/css/PartieGame.css @@ -1,8 +1,10 @@ #pageGame { visibility: hidden; + } + .menuhaut { height: 10vh; width: inherit; @@ -11,6 +13,7 @@ .retourstp { position: absolute; + order: 1; } #Redistribution{ @@ -28,6 +31,7 @@ margin-left: 0.6vw; color: var(--lightsedonca); + } #btnvalider2 { @@ -73,19 +77,20 @@ transition: box-shadow 0.2s ease; } - #caseBarre { background-color:lightgray; width:104px; padding:2px; -moz-border-radius:3px; - border-radius:3px; + border-radius:5px; text-align:left; border:1px solid gray; - display: flex; - + order:2; + margin-left: 300px; + height: 50px; } + #progressbar { width:100px; @@ -93,6 +98,8 @@ background-color:white; border:1px solid black; height:28px; + border-radius: 5px; + } #indicateur { @@ -105,4 +112,7 @@ { text-align:center; width:100px; -} \ No newline at end of file + font-family: Montserrat, impact, Arial Black; + +} + diff --git a/SwichGIT/src/debug.log b/SwichGIT/src/debug.log index 5e71f47..cab581c 100644 --- a/SwichGIT/src/debug.log +++ b/SwichGIT/src/debug.log @@ -1,3 +1,4 @@ [1111/102926.535:ERROR:directory_reader_win.cc(43)] FindFirstFile: Le chemin d’accès spécifié est introuvable. (0x3) [1120/122821.005:ERROR:directory_reader_win.cc(43)] FindFirstFile: Le chemin d’accès spécifié est introuvable. (0x3) [1207/113906.684:ERROR:directory_reader_win.cc(43)] FindFirstFile: Le chemin d’accès spécifié est introuvable. (0x3) +[1211/112927.710:ERROR:directory_reader_win.cc(43)] FindFirstFile: Le chemin d’accès spécifié est introuvable. (0x3) diff --git a/SwichGIT/src/index.html b/SwichGIT/src/index.html index 9598c9f..975661f 100644 --- a/SwichGIT/src/index.html +++ b/SwichGIT/src/index.html @@ -142,7 +142,6 @@ -
- - - -
@@ -201,11 +194,10 @@
- +
- diff --git a/SwichGIT/src/js/main.js b/SwichGIT/src/js/main.js index 93da65d..48bba0c 100644 --- a/SwichGIT/src/js/main.js +++ b/SwichGIT/src/js/main.js @@ -525,14 +525,11 @@ var cpt = 101; var x; var itv = 0; - function decompte() { var progressnum = document.getElementById("progressnum"); var indicateur = document.getElementById("indicateur"); - - if (cpt >= 0) { cpt--; @@ -547,14 +544,9 @@ function decompte() { window.alert("fin du jeu"); retour(); window.location.reload(); - clearInterval(itv); + clearInterval(itv); } - if(cpt <= 0) { - clearInterval(itv); - return; - } - if(cpt < 50) { document.getElementById("indicateur").style.backgroundColor = "orange"; @@ -566,7 +558,6 @@ function decompte() { indicateur.style.width = cpt + "px"; progressnum.innerHTML = cpt; - }