From f0aef7abfee4526526ce114ea2feeaa71035b64e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20B=C3=B6sch?= Date: Sat, 14 Apr 2018 18:17:31 +0200 Subject: [PATCH] MDL-61991 theme_boost: Question correctness displayed as label. --- theme/boost/scss/moodle/question.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/theme/boost/scss/moodle/question.scss b/theme/boost/scss/moodle/question.scss index 6d6c69b6014..c728549e8e0 100644 --- a/theme/boost/scss/moodle/question.scss +++ b/theme/boost/scss/moodle/question.scss @@ -344,6 +344,7 @@ body.path-question-type { .que .specificfeedback, .que .generalfeedback, +.que .numpartscorrect .que .rightanswer, .que .im-feedback, .que .feedback, @@ -351,6 +352,20 @@ body.path-question-type { margin: 0 0 0.5em; } +.que .correctness { + @extend .tag; + &.correct { + background-color: $state-success-text; + } + &.partiallycorrect { + background-color: $state-warning-text; + } + &.notanswered, + &.incorrect { + background-color: $state-danger-text; + } +} + .que .qtext { margin-bottom: 1.5em; }