diff --git a/SwichGIT/src/css/PartieGame.css b/SwichGIT/src/css/PartieGame.css index 68e14c8..ec9834c 100644 --- a/SwichGIT/src/css/PartieGame.css +++ b/SwichGIT/src/css/PartieGame.css @@ -80,7 +80,7 @@ #caseBarre { background-color:lightgray; - width:104px; + height:104px; padding:2px; -moz-border-radius:3px; border-radius:5px; @@ -88,31 +88,35 @@ border:1px solid gray; order:2; margin-left: 300px; - height: 50px; + width: 50px; + } #progressbar { - width:100px; + height:100px; padding:1px; background-color:white; border:1px solid black; - height:28px; + width:28px; border-radius: 5px; - +transform: rotate(180deg); } + #indicateur { - width:0px; + height: 100px; background-color : green; - height:28px; - margin:0; + width:28px; + margin: 0; + } + #progressnum { text-align:center; - width:100px; + height: 10px; font-family: Montserrat, impact, Arial Black; - + transform: rotate(180deg); } diff --git a/SwichGIT/src/js/main.js b/SwichGIT/src/js/main.js index 48bba0c..271a1e1 100644 --- a/SwichGIT/src/js/main.js +++ b/SwichGIT/src/js/main.js @@ -556,7 +556,7 @@ function decompte() { document.getElementById("indicateur").style.backgroundColor = "red"; } - indicateur.style.width = cpt + "px"; + indicateur.style.height = cpt + "px"; progressnum.innerHTML = cpt; }