Boost: Change font colour for all labels showing on Activity completion report

Boost: Change font colour for all labels showing on Activity completion report

by Anthony M -
Number of replies: 4

Hi, 

In Boots Moodle 4, I would like to change the labels titles to red font (not for other resources or activities there) in the Activity Completion report and apply to all courses in the site...


I tried to change the font colour within the Label text in the course page but the colour doesn't show in the Activity Completion report.

I am trying to do it with CSS but can't find how to change the titles colour just for the labels. 


This is related but not the same thing (https://moodle.org/mod/forum/discuss.php?d=349402#p1409794)...


#page-report-progress-index #completion-progress th svg {
    fill: currentColor;
}



Any help is appreciated.




Average of ratings: -
In reply to Anthony M

Boost: Change font colour for all labels showing on Activity completion report

by John Provasnik -
Picture of Particularly helpful Moodlers Picture of Testers
consider adding a color "filter" to the image with css: https://www.w3schools.com/cssref/css3_pr_filter.asp - I do this a lot with png but haven't tried on an svg
In reply to John Provasnik

Re: Boost: Change font colour for all labels showing on Activity completion report

by Anthony M -
Thanks John,

When playing with the browswer console and and changing colors there, I can´t find any place in order to change the font color just for the labels texts highlighted in red in the screenshot...



Thanks,
In reply to Anthony M

Re: Boost: Change font colour for all labels showing on Activity completion report

by Anthony M -
I came up with a solution where I went to the server and replaced the label icon with a red point in order to highlight that row but it would be nice if I could also change the label titles to red font…



Labels are hidden to students in the course page and I just want for the teacher to be able to go to the activity completion report and manually mark the students as completed for the labels, what would mean that they have their payment done for each of the course modules
In reply to Anthony M

Re: Boost: Change font colour for all labels showing on Activity completion report

by Dominique Palumbo -
Picture of Particularly helpful Moodlers Picture of Plugin developers
Hi,

#completion-progress thead a {color:red}

I hope it will help.

Dominique.