MDL-64107 questions: Increase highlight contrast

When a question has just been edited, it is highlighted. We need to ensure
the colour contrast of text on background is accessible.
This commit is contained in:
Damyon Wiese
2018-12-17 12:35:26 +08:00
parent 33a388eff7
commit 22b8fe5eb7
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -958,7 +958,7 @@ table.quizreviewsummary td.cell {
background: #e4e4e4;
}
#categoryquestions > tbody > tr:nth-of-type(even).highlight {
#categoryquestions > tbody > tr.highlight {
background-color: #afa;
}
+4
View File
@@ -174,6 +174,10 @@
}
}
.highlight {
@extend .text-dark;
}
label {
margin: 0;
display: block;
+2 -2
View File
@@ -8427,10 +8427,10 @@ a.text-danger:hover, a.notconnected:hover, .que a.validationerror:hover, a.text-
a.text-light:hover, a.text-light:focus {
color: #dae0e5 !important; }
.text-dark {
.text-dark, #categoryquestions .highlight {
color: #373a3c !important; }
a.text-dark:hover, a.text-dark:focus {
a.text-dark:hover, #categoryquestions a.highlight:hover, a.text-dark:focus, #categoryquestions a.highlight:focus {
color: #1f2021 !important; }
.text-muted, a.dimmed,