Skip to content
Snippets Groups Projects
Commit 2ac513e1 authored by Anthony's avatar Anthony
Browse files

Set background color on quizz feedback

parent 70e44d70
Branches
No related tags found
No related merge requests found
body {
--accent-quiz: #2aa198;
// Defined but not used for now
--quizz-backgourd-color: #00000;
--feedback-sucess-color: lightgreen;
--feedback-error-color: red;
}
#correct-indic {
border: 2px solid var(--accent-quiz);
border-radius: 8px;
padding: 16px;
p {
margin: 0;
}
}
// ***********************************
// Gloabl
// ***********************************
#sv-nav-complete {
display: none;
......@@ -29,3 +26,24 @@ select.sd-dropdown.inline-dropdown, input.sd-input.inline-input {
width: fit-content;
padding: 8px;
}
// ***********************************
// User Feedback in quizz
// ***********************************
#correct-indic.incorrect{
background-color: var(--feedback-error-color);
}
#correct-indic.correct{
background-color: var(--feedback-sucess-color);
}
#correct-indic {
border: 2px solid var(--accent-quiz);
border-radius: 8px;
padding: 16px;
p {
margin: 0;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment