-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.1.4
-
None
-
MOODLE_401_STABLE
Using course format Topics, certain activities are not properly highlighted, specifically hidden activities and labels (text & media area).
The following elements have background/background-color overwritten:
- li.activity.label
- .activity-item.hiddenactivity
We could increase specificity, like I did in our theme to work around this issue:
.block_accessreview .activity-item.hiddenactivity {
|
color: inherit;
|
background: inherit;
|
border-color: inherit;
|
}
|
li.activity.label {
|
&.block_accessreview_danger {
|
color: #6e211e;
|
background: #f6d9d8;
|
border-color: #f3c9c8;
|
}
|
&.block_accessreview_success {
|
color: #1e451e;
|
background: #d7e6d7;
|
border-color: #c8ddc8;
|
}
|
&.block_accessreview_warning {
|
color: #7d5a29;
|
background: #fcefdc;
|
border-color: #fbe8cd;
|
}
|
}
|
The two CSS rules causing the problem both come from Boost. Maybe it would be better to reconsider why they are in place and how they could be changed instead?
- has a non-specific relationship to
-
MDL-79288 Colour contrast issues with the accessibility toolkit's heatmap
-
- Closed
-