font colour of hidden parts in course (moodle2)

font colour of hidden parts in course (moodle2)

дэргэд Stefan Eberhard -
Хариу нийтлэлийн тоо: 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...

Үнэлгээний дундаж: -
Stefan Eberhard-н хариуд

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

дэргэд 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.

Stefan Eberhard-н хариуд

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

дэргэд 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
Frank Ralf-н хариуд

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

дэргэд Stefan Eberhard -

Its very tricky!

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

Changing the span in core does not work.

Stefan Eberhard-н хариуд

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

дэргэд Mary Evans -
Core developers зураг Documentation writers зураг Peer reviewers зураг Plugin developers зураг 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

Mary Evans-н хариуд

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

дэргэд Joseph Rézeau -
Core developers зураг Particularly helpful Moodlers зураг Plugin developers зураг Testers зураг 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

Joseph Rézeau-н хариуд

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

дэргэд Mary Evans -
Core developers зураг Documentation writers зураг Peer reviewers зураг Plugin developers зураг Testers зураг

Oh don't be such an old boar Joseph!