Cosmetics: close error boxes and results in color

This commit is contained in:
Claude Brisson
2024-03-17 10:58:08 +01:00
parent 55d8951fd7
commit 1fce827894
3 changed files with 17 additions and 0 deletions

View File

@@ -343,6 +343,14 @@
background: lightcoral;
border: solid 2px red;
color: red;
&::after {
content: 'x';
position: absolute;
top: 0.1em;
right: 0.1em;
cursor: pointer;
line-height: 0.4em;
}
}
body.initial {
@@ -633,6 +641,9 @@
}
}
}
.player {
color: black !important;
}
.ui.red.circular.label {
background-color: white;
color: white;

View File

@@ -302,9 +302,11 @@
}
.player {
&.winner {
color: darkred;
font-weight: bold;
}
&.looser {
color: blue;
font-style: italic;
}
}

View File

@@ -127,6 +127,10 @@
}
});
$('#error').on('click', e => {
clearFeedback();
});
// prev/next round buttons
if (typeof(activeRound) !== 'undefined') {
if (activeRound === 1) {