feat(options): Default fonts and colors tab with Default font/colors sections (Prompt Y)
- Tab renamed to "Default fonts and colors" with full-width h2+p intro
("Default font"), 3-col row font/fontcolor/fontsize, hr, "Default colors"
h2+p, 3-col row primarycolor ("Color 1 (primary)")/secondarycolor/new
tertiarycolor ("Color 3", #dddddd)
- headerfont moved to Top of page Header section col 2 above navbarfontcolor;
progressbarfont to Progress bar first row col 3 (col 2 stays empty)
- headertextcolor(+custom)/progressbartextcolor(+custom) removed from
config.xml (covered by navbarfontcolor/progressbarfontcolor; views fall
back to fontcolor via |default)
- 21 per-element font/color/size options moved Fonts -> Questions, rendered
full width below the 3 question columns
- variants rebuilt (defensie/erasmus/respondage); example variant config
synced
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
cf2acebc1a
commit
089ddc5642
3 changed files with 121 additions and 113 deletions
69
config.xml
69
config.xml
|
|
@ -287,9 +287,10 @@
|
||||||
size/weight options below. HOUSE-STYLE: fontcolor, primarycolor and
|
size/weight options below. HOUSE-STYLE: fontcolor, primarycolor and
|
||||||
secondarycolor are set per variant via variants/<client>.json. -->
|
secondarycolor are set per variant via variants/<client>.json. -->
|
||||||
<fontcolor type="colorpicker" category="Fonts" width="12" title="Default font color (body text)" options="on|off" optionlabels="Yes|No">#444444</fontcolor>
|
<fontcolor type="colorpicker" category="Fonts" width="12" title="Default font color (body text)" options="on|off" optionlabels="Yes|No">#444444</fontcolor>
|
||||||
<fontsize type="buttons" category="Fonts" width="12" title="Base font size" options="14px|16px|18px|20px" optionlabels="Small (14px)|Normal (16px)|Large (18px)|Extra large (20 px)">16px</fontsize>
|
<fontsize type="buttons" category="Fonts" width="12" title="Base font size (body text)" options="14px|16px|18px|20px" optionlabels="Small (14px)|Normal (16px)|Large (18px)|Extra large (20 px)">16px</fontsize>
|
||||||
<primarycolor type="colorpicker" category="Fonts" width="12" title="Primary color" options="on|off" optionlabels="Yes|No">#5e1c64</primarycolor>
|
<primarycolor type="colorpicker" category="Fonts" width="12" title="Color 1 (primary)" options="on|off" optionlabels="Yes|No">#5e1c64</primarycolor>
|
||||||
<secondarycolor type="colorpicker" category="Fonts" width="12" title="Secondary color" options="on|off" optionlabels="Yes|No">#888888</secondarycolor>
|
<secondarycolor type="colorpicker" category="Fonts" width="12" title="Color 2" options="on|off" optionlabels="Yes|No">#888888</secondarycolor>
|
||||||
|
<tertiarycolor type="colorpicker" category="Fonts" width="12" title="Color 3" options="on|off" optionlabels="Yes|No">#dddddd</tertiarycolor>
|
||||||
<!-- Per-element font+color combos (Prompt U). Each element gets:
|
<!-- Per-element font+color combos (Prompt U). Each element gets:
|
||||||
- <el>font (type "fontselect"): the SAME choices as the base "font"
|
- <el>font (type "fontselect"): the SAME choices as the base "font"
|
||||||
dropdown above (bundled + variant-custom + browser fonts), plus a
|
dropdown above (bundled + variant-custom + browser fonts), plus a
|
||||||
|
|
@ -302,75 +303,59 @@
|
||||||
color fontcolor). Resolved to an inline style="color: …" in the views.
|
color fontcolor). Resolved to an inline style="color: …" in the views.
|
||||||
- <el>textcolorcustom (colorpicker): only visible when <el>textcolor
|
- <el>textcolorcustom (colorpicker): only visible when <el>textcolor
|
||||||
= "other" (parent show-value "other"). -->
|
= "other" (parent show-value "other"). -->
|
||||||
<headerfont type="fontselect" category="Fonts" width="4" title="Font for the header / top menu">base</headerfont>
|
<headerfont type="fontselect" category="Top of the page" width="4" title="Font for the header / top menu">base</headerfont>
|
||||||
<headertextcolor type="dropdown" category="Fonts" width="12" title="Text color for the header / top menu" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
<progressbarfont type="fontselect" category="Top of the page" width="4" title="Font for the progress bar">base</progressbarfont>
|
||||||
<dropdownoptions>
|
<questiontitlefont type="fontselect" category="Questions" width="4" title="Font for question titles">base</questiontitlefont>
|
||||||
<option value="default">Default font color</option>
|
<questiontitletextcolor type="dropdown" category="Questions" width="12" title="Text color for question titles" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
||||||
<option value="primary">Primary color</option>
|
|
||||||
<option value="secondary">Secondary color</option>
|
|
||||||
<option value="other">Other…</option>
|
|
||||||
</dropdownoptions></headertextcolor>
|
|
||||||
<headertextcolorcustom type="colorpicker" category="Fonts" width="12" title="Custom text color for the header / top menu" parent="headertextcolor">#444444</headertextcolorcustom>
|
|
||||||
<progressbarfont type="fontselect" category="Fonts" width="4" title="Font for the progress bar">base</progressbarfont>
|
|
||||||
<progressbartextcolor type="dropdown" category="Fonts" width="12" title="Text color for the progress bar" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
|
||||||
<dropdownoptions>
|
|
||||||
<option value="default">Default font color</option>
|
|
||||||
<option value="primary">Primary color</option>
|
|
||||||
<option value="secondary">Secondary color</option>
|
|
||||||
<option value="other">Other…</option>
|
|
||||||
</dropdownoptions></progressbartextcolor>
|
|
||||||
<progressbartextcolorcustom type="colorpicker" category="Fonts" width="12" title="Custom text color for the progress bar" parent="progressbartextcolor">#444444</progressbartextcolorcustom>
|
|
||||||
<questiontitlefont type="fontselect" category="Fonts" width="4" title="Font for question titles">base</questiontitlefont>
|
|
||||||
<questiontitletextcolor type="dropdown" category="Fonts" width="12" title="Text color for question titles" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
|
||||||
<dropdownoptions>
|
<dropdownoptions>
|
||||||
<option value="default">Default font color</option>
|
<option value="default">Default font color</option>
|
||||||
<option value="primary">Primary color</option>
|
<option value="primary">Primary color</option>
|
||||||
<option value="secondary">Secondary color</option>
|
<option value="secondary">Secondary color</option>
|
||||||
<option value="other">Other…</option>
|
<option value="other">Other…</option>
|
||||||
</dropdownoptions></questiontitletextcolor>
|
</dropdownoptions></questiontitletextcolor>
|
||||||
<questiontitletextcolorcustom type="colorpicker" category="Fonts" width="12" title="Custom text color for question titles" parent="questiontitletextcolor">#444444</questiontitletextcolorcustom>
|
<questiontitletextcolorcustom type="colorpicker" category="Questions" width="12" title="Custom text color for question titles" parent="questiontitletextcolor">#444444</questiontitletextcolorcustom>
|
||||||
<answersfont type="fontselect" category="Fonts" width="4" title="Font for answers and help texts">base</answersfont>
|
<answersfont type="fontselect" category="Questions" width="4" title="Font for answers and help texts">base</answersfont>
|
||||||
<answerstextcolor type="dropdown" category="Fonts" width="12" title="Text color for answers and help texts" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
<answerstextcolor type="dropdown" category="Questions" width="12" title="Text color for answers and help texts" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
||||||
<dropdownoptions>
|
<dropdownoptions>
|
||||||
<option value="default">Default font color</option>
|
<option value="default">Default font color</option>
|
||||||
<option value="primary">Primary color</option>
|
<option value="primary">Primary color</option>
|
||||||
<option value="secondary">Secondary color</option>
|
<option value="secondary">Secondary color</option>
|
||||||
<option value="other">Other…</option>
|
<option value="other">Other…</option>
|
||||||
</dropdownoptions></answerstextcolor>
|
</dropdownoptions></answerstextcolor>
|
||||||
<answerstextcolorcustom type="colorpicker" category="Fonts" width="12" title="Custom text color for answers and help texts" parent="answerstextcolor">#444444</answerstextcolorcustom>
|
<answerstextcolorcustom type="colorpicker" category="Questions" width="12" title="Custom text color for answers and help texts" parent="answerstextcolor">#444444</answerstextcolorcustom>
|
||||||
<grouptitlefont type="fontselect" category="Fonts" width="4" title="Font for group titles">base</grouptitlefont>
|
<grouptitlefont type="fontselect" category="Questions" width="4" title="Font for group titles">base</grouptitlefont>
|
||||||
<grouptitletextcolor type="dropdown" category="Fonts" width="12" title="Text color for group titles" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
<grouptitletextcolor type="dropdown" category="Questions" width="12" title="Text color for group titles" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
||||||
<dropdownoptions>
|
<dropdownoptions>
|
||||||
<option value="default">Default font color</option>
|
<option value="default">Default font color</option>
|
||||||
<option value="primary">Primary color</option>
|
<option value="primary">Primary color</option>
|
||||||
<option value="secondary">Secondary color</option>
|
<option value="secondary">Secondary color</option>
|
||||||
<option value="other">Other…</option>
|
<option value="other">Other…</option>
|
||||||
</dropdownoptions></grouptitletextcolor>
|
</dropdownoptions></grouptitletextcolor>
|
||||||
<grouptitletextcolorcustom type="colorpicker" category="Fonts" width="12" title="Custom text color for group titles" parent="grouptitletextcolor">#444444</grouptitletextcolorcustom>
|
<grouptitletextcolorcustom type="colorpicker" category="Questions" width="12" title="Custom text color for group titles" parent="grouptitletextcolor">#444444</grouptitletextcolorcustom>
|
||||||
<groupdescriptionfont type="fontselect" category="Fonts" width="4" title="Font for group descriptions">base</groupdescriptionfont>
|
<groupdescriptionfont type="fontselect" category="Questions" width="4" title="Font for group descriptions">base</groupdescriptionfont>
|
||||||
<groupdescriptiontextcolor type="dropdown" category="Fonts" width="12" title="Text color for group descriptions" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
<groupdescriptiontextcolor type="dropdown" category="Questions" width="12" title="Text color for group descriptions" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
||||||
<dropdownoptions>
|
<dropdownoptions>
|
||||||
<option value="default">Default font color</option>
|
<option value="default">Default font color</option>
|
||||||
<option value="primary">Primary color</option>
|
<option value="primary">Primary color</option>
|
||||||
<option value="secondary">Secondary color</option>
|
<option value="secondary">Secondary color</option>
|
||||||
<option value="other">Other…</option>
|
<option value="other">Other…</option>
|
||||||
</dropdownoptions></groupdescriptiontextcolor>
|
</dropdownoptions></groupdescriptiontextcolor>
|
||||||
<groupdescriptiontextcolorcustom type="colorpicker" category="Fonts" width="12" title="Custom text color for group descriptions" parent="groupdescriptiontextcolor">#444444</groupdescriptiontextcolorcustom>
|
<groupdescriptiontextcolorcustom type="colorpicker" category="Questions" width="12" title="Custom text color for group descriptions" parent="groupdescriptiontextcolor">#444444</groupdescriptiontextcolorcustom>
|
||||||
<buttonsfont type="fontselect" category="Fonts" width="4" title="Font for the buttons (Previous/Next/Submit)">base</buttonsfont>
|
<buttonsfont type="fontselect" category="Questions" width="4" title="Font for the buttons (Previous/Next/Submit)">base</buttonsfont>
|
||||||
<buttonstextcolor type="dropdown" category="Fonts" width="12" title="Text color for the buttons (Previous/Next/Submit)" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
<buttonstextcolor type="dropdown" category="Questions" width="12" title="Text color for the buttons (Previous/Next/Submit)" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
||||||
<dropdownoptions>
|
<dropdownoptions>
|
||||||
<option value="default">Default font color</option>
|
<option value="default">Default font color</option>
|
||||||
<option value="primary">Primary color</option>
|
<option value="primary">Primary color</option>
|
||||||
<option value="secondary">Secondary color</option>
|
<option value="secondary">Secondary color</option>
|
||||||
<option value="other">Other…</option>
|
<option value="other">Other…</option>
|
||||||
</dropdownoptions></buttonstextcolor>
|
</dropdownoptions></buttonstextcolor>
|
||||||
<buttonstextcolorcustom type="colorpicker" category="Fonts" width="12" title="Custom text color for the buttons (Previous/Next/Submit)" parent="buttonstextcolor">#444444</buttonstextcolorcustom>
|
<buttonstextcolorcustom type="colorpicker" category="Questions" width="12" title="Custom text color for the buttons (Previous/Next/Submit)" parent="buttonstextcolor">#444444</buttonstextcolorcustom>
|
||||||
<questiontitlefontsize type="buttons" category="Fonts" width="6" title="Question title font size" options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px" optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">1.2rem</questiontitlefontsize>
|
<questiontitlefontsize type="buttons" category="Questions" width="6" title="Question title font size" options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px" optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">1.2rem</questiontitlefontsize>
|
||||||
<questiontitlefontweight type="buttons" category="Fonts" width="6" title="Question title font weight" options="400|700" optionlabels="Normal|Bold">700</questiontitlefontweight>
|
<questiontitlefontweight type="buttons" category="Questions" width="6" title="Question title font weight" options="400|700" optionlabels="Normal|Bold">700</questiontitlefontweight>
|
||||||
<grouptitlefontsize type="buttons" category="Fonts" width="6" title="Group title font size" options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px" optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">2.0rem</grouptitlefontsize>
|
<grouptitlefontsize type="buttons" category="Questions" width="6" title="Group title font size" options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px" optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">2.0rem</grouptitlefontsize>
|
||||||
<grouptitlefontweight type="buttons" category="Fonts" width="6" title="Group title font weight" options="400|700" optionlabels="Normal|Bold">700</grouptitlefontweight>
|
<grouptitlefontweight type="buttons" category="Questions" width="6" title="Group title font weight" options="400|700" optionlabels="Normal|Bold">700</grouptitlefontweight>
|
||||||
<groupdescriptionfontsize type="buttons" category="Fonts" width="6" title="Group description font size" options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px" optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">1.2rem</groupdescriptionfontsize>
|
<groupdescriptionfontsize type="buttons" category="Questions" width="6" title="Group description font size" options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px" optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">1.2rem</groupdescriptionfontsize>
|
||||||
<groupdescriptionfontweight type="buttons" category="Fonts" width="6" title="Group description font weight" options="400|700" optionlabels="Normal|Bold">400</groupdescriptionfontweight>
|
<groupdescriptionfontweight type="buttons" category="Questions" width="6" title="Group description font weight" options="400|700" optionlabels="Normal|Bold">400</groupdescriptionfontweight>
|
||||||
</options>
|
</options>
|
||||||
|
|
||||||
<!-- Here datas about how LimeSurvey should load the theme -->
|
<!-- Here datas about how LimeSurvey should load the theme -->
|
||||||
|
|
|
||||||
|
|
@ -142,13 +142,16 @@
|
||||||
Values are stored per option key, so moving them here does not change any stored
|
Values are stored per option key, so moving them here does not change any stored
|
||||||
value. The order of this list is the order shown in the tab. #}
|
value. The order of this list is the order shown in the tab. #}
|
||||||
{% set aTopOfPageKeys = [
|
{% set aTopOfPageKeys = [
|
||||||
'headerbackgroundcolor', 'navbarfontcolor',
|
'headerbackgroundcolor', 'headerfont', 'navbarfontcolor',
|
||||||
'headersticky', 'headerstickycomputer', 'headerstickytablet', 'headerstickymobile',
|
'headersticky', 'headerstickycomputer', 'headerstickytablet', 'headerstickymobile',
|
||||||
'brandlogofile', 'brandlogotopmargin', 'brandshowoncomputer', 'brandshowontablet', 'brandshowonmobile',
|
'brandlogofile', 'brandlogotopmargin', 'brandshowoncomputer', 'brandshowontablet', 'brandshowonmobile',
|
||||||
'centerlogofile', 'centerlogotopmargin', 'centershowoncomputer', 'centershowontablet', 'centershowonmobile',
|
'centerlogofile', 'centerlogotopmargin', 'centershowoncomputer', 'centershowontablet', 'centershowonmobile',
|
||||||
'rightlogofile', 'rightlogotopmargin', 'rightshowoncomputer', 'rightshowontablet', 'rightshowonmobile',
|
'rightlogofile', 'rightlogotopmargin', 'rightshowoncomputer', 'rightshowontablet', 'rightshowonmobile',
|
||||||
'progressbarposition', 'progressbarbackgroundcolor', 'progressbarcolor', 'progressbarfontcolor'
|
'progressbarposition', 'progressbarfont', 'progressbarbackgroundcolor', 'progressbarcolor', 'progressbarfontcolor'
|
||||||
] %}
|
] %}
|
||||||
|
{# Prompt Y: 'headerfont' sits in column 2 of the Header section, ABOVE navbarfontcolor
|
||||||
|
(the menu-item color); 'progressbarfont' sits in column 3 of the first Progress bar
|
||||||
|
row (column 1 = progressbarposition, column 2 stays empty). #}
|
||||||
|
|
||||||
{# Prompt M: the logo keys are rendered as ONE dedicated 3-column block (triggered at
|
{# Prompt M: the logo keys are rendered as ONE dedicated 3-column block (triggered at
|
||||||
the first logo key, 'brandlogofile') and skipped in the generic per-key loop. #}
|
the first logo key, 'brandlogofile') and skipped in the generic per-key loop. #}
|
||||||
|
|
@ -172,7 +175,12 @@
|
||||||
colors" pane. Per element <el> the keys are <el>font (fontselect),
|
colors" pane. Per element <el> the keys are <el>font (fontselect),
|
||||||
<el>textcolor (dropdown default|primary|secondary|other) and
|
<el>textcolor (dropdown default|primary|secondary|other) and
|
||||||
<el>textcolorcustom (colorpicker, visible only when <el>textcolor = "other"). #}
|
<el>textcolorcustom (colorpicker, visible only when <el>textcolor = "other"). #}
|
||||||
{% set aFontElements = ['header', 'progressbar', 'questiontitle', 'answers', 'grouptitle', 'groupdescription', 'buttons'] %}
|
{% set aFontElements = ['questiontitle', 'answers', 'grouptitle', 'groupdescription', 'buttons'] %}
|
||||||
|
{# Prompt Y: only these five elements still have a <el>textcolor dropdown (parent of
|
||||||
|
<el>textcolorcustom, show-value "other" via aShowIfValues below). The header and
|
||||||
|
progressbar textcolor keys were removed from config.xml — their colors are set in
|
||||||
|
the Top of the page tab (navbarfontcolor / progressbarfontcolor) — so header and
|
||||||
|
progressbar are no longer in aFontElements. #}
|
||||||
|
|
||||||
{# Prompt R: multi-value show lists per parent key, rendered as
|
{# Prompt R: multi-value show lists per parent key, rendered as
|
||||||
data-show-if-value (e.g. "box|top" for questionborder). Core passes only the
|
data-show-if-value (e.g. "box|top" for questionborder). Core passes only the
|
||||||
|
|
@ -183,16 +191,14 @@
|
||||||
{% set aShowIfValues = { 'questionborder': 'box|top' } %}
|
{% set aShowIfValues = { 'questionborder': 'box|top' } %}
|
||||||
{% for el in aFontElements %}{% set aShowIfValues = aShowIfValues|merge({ (el ~ 'textcolor'): 'other' }) %}{% endfor %}
|
{% for el in aFontElements %}{% set aShowIfValues = aShowIfValues|merge({ (el ~ 'textcolor'): 'other' }) %}{% endfor %}
|
||||||
|
|
||||||
{# Prompt U: the Fonts pane is rendered as "Fonts and colors" with a special
|
{# Prompt Y: the Fonts pane ("Default fonts and colors") has exactly six options in
|
||||||
layout: a TOP ROW (col 1: font/fontcolor/fontsize; col 2: primarycolor/
|
two 3-column rows: row 1 = font | fontcolor | fontsize (one per column), then a
|
||||||
secondarycolor; col 3 empty), an hr, then one combo row per element in
|
full-width hr + "Default colors" intro (h2+p), then row 2 = primarycolor |
|
||||||
aFontElements (col 1: <el>font, col 2: <el>textcolor, col 3:
|
secondarycolor | tertiarycolor (one per column). The per-element combos and the
|
||||||
<el>textcolorcustom), then the remaining Fonts options (sizes/weights)
|
size/weight options moved to the Questions tab; headerfont/progressbarfont moved
|
||||||
stacked as usual ("rest"). config.xml lists the Fonts options in exactly
|
to Top of the page. Slots f1-f3 (row 1) and c1-c3 (row 2). #}
|
||||||
this order, so the generic loop meets them slot by slot and opens/closes
|
{% set aFontsRow1 = ['font', 'fontcolor', 'fontsize'] %}
|
||||||
the containers on slot change (fLastSlot). #}
|
{% set aFontsRow2 = ['primarycolor', 'secondarycolor', 'tertiarycolor'] %}
|
||||||
{% set aFontsTop1 = ['font', 'fontcolor', 'fontsize'] %}
|
|
||||||
{% set aFontsTop2 = ['primarycolor', 'secondarycolor'] %}
|
|
||||||
|
|
||||||
{# Prompt R: the Questions pane renders as THREE columns (col-md-4, border-start
|
{# Prompt R: the Questions pane renders as THREE columns (col-md-4, border-start
|
||||||
between them) with explicit key lists. config.xml lists the Questions options
|
between them) with explicit key lists. config.xml lists the Questions options
|
||||||
|
|
@ -211,7 +217,7 @@
|
||||||
stay stable regardless of the tab order. #}
|
stay stable regardless of the tab order. #}
|
||||||
{% set aTabs = [] %}
|
{% set aTabs = [] %}
|
||||||
{% if 'Fonts' in aOptionAttributes.categories %}
|
{% if 'Fonts' in aOptionAttributes.categories %}
|
||||||
{% set aTabs = [{ 'id': 'category-fonts', 'label': 'Fonts and colors', 'category': 'Fonts', 'keys': null }] %}
|
{% set aTabs = [{ 'id': 'category-fonts', 'label': 'Default fonts and colors', 'category': 'Fonts', 'keys': null }] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% set aTabs = aTabs|merge([{ 'id': 'top-of-page', 'label': 'Top of the page', 'category': 'Top of the page', 'keys': aTopOfPageKeys }]) %}
|
{% set aTabs = aTabs|merge([{ 'id': 'top-of-page', 'label': 'Top of the page', 'category': 'Top of the page', 'keys': aTopOfPageKeys }]) %}
|
||||||
{% for category in aOptionAttributes.categories %}
|
{% for category in aOptionAttributes.categories %}
|
||||||
|
|
@ -276,6 +282,15 @@
|
||||||
<p>{{ gT("The header is the top part of the page, possibly containing the name of the survey, logo's and a menu. In this part of the options you can make this header more or less distinguishable from the rest of the page and you can choose if the logo should stay on top of the page after scrolling (sticky) or not.") }}</p>
|
<p>{{ gT("The header is the top part of the page, possibly containing the name of the survey, logo's and a menu. In this part of the options you can make this header more or less distinguishable from the rest of the page and you can choose if the logo should stay on top of the page after scrolling (sticky) or not.") }}</p>
|
||||||
</div></div>
|
</div></div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if tab.id == 'category-fonts' %}
|
||||||
|
{# Prompt Y: intro of the "Default fonts and colors" pane — full-width h2 + p,
|
||||||
|
translatable via gT(). (Typo in the owner's source fixed: "you version" ->
|
||||||
|
"your version".) #}
|
||||||
|
<div class="row action_hide_on_inherit fonts-intro"><div class="col-12">
|
||||||
|
<h2>{{ gT("Default font") }}</h2>
|
||||||
|
<p>{{ gT("Here you choose the default font, the font that is used on most places in your version of the theme.") }}</p>
|
||||||
|
</div></div>
|
||||||
|
{% endif %}
|
||||||
<div class="row action_hide_on_inherit">
|
<div class="row action_hide_on_inherit">
|
||||||
{# Prompt P: in the Images pane use the three-column grid like the logo
|
{# Prompt P: in the Images pane use the three-column grid like the logo
|
||||||
block (Prompt M), but fill ONLY column 1 — all Images options stack
|
block (Prompt M), but fill ONLY column 1 — all Images options stack
|
||||||
|
|
@ -297,26 +312,29 @@
|
||||||
{% set bTopPane = tab.id == 'top-of-page' %}
|
{% set bTopPane = tab.id == 'top-of-page' %}
|
||||||
{% set fSlot = 'rest' %}
|
{% set fSlot = 'rest' %}
|
||||||
{% if bFontsPane %}
|
{% if bFontsPane %}
|
||||||
{% if key in aFontsTop1 %}{% set fSlot = 'top1' %}
|
{# Prompt Y: two 3-column rows — f1/f2/f3 = font/fontcolor/fontsize,
|
||||||
{% elseif key in aFontsTop2 %}{% set fSlot = 'top2' %}
|
c1/c2/c3 = primary/secondary/tertiary color. #}
|
||||||
{% else %}
|
{% if key == 'font' %}{% set fSlot = 'f1' %}
|
||||||
{% for el in aFontElements %}
|
{% elseif key == 'fontcolor' %}{% set fSlot = 'f2' %}
|
||||||
{% if key == el ~ 'font' %}{% set fSlot = 'combo1' %}
|
{% elseif key == 'fontsize' %}{% set fSlot = 'f3' %}
|
||||||
{% elseif key == el ~ 'textcolor' %}{% set fSlot = 'combo2' %}
|
{% elseif key == 'primarycolor' %}{% set fSlot = 'c1' %}
|
||||||
{% elseif key == el ~ 'textcolorcustom' %}{% set fSlot = 'combo3' %}{% endif %}
|
{% elseif key == 'secondarycolor' %}{% set fSlot = 'c2' %}
|
||||||
{% endfor %}
|
{% elseif key == 'tertiarycolor' %}{% set fSlot = 'c3' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% elseif bTopPane %}
|
{% elseif bTopPane %}
|
||||||
{# Prompt X: Top-of-page sections — Header (3 cols:
|
{# Prompt X/Y: Top-of-page sections — Header (3 cols:
|
||||||
headerbackgroundcolor | navbarfontcolor | sticky group), hr,
|
headerbackgroundcolor | headerfont above navbarfontcolor |
|
||||||
Logos (h2+p, then the logo block, then its hr), Progress bar
|
sticky group), hr, Logos (h2+p, then the logo block, then its
|
||||||
(h2+p, position in col 1 with empty cols 2-3, then a colors row
|
hr), Progress bar (h2+p, first row: position in col 1, col 2
|
||||||
with one colorpicker per column, in current order). #}
|
empty, progressbarfont in col 3; then a colors row with one
|
||||||
|
colorpicker per column, in current order). #}
|
||||||
{% if key in aLogoKeys %}{% set fSlot = 'logo' %}
|
{% if key in aLogoKeys %}{% set fSlot = 'logo' %}
|
||||||
{% elseif key == 'headerbackgroundcolor' %}{% set fSlot = 'h1' %}
|
{% elseif key == 'headerbackgroundcolor' %}{% set fSlot = 'h1' %}
|
||||||
|
{% elseif key == 'headerfont' %}{% set fSlot = 'hf' %}
|
||||||
{% elseif key == 'navbarfontcolor' %}{% set fSlot = 'h2' %}
|
{% elseif key == 'navbarfontcolor' %}{% set fSlot = 'h2' %}
|
||||||
{% elseif key in aTopStickyKeys %}{% set fSlot = 'h3' %}
|
{% elseif key in aTopStickyKeys %}{% set fSlot = 'h3' %}
|
||||||
{% elseif key == 'progressbarposition' %}{% set fSlot = 'ppos' %}
|
{% elseif key == 'progressbarposition' %}{% set fSlot = 'ppos' %}
|
||||||
|
{% elseif key == 'progressbarfont' %}{% set fSlot = 'pfont' %}
|
||||||
{% elseif key == 'progressbarbackgroundcolor' %}{% set fSlot = 'pcol1' %}
|
{% elseif key == 'progressbarbackgroundcolor' %}{% set fSlot = 'pcol1' %}
|
||||||
{% elseif key == 'progressbarcolor' %}{% set fSlot = 'pcol2' %}
|
{% elseif key == 'progressbarcolor' %}{% set fSlot = 'pcol2' %}
|
||||||
{% elseif key == 'progressbarfontcolor' %}{% set fSlot = 'pcol3' %}
|
{% elseif key == 'progressbarfontcolor' %}{% set fSlot = 'pcol3' %}
|
||||||
|
|
@ -324,20 +342,25 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if fSlot != fLastSlot and (bFontsPane or bTopPane) %}
|
{% if fSlot != fLastSlot and (bFontsPane or bTopPane) %}
|
||||||
{% if bFontsPane %}
|
{% if bFontsPane %}
|
||||||
{% if fLastSlot == 'top2' %}</div><div class="col-md-4"></div></div><div class="row action_hide_on_inherit"><div class="col-12"><hr class="fonts-hr"></div></div>{% endif %}
|
{# Prompt Y: row 1 (f1/f2/f3) is opened at f1; at f3 the row is
|
||||||
{% if fLastSlot == 'combo3' %}</div></div>{% endif %}
|
closed and row 2 (c1/c2/c3) opens after hr + "Default colors"
|
||||||
{% if fSlot == 'top1' %}<div class="row fonts-top-row"><div class="col-md-4">
|
intro; within a row each new slot just moves to the next
|
||||||
{% elseif fSlot == 'top2' %}</div><div class="col-md-4">
|
col-md-4. #}
|
||||||
{% elseif fSlot == 'combo1' %}<div class="row font-combo-row"><div class="col-md-4">
|
{% if fLastSlot == 'f3' %}</div></div><div class="row action_hide_on_inherit"><div class="col-12"><hr class="fonts-hr"></div></div><div class="row action_hide_on_inherit fonts-section-intro"><div class="col-12"><h2>{{ gT("Default colors") }}</h2><p>{{ gT("The default colors are your most used colors.") }}</p></div></div><div class="row action_hide_on_inherit fonts-colors-row"><div class="col-md-4">
|
||||||
{% elseif fSlot == 'combo2' %}</div><div class="col-md-4">
|
{% elseif fLastSlot == 'f1' or fLastSlot == 'f2' or fLastSlot == 'c1' or fLastSlot == 'c2' %}</div><div class="col-md-4">
|
||||||
{% elseif fSlot == 'combo3' %}</div><div class="col-md-4">
|
{% endif %}
|
||||||
|
{% if fSlot == 'f1' %}<div class="row action_hide_on_inherit fonts-top-row"><div class="col-md-4">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{# top-of-page transitions: close previous slot, open new slot #}
|
{# top-of-page transitions: close previous slot, open new slot.
|
||||||
|
Header: col 1 = h1, col 2 = hf stacked above h2, col 3 = h3.
|
||||||
|
Progress bar: first row = ppos in col 1, empty col 2, pfont in
|
||||||
|
col 3; then the colors row (pcol1/pcol2/pcol3). #}
|
||||||
{% if fLastSlot == 'h1' or fLastSlot == 'h2' %}</div><div class="col-md-4">
|
{% if fLastSlot == 'h1' or fLastSlot == 'h2' %}</div><div class="col-md-4">
|
||||||
{% elseif fLastSlot == 'h3' %}</div></div><div class="row action_hide_on_inherit"><div class="col-12"><hr class="top-section-hr"></div></div><div class="row action_hide_on_inherit top-section-intro"><div class="col-12"><h2>{{ gT("Logos") }}</h2><p>{{ gT("In this theme there are three positions for separate logos, but it is up to you which positions you want to fill.") }}</p></div></div>
|
{% elseif fLastSlot == 'h3' %}</div></div><div class="row action_hide_on_inherit"><div class="col-12"><hr class="top-section-hr"></div></div><div class="row action_hide_on_inherit top-section-intro"><div class="col-12"><h2>{{ gT("Logos") }}</h2><p>{{ gT("In this theme there are three positions for separate logos, but it is up to you which positions you want to fill.") }}</p></div></div>
|
||||||
{% elseif fLastSlot == 'logo' %}<div class="row action_hide_on_inherit top-section-intro"><div class="col-12"><h2>{{ gT("Progress bar") }}</h2><p>{{ gT("The progress bar can be switched on/off per survey in the survey settings. Here in this section you can choose how the progress bar looks when displayed.") }}</p></div></div>
|
{% elseif fLastSlot == 'logo' %}<div class="row action_hide_on_inherit top-section-intro"><div class="col-12"><h2>{{ gT("Progress bar") }}</h2><p>{{ gT("The progress bar can be switched on/off per survey in the survey settings. Here in this section you can choose how the progress bar looks when displayed.") }}</p></div></div>
|
||||||
{% elseif fLastSlot == 'ppos' %}</div><div class="col-md-4"></div><div class="col-md-4"></div></div><div class="row action_hide_on_inherit progress-colors-row"><div class="col-md-4">
|
{% elseif fLastSlot == 'ppos' %}</div><div class="col-md-4"></div><div class="col-md-4">
|
||||||
|
{% elseif fLastSlot == 'pfont' %}</div></div><div class="row action_hide_on_inherit progress-colors-row"><div class="col-md-4">
|
||||||
{% elseif fLastSlot == 'pcol1' or fLastSlot == 'pcol2' %}</div><div class="col-md-4">
|
{% elseif fLastSlot == 'pcol1' or fLastSlot == 'pcol2' %}</div><div class="col-md-4">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if fSlot == 'h1' %}<div class="row action_hide_on_inherit top-section-header"><div class="col-md-4">
|
{% if fSlot == 'h1' %}<div class="row action_hide_on_inherit top-section-header"><div class="col-md-4">
|
||||||
|
|
@ -414,13 +437,18 @@
|
||||||
{% elseif key not in aLogoKeys %}
|
{% elseif key not in aLogoKeys %}
|
||||||
{# Prompt R: Questions pane — three columns; open a col-md-4 at the
|
{# Prompt R: Questions pane — three columns; open a col-md-4 at the
|
||||||
first key and switch column (border-start) whenever the key's
|
first key and switch column (border-start) whenever the key's
|
||||||
column changes. All options in this pane stack as col-12. #}
|
column changes. All options in the columns stack as col-12.
|
||||||
|
Prompt Y: keys in none of the three column lists (the per-element
|
||||||
|
font/color/size options moved here) get qCol 0 = "rest": the open
|
||||||
|
column is closed and they render full width below the columns. #}
|
||||||
{% set bQuestionsPane = tab.category == 'Questions' %}
|
{% set bQuestionsPane = tab.category == 'Questions' %}
|
||||||
{% if bQuestionsPane %}
|
{% if bQuestionsPane %}
|
||||||
{% set qCol = key in aQuestionsCol1 ? 1 : (key in aQuestionsCol2 ? 2 : 3) %}
|
{% set qCol = key in aQuestionsCol1 ? 1 : (key in aQuestionsCol2 ? 2 : (key in aQuestionsCol3 ? 3 : 0)) %}
|
||||||
{% if qCol != qLastCol %}
|
{% if qCol != qLastCol %}
|
||||||
{% if qLastCol > 0 %}</div>{% endif %}
|
{% if qLastCol > 0 %}</div>{% endif %}
|
||||||
|
{% if qCol > 0 %}
|
||||||
<div class="col-md-4{% if qLastCol > 0 %} border-start{% endif %} questions-col-{{ qCol }}">
|
<div class="col-md-4{% if qLastCol > 0 %} border-start{% endif %} questions-col-{{ qCol }}">
|
||||||
|
{% endif %}
|
||||||
{% set qLastCol = qCol %}
|
{% set qLastCol = qCol %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
<version>3.3.0</version>
|
<version>3.3.0</version>
|
||||||
<apiVersion>3</apiVersion>
|
<apiVersion>3</apiVersion>
|
||||||
<description>Example variant of vanilla_respondage, generated by variants/build.php — demonstrates the output of the build process. Not a real client.</description>
|
<description>Example variant of vanilla_respondage, generated by variants/build.php — demonstrates the output of the build process. Not a real client.</description>
|
||||||
<lastUpdate>2026-11-25 10:51:33</lastUpdate>
|
<lastUpdate>2026-11-25 13:22:35</lastUpdate>
|
||||||
<extends>vanilla_respondage</extends>
|
<extends>vanilla_respondage</extends>
|
||||||
</metadata>
|
</metadata>
|
||||||
<compatibility>
|
<compatibility>
|
||||||
|
|
@ -252,9 +252,10 @@
|
||||||
size/weight options below. HOUSE-STYLE: fontcolor, primarycolor and
|
size/weight options below. HOUSE-STYLE: fontcolor, primarycolor and
|
||||||
secondarycolor are set per variant via variants/<client>.json. -->
|
secondarycolor are set per variant via variants/<client>.json. -->
|
||||||
<fontcolor type="colorpicker" category="Fonts" width="12" title="Default font color (body text)" options="on|off" optionlabels="Yes|No">#444444</fontcolor>
|
<fontcolor type="colorpicker" category="Fonts" width="12" title="Default font color (body text)" options="on|off" optionlabels="Yes|No">#444444</fontcolor>
|
||||||
<fontsize type="buttons" category="Fonts" width="12" title="Base font size" options="14px|16px|18px|20px" optionlabels="Small (14px)|Normal (16px)|Large (18px)|Extra large (20 px)">16px</fontsize>
|
<fontsize type="buttons" category="Fonts" width="12" title="Base font size (body text)" options="14px|16px|18px|20px" optionlabels="Small (14px)|Normal (16px)|Large (18px)|Extra large (20 px)">16px</fontsize>
|
||||||
<primarycolor type="colorpicker" category="Fonts" width="12" title="Primary color" options="on|off" optionlabels="Yes|No">#5e1c64</primarycolor>
|
<primarycolor type="colorpicker" category="Fonts" width="12" title="Color 1 (primary)" options="on|off" optionlabels="Yes|No">#5e1c64</primarycolor>
|
||||||
<secondarycolor type="colorpicker" category="Fonts" width="12" title="Secondary color" options="on|off" optionlabels="Yes|No">#888888</secondarycolor>
|
<secondarycolor type="colorpicker" category="Fonts" width="12" title="Color 2" options="on|off" optionlabels="Yes|No">#888888</secondarycolor>
|
||||||
|
<tertiarycolor type="colorpicker" category="Fonts" width="12" title="Color 3" options="on|off" optionlabels="Yes|No">#dddddd</tertiarycolor>
|
||||||
<!-- Per-element font+color combos (Prompt U). Each element gets:
|
<!-- Per-element font+color combos (Prompt U). Each element gets:
|
||||||
- <el>font (type "fontselect"): the SAME choices as the base "font"
|
- <el>font (type "fontselect"): the SAME choices as the base "font"
|
||||||
dropdown above (bundled + variant-custom + browser fonts), plus a
|
dropdown above (bundled + variant-custom + browser fonts), plus a
|
||||||
|
|
@ -267,40 +268,34 @@
|
||||||
color fontcolor). Resolved to an inline style="color: …" in the views.
|
color fontcolor). Resolved to an inline style="color: …" in the views.
|
||||||
- <el>textcolorcustom (colorpicker): only visible when <el>textcolor
|
- <el>textcolorcustom (colorpicker): only visible when <el>textcolor
|
||||||
= "other" (parent show-value "other"). -->
|
= "other" (parent show-value "other"). -->
|
||||||
<headerfont type="fontselect" category="Fonts" width="4" title="Font for the header / top menu">base</headerfont>
|
<headerfont type="fontselect" category="Top of the page" width="4" title="Font for the header / top menu">base</headerfont>
|
||||||
<headertextcolor type="dropdown" category="Fonts" width="12" title="Text color for the header / top menu" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
<progressbarfont type="fontselect" category="Top of the page" width="4" title="Font for the progress bar">base</progressbarfont>
|
||||||
<dropdownoptions><option value="default">Default font color</option><option value="primary">Primary color</option><option value="secondary">Secondary color</option><option value="other">Other…</option></dropdownoptions></headertextcolor>
|
<questiontitlefont type="fontselect" category="Questions" width="4" title="Font for question titles">base</questiontitlefont>
|
||||||
<headertextcolorcustom type="colorpicker" category="Fonts" width="12" title="Custom text color for the header / top menu" parent="headertextcolor">#444444</headertextcolorcustom>
|
<questiontitletextcolor type="dropdown" category="Questions" width="12" title="Text color for question titles" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
||||||
<progressbarfont type="fontselect" category="Fonts" width="4" title="Font for the progress bar">base</progressbarfont>
|
|
||||||
<progressbartextcolor type="dropdown" category="Fonts" width="12" title="Text color for the progress bar" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
|
||||||
<dropdownoptions><option value="default">Default font color</option><option value="primary">Primary color</option><option value="secondary">Secondary color</option><option value="other">Other…</option></dropdownoptions></progressbartextcolor>
|
|
||||||
<progressbartextcolorcustom type="colorpicker" category="Fonts" width="12" title="Custom text color for the progress bar" parent="progressbartextcolor">#444444</progressbartextcolorcustom>
|
|
||||||
<questiontitlefont type="fontselect" category="Fonts" width="4" title="Font for question titles">base</questiontitlefont>
|
|
||||||
<questiontitletextcolor type="dropdown" category="Fonts" width="12" title="Text color for question titles" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
|
||||||
<dropdownoptions><option value="default">Default font color</option><option value="primary">Primary color</option><option value="secondary">Secondary color</option><option value="other">Other…</option></dropdownoptions></questiontitletextcolor>
|
<dropdownoptions><option value="default">Default font color</option><option value="primary">Primary color</option><option value="secondary">Secondary color</option><option value="other">Other…</option></dropdownoptions></questiontitletextcolor>
|
||||||
<questiontitletextcolorcustom type="colorpicker" category="Fonts" width="12" title="Custom text color for question titles" parent="questiontitletextcolor">#444444</questiontitletextcolorcustom>
|
<questiontitletextcolorcustom type="colorpicker" category="Questions" width="12" title="Custom text color for question titles" parent="questiontitletextcolor">#444444</questiontitletextcolorcustom>
|
||||||
<answersfont type="fontselect" category="Fonts" width="4" title="Font for answers and help texts">base</answersfont>
|
<answersfont type="fontselect" category="Questions" width="4" title="Font for answers and help texts">base</answersfont>
|
||||||
<answerstextcolor type="dropdown" category="Fonts" width="12" title="Text color for answers and help texts" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
<answerstextcolor type="dropdown" category="Questions" width="12" title="Text color for answers and help texts" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
||||||
<dropdownoptions><option value="default">Default font color</option><option value="primary">Primary color</option><option value="secondary">Secondary color</option><option value="other">Other…</option></dropdownoptions></answerstextcolor>
|
<dropdownoptions><option value="default">Default font color</option><option value="primary">Primary color</option><option value="secondary">Secondary color</option><option value="other">Other…</option></dropdownoptions></answerstextcolor>
|
||||||
<answerstextcolorcustom type="colorpicker" category="Fonts" width="12" title="Custom text color for answers and help texts" parent="answerstextcolor">#444444</answerstextcolorcustom>
|
<answerstextcolorcustom type="colorpicker" category="Questions" width="12" title="Custom text color for answers and help texts" parent="answerstextcolor">#444444</answerstextcolorcustom>
|
||||||
<grouptitlefont type="fontselect" category="Fonts" width="4" title="Font for group titles">base</grouptitlefont>
|
<grouptitlefont type="fontselect" category="Questions" width="4" title="Font for group titles">base</grouptitlefont>
|
||||||
<grouptitletextcolor type="dropdown" category="Fonts" width="12" title="Text color for group titles" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
<grouptitletextcolor type="dropdown" category="Questions" width="12" title="Text color for group titles" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
||||||
<dropdownoptions><option value="default">Default font color</option><option value="primary">Primary color</option><option value="secondary">Secondary color</option><option value="other">Other…</option></dropdownoptions></grouptitletextcolor>
|
<dropdownoptions><option value="default">Default font color</option><option value="primary">Primary color</option><option value="secondary">Secondary color</option><option value="other">Other…</option></dropdownoptions></grouptitletextcolor>
|
||||||
<grouptitletextcolorcustom type="colorpicker" category="Fonts" width="12" title="Custom text color for group titles" parent="grouptitletextcolor">#444444</grouptitletextcolorcustom>
|
<grouptitletextcolorcustom type="colorpicker" category="Questions" width="12" title="Custom text color for group titles" parent="grouptitletextcolor">#444444</grouptitletextcolorcustom>
|
||||||
<groupdescriptionfont type="fontselect" category="Fonts" width="4" title="Font for group descriptions">base</groupdescriptionfont>
|
<groupdescriptionfont type="fontselect" category="Questions" width="4" title="Font for group descriptions">base</groupdescriptionfont>
|
||||||
<groupdescriptiontextcolor type="dropdown" category="Fonts" width="12" title="Text color for group descriptions" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
<groupdescriptiontextcolor type="dropdown" category="Questions" width="12" title="Text color for group descriptions" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
||||||
<dropdownoptions><option value="default">Default font color</option><option value="primary">Primary color</option><option value="secondary">Secondary color</option><option value="other">Other…</option></dropdownoptions></groupdescriptiontextcolor>
|
<dropdownoptions><option value="default">Default font color</option><option value="primary">Primary color</option><option value="secondary">Secondary color</option><option value="other">Other…</option></dropdownoptions></groupdescriptiontextcolor>
|
||||||
<groupdescriptiontextcolorcustom type="colorpicker" category="Fonts" width="12" title="Custom text color for group descriptions" parent="groupdescriptiontextcolor">#444444</groupdescriptiontextcolorcustom>
|
<groupdescriptiontextcolorcustom type="colorpicker" category="Questions" width="12" title="Custom text color for group descriptions" parent="groupdescriptiontextcolor">#444444</groupdescriptiontextcolorcustom>
|
||||||
<buttonsfont type="fontselect" category="Fonts" width="4" title="Font for the buttons (Previous/Next/Submit)">base</buttonsfont>
|
<buttonsfont type="fontselect" category="Questions" width="4" title="Font for the buttons (Previous/Next/Submit)">base</buttonsfont>
|
||||||
<buttonstextcolor type="dropdown" category="Fonts" width="12" title="Text color for the buttons (Previous/Next/Submit)" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
<buttonstextcolor type="dropdown" category="Questions" width="12" title="Text color for the buttons (Previous/Next/Submit)" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
||||||
<dropdownoptions><option value="default">Default font color</option><option value="primary">Primary color</option><option value="secondary">Secondary color</option><option value="other">Other…</option></dropdownoptions></buttonstextcolor>
|
<dropdownoptions><option value="default">Default font color</option><option value="primary">Primary color</option><option value="secondary">Secondary color</option><option value="other">Other…</option></dropdownoptions></buttonstextcolor>
|
||||||
<buttonstextcolorcustom type="colorpicker" category="Fonts" width="12" title="Custom text color for the buttons (Previous/Next/Submit)" parent="buttonstextcolor">#444444</buttonstextcolorcustom>
|
<buttonstextcolorcustom type="colorpicker" category="Questions" width="12" title="Custom text color for the buttons (Previous/Next/Submit)" parent="buttonstextcolor">#444444</buttonstextcolorcustom>
|
||||||
<questiontitlefontsize type="buttons" category="Fonts" width="6" title="Question title font size" options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px" optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">1.2rem</questiontitlefontsize>
|
<questiontitlefontsize type="buttons" category="Questions" width="6" title="Question title font size" options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px" optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">1.2rem</questiontitlefontsize>
|
||||||
<questiontitlefontweight type="buttons" category="Fonts" width="6" title="Question title font weight" options="400|700" optionlabels="Normal|Bold">700</questiontitlefontweight>
|
<questiontitlefontweight type="buttons" category="Questions" width="6" title="Question title font weight" options="400|700" optionlabels="Normal|Bold">700</questiontitlefontweight>
|
||||||
<grouptitlefontsize type="buttons" category="Fonts" width="6" title="Group title font size" options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px" optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">2.0rem</grouptitlefontsize>
|
<grouptitlefontsize type="buttons" category="Questions" width="6" title="Group title font size" options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px" optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">2.0rem</grouptitlefontsize>
|
||||||
<grouptitlefontweight type="buttons" category="Fonts" width="6" title="Group title font weight" options="400|700" optionlabels="Normal|Bold">700</grouptitlefontweight>
|
<grouptitlefontweight type="buttons" category="Questions" width="6" title="Group title font weight" options="400|700" optionlabels="Normal|Bold">700</grouptitlefontweight>
|
||||||
<groupdescriptionfontsize type="buttons" category="Fonts" width="6" title="Group description font size" options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px" optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">1.2rem</groupdescriptionfontsize>
|
<groupdescriptionfontsize type="buttons" category="Questions" width="6" title="Group description font size" options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px" optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">1.2rem</groupdescriptionfontsize>
|
||||||
<groupdescriptionfontweight type="buttons" category="Fonts" width="6" title="Group description font weight" options="400|700" optionlabels="Normal|Bold">400</groupdescriptionfontweight>
|
<groupdescriptionfontweight type="buttons" category="Questions" width="6" title="Group description font weight" options="400|700" optionlabels="Normal|Bold">400</groupdescriptionfontweight>
|
||||||
</options>
|
</options>
|
||||||
<!-- Here datas about how LimeSurvey should load the theme -->
|
<!-- Here datas about how LimeSurvey should load the theme -->
|
||||||
<engine>
|
<engine>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue