|
|
@ -171,13 +171,13 @@ class Figure {
|
|
|
|
unCercle.className = "anneau";
|
|
|
|
unCercle.className = "anneau";
|
|
|
|
|
|
|
|
|
|
|
|
if (pos == 0 || pos == 2 || pos == 9 || pos == 11) {
|
|
|
|
if (pos == 0 || pos == 2 || pos == 9 || pos == 11) {
|
|
|
|
unCercle.style.backgroundColor = "#00CBFF";
|
|
|
|
unCercle.style.backgroundColor = "var(--colorone)";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (pos == 1 || pos == 10) {
|
|
|
|
if (pos == 1 || pos == 10) {
|
|
|
|
unCercle.style.backgroundColor = "#00FF6E";
|
|
|
|
unCercle.style.backgroundColor = "var(--colortwo)";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (pos == 4 || pos == 7) {
|
|
|
|
if (pos == 4 || pos == 7) {
|
|
|
|
unCercle.style.backgroundColor = "#C800FF";
|
|
|
|
unCercle.style.backgroundColor = "var(--colorthree)";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var unRond = document.createElement('div');
|
|
|
|
var unRond = document.createElement('div');
|
|
|
|