feat(options): Questions tab 'Question border' section with 3 subcolumns and radius rows (row 178 plan P5)
Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
101c3135ea
commit
af3b408768
1 changed files with 69 additions and 36 deletions
|
|
@ -31,7 +31,7 @@
|
|||
<version>3.3.0</version>
|
||||
<apiVersion>3</apiVersion>
|
||||
<description><strong>Example variant of Respondage Vanilla</strong><br>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 14:19:31</lastUpdate>
|
||||
<lastUpdate>2026-11-29 14:23:13</lastUpdate>
|
||||
<extends>vanilla_respondage</extends>
|
||||
</metadata>
|
||||
<compatibility>
|
||||
|
|
@ -365,6 +365,23 @@
|
|||
<questionhelpbackgroundcolorcustom type="colorpicker" category="Questions" width="4" title="Custom question help background color (for 'Other ...')" parent="questionhelpbackgroundcolor">#fff3cd</questionhelpbackgroundcolorcustom>
|
||||
<questionhelpfontcolor type="colorpicker" category="Questions" width="4" title="Question help font color" options="on|off" optionlabels="Yes|No">#444444</questionhelpfontcolor>
|
||||
<questionhelptextposition type="buttons" category="Questions" width="4" title="Question help text position" options="top|bottom" optionlabels="Top|Bottom">top</questionhelptextposition>
|
||||
<!-- 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>
|
||||
<questionbordercolor type="colorpicker" category="Questions" width="4" title="Question border color" options="on|off" optionlabels="Yes|No" parent="questionborder">#cccccc</questionbordercolor>
|
||||
<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>
|
||||
<!-- Questions
|
||||
HOUSE-STYLE: the colorpicker options in this section (question
|
||||
title/background/help/help-font/border/checkbox colors) are house-style
|
||||
|
|
@ -381,24 +398,16 @@
|
|||
three-column grid, only it used): answers font + 6-way color chooser +
|
||||
custom; then (P4/row 186) the "Question help" section (width 4, first
|
||||
col-md-4 of a three-column grid, only it used): help background chooser +
|
||||
custom, plain help font color picker, help text position; then the
|
||||
remaining legacy columns (border, checkbox color), then the rest
|
||||
full-width (width 12). Inside a pane
|
||||
column each option stacks as col-12. 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". questionhelpfontcolor is applied
|
||||
custom, plain help font color picker, help text position; then (P5/row
|
||||
188) the "Question border" section (three col-md-4 subcolumns with a
|
||||
vertical divider between them: col 1 = the border buttons, col 2 = the
|
||||
color/style/shadow children, col 3 = the four radii as two rows of two
|
||||
with an hr between the rows); then the remaining legacy column
|
||||
(checkbox color), 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 rows). questionhelpfontcolor is applied
|
||||
in custom_header.twig on .question-help-container. -->
|
||||
<!-- Questions -->
|
||||
<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>
|
||||
<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>
|
||||
<checkboxcolor type="colorpicker" category="Questions" width="4" title="Checkbox/radiobutton color (when checked)" options="on|off" optionlabels="Yes|No">#ff005f</checkboxcolor>
|
||||
<!-- Per-element font+color combos (Prompt U; row 178 plan P6 moves the
|
||||
buttons ones into their own tab; the answers ones moved to the
|
||||
|
|
|
|||
Loading…
Reference in a new issue