modifs de la barre de temps

Golfier
algolfier 4 years ago
parent 2af76a92f3
commit 3798a2107c

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

@ -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--;
@ -550,11 +547,6 @@ function decompte() {
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;
}

Loading…
Cancel
Save