Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
12045Feature requestsTheme editorpublic2020-04-21 18:20
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynoneSeverityfeature 
Status closedResolutionfixed 
Summary12045: Theming for template
Description

In develop version : update boostrap.css + some color in template.css : you have some 'theming' for user.

Then maybe we can start to allow theming for template ,an a config.xml part for theming.

There are different situation :

  • template come with included theme and provide a list of theme file
  • template come without theme but offer a less system to produce new template

It's better if variables.less can be the same for different theme : maybe a 'themecompatibility' in config.xml ?

Additional Information

An idea for starting :

Add https://github.com/Inpassor/yii-EAssetManager or another system (bs 3 have less, bs4 have sass ...)
Allow update variables.less in template editor
Use variable.less in a new files loaded before template.css (exemple : https://github.com/LimeSurvey/LimeSurvey/blob/develop/templates/default/css/template.css#L212)

Maybe directly allow variables.less edit in survey, or better : a partial variables.less

We have too, to do some other included template with different system : panel use for question-wrapper for example, or text-primary on question text (not bg-primary) etc ....

TagsNo tags attached.
Bug heat2
Story point estimate
Users affected %

Relationships

parent of 12046 closedDenisChenu Feature requests Reset boostrap extension to default 
related to 12036 closedLouisGac Bug reports Cannot edit template config.xml file in the editor 

Activities

DenisChenu

DenisChenu

2017-01-12 16:18

developer   ~42701

About variables : adding less + in config.xml
<variables>
<css>
<primary>#defaultPrimaryColor</primary>
<info>#defaultInfoColor</info>
</css>
</variables>

Here : adding a "tab" in survey to manage primary and info color (it's a quick example).

DenisChenu

DenisChenu

2020-04-21 18:20

developer   ~57296

template come with included theme and provide a list of theme file

OK , done

template come without theme but offer a less system to produce new template

Not perfect, but header style can do this.

Issue History

Date Modified Username Field Change
2017-01-12 08:59 DenisChenu New Issue
2017-01-12 09:04 DenisChenu Relationship added child of 12046
2017-01-12 09:05 DenisChenu Relationship deleted child of 12046
2017-01-12 09:05 DenisChenu Relationship added related to 12046
2017-01-12 09:05 DenisChenu Relationship replaced parent of 12046
2017-01-12 16:15 DenisChenu Relationship added related to 12036
2017-01-12 16:18 DenisChenu Note Added: 42701
2020-04-21 18:20 DenisChenu Assigned To => DenisChenu
2020-04-21 18:20 DenisChenu Status new => closed
2020-04-21 18:20 DenisChenu Resolution open => fixed
2020-04-21 18:20 DenisChenu Note Added: 57296