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>
This commit is contained in:
Tammo ter Hark 2026-11-29 16:30:39 +01:00
commit 8370a945d5
6 changed files with 113 additions and 64 deletions

View file

@ -201,7 +201,7 @@
"Default background color", "Color 1", "Color 2", "Color 3", "Default background color", "Color 1", "Color 2", "Color 3",
"Other ..." — options.js appends each entry's live hexcode in brackets "Other ..." — options.js appends each entry's live hexcode in brackets
(for "Other ..." the custom color's hex) and bolds the default. --> (for "Other ..." the custom color's hex) and bolds the default. -->
<navbarfontcolor type="dropdown" category="Header" width="4" title="Text color in header" options="default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels="Default font color|Default background color|Color 1|Color 2|Color 3|Other ...">default <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
<dropdownoptions> <dropdownoptions>
<option value="default" data-default="1">[Default font color]</option> <option value="default" data-default="1">[Default font color]</option>
<option value="defaultbackgroundcolor">Default background color</option> <option value="defaultbackgroundcolor">Default background color</option>
@ -210,7 +210,7 @@
<option value="color3">Color 3</option> <option value="color3">Color 3</option>
<option value="other">Other ...</option> <option value="other">Other ...</option>
</dropdownoptions></navbarfontcolor> </dropdownoptions></navbarfontcolor>
<navbarfontcolorcustom type="colorpicker" category="Header" width="4" title="Custom text color in header (for 'Other ...')" parent="navbarfontcolor">#444444</navbarfontcolorcustom> <navbarfontcolorcustom type="colorpicker" category="Header" width="4" title="Custom font color for the header menu (for 'Other ...')" parent="navbarfontcolor">#444444</navbarfontcolorcustom>
<!-- Color choosers of the Header tab (rows 115/135/149): HOUSE-STYLE colors, set per <!-- Color choosers of the Header tab (rows 115/135/149): HOUSE-STYLE colors, set per
variant via variants/<client>.json. sliderhandlecolor + privacybackgroundcolor remain in variant via variants/<client>.json. sliderhandlecolor + privacybackgroundcolor remain in
the Colors category (no custom tab yet — Prompt T). --> the Colors category (no custom tab yet — Prompt T). -->
@ -318,7 +318,7 @@
<option value="other">Other ...</option> <option value="other">Other ...</option>
</dropdownoptions></progressbarbackgroundcolor> </dropdownoptions></progressbarbackgroundcolor>
<progressbarbackgroundcolorcustom type="colorpicker" category="Header" width="4" title="Custom progress bar background color (for 'Other ...')" parent="progressbarbackgroundcolor">#eeeeee</progressbarbackgroundcolorcustom> <progressbarbackgroundcolorcustom type="colorpicker" category="Header" width="4" title="Custom progress bar background color (for 'Other ...')" parent="progressbarbackgroundcolor">#eeeeee</progressbarbackgroundcolorcustom>
<progressbarfontcolor type="dropdown" category="Header" width="4" title="Progress bar font color" options="default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels="Default font color|Default background color|Color 1|Color 2|Color 3|Other ...">default <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
<dropdownoptions> <dropdownoptions>
<option value="default" data-default="1">[Default font color]</option> <option value="default" data-default="1">[Default font color]</option>
<option value="defaultbackgroundcolor">Default background color</option> <option value="defaultbackgroundcolor">Default background color</option>
@ -327,7 +327,7 @@
<option value="color3">Color 3</option> <option value="color3">Color 3</option>
<option value="other">Other ...</option> <option value="other">Other ...</option>
</dropdownoptions></progressbarfontcolor> </dropdownoptions></progressbarfontcolor>
<progressbarfontcolorcustom type="colorpicker" category="Header" width="4" title="Custom progress bar font color (for 'Other ...')" parent="progressbarfontcolor">#ffffff</progressbarfontcolorcustom> <progressbarfontcolorcustom type="colorpicker" category="Header" width="4" title="Custom font color for the progress bar (for 'Other ...')" parent="progressbarfontcolor">#ffffff</progressbarfontcolorcustom>
<!-- Page background tab (options.twig tab 3, aImagesPaneKeys order): overall background color (chooser + custom), then the background image on/off + its detail options. --> <!-- 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 <!-- Row 149: the overall background color is a color-chooser dropdown like the
@ -376,7 +376,7 @@
maps them to font-weight/font-style. Defaults keep the old look: title maps them to font-weight/font-style. Defaults keep the old look: title
bold, description normal. --> bold, description normal. -->
<grouptitlefont type="fontselect" category="Groups" width="6" title="Font for group title">base</grouptitlefont> <grouptitlefont type="fontselect" category="Groups" width="6" title="Font for group title">base</grouptitlefont>
<grouptitletextcolor type="dropdown" category="Groups" width="6" title="Group title color" options="default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels="Default font color|Default background color|Color 1|Color 2|Color 3|Other ...">default <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
<dropdownoptions> <dropdownoptions>
<option value="default" data-default="1">[Default font color]</option> <option value="default" data-default="1">[Default font color]</option>
<option value="defaultbackgroundcolor">Default background color</option> <option value="defaultbackgroundcolor">Default background color</option>
@ -385,11 +385,11 @@
<option value="color3">Color 3</option> <option value="color3">Color 3</option>
<option value="other">Other ...</option> <option value="other">Other ...</option>
</dropdownoptions></grouptitletextcolor> </dropdownoptions></grouptitletextcolor>
<grouptitletextcolorcustom type="colorpicker" category="Groups" width="6" title="Custom group title color (for 'Other ...')" parent="grouptitletextcolor">#444444</grouptitletextcolorcustom> <grouptitletextcolorcustom type="colorpicker" category="Groups" width="6" title="Custom font color for group titles (for 'Other ...')" parent="grouptitletextcolor">#444444</grouptitletextcolorcustom>
<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> <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> <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> <groupdescriptionfont type="fontselect" category="Groups" width="6" title="Font for group description">base</groupdescriptionfont>
<groupdescriptiontextcolor type="dropdown" category="Groups" width="6" title="Group description color" options="default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels="Default font color|Default background color|Color 1|Color 2|Color 3|Other ...">default <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
<dropdownoptions> <dropdownoptions>
<option value="default" data-default="1">[Default font color]</option> <option value="default" data-default="1">[Default font color]</option>
<option value="defaultbackgroundcolor">Default background color</option> <option value="defaultbackgroundcolor">Default background color</option>
@ -398,7 +398,7 @@
<option value="color3">Color 3</option> <option value="color3">Color 3</option>
<option value="other">Other ...</option> <option value="other">Other ...</option>
</dropdownoptions></groupdescriptiontextcolor> </dropdownoptions></groupdescriptiontextcolor>
<groupdescriptiontextcolorcustom type="colorpicker" category="Groups" width="6" title="Custom group description color (for 'Other ...')" parent="groupdescriptiontextcolor">#444444</groupdescriptiontextcolorcustom> <groupdescriptiontextcolorcustom type="colorpicker" category="Groups" width="6" title="Custom font color for group descriptions (for 'Other ...')" parent="groupdescriptiontextcolor">#444444</groupdescriptiontextcolorcustom>
<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> <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> <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>
@ -425,7 +425,7 @@
defaults below are house-style specific (set per variant json; build.php migrates defaults below are house-style specific (set per variant json; build.php migrates
legacy hex/mode values). --> legacy hex/mode values). -->
<questiontitlefont type="fontselect" category="Questions" width="4" title="Font for question titles">base</questiontitlefont> <questiontitlefont type="fontselect" category="Questions" width="4" title="Font for question titles">base</questiontitlefont>
<questiontitletextcolor type="dropdown" category="Questions" width="4" title="Text 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 <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
<dropdownoptions> <dropdownoptions>
<option value="default">Default font color</option> <option value="default">Default font color</option>
<option value="defaultbackgroundcolor">Default background color</option> <option value="defaultbackgroundcolor">Default background color</option>
@ -434,10 +434,10 @@
<option value="color3">Color 3</option> <option value="color3">Color 3</option>
<option value="other" data-default="1">[Other ...]</option> <option value="other" data-default="1">[Other ...]</option>
</dropdownoptions></questiontitletextcolor> </dropdownoptions></questiontitletextcolor>
<questiontitletextcolorcustom type="colorpicker" category="Questions" width="4" title="Custom text color for question titles (for 'Other ...')" parent="questiontitletextcolor">#ffffff</questiontitletextcolorcustom> <questiontitletextcolorcustom type="colorpicker" category="Questions" width="4" title="Custom font color for question titles (for 'Other ...')" parent="questiontitletextcolor">#ffffff</questiontitletextcolorcustom>
<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> <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> <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>
<questiontitlefontcolor type="colorpicker" category="Questions" width="4" title="Text color for question titles (legacy picker)" options="on|off" optionlabels="Yes|No">#ffffff</questiontitlefontcolor> <questiontitlefontcolor type="colorpicker" category="Questions" width="4" title="Font color for question titles (legacy picker)" options="on|off" optionlabels="Yes|No">#ffffff</questiontitlefontcolor>
<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 <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> <dropdownoptions>
<option value="default">Default font color</option> <option value="default">Default font color</option>
@ -465,7 +465,7 @@
options). answerstextcolor uses the color-chooser scheme like the P2 title options). answerstextcolor uses the color-chooser scheme like the P2 title
colors; default mode stays "default" (Default font color). --> colors; default mode stays "default" (Default font color). -->
<answersfont type="fontselect" category="Questions" width="4" title="Font for answers and subquestions">base</answersfont> <answersfont type="fontselect" category="Questions" width="4" title="Font for answers and subquestions">base</answersfont>
<answerstextcolor type="dropdown" category="Questions" width="4" title="Text 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 <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
<dropdownoptions> <dropdownoptions>
<option value="default" data-default="1">[Default font color]</option> <option value="default" data-default="1">[Default font color]</option>
<option value="defaultbackgroundcolor">Default background color</option> <option value="defaultbackgroundcolor">Default background color</option>
@ -474,7 +474,7 @@
<option value="color3">Color 3</option> <option value="color3">Color 3</option>
<option value="other">Other ...</option> <option value="other">Other ...</option>
</dropdownoptions></answerstextcolor> </dropdownoptions></answerstextcolor>
<answerstextcolorcustom type="colorpicker" category="Questions" width="4" title="Custom text color for answers and subquestions (for 'Other ...')" parent="answerstextcolor">#444444</answerstextcolorcustom> <answerstextcolorcustom type="colorpicker" category="Questions" width="4" title="Custom font color for answers and subquestions (for 'Other ...')" parent="answerstextcolor">#444444</answerstextcolorcustom>
<!-- Row 195/196: the checkbox/radiobutton color moved here — column 2 of <!-- Row 195/196: the checkbox/radiobutton color moved here — column 2 of
the "Answer options and subquestions" section — and became a standard the "Answer options and subquestions" section — and became a standard
6-way color chooser (+ custom child), like the other color options. 6-way color chooser (+ custom child), like the other color options.
@ -497,7 +497,16 @@
CHOOSER (6-way + custom, default "color3" — row 196 — which is #fff3cd, so CHOOSER (6-way + custom, default "color3" — row 196 — which is #fff3cd, so
the look stays as before), col 3 = the help text position. --> the look stays as before), col 3 = the help text position. -->
<questionhelpfont type="fontselect" category="Questions" width="4" title="Font for question help text">base</questionhelpfont> <questionhelpfont type="fontselect" category="Questions" width="4" title="Font for question help text">base</questionhelpfont>
<questionhelpfontcolor type="colorpicker" category="Questions" width="4" title="Question help font color" options="on|off" optionlabels="Yes|No">#444444</questionhelpfontcolor> <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>
<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 <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
<dropdownoptions> <dropdownoptions>
<option value="default">Default font color</option> <option value="default">Default font color</option>
@ -519,7 +528,16 @@
lives in options.twig (aShowIfValues) and lands as lives in options.twig (aShowIfValues) and lands as
data-show-if-value="box|top". --> 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> <questionborder type="buttons" category="Questions" width="4" title="Question border" options="box|top|none" optionlabels="Box around|Top and bottom|None">box</questionborder>
<questionbordercolor type="colorpicker" category="Questions" width="4" title="Question border color" options="on|off" optionlabels="Yes|No" parent="questionborder">#cccccc</questionbordercolor> <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>
<questionborderstyle type="buttons" category="Questions" width="4" title="Question border line style" options="solid|dotted|dashed" optionlabels="Solid|Dotted|Dashed" parent="questionborder">solid</questionborderstyle> <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> <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> <questionborderradiusTL type="duration" category="Questions" width="4" title="Border radius top left" parent="questionborder">5px</questionborderradiusTL>
@ -579,7 +597,7 @@
<option value="other" data-default="1">[Other ...]</option> <option value="other" data-default="1">[Other ...]</option>
</dropdownoptions></previousbuttonbackgroundcolor> </dropdownoptions></previousbuttonbackgroundcolor>
<previousbuttonbackgroundcolorcustom type="colorpicker" category="Buttons" width="4" title="Custom previous button background color (for 'Other ...')" parent="previousbuttonbackgroundcolor">#ffffff</previousbuttonbackgroundcolorcustom> <previousbuttonbackgroundcolorcustom type="colorpicker" category="Buttons" width="4" title="Custom previous button background color (for 'Other ...')" parent="previousbuttonbackgroundcolor">#ffffff</previousbuttonbackgroundcolorcustom>
<previousbuttontextcolor type="dropdown" category="Buttons" width="4" title="Previous button text color" options="default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels="Default font color|Default background color|Color 1|Color 2|Color 3|Other ...">default <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
<dropdownoptions> <dropdownoptions>
<option value="default" data-default="1">[Default font color]</option> <option value="default" data-default="1">[Default font color]</option>
<option value="defaultbackgroundcolor">Default background color</option> <option value="defaultbackgroundcolor">Default background color</option>
@ -588,7 +606,7 @@
<option value="color3">Color 3</option> <option value="color3">Color 3</option>
<option value="other">Other ...</option> <option value="other">Other ...</option>
</dropdownoptions></previousbuttontextcolor> </dropdownoptions></previousbuttontextcolor>
<previousbuttontextcolorcustom type="colorpicker" category="Buttons" width="4" title="Custom previous button text color (for 'Other ...')" parent="previousbuttontextcolor">#444444</previousbuttontextcolorcustom> <previousbuttontextcolorcustom type="colorpicker" category="Buttons" width="4" title="Custom font color for the Previous button (for 'Other ...')" parent="previousbuttontextcolor">#444444</previousbuttontextcolorcustom>
<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 <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> <dropdownoptions>
<option value="default">Default button color</option> <option value="default">Default button color</option>
@ -599,7 +617,7 @@
<option value="other">Other ...</option> <option value="other">Other ...</option>
</dropdownoptions></nextbuttonbackgroundcolor> </dropdownoptions></nextbuttonbackgroundcolor>
<nextbuttonbackgroundcolorcustom type="colorpicker" category="Buttons" width="4" title="Custom next button background color (for 'Other ...')" parent="nextbuttonbackgroundcolor">#ffffff</nextbuttonbackgroundcolorcustom> <nextbuttonbackgroundcolorcustom type="colorpicker" category="Buttons" width="4" title="Custom next button background color (for 'Other ...')" parent="nextbuttonbackgroundcolor">#ffffff</nextbuttonbackgroundcolorcustom>
<nextbuttontextcolor type="dropdown" category="Buttons" width="4" title="Next button text color" options="default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels="Default font color|Default background color|Color 1|Color 2|Color 3|Other ...">other <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
<dropdownoptions> <dropdownoptions>
<option value="default">Default font color</option> <option value="default">Default font color</option>
<option value="defaultbackgroundcolor">Default background color</option> <option value="defaultbackgroundcolor">Default background color</option>
@ -608,7 +626,7 @@
<option value="color3">Color 3</option> <option value="color3">Color 3</option>
<option value="other" data-default="1">[Other ...]</option> <option value="other" data-default="1">[Other ...]</option>
</dropdownoptions></nextbuttontextcolor> </dropdownoptions></nextbuttontextcolor>
<nextbuttontextcolorcustom type="colorpicker" category="Buttons" width="4" title="Custom next button text color (for 'Other ...')" parent="nextbuttontextcolor">#ffffff</nextbuttontextcolorcustom> <nextbuttontextcolorcustom type="colorpicker" category="Buttons" width="4" title="Custom font color for the Next button (for 'Other ...')" parent="nextbuttontextcolor">#ffffff</nextbuttontextcolorcustom>
<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 <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> <dropdownoptions>
<option value="default">Default button color</option> <option value="default">Default button color</option>
@ -619,7 +637,7 @@
<option value="other">Other ...</option> <option value="other">Other ...</option>
</dropdownoptions></submitbuttonbackgroundcolor> </dropdownoptions></submitbuttonbackgroundcolor>
<submitbuttonbackgroundcolorcustom type="colorpicker" category="Buttons" width="4" title="Custom submit button background color (for 'Other ...')" parent="submitbuttonbackgroundcolor">#ffffff</submitbuttonbackgroundcolorcustom> <submitbuttonbackgroundcolorcustom type="colorpicker" category="Buttons" width="4" title="Custom submit button background color (for 'Other ...')" parent="submitbuttonbackgroundcolor">#ffffff</submitbuttonbackgroundcolorcustom>
<submitbuttontextcolor type="dropdown" category="Buttons" width="4" title="Submit button text color" options="default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels="Default font color|Default background color|Color 1|Color 2|Color 3|Other ...">other <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
<dropdownoptions> <dropdownoptions>
<option value="default">Default font color</option> <option value="default">Default font color</option>
<option value="defaultbackgroundcolor">Default background color</option> <option value="defaultbackgroundcolor">Default background color</option>
@ -628,7 +646,7 @@
<option value="color3">Color 3</option> <option value="color3">Color 3</option>
<option value="other" data-default="1">[Other ...]</option> <option value="other" data-default="1">[Other ...]</option>
</dropdownoptions></submitbuttontextcolor> </dropdownoptions></submitbuttontextcolor>
<submitbuttontextcolorcustom type="colorpicker" category="Buttons" width="4" title="Custom submit button text color (for 'Other ...')" parent="submitbuttontextcolor">#ffffff</submitbuttontextcolorcustom> <submitbuttontextcolorcustom type="colorpicker" category="Buttons" width="4" title="Custom font color for the Submit button (for 'Other ...')" parent="submitbuttontextcolor">#ffffff</submitbuttontextcolorcustom>
<!-- Colors: no tab in the custom options page yet (Prompt T) — these two stay in core mode only. --> <!-- 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> <sliderhandlecolor type="colorpicker" category="Colors" width="12" title="Slider handle color" options="on|off" optionlabels="Yes|No">#5e1c64</sliderhandlecolor>

