Best practice forum (Archived)

הדיון בפורום זה הוסר

 
פרסום זה הוסר
13/07/2016, 06:50
פרסום זה הוסר ואינו זמין יותר.
Joby Harding
Re: css setting cariables
על ידי Joby Harding בתאריך 13/07/2016, 07:53
 
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
על ידי Brian Barnes (Core Developer) בתאריך 13/07/2016, 13:34
קבוצה 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

פרסום זה הוסר
15/07/2016, 02:43
פרסום זה הוסר ואינו זמין יותר.