font colour of hidden parts in course (moodle2)

font colour of hidden parts in course (moodle2)

by Stefan Eberhard -
Number of replies: 8

Hidden parts in courses can only be recognized by the closed eye. Where to change the fonts-colour to greyish like in moodle 1...

Average of ratings: -
In reply to Stefan Eberhard

Re: font colour of hidden parts in course (moodle2)

by Steve Iman -

This will likely depend on the particular theme you're working with since designers sometimes have preferences for naming and file structure. You're in Moodle 2.0, and it'll help Mary or others to know more precisely in the framework of which theme to be looking and thinking.

Average of ratings: Useful (1)
In reply to Stefan Eberhard

Re: font colour of hidden parts in course (moodle2)

by Frank Ralf -
Hi Stefan,

CSS FAQ and Themes FAQ are good starting points for learning more about CSS and theming. You should use Firebug to find out which CSS is responsible for the color.

hth
Frank
In reply to Frank Ralf

Re: font colour of hidden parts in course (moodle2)

by Stefan Eberhard -

Its very tricky!

http://tracker.moodle.org/browse/MDL-24613

Changing the span in core does not work.

In reply to Stefan Eberhard

Re: font colour of hidden parts in course (moodle2)

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

a.dimmed,
a.dimmed_text,
.dimmed_text,
.dimmed_text a,
.dimmed_category,
.dimmed_category a {color:#AAAAAA;}

#AAAAAA = light-gray like this text example

This CSS can be found in BASE theme's core.css file.

If you want to change the dimming color to another coloer. Then add that code to the end of your theme's css file.

Hope this helps?

Mary

In reply to Mary Evans

Re: font colour of hidden parts in course (moodle2)

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Mary "If you want to change the dimming color to another color."

I would very much advise against changing the "dimmed" color that is set to gray in the BASE theme. It is a "universal" standard that unavailable elements are "grayed out". The fact that theme customization allows you to change things does not mean that you should change such basic things, you risk confusing your users.

Joseph

In reply to Joseph Rézeau

Re: font colour of hidden parts in course (moodle2)

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Oh don't be such an old boar Joseph!

In reply to Mary Evans

Re: font colour of hidden parts in course (moodle2)

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Mary,

I suppose you meant "an old gray bear".wink

Joseph