modification de la barre du temps d'écoulement en vertical

Golfier
algolfier 4 years ago
parent 0cbed09e96
commit 76a20967c6

@ -80,7 +80,7 @@
#caseBarre #caseBarre
{ {
background-color:lightgray; background-color:lightgray;
width:104px; height:104px;
padding:2px; padding:2px;
-moz-border-radius:3px; -moz-border-radius:3px;
border-radius:5px; border-radius:5px;
@ -88,31 +88,35 @@
border:1px solid gray; border:1px solid gray;
order:2; order:2;
margin-left: 300px; margin-left: 300px;
height: 50px; width: 50px;
} }
#progressbar #progressbar
{ {
width:100px; height:100px;
padding:1px; padding:1px;
background-color:white; background-color:white;
border:1px solid black; border:1px solid black;
height:28px; width:28px;
border-radius: 5px; border-radius: 5px;
transform: rotate(180deg);
} }
#indicateur #indicateur
{ {
width:0px; height: 100px;
background-color : green; background-color : green;
height:28px; width:28px;
margin: 0; margin: 0;
} }
#progressnum #progressnum
{ {
text-align:center; text-align:center;
width:100px; height: 10px;
font-family: Montserrat, impact, Arial Black; font-family: Montserrat, impact, Arial Black;
transform: rotate(180deg);
} }

@ -556,7 +556,7 @@ function decompte() {
document.getElementById("indicateur").style.backgroundColor = "red"; document.getElementById("indicateur").style.backgroundColor = "red";
} }
indicateur.style.width = cpt + "px"; indicateur.style.height = cpt + "px";
progressnum.innerHTML = cpt; progressnum.innerHTML = cpt;
} }

Loading…
Cancel
Save