Best practice forum (Archived)

Este foro de discusión ha sido eliminado.

 
Esta publicación en el foro ha sido eliminada.
Wednesday, 13 de July de 2016, 06:50
El contenido de esta publicación del foro se ha eliminado y ya no se puede acceder a él.
Joby Harding
Re: css setting cariables
de Joby Harding - Wednesday, 13 de July de 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
de Brian Barnes (Core Developer) - Wednesday, 13 de July de 2016, 13:34
Grupo 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

Esta publicación en el foro ha sido eliminada.
Friday, 15 de July de 2016, 02:43
El contenido de esta publicación del foro se ha eliminado y ya no se puede acceder a él.