Best practice forum (Archived)

This forum discussion has been removed

 
This forum post has been removed
Wednesday, 13 July 2016, 6:50 AM
The content of this forum post has been removed and can no longer be accessed.
Joby Harding
Re: css setting cariables
by Joby Harding - Wednesday, 13 July 2016, 7:53 AM
 
Hi Christoph,

Based on Totara 2.9 the CSS setting variable replacement names you're looking for are generated by combining the theme setting names:

'linkcolor'
'linkvisitedcolor'
'headerbgc'
'buttoncolor'

with each of the following suffixes:

'lighter'
'darker'
'light'
'dark'
'lighter-perc'
'darker-perc'
'light-perc'
'dark-perc'
'readable-text'
'readable-text-shadow'

You will find these listed in the following file / functions:

theme/customtotararesponsive/lib.php theme_customtotararesponsive_process_css()

and

totara/core/totara.php totara_theme_generate_autocolors()

Let me know if you have any further questions.

Cheers,

Joby
Brian Barnes (Core Developer)
Re: css setting cariables
by Brian Barnes (Core Developer) - Wednesday, 13 July 2016, 1:34 PM
Group Totara

Please note that those variables are only used by the Custom Totara responsive theme (and possibly any theme derived from it - I haven't done any testing there). These values are set from Site Administration > Appearance > Themes > Custom Totara Responsive.

Cheers,
Brian

This forum post has been removed
Friday, 15 July 2016, 2:43 AM
The content of this forum post has been removed and can no longer be accessed.