2026-11-16 19:36:04 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<!--
(¯`·._.·(¯`·._.· Vanilla Theme Manifest ·._.·´¯)·._.·´¯)
Base configuration for Vanilla Theme.
The content of this file is imported into DB when you install the template.
2026-11-16 19:51:19 +01:00
Line endings: ALL text files in this theme (including this config.xml) use
LF (Unix) line endings only - no CRLF, no lone CR. This is enforced by
.gitattributes (* text=auto eol=lf). Keep it that way so diffs stay
readable; do not re-save files with CRLF line endings.
2026-11-16 19:36:04 +01:00
-->
<config >
<!-- Those metadata are displayed in the theme configuration page. -->
<metadata >
2026-11-24 22:04:11 +01:00
<name > vanilla_respondage</name>
2026-11-25 19:36:32 +01:00
<title > Vanilla Respondage</title>
2026-11-16 19:36:04 +01:00
<type > theme</type>
<creationDate > 2024-04-19 12:03</creationDate>
2026-11-24 22:04:11 +01:00
<author > Respondage</author>
2026-11-16 19:36:04 +01:00
<authorEmail > tammo.terhark@respondage.nl</authorEmail>
2026-11-24 22:04:11 +01:00
<authorUrl > https://www.respondage.nl</authorUrl>
<copyright > Copyright (C) 2026 Respondage — free software, see LICENSE</copyright>
<!-- Fully free (gratis AND libre): GPL v2 or later, same license family as
LimeSurvey core itself. The copyleft means copies and derivatives of THIS
theme cannot become proprietary when distributed — they must stay under
the GPL. Full license text: the LICENSE file shipped with this theme.
Client variants built with variants/build.php may be kept PRIVATE: GPL
obligations apply only when you distribute a variant, not to internal
use. Client logos/assets in a variant are separate copyrighted material. -->
<license > GNU General Public License version 2 or later (GPL-2.0-or-later) — full text in the LICENSE file</license>
<version > 3.3.0</version>
2026-11-16 19:36:04 +01:00
<apiVersion > 3</apiVersion>
2026-11-25 19:36:32 +01:00
<description > <![CDATA[<strong>Vanilla Respondage</strong> — a clean and elaborate LimeSurvey 6/7 theme (extension of the core Vanilla theme) with many options.]]> </description>
2026-11-24 22:04:11 +01:00
<lastUpdate > 2026-11-24 22:00:00</lastUpdate>
2026-11-16 19:36:04 +01:00
<extends > vanilla</extends>
</metadata>
<compatibility >
<version > 6.0</version>
2026-11-16 19:51:19 +01:00
<version > 7.0</version>
2026-11-16 19:36:04 +01:00
</compatibility>
<!--
Here the list of the css/js files to add to the template package.
About packages in Yii: http://www.yiiframework.com/doc/api/1.1/CClientScript#packages-detail
NOTE: The "add" tag also count as a "replace" tag.
Eg: You can't just "add" a file in the extended theme with the same name as a file here. It will always "replace" it. You must use a diffrent file name.
Eg: Vanilla manifest already has "<add > css/theme.css</add> ". So if you use "<add > css/theme.css</add> " in an extended theme, it will replace the vanilla css/theme.css
NOTE: If an extended theme, if you don't change a file that is defined here, you don't need to add it again.
Eg: css/ajaxify.css is already added in vanilla. Nor fruity nor bootswatch modify it, so ne need to add / replace it in fruity or bootswatch.
Even if no mention at all about "css/ajaxify.css" is theme extending vanilla, it will still be added because it's added here
NOTE: To easy test changes in config file, you can force the use of the XML file rather than DB. To do so, turn debug mode on, and in config.php config array, on bottom of debug mode, add:
'force_xmlsettings_for_survey_rendering' => true,
Then, you will not need anymore to reset your theme each time you change the config file.
But, once turning the setting off, You will still must reset the theme to the changes are pushed to DB
-->
<files >
<css >
<add > css/base.css</add>
<add > css/theme.css</add>
<add > css/noTablesOnMobile.css</add>
<add > css/plain.css</add>
2026-11-24 22:04:11 +01:00
<add > css/fonts.css</add>
2026-11-16 19:36:04 +01:00
<add > css/custom.css</add>
</css>
<js >
<add > scripts/theme.js</add>
<add > scripts/custom.js</add>
</js>
<print_css >
<add > css/print_theme.css</add>
</print_css>
</files>
<!-- You can add here any option you want. It will be available in twig file via aSurveyInfo.options.youroptionname -->
2026-11-16 19:51:19 +01:00
<!--
HOUSE-STYLE CONVENTION:
- Options in sections marked "HOUSE-STYLE" are house-style specific:
colors, fonts and the sizes/colors/weights of those fonts, plus
logo on/off + file, logo top margin and background image/color.
- House-style values are ONLY set per client in variants/<client > .json
(processed by variants/build.php into the variant's config.xml).
Never hardcode them in views/, sass/, css/ or scripts/: those files
are shared with all variants.
- Unmarked options are functional/structural (default of the mother
theme, same for all variants). A variant may still override them via
the json; build.php checks that the key exists.
-->
2026-11-16 19:36:04 +01:00
<options >
2026-11-29 11:56:04 +01:00
<!-- Default font and colors tab (options.twig tab 1): ONE row with three col - md - 4 columns — col 1 = font, fontsize, fontcolor; col 2 = defaultbackgroundcolor; col 3 = primarycolor, secondarycolor, tertiarycolor (row 174). Row 159/160: the config.xml order within a category = the render order in options.twig, and width = the pane column width, so the core options renderer lays out the same structure. -->
<!-- Default font and colors
2026-11-27 03:15:30 +01:00
HOUSE-STYLE: the font choice and the four colors below are house-style specific (set per variant via variants/<client > .json).
PLACING A CUSTOM FONT - instructions:
1. Put the font file (e.g. .woff2) in the files/fonts/ folder of
the variant (or of this mother theme if all variants should be
able to pick the font).
2. Create a css file in the variant, e.g. css/variant.css, with the
@font-face and the GENERIC class .font-<value > (not body-scoped!):
the selected font is applied as class font-<value > on <body > , but
the per-element font overrides (fontselect options, see below)
apply the same class on individual elements, so the rule must be
generic to work everywhere:
@font-face {
font-family: 'My Custom Font';
src: url('../files/fonts/my-custom-font.woff2') format('woff2');
}
.font-my_custom_font {
font-family: 'My Custom Font', Arial, sans-serif;
}
('../files/...' works because the asset manager copies the whole
theme dir; in css of the mother theme likewise: ../files/fonts/...)
3. Add to variants/<client > .json:
"files_add": { "css": ["css/variant.css"], "js": [] },
"fontOptions": [ { "value": "my_custom_font",
"label": "My Custom Font" } ]
build.php appends the css to the <files > list and the font to the
"Custom (this theme)" optgroup below. data-font-package stays
"websafe": LimeSurvey only knows core font packages
(application/config/fonts.php); the actual font is loaded via
the variant's own css.
4. Run: php variants/build.php <client > and upload/reset the theme.
See also README.md ("Custom fonts per variant").
To bundle an open source font in THIS mother theme itself, follow
files/fonts/README.md (English walkthrough: files/fonts/ + css/fonts.css
+ the "Bundled open source fonts" optgroup below). -->
2026-11-29 11:56:04 +01:00
<!-- Default font and colors (row 159/174: category equals the options.twig tab label) -->
2026-11-16 19:36:04 +01:00
<!-- When adding new items, please keep fonts ordered alphabetically -->
2026-11-29 11:56:04 +01:00
<font type= "dropdown" category= "Default font and colors" width= "4" title= "Default font (body text)" > noto_sans
2026-11-16 19:36:04 +01:00
<dropdownoptions >
2026-11-24 22:04:11 +01:00
<!-- Open source fonts bundled with this theme itself: font files in files/fonts/, @font - face + generic .font - <value> rules in css/fonts.css. See files/fonts/README.md (English) for how to add your own font here. -->
<optgroup label= "Bundled open source fonts" >
<option class= "font-eb_garamond " value= "eb_garamond" data-font-package= "websafe" > EB Garamond (serif)</option>
<option class= "font-inter " value= "inter" data-font-package= "websafe" > Inter (sans-serif)</option>
<option class= "font-liberation_sans " value= "liberation_sans" data-font-package= "websafe" > Liberation Sans (sans-serif)</option>
<option class= "font-noto_sans " value= "noto_sans" data-font-package= "websafe" > Noto Sans (sans-serif)</option>
<option class= "font-noto_serif " value= "noto_serif" data-font-package= "websafe" > Noto Serif (serif)</option>
<option class= "font-open_sans " value= "open_sans" data-font-package= "websafe" > Open Sans (sans-serif)</option>
<option class= "font-source_serif_4 " value= "source_serif_4" data-font-package= "websafe" > Source Serif 4 (serif)</option>
</optgroup>
2026-11-16 19:51:19 +01:00
<!-- Custom fonts of a variant are appended to the optgroup below by variants/build.php ("fontOptions" in the variant json) -->
<optgroup label= "Custom (this theme)" >
</optgroup>
2026-11-16 19:36:04 +01:00
<optgroup label= "User browser" >
<option class= "font-arial " value= "arial" data-font-package= "websafe" > Arial</option>
<option class= "font-arial_black " value= "arial_black" data-font-package= "websafe" > Arial Black</option>
<option class= "font-comic_sans " value= "comic_sans" data-font-package= "websafe" > Comic Sans</option>
<option class= "font-courier " value= "courier" data-font-package= "websafe" > Courier New</option>
<option class= "font-georgia " value= "georgia" data-font-package= "websafe" > Georgia</option>
<option class= "font-impact " value= "impact" data-font-package= "websafe" > Impact</option>
<option class= "font-lucida_console " value= "lucida_console" data-font-package= "websafe" > Lucida Console</option>
<option class= "font-lucida_sans " value= "lucida_sans" data-font-package= "websafe" > Lucida Sans</option>
<option class= "font-palatino " value= "palatino" data-font-package= "websafe" > Palatino Linotype</option>
<option class= "font-times_new_roman " value= "times_new_roman" data-font-package= "websafe" > Times New Roman</option>
<option class= "font-trebuchet " value= "trebuchet" data-font-package= "websafe" > Trebuchet</option>
</optgroup>
</dropdownoptions>
</font>
2026-11-29 11:56:04 +01:00
<!-- Row 174: the "Default font and colors" tab has ONE row with three
col-md-4 columns (options.twig): col 1 = font, fontsize, fontcolor;
col 2 = defaultbackgroundcolor; col 3 = the three colors below.
HOUSE-STYLE: the font choice and fontcolor/primarycolor/secondarycolor
are set per variant via variants/<client > .json. -->
<fontsize type= "buttons" category= "Default font and colors" width= "4" title= "Base font size (body text)" options= "14px|16px|18px|20px" optionlabels= "Small (14px)|Normal (16px)|Large (18px)|XLarge (20 px)" > 16px</fontsize>
<fontcolor type= "colorpicker" category= "Default font and colors" width= "4" title= "Default font color (body text)" options= "on|off" optionlabels= "Yes|No" > #444444</fontcolor>
<!-- Row 124/174: "Default background color" — column 2 of the single
three-column row in the "Default font and colors" tab. It is also the
2026-11-27 03:15:30 +01:00
5th preset of the experimental color-chooser (navbarfontcolor dropdown +
swatches), so users can pick it anywhere a named color is offered. -->
2026-11-29 11:56:04 +01:00
<defaultbackgroundcolor type= "colorpicker" category= "Default font and colors" width= "4" title= "Default background color" options= "on|off" optionlabels= "Yes|No" > #ffffff</defaultbackgroundcolor>
2026-11-29 15:20:01 +01:00
<!-- row 187: universal default colors of the mother theme: Color 1 #26547c,
Color 2 #ef476f, Color 3 #ffd166 (variants override via their json) -->
<primarycolor type= "colorpicker" category= "Default font and colors" width= "4" title= "Color 1 (primary)" options= "on|off" optionlabels= "Yes|No" > #26547c</primarycolor>
<secondarycolor type= "colorpicker" category= "Default font and colors" width= "4" title= "Color 2" options= "on|off" optionlabels= "Yes|No" > #ef476f</secondarycolor>
2026-11-29 16:13:06 +01:00
<tertiarycolor type= "colorpicker" category= "Default font and colors" width= "4" title= "Color 3" options= "on|off" optionlabels= "Yes|No" > #fff3cd</tertiarycolor>
2026-11-27 03:15:30 +01:00
2026-11-27 03:17:57 +01:00
<!-- Header tab (options.twig tab 2, keys in aTopOfPageKeys order): header font + menu text color, header background color, sticky per device + header height, then the three logos, then the progress bar position/font/colors. -->
<headerfont type= "fontselect" category= "Header" width= "4" title= "Font for the header / top menu" > base</headerfont>
2026-11-27 03:15:30 +01:00
<!-- Working example (row 115, reordered + relabelled row 125): menu item color
as a preset dropdown. The KEY navbarfontcolor is kept (stored DB values
stay attached); the type changes colorpicker -> dropdown with modes
default|defaultbackgroundcolor|color1|color2|color3|other — the "Default
background color" is the SECOND choice (row 125). A legacy stored hex
value is migrated client-side to mode "other" + hex into
navbarfontcolorcustom (options.js navbarColorModeUI), and
custom_header.twig accepts a raw hex directly. The child
navbarfontcolorcustom is rendered VISIBLE but grayed out (disabled)
unless mode "other" (data-show-if-mode="disable" in options.twig) and
keeps its value across saves (data-keep-value in options.js).
PER-OPTION DEFAULT (row 125/126/134): every color-chooser dropdown can pick
its own default value — the element text below IS that default (LimeSurvey
stores it in the DB on theme reset), and the <option data-default= "1" >
marks it. The default entry is enclosed in [ ] in the dropdown list
(bolding <option > text is not rendered by every browser — row 134), and
its swatch label below the swatch stays bold (options.js is-default).
Here the default is "default" ("Default font color"); e.g. when
questiontitlebackgroundcolor is later converted to this pattern, its
default can be set to "color1".
ROW 131: the option TEXTS are exactly "Default font color",
"Default background color", "Color 1", "Color 2", "Color 3",
"Other ..." — options.js appends each entry's live hexcode in brackets
(for "Other ..." the custom color's hex) and bolds the default. -->
feat(options): row 197 — help/border font color choosers, box-only radii, aligned chooser columns, 'Font color for ...' labels
- questionhelpfontcolor + questionbordercolor are now 6-way color choosers
(+custom children), both default mode 'default' (Default font color);
resolved via cmm.cm() in custom_header.twig (legacy hex passthrough)
- border radii show only for questionborder=box (per-key show-values in
options.twig aShowIfValuesByKey); options.js cascades hiding to nested
conditional wrappers (questionbordercolorcustom); radii stay two
subcolumns (border-start on TR/BR)
- chooser columns aligned with the font color: title section = one column
(title-0: font, font color, size/options, legacy picker, title bg, body
bg), answers-0 += checkbox chooser, help-0 = font + font color + bg
chooser, help-1 = text position
- all font-color labels follow 'Font color for ...' / 'Custom font color
for ...' (21 labels renamed, incl. 'Font color for question titles' and
'Font color for answers and subquestions')
- chooser key lists synced in options.twig/options.js/build.php (+2)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 16:30:39 +01:00
<navbarfontcolor type= "dropdown" category= "Header" width= "4" title= "Font color for the header menu" options= "default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels= "Default font color|Default background color|Color 1|Color 2|Color 3|Other ..." > default
feat(options): Fonts tab becomes 'Fonts and colors' with per-element font+color combos (Prompt U)
Tab 'Fonts' is renamed to 'Fonts and colors' and gets a dedicated layout:
top row (col 1: font, fontcolor, fontsize; col 2: primarycolor +
new secondarycolor; col 3 empty), an hr, then one combo row per element
(header, progressbar, questiontitle, answers, grouptitle,
groupdescription, buttons) with col 1 = existing <el>font fontselect,
col 2 = new <el>textcolor dropdown (default|primary|secondary|other),
col 3 = new <el>textcolorcustom colorpicker, visible only when mode is
'other' (parent show-value via aShowIfValues, server-side initial d-none,
options.js updateVisibilityByParent/updateChild now handle select parents,
multi-value aware; font's self-parent removed from config.xml).
config.xml: fontcolor/primarycolor moved from Colors to Fonts (retitled
'Default font color (body text)' / 'Primary color'), secondarycolor added
(default #888888), 14 per-element color keys added with dropdownoptions.
Views emit the per-element color as inline style (default->fontcolor,
primary->primarycolor, secondary->secondarycolor, other->custom picker).
Colors tab now only holds sliderhandlecolor + privacybackgroundcolor
(final Colors layout = Prompt T, still open).
Variants rebuilt (defensie, erasmus, example respondage_respondage) —
no unknown-key failures; theme reset in LS-admin still owner action.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-25 11:51:57 +01:00
<dropdownoptions >
fix(options): mark the default color choice with [ ] in the dropdown, not bold
Row 134: bolding <option> text is not rendered by every browser (native
dropdown popups ignore it), so the default entry of a color-chooser dropdown
is now enclosed in square brackets instead — e.g. "[Default font color]
[#444444]". The brackets live in config.xml on the <option data-default="1">
(navbarfontcolor + the five <el>textcolor dropdowns), so they show even before
JS runs; options.js strips and re-adds them idempotently while appending the
live hexcode. Removed from the dropdown list: the <b> wrap (row 129), the
inline font-weight (row 132), the CSS option[data-default] rule and the
:has() closed-select rule. The bold REMAINS only on the swatch label below the
swatch (.color-chip-label.is-default), where it renders reliably.
OPTIONS_JS_TOKEN -> 20261126.13. Verified: render tc=618 (raw option
"[Default font color]", served options.js?v=20261126.13), jsdom 6/6 incl.
pins (label "[Default font color] [#444444]", no <b>/inline bold/stale CSS
rules, non-default not bracketed, swatch label still bold), export exit 0.
Variants not rebuilt (deferred).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-26 18:51:41 +01:00
<option value= "default" data-default= "1" > [Default font color]</option>
2026-11-27 03:15:30 +01:00
<option value= "defaultbackgroundcolor" > Default background color</option>
<option value= "color1" > Color 1</option>
<option value= "color2" > Color 2</option>
<option value= "color3" > Color 3</option>
<option value= "other" > Other ...</option>
</dropdownoptions> </navbarfontcolor>
feat(options): row 197 — help/border font color choosers, box-only radii, aligned chooser columns, 'Font color for ...' labels
- questionhelpfontcolor + questionbordercolor are now 6-way color choosers
(+custom children), both default mode 'default' (Default font color);
resolved via cmm.cm() in custom_header.twig (legacy hex passthrough)
- border radii show only for questionborder=box (per-key show-values in
options.twig aShowIfValuesByKey); options.js cascades hiding to nested
conditional wrappers (questionbordercolorcustom); radii stay two
subcolumns (border-start on TR/BR)
- chooser columns aligned with the font color: title section = one column
(title-0: font, font color, size/options, legacy picker, title bg, body
bg), answers-0 += checkbox chooser, help-0 = font + font color + bg
chooser, help-1 = text position
- all font-color labels follow 'Font color for ...' / 'Custom font color
for ...' (21 labels renamed, incl. 'Font color for question titles' and
'Font color for answers and subquestions')
- chooser key lists synced in options.twig/options.js/build.php (+2)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 16:30:39 +01:00
<navbarfontcolorcustom type= "colorpicker" category= "Header" width= "4" title= "Custom font color for the header menu (for 'Other ...')" parent= "navbarfontcolor" > #444444</navbarfontcolorcustom>
2026-11-27 03:17:57 +01:00
<!-- Color choosers of the Header tab (rows 115/135/149): HOUSE - STYLE colors, set per
2026-11-27 03:15:30 +01:00
variant via variants/<client > .json. sliderhandlecolor + privacybackgroundcolor remain in
the Colors category (no custom tab yet — Prompt T). -->
<!-- Backgrounds of navbar/page stay plain colorpickers (owner decision
2026-11-26, row 115): they are mostly NOT one of the default colors,
default white #ffffff. EXCEPTION (row 135): the HEADER background color
is part of the color-chooser scheme below — default "Default background
color". -->
<!-- Row 135: the color - chooser scheme (mode dropdown + swatch chips + custom
picker; see navbarfontcolor) rolled out to four more options. Defaults per
owner (row 135): header background = Default background color, progress
bar color = Color 1, progress background = Default background color,
progress font color = Default font color. The <option data-default= "1" >
carries the [ ] marker of that option's own default. A legacy stored HEX
value migrates client-side to mode "other" + hex into the <key > custom
child (options.js colorModeUI), and the views accept a raw hex directly. -->
2026-11-27 03:17:57 +01:00
<headerbackgroundcolor type= "dropdown" category= "Header" width= "4" title= "Header background color" options= "default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels= "Default font color|Default background color|Color 1|Color 2|Color 3|Other ..." > defaultbackgroundcolor
2026-11-27 03:15:30 +01:00
<dropdownoptions >
<option value= "default" > Default font color</option>
<option value= "defaultbackgroundcolor" data-default= "1" > [Default background color]</option>
<option value= "color1" > Color 1</option>
<option value= "color2" > Color 2</option>
<option value= "color3" > Color 3</option>
<option value= "other" > Other ...</option>
</dropdownoptions> </headerbackgroundcolor>
2026-11-27 03:17:57 +01:00
<headerbackgroundcolorcustom type= "colorpicker" category= "Header" width= "4" title= "Custom header background color (for 'Other ...')" parent= "headerbackgroundcolor" > #ffffff</headerbackgroundcolorcustom>
<!-- Header sticky per screen size (shown in the "Header" tab).
2026-11-27 03:15:30 +01:00
Breakpoints are Bootstrap's default ones: phone < md ( 7 6 8 p x ) ,
tablet = md..lg (768-991px), computer >= lg (992px). nav_bar.twig no
longer hardcodes fixed-top; custom_header.twig emits the media
queries. Defaults: sticky on computer + tablet, NOT on mobile. -->
<!-- Prompt L: the master key "headersticky" is kept in config.xml/DB for
backward compatibility, but the options page renders it as a static
LABEL only (see options.twig). Sticky behaviour is governed solely by
the three checkboxes below, which no longer have a parent (always
visible, stacked as a list via width=12). Migration note: an old row
with headersticky=off no longer disables sticky — only the checkboxes
count (defaults on/on/off). -->
2026-11-27 03:17:57 +01:00
<headersticky type= "buttons" category= "Header" width= "4" title= "Make header sticky" options= "on|off" optionlabels= "Yes|No" > on</headersticky>
<headerstickycomputer type= "checkbox" category= "Header" width= "4" title= "Computer screen" > on</headerstickycomputer>
<headerstickytablet type= "checkbox" category= "Header" width= "4" title= "Tablet" > on</headerstickytablet>
<headerstickymobile type= "checkbox" category= "Header" width= "4" title= "Mobile phone" > off</headerstickymobile>
2026-11-27 03:15:30 +01:00
<!-- Row 138: header bar height. Applied as min - height on #survey - nav in
custom_header.twig (the "px" unit is added there; |replace guards against
a stored value that still carries the unit). min-height so taller logos
can still grow the bar — the sticky body padding follows nav.height().
Default 90 px. Sticky defaults above: computer + tablet on, mobile off. -->
2026-11-27 03:17:57 +01:00
<headerheight type= "text" category= "Header" width= "4" title= "Header bar height, in px" > 90</headerheight>
<!-- Logos in the Header tab (row 159). HOUSE - STYLE: logo files are set per
2026-11-27 03:15:30 +01:00
variant via variants/<client > .json. -->
<!-- Logos (Prompt M): per logo (left=brand, center, right) a file dropdown whose
FIRST option is "No logo" (value "off", prepended by options.twig), a top
margin in px (plain number 0-100; the views add the "px"), and "Show logo
on" checkboxes per device (Bootstrap breakpoints: mobile < 768px ,
tablet 768-991px, computer >= 992px). Defaults (row 138): ALL THREE
logos on — left logo-left.png, center logo.png, right logo-right.png;
margin 30 px; show on computer and tablet, NOT on mobile (same as the
old hide-on-small default).
The old keys (brandlogo/centerlogo/rightlogo, *logohideonsmall, the shared
logotopmargin) were removed; variants/build.php maps the variant json's
old keys onto these new keys. -->
2026-11-27 03:17:57 +01:00
<brandlogofile type= "imagefile" category= "Header" width= "4" title= "Logo file (left)" > ./files/logo-left.png</brandlogofile>
<brandlogotopmargin type= "text" category= "Header" width= "4" title= "Margin between logo and top of screen (left), in px (0-100)" > 30</brandlogotopmargin>
<brandshowoncomputer type= "checkbox" category= "Header" width= "4" title= "Computer screen" > on</brandshowoncomputer>
<brandshowontablet type= "checkbox" category= "Header" width= "4" title= "Tablet" > on</brandshowontablet>
<brandshowonmobile type= "checkbox" category= "Header" width= "4" title= "Mobile phone" > off</brandshowonmobile>
<centerlogofile type= "imagefile" category= "Header" width= "4" title= "Logo file (center)" > ./files/logo.png</centerlogofile>
<centerlogotopmargin type= "text" category= "Header" width= "4" title= "Margin between logo and top of screen (center), in px (0-100)" > 30</centerlogotopmargin>
<centershowoncomputer type= "checkbox" category= "Header" width= "4" title= "Computer screen" > on</centershowoncomputer>
<centershowontablet type= "checkbox" category= "Header" width= "4" title= "Tablet" > on</centershowontablet>
<centershowonmobile type= "checkbox" category= "Header" width= "4" title= "Mobile phone" > off</centershowonmobile>
<rightlogofile type= "imagefile" category= "Header" width= "4" title= "Logo file (right)" > ./files/logo-right.png</rightlogofile>
<rightlogotopmargin type= "text" category= "Header" width= "4" title= "Margin between logo and top of screen (right), in px (0-100)" > 30</rightlogotopmargin>
<rightshowoncomputer type= "checkbox" category= "Header" width= "4" title= "Computer screen" > on</rightshowoncomputer>
<rightshowontablet type= "checkbox" category= "Header" width= "4" title= "Tablet" > on</rightshowontablet>
<rightshowonmobile type= "checkbox" category= "Header" width= "4" title= "Mobile phone" > off</rightshowonmobile>
<!-- Progress bar position (now category "Header" — row 159) -->
2026-11-27 03:15:30 +01:00
<!-- Prompt N: listing order swapped — "In header" FIRST, then "Under header".
The stored value semantics are unchanged (in|under); the default stays "under". -->
2026-11-27 03:17:57 +01:00
<progressbarposition type= "buttons" category= "Header" width= "4" title= "Position of the progress bar" options= "in|under" optionlabels= "In header|Under header" > under</progressbarposition>
<progressbarfont type= "fontselect" category= "Header" width= "4" title= "Font for the progress bar" > base</progressbarfont>
2026-11-27 03:15:30 +01:00
<!-- Row 135: progress bar colors as color - choosers. Layout in the "Top of the
page" tab (options.twig slots): progress bar color = COLUMN 1, progress
background = COLUMN 2, progress font color = COLUMN 3 (with an extra tip
underneath). Defaults: progress bar color = Color 1, progress background =
Default background color, progress font color = Default font color. -->
2026-11-27 03:17:57 +01:00
<progressbarcolor type= "dropdown" category= "Header" width= "4" title= "Progress bar color" options= "default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels= "Default font color|Default background color|Color 1|Color 2|Color 3|Other ..." > color1
2026-11-27 03:15:30 +01:00
<dropdownoptions >
<option value= "default" > Default font color</option>
<option value= "defaultbackgroundcolor" > Default background color</option>
<option value= "color1" data-default= "1" > [Color 1]</option>
<option value= "color2" > Color 2</option>
<option value= "color3" > Color 3</option>
<option value= "other" > Other ...</option>
</dropdownoptions> </progressbarcolor>
2026-11-27 03:17:57 +01:00
<progressbarcolorcustom type= "colorpicker" category= "Header" width= "4" title= "Custom progress bar color (for 'Other ...')" parent= "progressbarcolor" > #5e1c64</progressbarcolorcustom>
<progressbarbackgroundcolor type= "dropdown" category= "Header" width= "4" title= "Progress bar background color" options= "default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels= "Default font color|Default background color|Color 1|Color 2|Color 3|Other ..." > defaultbackgroundcolor
2026-11-27 03:15:30 +01:00
<dropdownoptions >
<option value= "default" > Default font color</option>
<option value= "defaultbackgroundcolor" data-default= "1" > [Default background color]</option>
<option value= "color1" > Color 1</option>
<option value= "color2" > Color 2</option>
<option value= "color3" > Color 3</option>
<option value= "other" > Other ...</option>
</dropdownoptions> </progressbarbackgroundcolor>
2026-11-27 03:17:57 +01:00
<progressbarbackgroundcolorcustom type= "colorpicker" category= "Header" width= "4" title= "Custom progress bar background color (for 'Other ...')" parent= "progressbarbackgroundcolor" > #eeeeee</progressbarbackgroundcolorcustom>
feat(options): row 197 — help/border font color choosers, box-only radii, aligned chooser columns, 'Font color for ...' labels
- questionhelpfontcolor + questionbordercolor are now 6-way color choosers
(+custom children), both default mode 'default' (Default font color);
resolved via cmm.cm() in custom_header.twig (legacy hex passthrough)
- border radii show only for questionborder=box (per-key show-values in
options.twig aShowIfValuesByKey); options.js cascades hiding to nested
conditional wrappers (questionbordercolorcustom); radii stay two
subcolumns (border-start on TR/BR)
- chooser columns aligned with the font color: title section = one column
(title-0: font, font color, size/options, legacy picker, title bg, body
bg), answers-0 += checkbox chooser, help-0 = font + font color + bg
chooser, help-1 = text position
- all font-color labels follow 'Font color for ...' / 'Custom font color
for ...' (21 labels renamed, incl. 'Font color for question titles' and
'Font color for answers and subquestions')
- chooser key lists synced in options.twig/options.js/build.php (+2)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 16:30:39 +01:00
<progressbarfontcolor type= "dropdown" category= "Header" width= "4" title= "Font color for the progress bar" options= "default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels= "Default font color|Default background color|Color 1|Color 2|Color 3|Other ..." > default
feat(options): Fonts tab becomes 'Fonts and colors' with per-element font+color combos (Prompt U)
Tab 'Fonts' is renamed to 'Fonts and colors' and gets a dedicated layout:
top row (col 1: font, fontcolor, fontsize; col 2: primarycolor +
new secondarycolor; col 3 empty), an hr, then one combo row per element
(header, progressbar, questiontitle, answers, grouptitle,
groupdescription, buttons) with col 1 = existing <el>font fontselect,
col 2 = new <el>textcolor dropdown (default|primary|secondary|other),
col 3 = new <el>textcolorcustom colorpicker, visible only when mode is
'other' (parent show-value via aShowIfValues, server-side initial d-none,
options.js updateVisibilityByParent/updateChild now handle select parents,
multi-value aware; font's self-parent removed from config.xml).
config.xml: fontcolor/primarycolor moved from Colors to Fonts (retitled
'Default font color (body text)' / 'Primary color'), secondarycolor added
(default #888888), 14 per-element color keys added with dropdownoptions.
Views emit the per-element color as inline style (default->fontcolor,
primary->primarycolor, secondary->secondarycolor, other->custom picker).
Colors tab now only holds sliderhandlecolor + privacybackgroundcolor
(final Colors layout = Prompt T, still open).
Variants rebuilt (defensie, erasmus, example respondage_respondage) —
no unknown-key failures; theme reset in LS-admin still owner action.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-25 11:51:57 +01:00
<dropdownoptions >
fix(options): mark the default color choice with [ ] in the dropdown, not bold
Row 134: bolding <option> text is not rendered by every browser (native
dropdown popups ignore it), so the default entry of a color-chooser dropdown
is now enclosed in square brackets instead — e.g. "[Default font color]
[#444444]". The brackets live in config.xml on the <option data-default="1">
(navbarfontcolor + the five <el>textcolor dropdowns), so they show even before
JS runs; options.js strips and re-adds them idempotently while appending the
live hexcode. Removed from the dropdown list: the <b> wrap (row 129), the
inline font-weight (row 132), the CSS option[data-default] rule and the
:has() closed-select rule. The bold REMAINS only on the swatch label below the
swatch (.color-chip-label.is-default), where it renders reliably.
OPTIONS_JS_TOKEN -> 20261126.13. Verified: render tc=618 (raw option
"[Default font color]", served options.js?v=20261126.13), jsdom 6/6 incl.
pins (label "[Default font color] [#444444]", no <b>/inline bold/stale CSS
rules, non-default not bracketed, swatch label still bold), export exit 0.
Variants not rebuilt (deferred).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-26 18:51:41 +01:00
<option value= "default" data-default= "1" > [Default font color]</option>
2026-11-27 03:15:30 +01:00
<option value= "defaultbackgroundcolor" > Default background color</option>
<option value= "color1" > Color 1</option>
<option value= "color2" > Color 2</option>
<option value= "color3" > Color 3</option>
<option value= "other" > Other ...</option>
</dropdownoptions> </progressbarfontcolor>
feat(options): row 197 — help/border font color choosers, box-only radii, aligned chooser columns, 'Font color for ...' labels
- questionhelpfontcolor + questionbordercolor are now 6-way color choosers
(+custom children), both default mode 'default' (Default font color);
resolved via cmm.cm() in custom_header.twig (legacy hex passthrough)
- border radii show only for questionborder=box (per-key show-values in
options.twig aShowIfValuesByKey); options.js cascades hiding to nested
conditional wrappers (questionbordercolorcustom); radii stay two
subcolumns (border-start on TR/BR)
- chooser columns aligned with the font color: title section = one column
(title-0: font, font color, size/options, legacy picker, title bg, body
bg), answers-0 += checkbox chooser, help-0 = font + font color + bg
chooser, help-1 = text position
- all font-color labels follow 'Font color for ...' / 'Custom font color
for ...' (21 labels renamed, incl. 'Font color for question titles' and
'Font color for answers and subquestions')
- chooser key lists synced in options.twig/options.js/build.php (+2)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 16:30:39 +01:00
<progressbarfontcolorcustom type= "colorpicker" category= "Header" width= "4" title= "Custom font color for the progress bar (for 'Other ...')" parent= "progressbarfontcolor" > #ffffff</progressbarfontcolorcustom>
2026-11-27 03:15:30 +01:00
<!-- Page background tab (options.twig tab 3, aImagesPaneKeys order): overall background color (chooser + custom), then the background image on/off + its detail options. -->
<!-- Row 149: the overall background color is a color - chooser dropdown like the
other chooser options (default|defaultbackgroundcolor|color1|color2|color3|
other) with a <key > custom colorpicker child; its DEFAULT is the Default
background color. A legacy stored hex is migrated client-side to mode
"other" + hex into bodybackgroundcolorcustom (options.js), and
custom_header.twig resolves the mode via the cm() macro (a raw hex still
passes through directly). -->
2026-11-27 03:40:45 +01:00
<bodybackgroundcolor type= "dropdown" category= "Page background" width= "6" title= "Overall background color" options= "default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels= "Default font color|Default background color|Color 1|Color 2|Color 3|Other ..." > defaultbackgroundcolor
2026-11-27 03:15:30 +01:00
<dropdownoptions >
<option value= "default" > Default font color</option>
<option value= "defaultbackgroundcolor" data-default= "1" > [Default background color]</option>
<option value= "color1" > Color 1</option>
<option value= "color2" > Color 2</option>
<option value= "color3" > Color 3</option>
<option value= "other" > Other ...</option>
</dropdownoptions> </bodybackgroundcolor>
2026-11-27 03:40:45 +01:00
<bodybackgroundcolorcustom type= "colorpicker" category= "Page background" width= "6" title= "Custom overall background color (for 'Other ...')" parent= "bodybackgroundcolor" > #ffffff</bodybackgroundcolorcustom>
2026-11-27 03:15:30 +01:00
<!-- Prompt Q: order fixed — Background image, then Overall background color
(always relevant), then the three image-detail options which are only
relevant when a background image is shown (parent="backgroundimage",
shown/hidden via .option-visibility in options.twig/options.js).
2026-11-27 03:40:45 +01:00
Row 149/163: the "Page background" pane lays these out in TWO columns
(width 6 = the two col-md-6 columns) under the full-width intro —
2026-11-27 03:15:30 +01:00
col 1 = overall background color (chooser) + background image on/off,
col 2 = the three image-detail options (hidden as a whole when the
2026-11-27 03:40:45 +01:00
image is off). -->
<backgroundimage type= "buttons" category= "Page background" width= "6" title= "Background image (behind body of page)" options= "on|off" optionlabels= "Yes|No" > on</backgroundimage>
<backgroundimagefile type= "imagefile" category= "Page background" width= "6" title= "Background image file" parent= "backgroundimage" > ./files/tiledtexture.png</backgroundimagefile>
<backgroundimagefixed type= "buttons" category= "Page background" width= "6" title= "Background image fixed or scroll" options= "fixed|scroll" optionlabels= "Fixed|Scroll" parent= "backgroundimage" > scroll</backgroundimagefixed>
<backgroundimagedisplay type= "buttons" category= "Page background" width= "6" title= "Background image display" options= "tile|cover" optionlabels= "Tile|Cover" parent= "backgroundimage" > tile</backgroundimagedisplay>
2026-11-27 03:15:30 +01:00
<!-- Groups tab (options.twig tab 4, aGroupKeys order): col 1 = group title, col 2 = group description (width 6 = the two col - md - 6 columns). -->
<!-- Row 157/159: the group options carry category "Groups" (row 159: the
category names in this file ARE the tab labels of options.twig, so the
core options renderer groups them the same way); options.twig lays the
Groups tab out in two columns: col 1 = group title, col 2 = group description.
grouptitletextcolor/groupdescriptiontextcolor use the color-chooser scheme
(row 135 pattern: mode dropdown default|defaultbackgroundcolor|color1|
color2|color3|other + <key > custom child, default "Default font color" =
mode "default"); a legacy stored mode "primary"/"secondary" (old 4-mode
dropdown) or a raw hex migrates client-side in options.js, and the views
accept both. The old <el > fontweight keys (400|700) became <el > fontoptions
(normal|bold|italic|bolditalic) — font-style included; custom_header.twig
maps them to font-weight/font-style. Defaults keep the old look: title
bold, description normal. -->
<grouptitlefont type= "fontselect" category= "Groups" width= "6" title= "Font for group title" > base</grouptitlefont>
feat(options): row 197 — help/border font color choosers, box-only radii, aligned chooser columns, 'Font color for ...' labels
- questionhelpfontcolor + questionbordercolor are now 6-way color choosers
(+custom children), both default mode 'default' (Default font color);
resolved via cmm.cm() in custom_header.twig (legacy hex passthrough)
- border radii show only for questionborder=box (per-key show-values in
options.twig aShowIfValuesByKey); options.js cascades hiding to nested
conditional wrappers (questionbordercolorcustom); radii stay two
subcolumns (border-start on TR/BR)
- chooser columns aligned with the font color: title section = one column
(title-0: font, font color, size/options, legacy picker, title bg, body
bg), answers-0 += checkbox chooser, help-0 = font + font color + bg
chooser, help-1 = text position
- all font-color labels follow 'Font color for ...' / 'Custom font color
for ...' (21 labels renamed, incl. 'Font color for question titles' and
'Font color for answers and subquestions')
- chooser key lists synced in options.twig/options.js/build.php (+2)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 16:30:39 +01:00
<grouptitletextcolor type= "dropdown" category= "Groups" width= "6" title= "Font color for group titles" options= "default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels= "Default font color|Default background color|Color 1|Color 2|Color 3|Other ..." > default
feat(options): Fonts tab becomes 'Fonts and colors' with per-element font+color combos (Prompt U)
Tab 'Fonts' is renamed to 'Fonts and colors' and gets a dedicated layout:
top row (col 1: font, fontcolor, fontsize; col 2: primarycolor +
new secondarycolor; col 3 empty), an hr, then one combo row per element
(header, progressbar, questiontitle, answers, grouptitle,
groupdescription, buttons) with col 1 = existing <el>font fontselect,
col 2 = new <el>textcolor dropdown (default|primary|secondary|other),
col 3 = new <el>textcolorcustom colorpicker, visible only when mode is
'other' (parent show-value via aShowIfValues, server-side initial d-none,
options.js updateVisibilityByParent/updateChild now handle select parents,
multi-value aware; font's self-parent removed from config.xml).
config.xml: fontcolor/primarycolor moved from Colors to Fonts (retitled
'Default font color (body text)' / 'Primary color'), secondarycolor added
(default #888888), 14 per-element color keys added with dropdownoptions.
Views emit the per-element color as inline style (default->fontcolor,
primary->primarycolor, secondary->secondarycolor, other->custom picker).
Colors tab now only holds sliderhandlecolor + privacybackgroundcolor
(final Colors layout = Prompt T, still open).
Variants rebuilt (defensie, erasmus, example respondage_respondage) —
no unknown-key failures; theme reset in LS-admin still owner action.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-25 11:51:57 +01:00
<dropdownoptions >
fix(options): mark the default color choice with [ ] in the dropdown, not bold
Row 134: bolding <option> text is not rendered by every browser (native
dropdown popups ignore it), so the default entry of a color-chooser dropdown
is now enclosed in square brackets instead — e.g. "[Default font color]
[#444444]". The brackets live in config.xml on the <option data-default="1">
(navbarfontcolor + the five <el>textcolor dropdowns), so they show even before
JS runs; options.js strips and re-adds them idempotently while appending the
live hexcode. Removed from the dropdown list: the <b> wrap (row 129), the
inline font-weight (row 132), the CSS option[data-default] rule and the
:has() closed-select rule. The bold REMAINS only on the swatch label below the
swatch (.color-chip-label.is-default), where it renders reliably.
OPTIONS_JS_TOKEN -> 20261126.13. Verified: render tc=618 (raw option
"[Default font color]", served options.js?v=20261126.13), jsdom 6/6 incl.
pins (label "[Default font color] [#444444]", no <b>/inline bold/stale CSS
rules, non-default not bracketed, swatch label still bold), export exit 0.
Variants not rebuilt (deferred).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-26 18:51:41 +01:00
<option value= "default" data-default= "1" > [Default font color]</option>
2026-11-27 02:50:06 +01:00
<option value= "defaultbackgroundcolor" > Default background color</option>
<option value= "color1" > Color 1</option>
<option value= "color2" > Color 2</option>
<option value= "color3" > Color 3</option>
<option value= "other" > Other ...</option>
feat(options): Fonts tab becomes 'Fonts and colors' with per-element font+color combos (Prompt U)
Tab 'Fonts' is renamed to 'Fonts and colors' and gets a dedicated layout:
top row (col 1: font, fontcolor, fontsize; col 2: primarycolor +
new secondarycolor; col 3 empty), an hr, then one combo row per element
(header, progressbar, questiontitle, answers, grouptitle,
groupdescription, buttons) with col 1 = existing <el>font fontselect,
col 2 = new <el>textcolor dropdown (default|primary|secondary|other),
col 3 = new <el>textcolorcustom colorpicker, visible only when mode is
'other' (parent show-value via aShowIfValues, server-side initial d-none,
options.js updateVisibilityByParent/updateChild now handle select parents,
multi-value aware; font's self-parent removed from config.xml).
config.xml: fontcolor/primarycolor moved from Colors to Fonts (retitled
'Default font color (body text)' / 'Primary color'), secondarycolor added
(default #888888), 14 per-element color keys added with dropdownoptions.
Views emit the per-element color as inline style (default->fontcolor,
primary->primarycolor, secondary->secondarycolor, other->custom picker).
Colors tab now only holds sliderhandlecolor + privacybackgroundcolor
(final Colors layout = Prompt T, still open).
Variants rebuilt (defensie, erasmus, example respondage_respondage) —
no unknown-key failures; theme reset in LS-admin still owner action.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-25 11:51:57 +01:00
</dropdownoptions> </grouptitletextcolor>
feat(options): row 197 — help/border font color choosers, box-only radii, aligned chooser columns, 'Font color for ...' labels
- questionhelpfontcolor + questionbordercolor are now 6-way color choosers
(+custom children), both default mode 'default' (Default font color);
resolved via cmm.cm() in custom_header.twig (legacy hex passthrough)
- border radii show only for questionborder=box (per-key show-values in
options.twig aShowIfValuesByKey); options.js cascades hiding to nested
conditional wrappers (questionbordercolorcustom); radii stay two
subcolumns (border-start on TR/BR)
- chooser columns aligned with the font color: title section = one column
(title-0: font, font color, size/options, legacy picker, title bg, body
bg), answers-0 += checkbox chooser, help-0 = font + font color + bg
chooser, help-1 = text position
- all font-color labels follow 'Font color for ...' / 'Custom font color
for ...' (21 labels renamed, incl. 'Font color for question titles' and
'Font color for answers and subquestions')
- chooser key lists synced in options.twig/options.js/build.php (+2)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 16:30:39 +01:00
<grouptitletextcolorcustom type= "colorpicker" category= "Groups" width= "6" title= "Custom font color for group titles (for 'Other ...')" parent= "grouptitletextcolor" > #444444</grouptitletextcolorcustom>
2026-11-27 03:15:30 +01:00
<grouptitlefontsize type= "buttons" category= "Groups" 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>
<grouptitlefontoptions type= "buttons" category= "Groups" width= "6" title= "Group title font options" options= "normal|bold|italic|bolditalic" optionlabels= "Normal|Bold|Italic|Bold italic" > bold</grouptitlefontoptions>
<groupdescriptionfont type= "fontselect" category= "Groups" width= "6" title= "Font for group description" > base</groupdescriptionfont>
feat(options): row 197 — help/border font color choosers, box-only radii, aligned chooser columns, 'Font color for ...' labels
- questionhelpfontcolor + questionbordercolor are now 6-way color choosers
(+custom children), both default mode 'default' (Default font color);
resolved via cmm.cm() in custom_header.twig (legacy hex passthrough)
- border radii show only for questionborder=box (per-key show-values in
options.twig aShowIfValuesByKey); options.js cascades hiding to nested
conditional wrappers (questionbordercolorcustom); radii stay two
subcolumns (border-start on TR/BR)
- chooser columns aligned with the font color: title section = one column
(title-0: font, font color, size/options, legacy picker, title bg, body
bg), answers-0 += checkbox chooser, help-0 = font + font color + bg
chooser, help-1 = text position
- all font-color labels follow 'Font color for ...' / 'Custom font color
for ...' (21 labels renamed, incl. 'Font color for question titles' and
'Font color for answers and subquestions')
- chooser key lists synced in options.twig/options.js/build.php (+2)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 16:30:39 +01:00
<groupdescriptiontextcolor type= "dropdown" category= "Groups" width= "6" title= "Font color for group descriptions" options= "default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels= "Default font color|Default background color|Color 1|Color 2|Color 3|Other ..." > default
feat(options): Fonts tab becomes 'Fonts and colors' with per-element font+color combos (Prompt U)
Tab 'Fonts' is renamed to 'Fonts and colors' and gets a dedicated layout:
top row (col 1: font, fontcolor, fontsize; col 2: primarycolor +
new secondarycolor; col 3 empty), an hr, then one combo row per element
(header, progressbar, questiontitle, answers, grouptitle,
groupdescription, buttons) with col 1 = existing <el>font fontselect,
col 2 = new <el>textcolor dropdown (default|primary|secondary|other),
col 3 = new <el>textcolorcustom colorpicker, visible only when mode is
'other' (parent show-value via aShowIfValues, server-side initial d-none,
options.js updateVisibilityByParent/updateChild now handle select parents,
multi-value aware; font's self-parent removed from config.xml).
config.xml: fontcolor/primarycolor moved from Colors to Fonts (retitled
'Default font color (body text)' / 'Primary color'), secondarycolor added
(default #888888), 14 per-element color keys added with dropdownoptions.
Views emit the per-element color as inline style (default->fontcolor,
primary->primarycolor, secondary->secondarycolor, other->custom picker).
Colors tab now only holds sliderhandlecolor + privacybackgroundcolor
(final Colors layout = Prompt T, still open).
Variants rebuilt (defensie, erasmus, example respondage_respondage) —
no unknown-key failures; theme reset in LS-admin still owner action.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-25 11:51:57 +01:00
<dropdownoptions >
fix(options): mark the default color choice with [ ] in the dropdown, not bold
Row 134: bolding <option> text is not rendered by every browser (native
dropdown popups ignore it), so the default entry of a color-chooser dropdown
is now enclosed in square brackets instead — e.g. "[Default font color]
[#444444]". The brackets live in config.xml on the <option data-default="1">
(navbarfontcolor + the five <el>textcolor dropdowns), so they show even before
JS runs; options.js strips and re-adds them idempotently while appending the
live hexcode. Removed from the dropdown list: the <b> wrap (row 129), the
inline font-weight (row 132), the CSS option[data-default] rule and the
:has() closed-select rule. The bold REMAINS only on the swatch label below the
swatch (.color-chip-label.is-default), where it renders reliably.
OPTIONS_JS_TOKEN -> 20261126.13. Verified: render tc=618 (raw option
"[Default font color]", served options.js?v=20261126.13), jsdom 6/6 incl.
pins (label "[Default font color] [#444444]", no <b>/inline bold/stale CSS
rules, non-default not bracketed, swatch label still bold), export exit 0.
Variants not rebuilt (deferred).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-26 18:51:41 +01:00
<option value= "default" data-default= "1" > [Default font color]</option>
2026-11-27 02:50:06 +01:00
<option value= "defaultbackgroundcolor" > Default background color</option>
<option value= "color1" > Color 1</option>
<option value= "color2" > Color 2</option>
<option value= "color3" > Color 3</option>
<option value= "other" > Other ...</option>
feat(options): Fonts tab becomes 'Fonts and colors' with per-element font+color combos (Prompt U)
Tab 'Fonts' is renamed to 'Fonts and colors' and gets a dedicated layout:
top row (col 1: font, fontcolor, fontsize; col 2: primarycolor +
new secondarycolor; col 3 empty), an hr, then one combo row per element
(header, progressbar, questiontitle, answers, grouptitle,
groupdescription, buttons) with col 1 = existing <el>font fontselect,
col 2 = new <el>textcolor dropdown (default|primary|secondary|other),
col 3 = new <el>textcolorcustom colorpicker, visible only when mode is
'other' (parent show-value via aShowIfValues, server-side initial d-none,
options.js updateVisibilityByParent/updateChild now handle select parents,
multi-value aware; font's self-parent removed from config.xml).
config.xml: fontcolor/primarycolor moved from Colors to Fonts (retitled
'Default font color (body text)' / 'Primary color'), secondarycolor added
(default #888888), 14 per-element color keys added with dropdownoptions.
Views emit the per-element color as inline style (default->fontcolor,
primary->primarycolor, secondary->secondarycolor, other->custom picker).
Colors tab now only holds sliderhandlecolor + privacybackgroundcolor
(final Colors layout = Prompt T, still open).
Variants rebuilt (defensie, erasmus, example respondage_respondage) —
no unknown-key failures; theme reset in LS-admin still owner action.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-25 11:51:57 +01:00
</dropdownoptions> </groupdescriptiontextcolor>
feat(options): row 197 — help/border font color choosers, box-only radii, aligned chooser columns, 'Font color for ...' labels
- questionhelpfontcolor + questionbordercolor are now 6-way color choosers
(+custom children), both default mode 'default' (Default font color);
resolved via cmm.cm() in custom_header.twig (legacy hex passthrough)
- border radii show only for questionborder=box (per-key show-values in
options.twig aShowIfValuesByKey); options.js cascades hiding to nested
conditional wrappers (questionbordercolorcustom); radii stay two
subcolumns (border-start on TR/BR)
- chooser columns aligned with the font color: title section = one column
(title-0: font, font color, size/options, legacy picker, title bg, body
bg), answers-0 += checkbox chooser, help-0 = font + font color + bg
chooser, help-1 = text position
- all font-color labels follow 'Font color for ...' / 'Custom font color
for ...' (21 labels renamed, incl. 'Font color for question titles' and
'Font color for answers and subquestions')
- chooser key lists synced in options.twig/options.js/build.php (+2)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 16:30:39 +01:00
<groupdescriptiontextcolorcustom type= "colorpicker" category= "Groups" width= "6" title= "Custom font color for group descriptions (for 'Other ...')" parent= "groupdescriptiontextcolor" > #444444</groupdescriptiontextcolorcustom>
2026-11-27 03:15:30 +01:00
<groupdescriptionfontsize type= "buttons" category= "Groups" 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>
<groupdescriptionfontoptions type= "buttons" category= "Groups" width= "6" title= "Group description font options" options= "normal|bold|italic|bolditalic" optionlabels= "Normal|Bold|Italic|Bold italic" > normal</groupdescriptionfontoptions>
fix(options): row 198 — restore 3-column section layouts in the Questions tab; make border radii a real 2x2 subcolumn grid
- aQSlots back to the row 178 plan / row 195 layouts: title = 3 columns
(col 1 font+font color+size+options+legacy picker, col 2 title bg
chooser, col 3 body bg chooser), answers = col 1 font+font color,
col 2 checkbox chooser (column 2 as row 195), help = 3 columns
(col 1 font+font color, col 2 bg chooser, col 3 text position);
config.xml order already matched, only the slots changed
- border radii: the col-md-6 wrappers sat directly in the block-level
col-md-4 column, so width:50% stacked them vertically instead of two
per row — .questions-col-border-2 is now display:flex + flex-wrap,
so TL/TR form row 1, the hr its own line, BL/BR (border-start) row 2
- config.xml: refreshed the stale Questions-tab comment to describe the
section layout; all variants rebuilt + example config synced
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 16:47:12 +01:00
<!-- Questions tab (options.twig tab 5): SECTIONS, each an h3 + its own row of three
col-md-4 columns (width 4) + a full-width hr (row 178 plan, restored row 198):
"Overall question" (col 1 only: the two distance options), "Question title and body"
(col 1 font/color/size/options, col 2 title bg, col 3 body bg), "Answer options and
subquestions" (col 1 font/color, col 2 checkbox color), "Question help" (col 1 font/
color, col 2 help bg, col 3 text position), "Question border" (col 1 border type,
col 2 color/style/shadow children, col 3 the four radii as a 2x2 subcolumn grid).
The option order below = the render order in the pane (row 160), so each slot in
aQSlots (options.twig) renders as exactly one column. -->
2026-11-29 14:27:52 +01:00
<!-- Row 179 / plan P1: the Questions tab starts with the "Overall question"
2026-11-29 15:02:46 +01:00
section — the FIRST column of a THREE-column grid (col-md-4, width 4; only
that first column is used), followed by a full-width hr in options.twig
(row 183). Values are free text in px or rem (default 30px) and are
applied as CSS in custom_header.twig:
2026-11-29 14:27:52 +01:00
questiondistance = margin-bottom of .question-container,
questiondistancebottom = margin-top of #navigator-container (the bottom
Previous/Next/Submit buttons). NOT house-style (structural). -->
2026-11-29 15:02:46 +01:00
<questiondistance type= "text" category= "Questions" width= "4" title= "Distance between two questions (px or rem)" > 30px</questiondistance>
<questiondistancebottom type= "text" category= "Questions" width= "4" title= "Distance between last question and buttons at bottom of page (px or rem)" > 30px</questiondistancebottom>
2026-11-29 14:45:57 +01:00
<!-- Row 178 plan P2: section "Question title and body" (options.twig) — three
col-md-4 columns (width 4). Col 1 = Font chooser / color chooser for the question
title (fontselect + 6-way text-color mode + custom + size + font options), plus
the legacy plain font-color picker. Col 2 = title background color chooser
(default mode color1 = Color 1). Col 3 = question body background color chooser
(default mode defaultbackgroundcolor). A "chooser" = 6-way mode dropdown +
"Other ..." custom colorpicker child, exactly like the Groups tab text colors /
Header background color. In the views (custom_header.twig) the CHOOSER wins;
questiontitlefontcolor stays visible as a legacy picker. HOUSE-STYLE: the color
defaults below are house-style specific (set per variant json; build.php migrates
legacy hex/mode values). -->
<questiontitlefont type= "fontselect" category= "Questions" width= "4" title= "Font for question titles" > base</questiontitlefont>
feat(options): row 197 — help/border font color choosers, box-only radii, aligned chooser columns, 'Font color for ...' labels
- questionhelpfontcolor + questionbordercolor are now 6-way color choosers
(+custom children), both default mode 'default' (Default font color);
resolved via cmm.cm() in custom_header.twig (legacy hex passthrough)
- border radii show only for questionborder=box (per-key show-values in
options.twig aShowIfValuesByKey); options.js cascades hiding to nested
conditional wrappers (questionbordercolorcustom); radii stay two
subcolumns (border-start on TR/BR)
- chooser columns aligned with the font color: title section = one column
(title-0: font, font color, size/options, legacy picker, title bg, body
bg), answers-0 += checkbox chooser, help-0 = font + font color + bg
chooser, help-1 = text position
- all font-color labels follow 'Font color for ...' / 'Custom font color
for ...' (21 labels renamed, incl. 'Font color for question titles' and
'Font color for answers and subquestions')
- chooser key lists synced in options.twig/options.js/build.php (+2)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 16:30:39 +01:00
<questiontitletextcolor type= "dropdown" category= "Questions" width= "4" title= "Font color for question titles" options= "default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels= "Default font color|Default background color|Color 1|Color 2|Color 3|Other ..." > other
2026-11-29 14:45:57 +01:00
<dropdownoptions >
<option value= "default" > Default font color</option>
<option value= "defaultbackgroundcolor" > Default background color</option>
<option value= "color1" > Color 1</option>
<option value= "color2" > Color 2</option>
<option value= "color3" > Color 3</option>
<option value= "other" data-default= "1" > [Other ...]</option>
</dropdownoptions> </questiontitletextcolor>
feat(options): row 197 — help/border font color choosers, box-only radii, aligned chooser columns, 'Font color for ...' labels
- questionhelpfontcolor + questionbordercolor are now 6-way color choosers
(+custom children), both default mode 'default' (Default font color);
resolved via cmm.cm() in custom_header.twig (legacy hex passthrough)
- border radii show only for questionborder=box (per-key show-values in
options.twig aShowIfValuesByKey); options.js cascades hiding to nested
conditional wrappers (questionbordercolorcustom); radii stay two
subcolumns (border-start on TR/BR)
- chooser columns aligned with the font color: title section = one column
(title-0: font, font color, size/options, legacy picker, title bg, body
bg), answers-0 += checkbox chooser, help-0 = font + font color + bg
chooser, help-1 = text position
- all font-color labels follow 'Font color for ...' / 'Custom font color
for ...' (21 labels renamed, incl. 'Font color for question titles' and
'Font color for answers and subquestions')
- chooser key lists synced in options.twig/options.js/build.php (+2)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 16:30:39 +01:00
<questiontitletextcolorcustom type= "colorpicker" category= "Questions" width= "4" title= "Custom font color for question titles (for 'Other ...')" parent= "questiontitletextcolor" > #ffffff</questiontitletextcolorcustom>
2026-11-29 14:45:57 +01:00
<questiontitlefontsize type= "buttons" category= "Questions" width= "4" 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>
<questiontitlefontoptions type= "buttons" category= "Questions" width= "4" title= "Question title font options" options= "normal|bold|italic|bolditalic" optionlabels= "Normal|Bold|Italic|Bold italic" > bold</questiontitlefontoptions>
feat(options): row 197 — help/border font color choosers, box-only radii, aligned chooser columns, 'Font color for ...' labels
- questionhelpfontcolor + questionbordercolor are now 6-way color choosers
(+custom children), both default mode 'default' (Default font color);
resolved via cmm.cm() in custom_header.twig (legacy hex passthrough)
- border radii show only for questionborder=box (per-key show-values in
options.twig aShowIfValuesByKey); options.js cascades hiding to nested
conditional wrappers (questionbordercolorcustom); radii stay two
subcolumns (border-start on TR/BR)
- chooser columns aligned with the font color: title section = one column
(title-0: font, font color, size/options, legacy picker, title bg, body
bg), answers-0 += checkbox chooser, help-0 = font + font color + bg
chooser, help-1 = text position
- all font-color labels follow 'Font color for ...' / 'Custom font color
for ...' (21 labels renamed, incl. 'Font color for question titles' and
'Font color for answers and subquestions')
- chooser key lists synced in options.twig/options.js/build.php (+2)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 16:30:39 +01:00
<questiontitlefontcolor type= "colorpicker" category= "Questions" width= "4" title= "Font color for question titles (legacy picker)" options= "on|off" optionlabels= "Yes|No" > #ffffff</questiontitlefontcolor>
2026-11-29 14:45:57 +01:00
<questiontitlebackgroundcolor type= "dropdown" category= "Questions" width= "4" title= "Question title background color" options= "default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels= "Default font color|Default background color|Color 1|Color 2|Color 3|Other ..." > color1
<dropdownoptions >
<option value= "default" > Default font color</option>
<option value= "defaultbackgroundcolor" > Default background color</option>
<option value= "color1" data-default= "1" > [Color 1]</option>
<option value= "color2" > Color 2</option>
<option value= "color3" > Color 3</option>
<option value= "other" > Other ...</option>
</dropdownoptions> </questiontitlebackgroundcolor>
<questiontitlebackgroundcolorcustom type= "colorpicker" category= "Questions" width= "4" title= "Custom question title background color (for 'Other ...')" parent= "questiontitlebackgroundcolor" > #5e1c64</questiontitlebackgroundcolorcustom>
<questionbackgroundcolor type= "dropdown" category= "Questions" width= "4" title= "Question body background color" options= "default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels= "Default font color|Default background color|Color 1|Color 2|Color 3|Other ..." > defaultbackgroundcolor
<dropdownoptions >
<option value= "default" > Default font color</option>
<option value= "defaultbackgroundcolor" data-default= "1" > [Default background color]</option>
<option value= "color1" > Color 1</option>
<option value= "color2" > Color 2</option>
<option value= "color3" > Color 3</option>
<option value= "other" > Other ...</option>
</dropdownoptions> </questionbackgroundcolor>
<questionbackgroundcolorcustom type= "colorpicker" category= "Questions" width= "4" title= "Custom question body background color (for 'Other ...')" parent= "questionbackgroundcolor" > #ffffff</questionbackgroundcolorcustom>
2026-11-29 15:08:49 +01:00
<!-- Row 178 plan P3 (row 184): section "Answer options and subquestions"
(options.twig) — a three-column grid (col-md-4, width 4) of which only the
first column is used: font chooser + 6-way color chooser + custom for the
answers AND subquestions (both are rendered by answers.twig with these
options). answerstextcolor uses the color-chooser scheme like the P2 title
colors; default mode stays "default" (Default font color). -->
<answersfont type= "fontselect" category= "Questions" width= "4" title= "Font for answers and subquestions" > base</answersfont>
feat(options): row 197 — help/border font color choosers, box-only radii, aligned chooser columns, 'Font color for ...' labels
- questionhelpfontcolor + questionbordercolor are now 6-way color choosers
(+custom children), both default mode 'default' (Default font color);
resolved via cmm.cm() in custom_header.twig (legacy hex passthrough)
- border radii show only for questionborder=box (per-key show-values in
options.twig aShowIfValuesByKey); options.js cascades hiding to nested
conditional wrappers (questionbordercolorcustom); radii stay two
subcolumns (border-start on TR/BR)
- chooser columns aligned with the font color: title section = one column
(title-0: font, font color, size/options, legacy picker, title bg, body
bg), answers-0 += checkbox chooser, help-0 = font + font color + bg
chooser, help-1 = text position
- all font-color labels follow 'Font color for ...' / 'Custom font color
for ...' (21 labels renamed, incl. 'Font color for question titles' and
'Font color for answers and subquestions')
- chooser key lists synced in options.twig/options.js/build.php (+2)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 16:30:39 +01:00
<answerstextcolor type= "dropdown" category= "Questions" width= "4" title= "Font color for answers and subquestions" options= "default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels= "Default font color|Default background color|Color 1|Color 2|Color 3|Other ..." > default
2026-11-29 15:08:49 +01:00
<dropdownoptions >
<option value= "default" data-default= "1" > [Default font color]</option>
<option value= "defaultbackgroundcolor" > Default background color</option>
<option value= "color1" > Color 1</option>
<option value= "color2" > Color 2</option>
<option value= "color3" > Color 3</option>
<option value= "other" > Other ...</option>
</dropdownoptions> </answerstextcolor>
feat(options): row 197 — help/border font color choosers, box-only radii, aligned chooser columns, 'Font color for ...' labels
- questionhelpfontcolor + questionbordercolor are now 6-way color choosers
(+custom children), both default mode 'default' (Default font color);
resolved via cmm.cm() in custom_header.twig (legacy hex passthrough)
- border radii show only for questionborder=box (per-key show-values in
options.twig aShowIfValuesByKey); options.js cascades hiding to nested
conditional wrappers (questionbordercolorcustom); radii stay two
subcolumns (border-start on TR/BR)
- chooser columns aligned with the font color: title section = one column
(title-0: font, font color, size/options, legacy picker, title bg, body
bg), answers-0 += checkbox chooser, help-0 = font + font color + bg
chooser, help-1 = text position
- all font-color labels follow 'Font color for ...' / 'Custom font color
for ...' (21 labels renamed, incl. 'Font color for question titles' and
'Font color for answers and subquestions')
- chooser key lists synced in options.twig/options.js/build.php (+2)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 16:30:39 +01:00
<answerstextcolorcustom type= "colorpicker" category= "Questions" width= "4" title= "Custom font color for answers and subquestions (for 'Other ...')" parent= "answerstextcolor" > #444444</answerstextcolorcustom>
2026-11-29 16:13:06 +01:00
<!-- Row 195/196: the checkbox/radiobutton color moved here — column 2 of
the "Answer options and subquestions" section — and became a standard
6-way color chooser (+ custom child), like the other color options.
Default mode "color2" (row 196); the custom child keeps #ff005f for
mode "other". -->
<checkboxcolor type= "dropdown" category= "Questions" width= "4" title= "Checkbox/radiobutton color (when checked)" options= "default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels= "Default font color|Default background color|Color 1|Color 2|Color 3|Other ..." > color2
2026-11-29 16:05:39 +01:00
<dropdownoptions >
<option value= "default" > Default font color</option>
<option value= "defaultbackgroundcolor" > Default background color</option>
<option value= "color1" > Color 1</option>
2026-11-29 16:13:06 +01:00
<option value= "color2" data-default= "1" > [Color 2]</option>
2026-11-29 16:05:39 +01:00
<option value= "color3" > Color 3</option>
2026-11-29 16:13:06 +01:00
<option value= "other" > Other ...</option>
2026-11-29 16:05:39 +01:00
</dropdownoptions> </checkboxcolor>
<checkboxcolorcustom type= "colorpicker" category= "Questions" width= "4" title= "Custom checkbox/radiobutton color (for 'Other ...')" parent= "checkboxcolor" > #ff005f</checkboxcolorcustom>
<!-- Row 178 plan P4 (row 186, revised row 195): section "Question help"
(options.twig) — a three-column grid (col-md-4, width 4):
col 1 = the font chooser for the help text + the help font color (stays a
plain picker per row-178 decision 8), col 2 = the help background color
2026-11-29 16:13:06 +01:00
CHOOSER (6-way + custom, default "color3" — row 196 — which is #fff3cd, so
the look stays as before), col 3 = the help text position. -->
2026-11-29 16:05:39 +01:00
<questionhelpfont type= "fontselect" category= "Questions" width= "4" title= "Font for question help text" > base</questionhelpfont>
feat(options): row 197 — help/border font color choosers, box-only radii, aligned chooser columns, 'Font color for ...' labels
- questionhelpfontcolor + questionbordercolor are now 6-way color choosers
(+custom children), both default mode 'default' (Default font color);
resolved via cmm.cm() in custom_header.twig (legacy hex passthrough)
- border radii show only for questionborder=box (per-key show-values in
options.twig aShowIfValuesByKey); options.js cascades hiding to nested
conditional wrappers (questionbordercolorcustom); radii stay two
subcolumns (border-start on TR/BR)
- chooser columns aligned with the font color: title section = one column
(title-0: font, font color, size/options, legacy picker, title bg, body
bg), answers-0 += checkbox chooser, help-0 = font + font color + bg
chooser, help-1 = text position
- all font-color labels follow 'Font color for ...' / 'Custom font color
for ...' (21 labels renamed, incl. 'Font color for question titles' and
'Font color for answers and subquestions')
- chooser key lists synced in options.twig/options.js/build.php (+2)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 16:30:39 +01:00
<questionhelpfontcolor type= "dropdown" category= "Questions" width= "4" title= "Font color for question help text" options= "default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels= "Default font color|Default background color|Color 1|Color 2|Color 3|Other ..." > default
<dropdownoptions >
<option value= "default" data-default= "1" > [Default font color]</option>
<option value= "defaultbackgroundcolor" > Default background color</option>
<option value= "color1" > Color 1</option>
<option value= "color2" > Color 2</option>
<option value= "color3" > Color 3</option>
<option value= "other" > Other ...</option>
</dropdownoptions> </questionhelpfontcolor>
<questionhelpfontcolorcustom type= "colorpicker" category= "Questions" width= "4" title= "Custom font color for question help text (for 'Other ...')" parent= "questionhelpfontcolor" > #444444</questionhelpfontcolorcustom>
2026-11-29 16:13:06 +01:00
<questionhelpbackgroundcolor type= "dropdown" category= "Questions" width= "4" title= "Question help background color" options= "default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels= "Default font color|Default background color|Color 1|Color 2|Color 3|Other ..." > color3
2026-11-29 15:17:56 +01:00
<dropdownoptions >
<option value= "default" > Default font color</option>
<option value= "defaultbackgroundcolor" > Default background color</option>
<option value= "color1" > Color 1</option>
<option value= "color2" > Color 2</option>
2026-11-29 16:13:06 +01:00
<option value= "color3" data-default= "1" > [Color 3]</option>
<option value= "other" > Other ...</option>
2026-11-29 15:17:56 +01:00
</dropdownoptions> </questionhelpbackgroundcolor>
<questionhelpbackgroundcolorcustom type= "colorpicker" category= "Questions" width= "4" title= "Custom question help background color (for 'Other ...')" parent= "questionhelpbackgroundcolor" > #fff3cd</questionhelpbackgroundcolorcustom>
<questionhelptextposition type= "buttons" category= "Questions" width= "4" title= "Question help text position" options= "top|bottom" optionlabels= "Top|Bottom" > top</questionhelptextposition>
2026-11-29 15:26:36 +01:00
<!-- Row 178 plan P5 (row 188): section "Question border" (options.twig) —
three col-md-4 subcolumns with a vertical divider between them (col 1 =
the border on/off buttons, col 2 = color/style/shadow children shown for
box|top, col 3 = the four border radii as two rows of two with a
horizontal line between the rows). The border children carry
parent="questionborder"; the show-values "box|top" cannot be an XML
attribute (core passes only `parent` through), so the multi-value list
lives in options.twig (aShowIfValues) and lands as
data-show-if-value="box|top". -->
<questionborder type= "buttons" category= "Questions" width= "4" title= "Question border" options= "box|top|none" optionlabels= "Box around|Top and bottom|None" > box</questionborder>
feat(options): row 197 — help/border font color choosers, box-only radii, aligned chooser columns, 'Font color for ...' labels
- questionhelpfontcolor + questionbordercolor are now 6-way color choosers
(+custom children), both default mode 'default' (Default font color);
resolved via cmm.cm() in custom_header.twig (legacy hex passthrough)
- border radii show only for questionborder=box (per-key show-values in
options.twig aShowIfValuesByKey); options.js cascades hiding to nested
conditional wrappers (questionbordercolorcustom); radii stay two
subcolumns (border-start on TR/BR)
- chooser columns aligned with the font color: title section = one column
(title-0: font, font color, size/options, legacy picker, title bg, body
bg), answers-0 += checkbox chooser, help-0 = font + font color + bg
chooser, help-1 = text position
- all font-color labels follow 'Font color for ...' / 'Custom font color
for ...' (21 labels renamed, incl. 'Font color for question titles' and
'Font color for answers and subquestions')
- chooser key lists synced in options.twig/options.js/build.php (+2)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 16:30:39 +01:00
<questionbordercolor type= "dropdown" category= "Questions" width= "4" title= "Question border color" options= "default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels= "Default font color|Default background color|Color 1|Color 2|Color 3|Other ..." parent= "questionborder" > default
<dropdownoptions >
<option value= "default" data-default= "1" > [Default font color]</option>
<option value= "defaultbackgroundcolor" > Default background color</option>
<option value= "color1" > Color 1</option>
<option value= "color2" > Color 2</option>
<option value= "color3" > Color 3</option>
<option value= "other" > Other ...</option>
</dropdownoptions> </questionbordercolor>
<questionbordercolorcustom type= "colorpicker" category= "Questions" width= "4" title= "Custom question border color (for 'Other ...')" parent= "questionbordercolor" > #cccccc</questionbordercolorcustom>
2026-11-29 15:26:36 +01:00
<questionborderstyle type= "buttons" category= "Questions" width= "4" title= "Question border line style" options= "solid|dotted|dashed" optionlabels= "Solid|Dotted|Dashed" parent= "questionborder" > solid</questionborderstyle>
<questiondropdown type= "buttons" category= "Questions" width= "4" title= "Question dropdown shadow" options= "on|hover|off" optionlabels= "Always|On hover only|None" parent= "questionborder" > hover</questiondropdown>
<questionborderradiusTL type= "duration" category= "Questions" width= "4" title= "Border radius top left" parent= "questionborder" > 5px</questionborderradiusTL>
<questionborderradiusTR type= "duration" category= "Questions" width= "4" title= "Border radius top right" parent= "questionborder" > 5px</questionborderradiusTR>
<questionborderradiusBL type= "duration" category= "Questions" width= "4" title= "Border radius bottom left" parent= "questionborder" > 5px</questionborderradiusBL>
<questionborderradiusBR type= "duration" category= "Questions" width= "4" title= "Border radius bottom right" parent= "questionborder" > 5px</questionborderradiusBR>
2026-11-27 03:15:30 +01:00
<!-- Questions
HOUSE-STYLE: the colorpicker options in this section (question
title/background/help/help-font/border/checkbox colors) are house-style
colors. NOT house-style (structural, same for all variants):
questionborder, questionborderstyle, the borderradius values,
2026-11-29 16:05:39 +01:00
questiondropdown, questionhelptextposition and checkboxcolor (now a 6-way
chooser, row 195).
2026-11-29 15:08:49 +01:00
Row 178 plan: order = the sections of the Questions tab as rendered by
2026-11-29 14:45:57 +01:00
options.twig (aQSections/aQSlots): first the "Overall question" section
2026-11-29 15:08:49 +01:00
(width 4 = the first col-md-4 of a three-column grid, row 183), then the
"Question title and body" section (three col-md-4 columns, width 4):
col1 title font chooser/color chooser + legacy picker, col2 title
2026-11-29 16:05:39 +01:00
background chooser, col3 body background chooser; then (P3/row 184,
row 195) the "Answer options and subquestions" section (three col-md-4
columns): col1 answers font + 6-way color chooser + custom, col2 the
checkbox/radiobutton color chooser + custom; then (P4/row 186, revised
row 195) the "Question help" section (three col-md-4 columns): col1 help
font chooser + plain help font color picker, col2 help background
chooser + custom, col3 help text position; then (P5/row 188, row 195)
the "Question border" section (three col-md-4 subcolumns with a
2026-11-29 15:26:36 +01:00
vertical divider between them: col 1 = the border buttons, col 2 = the
2026-11-29 16:05:39 +01:00
color/style/shadow children, col 3 = the four radii as TWO subcolumns
of two with a vertical divider between them and an hr between the two
rows); then the rest full-width (width 12). Inside a pane column each
option stacks as col-12 (the radius options as col-md-6 for the 2x2
subcolumns, the right subcolumn with border-start). questionhelpfontcolor
is applied in custom_header.twig on .question-help-container. -->
2026-11-27 03:15:30 +01:00
<!-- Questions -->
2026-11-29 15:48:26 +01:00
<!-- Buttons tab (row 178 plan P6): own category directly after Questions,
so the options page renders it as a tab directly after the Questions tab.
One column per navigator button — col 1 = Previous, col 2 = Next,
col 3 = Submit (row-178 decision 1). Each button gets a background color
chooser and a text color chooser (6-way mode dropdown + a <key > custom
colorpicker child for "other", same scheme as the other color choosers;
resolved in custom_header.twig via cmm.cmbg() for backgrounds and
cmm.cm() for text colors). Row-178 decision 7 defaults: Next/Submit
background = Color 1, text color = Other ... #ffffff; Previous
background = Other ... #ffffff, text color = Default font color.
The old global buttonstextcolor(+custom) options are REPLACED by these
per-button colors and were removed. buttonsfont (the font for all three
buttons) is full-width at the top of this tab.
NOT house-style (structural). -->
<buttonsfont type= "fontselect" category= "Buttons" width= "12" title= "Font for the buttons (Previous/Next/Submit)" > base</buttonsfont>
<previousbuttonbackgroundcolor type= "dropdown" category= "Buttons" width= "4" title= "Previous button background color" options= "default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels= "Default button color|Default background color|Color 1|Color 2|Color 3|Other ..." > other
<dropdownoptions >
<option value= "default" > Default button color</option>
<option value= "defaultbackgroundcolor" > Default background color</option>
<option value= "color1" > Color 1</option>
<option value= "color2" > Color 2</option>
<option value= "color3" > Color 3</option>
<option value= "other" data-default= "1" > [Other ...]</option>
</dropdownoptions> </previousbuttonbackgroundcolor>
<previousbuttonbackgroundcolorcustom type= "colorpicker" category= "Buttons" width= "4" title= "Custom previous button background color (for 'Other ...')" parent= "previousbuttonbackgroundcolor" > #ffffff</previousbuttonbackgroundcolorcustom>
feat(options): row 197 — help/border font color choosers, box-only radii, aligned chooser columns, 'Font color for ...' labels
- questionhelpfontcolor + questionbordercolor are now 6-way color choosers
(+custom children), both default mode 'default' (Default font color);
resolved via cmm.cm() in custom_header.twig (legacy hex passthrough)
- border radii show only for questionborder=box (per-key show-values in
options.twig aShowIfValuesByKey); options.js cascades hiding to nested
conditional wrappers (questionbordercolorcustom); radii stay two
subcolumns (border-start on TR/BR)
- chooser columns aligned with the font color: title section = one column
(title-0: font, font color, size/options, legacy picker, title bg, body
bg), answers-0 += checkbox chooser, help-0 = font + font color + bg
chooser, help-1 = text position
- all font-color labels follow 'Font color for ...' / 'Custom font color
for ...' (21 labels renamed, incl. 'Font color for question titles' and
'Font color for answers and subquestions')
- chooser key lists synced in options.twig/options.js/build.php (+2)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 16:30:39 +01:00
<previousbuttontextcolor type= "dropdown" category= "Buttons" width= "4" title= "Font color for the Previous button" options= "default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels= "Default font color|Default background color|Color 1|Color 2|Color 3|Other ..." > default
feat(options): Fonts tab becomes 'Fonts and colors' with per-element font+color combos (Prompt U)
Tab 'Fonts' is renamed to 'Fonts and colors' and gets a dedicated layout:
top row (col 1: font, fontcolor, fontsize; col 2: primarycolor +
new secondarycolor; col 3 empty), an hr, then one combo row per element
(header, progressbar, questiontitle, answers, grouptitle,
groupdescription, buttons) with col 1 = existing <el>font fontselect,
col 2 = new <el>textcolor dropdown (default|primary|secondary|other),
col 3 = new <el>textcolorcustom colorpicker, visible only when mode is
'other' (parent show-value via aShowIfValues, server-side initial d-none,
options.js updateVisibilityByParent/updateChild now handle select parents,
multi-value aware; font's self-parent removed from config.xml).
config.xml: fontcolor/primarycolor moved from Colors to Fonts (retitled
'Default font color (body text)' / 'Primary color'), secondarycolor added
(default #888888), 14 per-element color keys added with dropdownoptions.
Views emit the per-element color as inline style (default->fontcolor,
primary->primarycolor, secondary->secondarycolor, other->custom picker).
Colors tab now only holds sliderhandlecolor + privacybackgroundcolor
(final Colors layout = Prompt T, still open).
Variants rebuilt (defensie, erasmus, example respondage_respondage) —
no unknown-key failures; theme reset in LS-admin still owner action.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-25 11:51:57 +01:00
<dropdownoptions >
fix(options): mark the default color choice with [ ] in the dropdown, not bold
Row 134: bolding <option> text is not rendered by every browser (native
dropdown popups ignore it), so the default entry of a color-chooser dropdown
is now enclosed in square brackets instead — e.g. "[Default font color]
[#444444]". The brackets live in config.xml on the <option data-default="1">
(navbarfontcolor + the five <el>textcolor dropdowns), so they show even before
JS runs; options.js strips and re-adds them idempotently while appending the
live hexcode. Removed from the dropdown list: the <b> wrap (row 129), the
inline font-weight (row 132), the CSS option[data-default] rule and the
:has() closed-select rule. The bold REMAINS only on the swatch label below the
swatch (.color-chip-label.is-default), where it renders reliably.
OPTIONS_JS_TOKEN -> 20261126.13. Verified: render tc=618 (raw option
"[Default font color]", served options.js?v=20261126.13), jsdom 6/6 incl.
pins (label "[Default font color] [#444444]", no <b>/inline bold/stale CSS
rules, non-default not bracketed, swatch label still bold), export exit 0.
Variants not rebuilt (deferred).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-26 18:51:41 +01:00
<option value= "default" data-default= "1" > [Default font color]</option>
2026-11-29 15:48:26 +01:00
<option value= "defaultbackgroundcolor" > Default background color</option>
<option value= "color1" > Color 1</option>
<option value= "color2" > Color 2</option>
<option value= "color3" > Color 3</option>
<option value= "other" > Other ...</option>
</dropdownoptions> </previousbuttontextcolor>
feat(options): row 197 — help/border font color choosers, box-only radii, aligned chooser columns, 'Font color for ...' labels
- questionhelpfontcolor + questionbordercolor are now 6-way color choosers
(+custom children), both default mode 'default' (Default font color);
resolved via cmm.cm() in custom_header.twig (legacy hex passthrough)
- border radii show only for questionborder=box (per-key show-values in
options.twig aShowIfValuesByKey); options.js cascades hiding to nested
conditional wrappers (questionbordercolorcustom); radii stay two
subcolumns (border-start on TR/BR)
- chooser columns aligned with the font color: title section = one column
(title-0: font, font color, size/options, legacy picker, title bg, body
bg), answers-0 += checkbox chooser, help-0 = font + font color + bg
chooser, help-1 = text position
- all font-color labels follow 'Font color for ...' / 'Custom font color
for ...' (21 labels renamed, incl. 'Font color for question titles' and
'Font color for answers and subquestions')
- chooser key lists synced in options.twig/options.js/build.php (+2)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 16:30:39 +01:00
<previousbuttontextcolorcustom type= "colorpicker" category= "Buttons" width= "4" title= "Custom font color for the Previous button (for 'Other ...')" parent= "previousbuttontextcolor" > #444444</previousbuttontextcolorcustom>
2026-11-29 15:48:26 +01:00
<nextbuttonbackgroundcolor type= "dropdown" category= "Buttons" width= "4" title= "Next button background color" options= "default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels= "Default button color|Default background color|Color 1|Color 2|Color 3|Other ..." > color1
<dropdownoptions >
<option value= "default" > Default button color</option>
<option value= "defaultbackgroundcolor" > Default background color</option>
<option value= "color1" data-default= "1" > [Color 1]</option>
<option value= "color2" > Color 2</option>
<option value= "color3" > Color 3</option>
<option value= "other" > Other ...</option>
</dropdownoptions> </nextbuttonbackgroundcolor>
<nextbuttonbackgroundcolorcustom type= "colorpicker" category= "Buttons" width= "4" title= "Custom next button background color (for 'Other ...')" parent= "nextbuttonbackgroundcolor" > #ffffff</nextbuttonbackgroundcolorcustom>
feat(options): row 197 — help/border font color choosers, box-only radii, aligned chooser columns, 'Font color for ...' labels
- questionhelpfontcolor + questionbordercolor are now 6-way color choosers
(+custom children), both default mode 'default' (Default font color);
resolved via cmm.cm() in custom_header.twig (legacy hex passthrough)
- border radii show only for questionborder=box (per-key show-values in
options.twig aShowIfValuesByKey); options.js cascades hiding to nested
conditional wrappers (questionbordercolorcustom); radii stay two
subcolumns (border-start on TR/BR)
- chooser columns aligned with the font color: title section = one column
(title-0: font, font color, size/options, legacy picker, title bg, body
bg), answers-0 += checkbox chooser, help-0 = font + font color + bg
chooser, help-1 = text position
- all font-color labels follow 'Font color for ...' / 'Custom font color
for ...' (21 labels renamed, incl. 'Font color for question titles' and
'Font color for answers and subquestions')
- chooser key lists synced in options.twig/options.js/build.php (+2)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 16:30:39 +01:00
<nextbuttontextcolor type= "dropdown" category= "Buttons" width= "4" title= "Font color for the Next button" options= "default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels= "Default font color|Default background color|Color 1|Color 2|Color 3|Other ..." > other
2026-11-29 15:48:26 +01:00
<dropdownoptions >
<option value= "default" > Default font color</option>
<option value= "defaultbackgroundcolor" > Default background color</option>
<option value= "color1" > Color 1</option>
<option value= "color2" > Color 2</option>
<option value= "color3" > Color 3</option>
<option value= "other" data-default= "1" > [Other ...]</option>
</dropdownoptions> </nextbuttontextcolor>
feat(options): row 197 — help/border font color choosers, box-only radii, aligned chooser columns, 'Font color for ...' labels
- questionhelpfontcolor + questionbordercolor are now 6-way color choosers
(+custom children), both default mode 'default' (Default font color);
resolved via cmm.cm() in custom_header.twig (legacy hex passthrough)
- border radii show only for questionborder=box (per-key show-values in
options.twig aShowIfValuesByKey); options.js cascades hiding to nested
conditional wrappers (questionbordercolorcustom); radii stay two
subcolumns (border-start on TR/BR)
- chooser columns aligned with the font color: title section = one column
(title-0: font, font color, size/options, legacy picker, title bg, body
bg), answers-0 += checkbox chooser, help-0 = font + font color + bg
chooser, help-1 = text position
- all font-color labels follow 'Font color for ...' / 'Custom font color
for ...' (21 labels renamed, incl. 'Font color for question titles' and
'Font color for answers and subquestions')
- chooser key lists synced in options.twig/options.js/build.php (+2)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 16:30:39 +01:00
<nextbuttontextcolorcustom type= "colorpicker" category= "Buttons" width= "4" title= "Custom font color for the Next button (for 'Other ...')" parent= "nextbuttontextcolor" > #ffffff</nextbuttontextcolorcustom>
2026-11-29 15:48:26 +01:00
<submitbuttonbackgroundcolor type= "dropdown" category= "Buttons" width= "4" title= "Submit button background color" options= "default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels= "Default button color|Default background color|Color 1|Color 2|Color 3|Other ..." > color1
<dropdownoptions >
<option value= "default" > Default button color</option>
<option value= "defaultbackgroundcolor" > Default background color</option>
<option value= "color1" data-default= "1" > [Color 1]</option>
<option value= "color2" > Color 2</option>
<option value= "color3" > Color 3</option>
<option value= "other" > Other ...</option>
</dropdownoptions> </submitbuttonbackgroundcolor>
<submitbuttonbackgroundcolorcustom type= "colorpicker" category= "Buttons" width= "4" title= "Custom submit button background color (for 'Other ...')" parent= "submitbuttonbackgroundcolor" > #ffffff</submitbuttonbackgroundcolorcustom>
feat(options): row 197 — help/border font color choosers, box-only radii, aligned chooser columns, 'Font color for ...' labels
- questionhelpfontcolor + questionbordercolor are now 6-way color choosers
(+custom children), both default mode 'default' (Default font color);
resolved via cmm.cm() in custom_header.twig (legacy hex passthrough)
- border radii show only for questionborder=box (per-key show-values in
options.twig aShowIfValuesByKey); options.js cascades hiding to nested
conditional wrappers (questionbordercolorcustom); radii stay two
subcolumns (border-start on TR/BR)
- chooser columns aligned with the font color: title section = one column
(title-0: font, font color, size/options, legacy picker, title bg, body
bg), answers-0 += checkbox chooser, help-0 = font + font color + bg
chooser, help-1 = text position
- all font-color labels follow 'Font color for ...' / 'Custom font color
for ...' (21 labels renamed, incl. 'Font color for question titles' and
'Font color for answers and subquestions')
- chooser key lists synced in options.twig/options.js/build.php (+2)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 16:30:39 +01:00
<submitbuttontextcolor type= "dropdown" category= "Buttons" width= "4" title= "Font color for the Submit button" options= "default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels= "Default font color|Default background color|Color 1|Color 2|Color 3|Other ..." > other
2026-11-29 15:48:26 +01:00
<dropdownoptions >
<option value= "default" > Default font color</option>
<option value= "defaultbackgroundcolor" > Default background color</option>
<option value= "color1" > Color 1</option>
<option value= "color2" > Color 2</option>
<option value= "color3" > Color 3</option>
<option value= "other" data-default= "1" > [Other ...]</option>
</dropdownoptions> </submitbuttontextcolor>
feat(options): row 197 — help/border font color choosers, box-only radii, aligned chooser columns, 'Font color for ...' labels
- questionhelpfontcolor + questionbordercolor are now 6-way color choosers
(+custom children), both default mode 'default' (Default font color);
resolved via cmm.cm() in custom_header.twig (legacy hex passthrough)
- border radii show only for questionborder=box (per-key show-values in
options.twig aShowIfValuesByKey); options.js cascades hiding to nested
conditional wrappers (questionbordercolorcustom); radii stay two
subcolumns (border-start on TR/BR)
- chooser columns aligned with the font color: title section = one column
(title-0: font, font color, size/options, legacy picker, title bg, body
bg), answers-0 += checkbox chooser, help-0 = font + font color + bg
chooser, help-1 = text position
- all font-color labels follow 'Font color for ...' / 'Custom font color
for ...' (21 labels renamed, incl. 'Font color for question titles' and
'Font color for answers and subquestions')
- chooser key lists synced in options.twig/options.js/build.php (+2)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 16:30:39 +01:00
<submitbuttontextcolorcustom type= "colorpicker" category= "Buttons" width= "4" title= "Custom font color for the Submit button (for 'Other ...')" parent= "submitbuttontextcolor" > #ffffff</submitbuttontextcolorcustom>
2026-11-27 03:15:30 +01:00
<!-- Colors: no tab in the custom options page yet (Prompt T) — these two stay in core mode only. -->
<sliderhandlecolor type= "colorpicker" category= "Colors" width= "12" title= "Slider handle color" options= "on|off" optionlabels= "Yes|No" > #5e1c64</sliderhandlecolor>
<privacybackgroundcolor type= "colorpicker" category= "Colors" width= "12" title= "Privacy background color" options= "on|off" optionlabels= "Yes|No" > lightyellow</privacybackgroundcolor>
<!-- Other options tab (options.twig LAST tab): width 12 = full - width rows. -->
<!-- Prompt O: the five "Other options" are width=12, so they stack in ONE
column (full-width rows) in the Other options tab, label above each
control (Prompt G). -->
<hideprivacyinfo type= "buttons" category= "Other options" width= "12" title= "Hide privacy info" options= "on|off" optionlabels= "Yes|No" > off</hideprivacyinfo>
<container type= "buttons" category= "Other options" width= "12" title= "Survey container" options= "on|off" optionlabels= "Yes|No" > on</container>
<showpopups type= "buttons" category= "Other options" width= "12" title= "Show popups" options= "1|0|-1" optionlabels= "Popup|On page|No" > 1</showpopups>
<showclearall type= "buttons" category= "Other options" width= "12" title= "Show Clear All button" options= "on|off" optionlabels= "Yes|No" > off</showclearall>
<fixnumauto type= "buttons" category= "Other options" width= "12" title= "Fix automatically numeric value" options= "enable|partial|disable" optionlabels= "Yes|For expression|No" > enable</fixnumauto>
2026-11-16 19:36:04 +01:00
</options>
<!-- Here datas about how LimeSurvey should load the theme -->
<engine >
<!-- core: use core options view file, custom: use customized options.twig view file -->
2026-11-24 22:04:11 +01:00
<optionspage > custom</optionspage>
2026-11-16 19:36:04 +01:00
<!-- If empty, bootstrap css/js files will not be loaded. In the future, we may have more engines, like foundation -->
<cssframework >
<name > bootstrap</name>
</cssframework>
<!-- Path of the views files (can be different than views -->
<viewdirectory > views</viewdirectory>
<!-- Asset manager will copy the whole theme directory to tmp. So it's possible to refer any file in the files directory in CSS via relative path (e.g: '../files/foo.jpg') -->
<filesdirectory > files</filesdirectory>
<!-- Here, you can publish packages set as third party extensions in application/config/vendor or application/config/package -->
<!-- If bootstrap is registered as a css framework, it will be loaded first -->
2026-11-24 22:04:11 +01:00
<!-- PRIVACY: during survey - taking no external requests may be made (no
Google or other font hosts). Only local packages are listed here;
the font packages that may end up in packages_to_load are limited
to the local "font-websafe" by options/options.js. Bundled fonts
(files/fonts/*.woff2) are self-hosted via css/fonts.css. -->
2026-11-16 19:36:04 +01:00
<packages >
<add > pjax</add>
<add > moment</add>
</packages>
<!--
List of pages/files for tempalte editor
When a user select a page, the related files will be offer in the editable files
-->
<template_editor >
<screens >
<question >
<screen_title type= "data" role= "title" twig= "on" > <![CDATA[ {{gT('Question')}} ]]> </screen_title>
<file type= "view" role= "layout" > layout_global.twig</file>
<file type= "view" role= "subview" > ./subviews/footer/footer.twig</file>
<file type= "view" role= "content" > ./subviews/content/main.twig</file>
<file type= "view" role= "subview" > ./subviews/messages/justsaved.twig</file>
<file type= "view" role= "subview" > ./subviews/survey/group.twig</file>
<file type= "view" role= "subview" > ./subviews/survey/group_subviews/group_container.twig</file>
<file type= "view" role= "subview" > ./subviews/survey/group_subviews/group_desc.twig</file>
<file type= "view" role= "subview" > ./subviews/survey/group_subviews/group_name.twig</file>
<file type= "view" role= "subview" > ./subviews/survey/question.twig</file>
<file type= "view" role= "subview" > ./subviews/survey/question_container.twig</file>
<file type= "view" role= "subview" > ./subviews/survey/question_subviews/question_text_container.twig</file>
<file type= "view" role= "subview" > ./subviews/survey/question_subviews/question_text_content.twig</file>
<file type= "view" role= "subview" > ./subviews/survey/question_subviews/answers.twig</file>
<file type= "view" role= "subview" > ./subviews/survey/question_subviews/survey_question_help.twig</file>
<file type= "view" role= "subview" > ./subviews/survey/question_subviews/valid_message_and_help.twig</file>
<file type= "css" > ./css/theme.css</file>
<file type= "js" > ./scripts/theme.js</file>
<file type= "css" > ./css/custom.css</file>
<file type= "js" > ./scripts/custom.js</file>
</question>
<surveylist >
<screen_title type= "data" role= "title" twig= "on" > <![CDATA[ {{gT('Survey list')}} ]]> </screen_title>
<file type= "view" role= "layout" > layout_survey_list.twig</file>
<file type= "view" role= "subview" > ./subviews/footer/footer.twig</file>
<file type= "view" role= "subview" > ./subviews/content/mainrow.twig</file>
<file type= "view" role= "subview" > ./subviews/content/outerframe.twig</file>
<file type= "view" role= "subview" > ./subviews/navigation/language_changer_form.twig</file>
<file type= "css" > ./css/theme.css</file>
<file type= "js" > ./scripts/theme.js</file>
<file type= "css" > ./css/custom.css</file>
<file type= "js" > ./scripts/custom.js</file>
</surveylist>
<welcome >
<screen_title type= "data" role= "title" twig= "on" > <![CDATA[ {{gT('Welcome')}} ]]> </screen_title>
<file type= "view" role= "layout" > layout_global.twig</file>
<file type= "view" role= "subview" > ./subviews/footer/footer.twig</file>
<file type= "view" role= "subview" > ./subviews/content/mainrow.twig</file>
<file type= "view" role= "subview" > ./subviews/content/outerframe.twig</file>
<file type= "view" role= "content" > ./subviews/content/firstpage.twig</file>
<file type= "view" role= "subview" > ./subviews/header/head.twig</file>
<file type= "view" role= "subview" > ./subviews/header/custom_header.twig</file>
<file type= "view" role= "subview" > ./subviews/header/nav_bar.twig</file>
<file type= "view" role= "subview" > ./subviews/header/progress_bar.twig</file>
<file type= "view" role= "subview" > ./subviews/messages/welcome.twig</file>
<file type= "view" role= "subview" > ./subviews/messages/warnings.twig</file>
<file type= "view" role= "subview" > ./subviews/messages/no_js_alert.twig</file>
<file type= "view" role= "subview" > ./subviews/privacy/privacy.twig</file>
<file type= "view" role= "subview" > ./subviews/navigation/language_changer.twig</file>
<file type= "view" role= "subview" > ./subviews/logincomponents/captcha.twig</file>
<file type= "view" role= "subview" > ./subviews/logincomponents/token.twig</file>
<file type= "css" > ./css/theme.css</file>
<file type= "js" > ./scripts/theme.js</file>
<file type= "css" > ./css/custom.css</file>
<file type= "js" > ./scripts/custom.js</file>
</welcome>
<completed >
<screen_title type= "data" role= "title" twig= "on" > <![CDATA[ {{gT('Completed')}} ]]> </screen_title>
<file type= "view" role= "layout" > layout_global.twig</file>
<file type= "view" role= "subview" > ./subviews/footer/footer.twig</file>
<file type= "view" role= "subview" > ./subviews/content/mainrow.twig</file>
<file type= "view" role= "subview" > ./subviews/content/outerframe.twig</file>
<file type= "view" role= "content" > ./subviews/content/submit.twig</file>
<file type= "css" > ./css/theme.css</file>
<file type= "js" > ./scripts/theme.js</file>
<file type= "css" > ./css/custom.css</file>
<file type= "js" > ./scripts/custom.js</file>
</completed>
<assessments >
<screen_title type= "data" role= "title" twig= "on" > <![CDATA[ {{gT('Assessments')}} ]]> </screen_title>
<file type= "view" role= "layout" > layout_global.twig</file>
<file type= "view" role= "subview" > ./subviews/footer/footer.twig</file>
<file type= "view" role= "subview" > ./subviews/content/mainrow.twig</file>
<file type= "view" role= "subview" > ./subviews/content/outerframe.twig</file>
<file type= "view" role= "content" > ./subviews/content/submit.twig</file>
<file type= "view" role= "subview" > ./subviews/messages/assessments.twig</file>
<file type= "css" > ./css/theme.css</file>
<file type= "js" > ./scripts/theme.js</file>
<file type= "css" > ./css/custom.css</file>
<file type= "js" > ./scripts/custom.js</file>
</assessments>
<error >
<screen_title type= "data" role= "title" twig= "on" > <![CDATA[ {{gT('Error')}} ]]> </screen_title>
<file type= "view" role= "layout" > layout_errors.twig</file>
<file type= "view" role= "subview" > ./subviews/footer/footer.twig</file>
</error>
<clearall >
<screen_title type= "data" role= "title" twig= "on" > <![CDATA[ {{gT('Clear all')}} ]]> </screen_title>
<file type= "view" role= "layout" > layout_global.twig</file>
<file type= "view" role= "subview" > ./subviews/footer/footer.twig</file>
<file type= "view" role= "subview" > ./subviews/content/mainrow.twig</file>
<file type= "view" role= "subview" > ./subviews/content/outerframe.twig</file>
<file type= "view" role= "content" > ./subviews/content/clearall.twig</file>
<file type= "css" > ./css/theme.css</file>
<file type= "js" > ./scripts/theme.js</file>
<file type= "css" > ./css/custom.css</file>
<file type= "js" > ./scripts/custom.js</file>
</clearall>
<load >
<screen_title type= "data" role= "title" twig= "on" > <![CDATA[ {{gT('Load')}} ]]> </screen_title>
<file type= "view" role= "layout" > layout_global.twig</file>
<file type= "view" role= "subview" > ./subviews/footer/footer.twig</file>
<file type= "view" role= "subview" > ./subviews/content/mainrow.twig</file>
<file type= "view" role= "subview" > ./subviews/content/outerframe.twig</file>
<file type= "view" role= "content" > ./subviews/content/load.twig</file>
<file type= "css" > ./css/theme.css</file>
<file type= "js" > ./scripts/theme.js</file>
<file type= "css" > ./css/custom.css</file>
<file type= "js" > ./scripts/custom.js</file>
</load>
<save >
<screen_title type= "data" role= "title" twig= "on" > <![CDATA[ {{gT('Save')}} ]]> </screen_title>
<file type= "view" role= "layout" > layout_global.twig</file>
<file type= "view" role= "subview" > ./subviews/footer/footer.twig</file>
<file type= "view" role= "subview" > ./subviews/content/mainrow.twig</file>
<file type= "view" role= "subview" > ./subviews/content/outerframe.twig</file>
<file type= "view" role= "content" > ./subviews/content/save.twig</file>
<file type= "css" > ./css/theme.css</file>
<file type= "js" > ./scripts/theme.js</file>
<file type= "css" > ./css/custom.css</file>
<file type= "js" > ./scripts/custom.js</file>
</save>
<register >
<screen_title type= "data" role= "title" twig= "on" > <![CDATA[ {{gT('Registration')}} ]]> </screen_title>
<file type= "view" role= "layout" > layout_global.twig</file>
<file type= "view" role= "subview" > ./subviews/footer/footer.twig</file>
<file type= "view" role= "content" > ./subviews/content/register.twig</file>
<file type= "view" role= "subview" > ./subviews/registration/register_error.twig</file>
<file type= "view" role= "subview" > ./subviews/registration/register_head.twig</file>
<file type= "view" role= "subview" > ./subviews/registration/register_message.twig</file>
<file type= "view" role= "subview" > ./subviews/registration/register_success.twig</file>
<file type= "view" role= "subview" > ./subviews/registration/register_form.twig</file>
<file type= "view" role= "subview" > ./subviews/registration/required.twig</file>
</register>
<printanswers >
<screen_title type= "data" role= "title" twig= "on" > <![CDATA[ {{gT('Print answers')}} ]]> </screen_title>
<file type= "view" role= "layout" > layout_printanswers.twig</file>
<file type= "view" role= "subview" > ./subviews/content/outerframe.twig</file>
<file type= "view" role= "content" > ./subviews/content/printanswers.twig</file>
<file type= "view" role= "subview" > ./subviews/printanswers/printanswers_head.twig</file>
<file type= "view" role= "subview" > ./subviews/printanswers/printanswers_table.twig</file>
<file type= "view" role= "subview" > ./subviews/printanswers/printanswers_question.twig</file>
<file type= "view" role= "subview" > ./subviews/printanswers/printanswers_foot.twig</file>
</printanswers>
<statistics_user >
<screen_title type= "data" role= "title" twig= "on" > <![CDATA[ {{gT('Public statistics')}} ]]> </screen_title>
<file type= "view" role= "layout" > layout_statistics_user.twig</file>
<file type= "view" role= "subview" > ./subviews/content/outerframe.twig</file>
<file type= "view" role= "content" > ./subviews/content/statistics_user.twig</file>
<file type= "view" role= "subview" > ./subviews/statistics_user/statistics_user_head.twig</file>
<file type= "view" role= "subview" > ./subviews/statistics_user/statistics_user_content.twig</file>
<file type= "view" role= "subview" > ./subviews/statistics_user/statistics_user_foot.twig</file>
</statistics_user>
<pdf >
<screen_title type= "data" role= "title" twig= "on" > <![CDATA[ {{gT('PDF')}} ]]> </screen_title>
<file type= "view" role= "layout" > layout_print.twig</file>
</pdf>
<quotas >
<screen_title type= "data" role= "title" twig= "on" > <![CDATA[ {{gT('Quotas exceeded')}} ]]> </screen_title>
<file type= "view" role= "layout" > layout_global.twig</file>
<file type= "view" role= "content" > ./subviews/content/quotas.twig</file>
<file type= "view" role= "subview" > ./subviews/header/start_form.twig</file>
</quotas>
<navigation >
<screen_title type= "data" role= "title" twig= "on" > <![CDATA[ {{gT('Navigation')}} ]]> </screen_title>
<file type= "view" role= "layout" > layout_global.twig</file>
<file type= "view" role= "subview" > ./subviews/footer/footer.twig</file>
<file type= "view" role= "content" > ./subviews/content/main.twig</file>
<file type= "view" role= "subview" > ./subviews/navigation/ajax_indicator.twig</file>
<file type= "view" role= "subview" > ./subviews/navigation/clearall_links.twig</file>
<file type= "view" role= "subview" > ./subviews/navigation/save_links.twig</file>
<file type= "view" role= "subview" > ./subviews/navigation/language_changer_top_menu.twig</file>
<file type= "view" role= "subview" > ./subviews/navigation/language_changer.twig</file>
<file type= "view" role= "subview" > ./subviews/navigation/question_index_menu.twig</file>
<file type= "view" role= "subview" > ./subviews/navigation/navigator.twig</file>
<file type= "view" role= "subview" > ./subviews/navigation/navigator_complement.twig</file>
<file type= "view" role= "subview" > ./subviews/navigation/clearall_buttons.twig</file>
<file type= "view" role= "subview" > ./subviews/navigation/save_buttons.twig</file>
<file type= "view" role= "subview" > ./subviews/navigation/question_index_buttons.twig</file>
<file type= "view" role= "subview" > ./subviews/navigation/question_index_questions_buttons.twig</file>
<file type= "view" role= "subview" > ./subviews/navigation/question_index_groups_buttons.twig</file>
</navigation>
<token >
<screen_title type= "data" role= "title" twig= "on" > <![CDATA[ {{gT('Participant')}} ]]> </screen_title>
<file type= "view" role= "layout" > layout_user_forms.twig</file>
<file type= "view" role= "content" > ./subviews/content/userforms.twig</file>
<file type= "view" role= "subview" > ./subviews/logincomponents/token.twig</file>
<file type= "view" role= "subview" > ./subviews/logincomponents/captcha.twig</file>
</token>
</screens>
<!-- Data for preview in Theme Editor and Twig Cache command line generator -->
<default_data >
<survey type= "core" >
<name type= "data" twig= "on" > <![CDATA[ {{ gT("Template Sample") }} ]]> </name>
<description type= "data" twig= "on" > <![CDATA[<p>{{ gT('This is a sample survey description. It could be quite long.') }}</p><p>{{ gT("But this one isn't.") }}<p>]]> </description>
<welcome type= "data" twig= "on" > <![CDATA[<p>{{ gT('Welcome to this sample survey')}} <p> <p> {{ gT('You should have a great time doing this') }} <p> ]]> </welcome>
<therearexquestions type= "data" twig= "on" > <![CDATA[gT('There is 2 question in this survey'])]]> </therearexquestions>
<surveyls_url type= "data" twig= "on" > "https://www.limesurvey.org/"</surveyls_url>
<surveyls_urldescription type= "data" twig= "on" > <![CDATA[ gT("Some URL description") ]]> </surveyls_urldescription>
<showsurveypolicynotice > 2</showsurveypolicynotice>
<datasecurity_notice_label type= "data" twig= "on" > <![CDATA[ <a href='#data-security-modal-' data-bs-toggle='collapse'> {{ gT('Show privacy policy') }} </a> ]]> </datasecurity_notice_label>
<datasecurity_notice type= "data" twig= "on" > <![CDATA[ {{ gT("Your privacy policy text is shown here.") }} ]]> </datasecurity_notice>
</survey>
<group type= "core" >
<name type= "data" twig= "on" > <![CDATA[ {{ gT("Group 1: The first lot of questions") }} ]]> </name>
<description type= "data" twig= "on" > <![CDATA[ {{ gT("This group description is fairly vacuous, but quite important.") }} ]]> </description>
</group>
<question_1 type= "core" >
<code type= "data" > 'Q1 '</code>
<text type= "data" twig= "on" > <![CDATA[ {{ gT("How many roads must a man walk down?") }} ]]> </text>
<valid_message type= "data" twig= "on" > <![CDATA[ <div id="vmsg_4496_num_answers" class="em_num_answers emtip error"><span class="fa fa-exclamation-circle" aria-hidden="true"></span> {{ gT("Choose one of the following answers") }} </div> ]]> </valid_message>
</question_1>
<question_2 type= "core" >
<code type= "data" > 'Q2 '</code>
<text type= "data" twig= "on" > <![CDATA[ {{ gT("Please explain something in detail:") }} ]]> </text>
<valid_message type= "data" twig= "on" > <![CDATA[<div id="vmsg_4496_num_answers" class="em_num_answers emtip error"><span class="fa fa-exclamation-circle" aria-hidden="true"></span> {{ gT("Hint when response is not valid") }} </div> ]]> </valid_message>
</question_2>
<assessments type= "core" >
<name type= "data" twig= "on" > <![CDATA[ {{ gT("Welcome to the Assessment") }} ]]> </name>
<message type= "data" twig= "on" > <![CDATA[ {{ gT("You got {TOTAL} points out of 3 possible points.") }} ]]> </message>
</assessments>
<!-- This is an example to show you how to add your custom screen in the theme editor with custom values -->
<!-- The name of the array inside aSurveyInfo that feed your twig view is specified as "array - name". If you check quotas.twig, you'll notice the main variable is aSurveyInfo.aQuotas -->
<!-- Notice that the data you pass here are simple. You can't pass complex arrays inside the array, only key => value pairs. -->
<quotas type= "custom" arrayName= "aQuotas" >
<sMessage type= "data" twig= "on" > <![CDATA[ {{ gT("Sorry your responses have exceeded a quota on this survey.") }} ]]> </sMessage>
<sUrl type= "data" > http://limesurvey.org</sUrl>
<sUrlDescription type= "data" twig= "on" > <![CDATA[ {{ gT("End url") }} ]]> </sUrlDescription>
<bShowNavigator type= "data" > false</bShowNavigator>
</quotas>
<userforms type= "custom" arrayName= "aForm" >
<sType type= "data" > token</sType>
</userforms>
</default_data>
</template_editor>
</engine>
<!-- Disable the updater system for core themes. -->
<updaters disabled= "disabled" >
</updaters>
</config>