Best practice forum (Archived)

该论坛讨论已删除

 
该论坛帖子已被删除
2016年07月13日 Wednesday 06:50
该论坛帖子的内容已被删除,无法再访问。
HardingJoby
Re: css setting cariables
HardingJoby 发表于 2016年07月13日 Wednesday 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
Barnes (Core Developer)Brian
Re: css setting cariables
Barnes (Core Developer)Brian 发表于 2016年07月13日 Wednesday 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

该论坛帖子已被删除
2016年07月15日 Friday 02:43
该论坛帖子的内容已被删除,无法再访问。