View file

@ -37,9 +37,9 @@ var ThemeOptions = function () {
// row 184 / plan P3: answerstextcolor as well; row 186 / plan P4: // row 184 / plan P3: answerstextcolor as well; row 186 / plan P4:
// questionhelpbackgroundcolor as well; row 191 / plan P6: the six per-button // questionhelpbackgroundcolor as well; row 191 / plan P6: the six per-button
// choosers (previous/next/submit button background + text color); row 195: // choosers (previous/next/submit button background + text color); row 195:
// checkboxcolor as well. // checkboxcolor as well; row 197: questionhelpfontcolor + questionbordercolor.
// Must stay in sync with aColorChooserKeys in options/options.twig. // Must stay in sync with aColorChooserKeys in options/options.twig.
var aColorChooserKeys = ['navbarfontcolor', 'headerbackgroundcolor', 'progressbarcolor', 'progressbarbackgroundcolor', 'progressbarfontcolor', 'bodybackgroundcolor', 'grouptitletextcolor', 'groupdescriptiontextcolor', 'questiontitletextcolor', 'questiontitlebackgroundcolor', 'questionbackgroundcolor', 'answerstextcolor', 'questionhelpbackgroundcolor', 'checkboxcolor', 'previousbuttonbackgroundcolor', 'previousbuttontextcolor', 'nextbuttonbackgroundcolor', 'nextbuttontextcolor', 'submitbuttonbackgroundcolor', 'submitbuttontextcolor']; var aColorChooserKeys = ['navbarfontcolor', 'headerbackgroundcolor', 'progressbarcolor', 'progressbarbackgroundcolor', 'progressbarfontcolor', 'bodybackgroundcolor', 'grouptitletextcolor', 'groupdescriptiontextcolor', 'questiontitletextcolor', 'questiontitlebackgroundcolor', 'questionbackgroundcolor', 'answerstextcolor', 'questionhelpbackgroundcolor', 'questionhelpfontcolor', 'questionbordercolor', 'checkboxcolor', 'previousbuttonbackgroundcolor', 'previousbuttontextcolor', 'nextbuttonbackgroundcolor', 'nextbuttontextcolor', 'submitbuttonbackgroundcolor', 'submitbuttontextcolor'];
// the 5 presets, in the SAME order as the dropdown options in config.xml // the 5 presets, in the SAME order as the dropdown options in config.xml
// (object key order = swatch chip order) — row 125: "Default background color" // (object key order = swatch chip order) — row 125: "Default background color"
// is the SECOND choice, right after "Default font color". // is the SECOND choice, right after "Default font color".
@ -417,6 +417,17 @@ var ThemeOptions = function () {
const updateVisibilityByParent = function() { const updateVisibilityByParent = function() {
$('.option-visibility[data-show-if-parent]').each(function (i, wrapperEl) { $('.option-visibility[data-show-if-parent]').each(function (i, wrapperEl) {
const parentName = $(wrapperEl).data('show-if-parent'); const parentName = $(wrapperEl).data('show-if-parent');
// row 197: cascade — when the parent field itself sits inside a hidden
// .option-visibility wrapper (nested conditional, e.g. questionbordercolorcustom
// whose parent questionbordercolor is a child of questionborder=none), this
// wrapper must hide as well, regardless of its own show-if-mode
const anyParent0 = $('input[name="' + parentName + '"]');
const anyParent1 = $('select[name="' + parentName + '"]');
const anyParent = anyParent0.length ? anyParent0 : anyParent1;
if (anyParent.length) {
const pw = anyParent.first().closest('.option-visibility');
if (pw.length && pw.hasClass('d-none')) { $(wrapperEl).addClass('d-none'); return; }
}
// THEME ADDITION (row 115, navbarfontcolor working example): parents with // THEME ADDITION (row 115, navbarfontcolor working example): parents with
// data-show-if-mode="disable" never hide their children — the wrapper stays // data-show-if-mode="disable" never hide their children — the wrapper stays
// visible and only the child control is disabled (updateChild/updateAllChildren). // visible and only the child control is disabled (updateChild/updateAllChildren).

View file

@ -47,7 +47,7 @@
heuristically cached copy (the file has only Last-Modified/ETag, no Cache-Control). heuristically cached copy (the file has only Last-Modified/ETag, no Cache-Control).
Re-register it with a version token: bump OPTIONS_JS_TOKEN below whenever Re-register it with a version token: bump OPTIONS_JS_TOKEN below whenever
options/options.js changes, so every browser fetches the new file once. #} options/options.js changes, so every browser fetches the new file once. #}
{% set OPTIONS_JS_TOKEN = '20261129.4' %} {% set OPTIONS_JS_TOKEN = '20261129.5' %}
{{ unregisterScriptFile(optionsPath ~ '/options.js') }} {{ unregisterScriptFile(optionsPath ~ '/options.js') }}
{{ registerScriptFile(optionsPath ~ '/options.js?v=' ~ OPTIONS_JS_TOKEN, 'POS_END') }} {{ registerScriptFile(optionsPath ~ '/options.js?v=' ~ OPTIONS_JS_TOKEN, 'POS_END') }}
@ -293,9 +293,14 @@
row 184 / plan P3: answerstextcolor as well; row 186 / plan P4: row 184 / plan P3: answerstextcolor as well; row 186 / plan P4:
questionhelpbackgroundcolor as well. Must stay in sync with questionhelpbackgroundcolor as well. Must stay in sync with
aColorChooserKeys in options/options.js. #} aColorChooserKeys in options/options.js. #}
{% set aColorChooserKeys = ['navbarfontcolor', 'headerbackgroundcolor', 'progressbarcolor', 'progressbarbackgroundcolor', 'progressbarfontcolor', 'bodybackgroundcolor', 'grouptitletextcolor', 'groupdescriptiontextcolor', 'questiontitletextcolor', 'questiontitlebackgroundcolor', 'questionbackgroundcolor', 'answerstextcolor', 'questionhelpbackgroundcolor', 'checkboxcolor', 'previousbuttonbackgroundcolor', 'previousbuttontextcolor', 'nextbuttonbackgroundcolor', 'nextbuttontextcolor', 'submitbuttonbackgroundcolor', 'submitbuttontextcolor'] %} {% set aColorChooserKeys = ['navbarfontcolor', 'headerbackgroundcolor', 'progressbarcolor', 'progressbarbackgroundcolor', 'progressbarfontcolor', 'bodybackgroundcolor', 'grouptitletextcolor', 'groupdescriptiontextcolor', 'questiontitletextcolor', 'questiontitlebackgroundcolor', 'questionbackgroundcolor', 'answerstextcolor', 'questionhelpbackgroundcolor', 'questionhelpfontcolor', 'questionbordercolor', 'checkboxcolor', 'previousbuttonbackgroundcolor', 'previousbuttontextcolor', 'nextbuttonbackgroundcolor', 'nextbuttontextcolor', 'submitbuttonbackgroundcolor', 'submitbuttontextcolor'] %}
{% set aShowIfValues = { 'questionborder': 'box|top', 'navbarfontcolor': 'other' } %} {% set aShowIfValues = { 'questionborder': 'box|top', 'navbarfontcolor': 'other' } %}
{# row 197: per-KEY show-value override — the four border radii show ONLY for
"box" (Box around), while the other border children (color/style/shadow) keep
the parent's "box|top". Looked up by the option's own key, so it wins over the
parent's entry above and lands as data-show-if-value on the wrapper. #}
{% set aShowIfValuesByKey = { 'questionborderradiusTL': 'box', 'questionborderradiusTR': 'box', 'questionborderradiusBL': 'box', 'questionborderradiusBR': 'box' } %}
{% for el in aFontElements %}{% set aShowIfValues = aShowIfValues|merge({ (el ~ 'textcolor'): 'other' }) %}{% endfor %} {% for el in aFontElements %}{% set aShowIfValues = aShowIfValues|merge({ (el ~ 'textcolor'): 'other' }) %}{% endfor %}
{% for ck in aColorChooserKeys %}{% set aShowIfValues = aShowIfValues|merge({ (ck): 'other' }) %}{% endfor %} {% for ck in aColorChooserKeys %}{% set aShowIfValues = aShowIfValues|merge({ (ck): 'other' }) %}{% endfor %}
@ -339,19 +344,25 @@
{ 'id': 'help', 'h3': 'Question help', 'colClass': 'col-md-4' }, { 'id': 'help', 'h3': 'Question help', 'colClass': 'col-md-4' },
{ 'id': 'border', 'h3': 'Question border', 'colClass': 'col-md-4' } { 'id': 'border', 'h3': 'Question border', 'colClass': 'col-md-4' }
] %} ] %}
{# row 197: title-section keys (font, font color, size, options, legacy picker,
title bg chooser, body bg chooser) all stack in ONE column (title:0) so the
background choosers align with the font color; the checkbox chooser aligns
with the answers font color (answers:0); the help background chooser aligns
with the help font color (help:0), only the text position gets help:1.
NOTE: no {# #} comments inside the array literal (twig SyntaxError). #}
{% set aQSlots = { {% set aQSlots = {
'questiondistance': 'overall:0', 'questiondistancebottom': 'overall:0', 'questiondistance': 'overall:0', 'questiondistancebottom': 'overall:0',
'questiontitlefont': 'title:0', 'questiontitletextcolor': 'title:0', 'questiontitletextcolorcustom': 'title:0', 'questiontitlefont': 'title:0', 'questiontitletextcolor': 'title:0', 'questiontitletextcolorcustom': 'title:0',
'questiontitlefontsize': 'title:0', 'questiontitlefontoptions': 'title:0', 'questiontitlefontcolor': 'title:0', 'questiontitlefontsize': 'title:0', 'questiontitlefontoptions': 'title:0', 'questiontitlefontcolor': 'title:0',
'questiontitlebackgroundcolor': 'title:1', 'questiontitlebackgroundcolorcustom': 'title:1', 'questiontitlebackgroundcolor': 'title:0', 'questiontitlebackgroundcolorcustom': 'title:0',
'questionbackgroundcolor': 'title:2', 'questionbackgroundcolorcustom': 'title:2', 'questionbackgroundcolor': 'title:0', 'questionbackgroundcolorcustom': 'title:0',
'answersfont': 'answers:0', 'answerstextcolor': 'answers:0', 'answerstextcolorcustom': 'answers:0', 'answersfont': 'answers:0', 'answerstextcolor': 'answers:0', 'answerstextcolorcustom': 'answers:0',
'checkboxcolor': 'answers:1', 'checkboxcolorcustom': 'answers:1', 'checkboxcolor': 'answers:0', 'checkboxcolorcustom': 'answers:0',
'questionhelpfont': 'help:0', 'questionhelpfontcolor': 'help:0', 'questionhelpfont': 'help:0', 'questionhelpfontcolor': 'help:0', 'questionhelpfontcolorcustom': 'help:0',
'questionhelpbackgroundcolor': 'help:1', 'questionhelpbackgroundcolorcustom': 'help:1', 'questionhelpbackgroundcolor': 'help:0', 'questionhelpbackgroundcolorcustom': 'help:0',
'questionhelptextposition': 'help:2', 'questionhelptextposition': 'help:1',
'questionborder': 'border:0', 'questionborder': 'border:0',
'questionbordercolor': 'border:1', 'questionborderstyle': 'border:1', 'questiondropdown': 'border:1', 'questionbordercolor': 'border:1', 'questionbordercolorcustom': 'border:1', 'questionborderstyle': 'border:1', 'questiondropdown': 'border:1',
'questionborderradiusTL': 'border:2', 'questionborderradiusTR': 'border:2', 'questionborderradiusTL': 'border:2', 'questionborderradiusTR': 'border:2',
'questionborderradiusBL': 'border:2', 'questionborderradiusBR': 'border:2' 'questionborderradiusBL': 'border:2', 'questionborderradiusBR': 'border:2'
} %} } %}
@ -818,6 +829,8 @@
{% if attr.parent != '' and attr.parent != key %} {% if attr.parent != '' and attr.parent != key %}
{% set parentAttr = aOptionAttributes.optionAttributes[attr.parent] ?? null %} {% set parentAttr = aOptionAttributes.optionAttributes[attr.parent] ?? null %}
{% set showIfValues = aShowIfValues[attr.parent] ?? 'on' %} {% set showIfValues = aShowIfValues[attr.parent] ?? 'on' %}
{# row 197: per-key override wins (border radii = "box" only) #}
{% if aShowIfValuesByKey[key] is defined %}{% set showIfValues = aShowIfValuesByKey[key] %}{% endif %}
{% if parentAttr is not null and (parentAttr.type == 'buttons' or parentAttr.type == 'dropdown') %} {% if parentAttr is not null and (parentAttr.type == 'buttons' or parentAttr.type == 'dropdown') %}
{% set parentValue = bGeneralInherit ? 'inherit' : (aCurrentOptions[attr.parent] is defined ? aCurrentOptions[attr.parent] : (oParentOptions[attr.parent] is defined ? oParentOptions[attr.parent] : '')) %} {% set parentValue = bGeneralInherit ? 'inherit' : (aCurrentOptions[attr.parent] is defined ? aCurrentOptions[attr.parent] : (oParentOptions[attr.parent] is defined ? oParentOptions[attr.parent] : '')) %}
{% if parentValue not in showIfValues|split('|') %}{% set bParentHidden = true %}{% endif %} {% if parentValue not in showIfValues|split('|') %}{% set bParentHidden = true %}{% endif %}

View file

@ -274,14 +274,15 @@ foreach ($logoPositions as $pos) {
// groupdescriptiontextcolor; row 180 plan P2 adds questiontitletextcolor, // groupdescriptiontextcolor; row 180 plan P2 adds questiontitletextcolor,
// questiontitlebackgroundcolor, questionbackgroundcolor; row 184 plan P3 adds // questiontitlebackgroundcolor, questionbackgroundcolor; row 184 plan P3 adds
// answerstextcolor; row 186 plan P4 adds questionhelpbackgroundcolor; row 191 plan // answerstextcolor; row 186 plan P4 adds questionhelpbackgroundcolor; row 191 plan
// P6 adds the six per-button choosers; row 195 adds checkboxcolor) became mode // P6 adds the six per-button choosers; row 195 adds checkboxcolor; row 197 adds
// questionhelpfontcolor + questionbordercolor) became mode
// dropdowns // dropdowns
// (default|defaultbackgroundcolor|color1|color2|color3|other) with a <key>custom // (default|defaultbackgroundcolor|color1|color2|color3|other) with a <key>custom
// colorpicker child. A legacy HEX value in the json means "custom color": map it // colorpicker child. A legacy HEX value in the json means "custom color": map it
// to mode "other" and move the hex into the <key>custom child, so the variant // to mode "other" and move the hex into the <key>custom child, so the variant
// default stays valid for the dropdown. A legacy mode "primary"/"secondary" // default stays valid for the dropdown. A legacy mode "primary"/"secondary"
// (old 4-way textcolor dropdown) maps to "color1"/"color2". // (old 4-way textcolor dropdown) maps to "color1"/"color2".
$colorChooserKeys = ['navbarfontcolor', 'headerbackgroundcolor', 'progressbarcolor', 'progressbarbackgroundcolor', 'progressbarfontcolor', 'bodybackgroundcolor', 'grouptitletextcolor', 'groupdescriptiontextcolor', 'questiontitletextcolor', 'questiontitlebackgroundcolor', 'questionbackgroundcolor', 'answerstextcolor', 'questionhelpbackgroundcolor', 'checkboxcolor', 'previousbuttonbackgroundcolor', 'previousbuttontextcolor', 'nextbuttonbackgroundcolor', 'nextbuttontextcolor', 'submitbuttonbackgroundcolor', 'submitbuttontextcolor']; $colorChooserKeys = ['navbarfontcolor', 'headerbackgroundcolor', 'progressbarcolor', 'progressbarbackgroundcolor', 'progressbarfontcolor', 'bodybackgroundcolor', 'grouptitletextcolor', 'groupdescriptiontextcolor', 'questiontitletextcolor', 'questiontitlebackgroundcolor', 'questionbackgroundcolor', 'answerstextcolor', 'questionhelpbackgroundcolor', 'questionhelpfontcolor', 'questionbordercolor', 'checkboxcolor', 'previousbuttonbackgroundcolor', 'previousbuttontextcolor', 'nextbuttonbackgroundcolor', 'nextbuttontextcolor', 'submitbuttonbackgroundcolor', 'submitbuttontextcolor'];
$colorChooserLegacyModes = ['primary' => 'color1', 'secondary' => 'color2']; $colorChooserLegacyModes = ['primary' => 'color1', 'secondary' => 'color2'];
foreach ($colorChooserKeys as $ck) { foreach ($colorChooserKeys as $ck) {
if (isset($definition['options'][$ck]) if (isset($definition['options'][$ck])

View file

@ -31,7 +31,7 @@
<version>3.3.0</version> <version>3.3.0</version>
<apiVersion>3</apiVersion> <apiVersion>3</apiVersion>
<description>&lt;strong&gt;Example variant of Respondage Vanilla&lt;/strong&gt;&lt;br&gt;Public example of a build output: only a few house-style option values differ, all views, CSS and JS are inherited from the mother theme via extends.</description> <description>&lt;strong&gt;Example variant of Respondage Vanilla&lt;/strong&gt;&lt;br&gt;Public example of a build output: only a few house-style option values differ, all views, CSS and JS are inherited from the mother theme via extends.</description>
<lastUpdate>2026-11-29 15:12:23</lastUpdate> <lastUpdate>2026-11-29 15:22:03</lastUpdate>
<extends>vanilla_respondage</extends> <extends>vanilla_respondage</extends>
</metadata> </metadata>
<compatibility> <compatibility>
@ -169,9 +169,9 @@
"Default background color", "Color 1", "Color 2", "Color 3", "Default background color", "Color 1", "Color 2", "Color 3",
"Other ..." — options.js appends each entry's live hexcode in brackets "Other ..." — options.js appends each entry's live hexcode in brackets
(for "Other ..." the custom color's hex) and bolds the default. --> (for "Other ..." the custom color's hex) and bolds the default. -->
<navbarfontcolor type="dropdown" category="Header" width="4" title="Text color in header" options="default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels="Default font color|Default background color|Color 1|Color 2|Color 3|Other ...">default <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
<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></navbarfontcolor> <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></navbarfontcolor>
<navbarfontcolorcustom type="colorpicker" category="Header" width="4" title="Custom text color in header (for 'Other ...')" parent="navbarfontcolor">#444444</navbarfontcolorcustom> <navbarfontcolorcustom type="colorpicker" category="Header" width="4" title="Custom font color for the header menu (for 'Other ...')" parent="navbarfontcolor">#444444</navbarfontcolorcustom>
<!-- Color choosers of the Header tab (rows 115/135/149): HOUSE-STYLE colors, set per <!-- Color choosers of the Header tab (rows 115/135/149): HOUSE-STYLE colors, set per
variant via variants/<client>.json. sliderhandlecolor + privacybackgroundcolor remain in variant via variants/<client>.json. sliderhandlecolor + privacybackgroundcolor remain in
the Colors category (no custom tab yet — Prompt T). --> the Colors category (no custom tab yet — Prompt T). -->
@ -257,9 +257,9 @@
<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 <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
<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> <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>
<progressbarbackgroundcolorcustom type="colorpicker" category="Header" width="4" title="Custom progress bar background color (for 'Other ...')" parent="progressbarbackgroundcolor">#eeeeee</progressbarbackgroundcolorcustom> <progressbarbackgroundcolorcustom type="colorpicker" category="Header" width="4" title="Custom progress bar background color (for 'Other ...')" parent="progressbarbackgroundcolor">#eeeeee</progressbarbackgroundcolorcustom>
<progressbarfontcolor type="dropdown" category="Header" width="4" title="Progress bar font color" options="default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels="Default font color|Default background color|Color 1|Color 2|Color 3|Other ...">default <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
<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></progressbarfontcolor> <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></progressbarfontcolor>
<progressbarfontcolorcustom type="colorpicker" category="Header" width="4" title="Custom progress bar font color (for 'Other ...')" parent="progressbarfontcolor">#ffffff</progressbarfontcolorcustom> <progressbarfontcolorcustom type="colorpicker" category="Header" width="4" title="Custom font color for the progress bar (for 'Other ...')" parent="progressbarfontcolor">#ffffff</progressbarfontcolorcustom>
<!-- Page background tab (options.twig tab 3, aImagesPaneKeys order): overall background color (chooser + custom), then the background image on/off + its detail options. --> <!-- 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 <!-- Row 149: the overall background color is a color-chooser dropdown like the
other chooser options (default|defaultbackgroundcolor|color1|color2|color3| other chooser options (default|defaultbackgroundcolor|color1|color2|color3|
@ -299,15 +299,15 @@
maps them to font-weight/font-style. Defaults keep the old look: title maps them to font-weight/font-style. Defaults keep the old look: title
bold, description normal. --> bold, description normal. -->
<grouptitlefont type="fontselect" category="Groups" width="6" title="Font for group title">base</grouptitlefont> <grouptitlefont type="fontselect" category="Groups" width="6" title="Font for group title">base</grouptitlefont>
<grouptitletextcolor type="dropdown" category="Groups" width="6" title="Group title color" options="default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels="Default font color|Default background color|Color 1|Color 2|Color 3|Other ...">default <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
<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></grouptitletextcolor> <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></grouptitletextcolor>
<grouptitletextcolorcustom type="colorpicker" category="Groups" width="6" title="Custom group title color (for 'Other ...')" parent="grouptitletextcolor">#444444</grouptitletextcolorcustom> <grouptitletextcolorcustom type="colorpicker" category="Groups" width="6" title="Custom font color for group titles (for 'Other ...')" parent="grouptitletextcolor">#444444</grouptitletextcolorcustom>
<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> <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> <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> <groupdescriptionfont type="fontselect" category="Groups" width="6" title="Font for group description">base</groupdescriptionfont>
<groupdescriptiontextcolor type="dropdown" category="Groups" width="6" title="Group description color" options="default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels="Default font color|Default background color|Color 1|Color 2|Color 3|Other ...">default <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
<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></groupdescriptiontextcolor> <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></groupdescriptiontextcolor>
<groupdescriptiontextcolorcustom type="colorpicker" category="Groups" width="6" title="Custom group description color (for 'Other ...')" parent="groupdescriptiontextcolor">#444444</groupdescriptiontextcolorcustom> <groupdescriptiontextcolorcustom type="colorpicker" category="Groups" width="6" title="Custom font color for group descriptions (for 'Other ...')" parent="groupdescriptiontextcolor">#444444</groupdescriptiontextcolorcustom>
<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> <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> <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>
<!-- Questions tab (options.twig tab 5): first the three columns (col 1 colors+help, col 2 border + children, col 3 checkbox color; width 4 = col-md-4 columns), then the rest full-width (width 12). --> <!-- Questions tab (options.twig tab 5): first the three columns (col 1 colors+help, col 2 border + children, col 3 checkbox color; width 4 = col-md-4 columns), then the rest full-width (width 12). -->
@ -333,12 +333,12 @@
defaults below are house-style specific (set per variant json; build.php migrates defaults below are house-style specific (set per variant json; build.php migrates
legacy hex/mode values). --> legacy hex/mode values). -->
<questiontitlefont type="fontselect" category="Questions" width="4" title="Font for question titles">base</questiontitlefont> <questiontitlefont type="fontselect" category="Questions" width="4" title="Font for question titles">base</questiontitlefont>
<questiontitletextcolor type="dropdown" category="Questions" width="4" title="Text 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 <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
<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> <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>
<questiontitletextcolorcustom type="colorpicker" category="Questions" width="4" title="Custom text color for question titles (for 'Other ...')" parent="questiontitletextcolor">#ffffff</questiontitletextcolorcustom> <questiontitletextcolorcustom type="colorpicker" category="Questions" width="4" title="Custom font color for question titles (for 'Other ...')" parent="questiontitletextcolor">#ffffff</questiontitletextcolorcustom>
<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> <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> <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>
<questiontitlefontcolor type="colorpicker" category="Questions" width="4" title="Text color for question titles (legacy picker)" options="on|off" optionlabels="Yes|No">#ffffff</questiontitlefontcolor> <questiontitlefontcolor type="colorpicker" category="Questions" width="4" title="Font color for question titles (legacy picker)" options="on|off" optionlabels="Yes|No">#ffffff</questiontitlefontcolor>
<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 <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> <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> <questiontitlebackgroundcolorcustom type="colorpicker" category="Questions" width="4" title="Custom question title background color (for 'Other ...')" parent="questiontitlebackgroundcolor">#5e1c64</questiontitlebackgroundcolorcustom>
@ -352,9 +352,9 @@
options). answerstextcolor uses the color-chooser scheme like the P2 title options). answerstextcolor uses the color-chooser scheme like the P2 title
colors; default mode stays "default" (Default font color). --> colors; default mode stays "default" (Default font color). -->
<answersfont type="fontselect" category="Questions" width="4" title="Font for answers and subquestions">base</answersfont> <answersfont type="fontselect" category="Questions" width="4" title="Font for answers and subquestions">base</answersfont>
<answerstextcolor type="dropdown" category="Questions" width="4" title="Text 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 <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
<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> <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>
<answerstextcolorcustom type="colorpicker" category="Questions" width="4" title="Custom text color for answers and subquestions (for 'Other ...')" parent="answerstextcolor">#444444</answerstextcolorcustom> <answerstextcolorcustom type="colorpicker" category="Questions" width="4" title="Custom font color for answers and subquestions (for 'Other ...')" parent="answerstextcolor">#444444</answerstextcolorcustom>
<!-- Row 195/196: the checkbox/radiobutton color moved here — column 2 of <!-- Row 195/196: the checkbox/radiobutton color moved here — column 2 of
the "Answer options and subquestions" section — and became a standard the "Answer options and subquestions" section — and became a standard
6-way color chooser (+ custom child), like the other color options. 6-way color chooser (+ custom child), like the other color options.
@ -370,7 +370,9 @@
CHOOSER (6-way + custom, default "color3" — row 196 — which is #fff3cd, so CHOOSER (6-way + custom, default "color3" — row 196 — which is #fff3cd, so
the look stays as before), col 3 = the help text position. --> the look stays as before), col 3 = the help text position. -->
<questionhelpfont type="fontselect" category="Questions" width="4" title="Font for question help text">base</questionhelpfont> <questionhelpfont type="fontselect" category="Questions" width="4" title="Font for question help text">base</questionhelpfont>
<questionhelpfontcolor type="colorpicker" category="Questions" width="4" title="Question help font color" options="on|off" optionlabels="Yes|No">#444444</questionhelpfontcolor> <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>
<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 <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
<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" data-default="1">[Color 3]</option><option value="other">Other ...</option></dropdownoptions></questionhelpbackgroundcolor> <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" data-default="1">[Color 3]</option><option value="other">Other ...</option></dropdownoptions></questionhelpbackgroundcolor>
<questionhelpbackgroundcolorcustom type="colorpicker" category="Questions" width="4" title="Custom question help background color (for 'Other ...')" parent="questionhelpbackgroundcolor">#fff3cd</questionhelpbackgroundcolorcustom> <questionhelpbackgroundcolorcustom type="colorpicker" category="Questions" width="4" title="Custom question help background color (for 'Other ...')" parent="questionhelpbackgroundcolor">#fff3cd</questionhelpbackgroundcolorcustom>
@ -385,7 +387,9 @@
lives in options.twig (aShowIfValues) and lands as lives in options.twig (aShowIfValues) and lands as
data-show-if-value="box|top". --> 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> <questionborder type="buttons" category="Questions" width="4" title="Question border" options="box|top|none" optionlabels="Box around|Top and bottom|None">box</questionborder>
<questionbordercolor type="colorpicker" category="Questions" width="4" title="Question border color" options="on|off" optionlabels="Yes|No" parent="questionborder">#cccccc</questionbordercolor> <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>
<questionborderstyle type="buttons" category="Questions" width="4" title="Question border line style" options="solid|dotted|dashed" optionlabels="Solid|Dotted|Dashed" parent="questionborder">solid</questionborderstyle> <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> <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> <questionborderradiusTL type="duration" category="Questions" width="4" title="Border radius top left" parent="questionborder">5px</questionborderradiusTL>
@ -438,21 +442,21 @@
<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 <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> <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> <previousbuttonbackgroundcolorcustom type="colorpicker" category="Buttons" width="4" title="Custom previous button background color (for 'Other ...')" parent="previousbuttonbackgroundcolor">#ffffff</previousbuttonbackgroundcolorcustom>
<previousbuttontextcolor type="dropdown" category="Buttons" width="4" title="Previous button text color" options="default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels="Default font color|Default background color|Color 1|Color 2|Color 3|Other ...">default <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
<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></previousbuttontextcolor> <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></previousbuttontextcolor>
<previousbuttontextcolorcustom type="colorpicker" category="Buttons" width="4" title="Custom previous button text color (for 'Other ...')" parent="previousbuttontextcolor">#444444</previousbuttontextcolorcustom> <previousbuttontextcolorcustom type="colorpicker" category="Buttons" width="4" title="Custom font color for the Previous button (for 'Other ...')" parent="previousbuttontextcolor">#444444</previousbuttontextcolorcustom>
<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 <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> <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> <nextbuttonbackgroundcolorcustom type="colorpicker" category="Buttons" width="4" title="Custom next button background color (for 'Other ...')" parent="nextbuttonbackgroundcolor">#ffffff</nextbuttonbackgroundcolorcustom>
<nextbuttontextcolor type="dropdown" category="Buttons" width="4" title="Next button text color" options="default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels="Default font color|Default background color|Color 1|Color 2|Color 3|Other ...">other <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
<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> <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>
<nextbuttontextcolorcustom type="colorpicker" category="Buttons" width="4" title="Custom next button text color (for 'Other ...')" parent="nextbuttontextcolor">#ffffff</nextbuttontextcolorcustom> <nextbuttontextcolorcustom type="colorpicker" category="Buttons" width="4" title="Custom font color for the Next button (for 'Other ...')" parent="nextbuttontextcolor">#ffffff</nextbuttontextcolorcustom>
<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 <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> <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> <submitbuttonbackgroundcolorcustom type="colorpicker" category="Buttons" width="4" title="Custom submit button background color (for 'Other ...')" parent="submitbuttonbackgroundcolor">#ffffff</submitbuttonbackgroundcolorcustom>
<submitbuttontextcolor type="dropdown" category="Buttons" width="4" title="Submit button text color" options="default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels="Default font color|Default background color|Color 1|Color 2|Color 3|Other ...">other <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
<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> <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>
<submitbuttontextcolorcustom type="colorpicker" category="Buttons" width="4" title="Custom submit button text color (for 'Other ...')" parent="submitbuttontextcolor">#ffffff</submitbuttontextcolorcustom> <submitbuttontextcolorcustom type="colorpicker" category="Buttons" width="4" title="Custom font color for the Submit button (for 'Other ...')" parent="submitbuttontextcolor">#ffffff</submitbuttontextcolorcustom>
<!-- Colors: no tab in the custom options page yet (Prompt T) — these two stay in core mode only. --> <!-- 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> <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> <privacybackgroundcolor type="colorpicker" category="Colors" width="12" title="Privacy background color" options="on|off" optionlabels="Yes|No">lightyellow</privacybackgroundcolor>

View file

@ -135,7 +135,7 @@
.save-form, .save-form,
#surveys-list-container, #surveys-list-container,
.privacy { .privacy {
border: 1px {{ aSurveyInfo.options.questionborderstyle }} {{ aSurveyInfo.options.questionbordercolor }}; border: 1px {{ aSurveyInfo.options.questionborderstyle }} {{ cmm.cm(aSurveyInfo.options.questionbordercolor|default('default'), aSurveyInfo.options.questionbordercolorcustom|default('#cccccc'), aSurveyInfo.options) }};
} }
{% endif %} {% endif %}
@ -145,7 +145,7 @@
.save-form, .save-form,
#surveys-list-container, #surveys-list-container,
.privacy { .privacy {
border-top: 1px {{ aSurveyInfo.options.questionborderstyle }} {{ aSurveyInfo.options.questionbordercolor }}; border-top: 1px {{ aSurveyInfo.options.questionborderstyle }} {{ cmm.cm(aSurveyInfo.options.questionbordercolor|default('default'), aSurveyInfo.options.questionbordercolorcustom|default('#cccccc'), aSurveyInfo.options) }};
} }
{% endif %} {% endif %}
@ -302,13 +302,15 @@
background: {{ cmm.cm(aSurveyInfo.options.questionbackgroundcolor|default('defaultbackgroundcolor'), aSurveyInfo.options.questionbackgroundcolorcustom|default(''), aSurveyInfo.options) }}; background: {{ cmm.cm(aSurveyInfo.options.questionbackgroundcolor|default('defaultbackgroundcolor'), aSurveyInfo.options.questionbackgroundcolorcustom|default(''), aSurveyInfo.options) }};
} }
{# Row 186 / plan P4: the question help background is a color chooser now {# Row 186 / plan P4, revised row 196/197: the question help background is a
(questionhelpbackgroundcolor, default mode "other" + custom #fff3cd so the color chooser (questionhelpbackgroundcolor, default mode "color3" since row
look stays as before; a legacy stored hex passes through cm()). The help 196; a legacy stored hex passes through cm()) AND the help font color is a
font color stays the plain picker questionhelpfontcolor (row-178 decision 8). #} chooser too (questionhelpfontcolor, 6-way + questionhelpfontcolorcustom,
default mode "default" = the default font color; legacy hex passes through
cm() as well). #}
.question-help-container, .question-valid-container { .question-help-container, .question-valid-container {
background: {{ cmm.cm(aSurveyInfo.options.questionhelpbackgroundcolor|default('other'), aSurveyInfo.options.questionhelpbackgroundcolorcustom|default(''), aSurveyInfo.options) }}; background: {{ cmm.cm(aSurveyInfo.options.questionhelpbackgroundcolor|default('color3'), aSurveyInfo.options.questionhelpbackgroundcolorcustom|default('#fff3cd'), aSurveyInfo.options) }};
color: {{ aSurveyInfo.options.questionhelpfontcolor|default('') }}; color: {{ cmm.cm(aSurveyInfo.options.questionhelpfontcolor|default('default'), aSurveyInfo.options.questionhelpfontcolorcustom|default('#444444'), aSurveyInfo.options) }};
} }
.slider-handle { .slider-handle {