mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
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:
parent
2fbae51df0
commit
ee38a8d1e4
3 changed files with 7 additions and 3 deletions
|
@ -952,7 +952,7 @@ table.quizreviewsummary td.cell {
|
||||||
background: #e4e4e4;
|
background: #e4e4e4;
|
||||||
}
|
}
|
||||||
|
|
||||||
#categoryquestions > tbody > tr:nth-of-type(even).highlight {
|
#categoryquestions > tbody > tr.highlight {
|
||||||
background-color: #afa;
|
background-color: #afa;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -174,6 +174,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.highlight {
|
||||||
|
@extend .text-dark;
|
||||||
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
display: block;
|
display: block;
|
||||||
|
|
|
@ -8426,10 +8426,10 @@ a.text-danger:hover, a.notconnected:hover, .que a.validationerror:hover, a.text-
|
||||||
a.text-light:hover, a.text-light:focus {
|
a.text-light:hover, a.text-light:focus {
|
||||||
color: #dae0e5 !important; }
|
color: #dae0e5 !important; }
|
||||||
|
|
||||||
.text-dark {
|
.text-dark, #categoryquestions .highlight {
|
||||||
color: #373a3c !important; }
|
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; }
|
color: #1f2021 !important; }
|
||||||
|
|
||||||
.text-muted, a.dimmed,
|
.text-muted, a.dimmed,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue