modifs de la barre de temps

Golfier
algolfier 4 years ago
parent 2af76a92f3
commit 3798a2107c

@ -1,8 +1,10 @@
#pageGame { #pageGame {
visibility: hidden; visibility: hidden;
} }
.menuhaut { .menuhaut {
height: 10vh; height: 10vh;
width: inherit; width: inherit;
@ -11,6 +13,7 @@
.retourstp { .retourstp {
position: absolute; position: absolute;
order: 1;
} }
#Redistribution{ #Redistribution{
@ -28,6 +31,7 @@
margin-left: 0.6vw; margin-left: 0.6vw;
color: var(--lightsedonca); color: var(--lightsedonca);
} }
#btnvalider2 { #btnvalider2 {
@ -73,19 +77,20 @@
transition: box-shadow 0.2s ease; transition: box-shadow 0.2s ease;
} }
#caseBarre #caseBarre
{ {
background-color:lightgray; background-color:lightgray;
width:104px; width:104px;
padding:2px; padding:2px;
-moz-border-radius:3px; -moz-border-radius:3px;
border-radius:3px; border-radius:5px;
text-align:left; text-align:left;
border:1px solid gray; border:1px solid gray;
display: flex; order:2;
margin-left: 300px;
height: 50px;
} }
#progressbar #progressbar
{ {
width:100px; width:100px;
@ -93,6 +98,8 @@
background-color:white; background-color:white;
border:1px solid black; border:1px solid black;
height:28px; height:28px;
border-radius: 5px;
} }
#indicateur #indicateur
{ {
@ -105,4 +112,7 @@
{ {
text-align:center; text-align:center;
width:100px; width:100px;
font-family: Montserrat, impact, Arial Black;
} }

@ -1,3 +1,4 @@
[1111/102926.535:ERROR:directory_reader_win.cc(43)] FindFirstFile: Le chemin daccès spécifié est introuvable. (0x3) [1111/102926.535:ERROR:directory_reader_win.cc(43)] FindFirstFile: Le chemin daccès spécifié est introuvable. (0x3)
[1120/122821.005:ERROR:directory_reader_win.cc(43)] FindFirstFile: Le chemin daccès spécifié est introuvable. (0x3) [1120/122821.005:ERROR:directory_reader_win.cc(43)] FindFirstFile: Le chemin daccès spécifié est introuvable. (0x3)
[1207/113906.684:ERROR:directory_reader_win.cc(43)] FindFirstFile: Le chemin daccès spécifié est introuvable. (0x3) [1207/113906.684:ERROR:directory_reader_win.cc(43)] FindFirstFile: Le chemin daccès spécifié est introuvable. (0x3)
[1211/112927.710:ERROR:directory_reader_win.cc(43)] FindFirstFile: Le chemin daccès spécifié est introuvable. (0x3)

@ -142,7 +142,6 @@
</div> </div>
</div> </div>
<div id="pageGame"> <div id="pageGame">
<div class="menuhaut"> <div class="menuhaut">
<div id="Redistribution"> <div id="Redistribution">
@ -166,12 +165,6 @@
</div> </div>
<!--Mode timer temps indiqué-->
<!-- <div id="Chrono">
<p ></p>
</div> -->
<div id="Redistribution2"> <div id="Redistribution2">
<a id="relancerbtn" onclick="test()"> <a id="relancerbtn" onclick="test()">
<div id="contourbuttonvalider"> <div id="contourbuttonvalider">
@ -201,11 +194,10 @@
</div> </div>
</a> </a>
</div> </div>
</div>
<div id="containcards" class="containcards"> <div id="containcards" class="containcards">
</div> </div>
</div>
</body> </body>
</html> </html>

@ -525,14 +525,11 @@ var cpt = 101;
var x; var x;
var itv = 0; var itv = 0;
function decompte() { function decompte() {
var progressnum = document.getElementById("progressnum"); var progressnum = document.getElementById("progressnum");
var indicateur = document.getElementById("indicateur"); var indicateur = document.getElementById("indicateur");
if (cpt >= 0) { if (cpt >= 0) {
cpt--; cpt--;
@ -550,11 +547,6 @@ function decompte() {
clearInterval(itv); clearInterval(itv);
} }
if(cpt <= 0) {
clearInterval(itv);
return;
}
if(cpt < 50) { if(cpt < 50) {
document.getElementById("indicateur").style.backgroundColor = "orange"; document.getElementById("indicateur").style.backgroundColor = "orange";
@ -566,7 +558,6 @@ function decompte() {
indicateur.style.width = cpt + "px"; indicateur.style.width = cpt + "px";
progressnum.innerHTML = cpt; progressnum.innerHTML = cpt;
} }

Loading…
Cancel
Save