fix(options): row 198 — restore 3-column section layouts in the Questions tab; make border radii a real 2x2 subcolumn grid
- aQSlots back to the row 178 plan / row 195 layouts: title = 3 columns (col 1 font+font color+size+options+legacy picker, col 2 title bg chooser, col 3 body bg chooser), answers = col 1 font+font color, col 2 checkbox chooser (column 2 as row 195), help = 3 columns (col 1 font+font color, col 2 bg chooser, col 3 text position); config.xml order already matched, only the slots changed - border radii: the col-md-6 wrappers sat directly in the block-level col-md-4 column, so width:50% stacked them vertically instead of two per row — .questions-col-border-2 is now display:flex + flex-wrap, so TL/TR form row 1, the hr its own line, BL/BR (border-start) row 2 - config.xml: refreshed the stale Questions-tab comment to describe the section layout; all variants rebuilt + example config synced Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
8370a945d5
commit
95c95dd8f6
3 changed files with 46 additions and 13 deletions
10
config.xml
10
config.xml
|
|
@ -402,7 +402,15 @@
|
||||||
<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): SECTIONS, each an h3 + its own row of three
|
||||||
|
col-md-4 columns (width 4) + a full-width hr (row 178 plan, restored row 198):
|
||||||
|
"Overall question" (col 1 only: the two distance options), "Question title and body"
|
||||||
|
(col 1 font/color/size/options, col 2 title bg, col 3 body bg), "Answer options and
|
||||||
|
subquestions" (col 1 font/color, col 2 checkbox color), "Question help" (col 1 font/
|
||||||
|
color, col 2 help bg, col 3 text position), "Question border" (col 1 border type,
|
||||||
|
col 2 color/style/shadow children, col 3 the four radii as a 2x2 subcolumn grid).
|
||||||
|
The option order below = the render order in the pane (row 160), so each slot in
|
||||||
|
aQSlots (options.twig) renders as exactly one column. -->
|
||||||
<!-- Row 179 / plan P1: the Questions tab starts with the "Overall question"
|
<!-- Row 179 / plan P1: the Questions tab starts with the "Overall question"
|
||||||
section — the FIRST column of a THREE-column grid (col-md-4, width 4; only
|
section — the FIRST column of a THREE-column grid (col-md-4, width 4; only
|
||||||
that first column is used), followed by a full-width hr in options.twig
|
that first column is used), followed by a full-width hr in options.twig
|
||||||
|
|
|
||||||
|
|
@ -205,6 +205,17 @@
|
||||||
.tab-content .border-start {
|
.tab-content .border-start {
|
||||||
border-left-color: #5e5c64 !important;
|
border-left-color: #5e5c64 !important;
|
||||||
}
|
}
|
||||||
|
/* row 198: the "Question border" section's third column (questions-col-border-2)
|
||||||
|
holds the four radius options as col-md-6 wrappers (2x2 subcolumns). A Bootstrap
|
||||||
|
col-* is display:block, so without this the width:50% wrappers would STACK
|
||||||
|
vertically instead of sitting two per row. Making the column itself a flex row
|
||||||
|
turns the wrappers into real flex items: TL TR on row 1, the col-12 hr on its
|
||||||
|
own line, BL BR (border-start) on the last row. */
|
||||||
|
.tab-content .questions-col-border-2 {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
align-content: flex-start;
|
||||||
|
}
|
||||||
/* row 143/145: in the color picker input group the swatch part (.input-group-text
|
/* row 143/145: in the color picker input group the swatch part (.input-group-text
|
||||||
holding input[type=color]) must be exactly as high as the text input. Setting
|
holding input[type=color]) must be exactly as high as the text input. Setting
|
||||||
the height only on the inner color input was not enough in the real admin page,
|
the height only on the inner color input was not enough in the real admin page,
|
||||||
|
|
@ -344,23 +355,29 @@
|
||||||
{ '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,
|
{# row 198 (back to the row 178 plan P2/P3 + row 195 layouts): every section is a
|
||||||
title bg chooser, body bg chooser) all stack in ONE column (title:0) so the
|
THREE-column grid (colClass col-md-4) and the columns are filled side by side,
|
||||||
background choosers align with the font color; the checkbox chooser aligns
|
so related choosers sit next to each other on one row:
|
||||||
with the answers font color (answers:0); the help background chooser aligns
|
title: col 1 = font + font color (+custom) + size + options + legacy picker (P2),
|
||||||
with the help font color (help:0), only the text position gets help:1.
|
col 2 = title background chooser (+custom), col 3 = body background chooser (+custom)
|
||||||
|
answers: col 1 = font + font color (+custom), col 2 = checkbox/radiobutton chooser (+custom) (row 195)
|
||||||
|
help: col 1 = help font + font color (+custom), col 2 = help background chooser (+custom),
|
||||||
|
col 3 = help text position (row 195)
|
||||||
|
border: col 1 = border type, col 2 = color/style/shadow children, col 3 = the four radii (2x2)
|
||||||
|
The config.xml order inside the Questions category already matches this grouping,
|
||||||
|
so each slot renders as exactly one column.
|
||||||
NOTE: no {# #} comments inside the array literal (twig SyntaxError). #}
|
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:0', 'questiontitlebackgroundcolorcustom': 'title:0',
|
'questiontitlebackgroundcolor': 'title:1', 'questiontitlebackgroundcolorcustom': 'title:1',
|
||||||
'questionbackgroundcolor': 'title:0', 'questionbackgroundcolorcustom': 'title:0',
|
'questionbackgroundcolor': 'title:2', 'questionbackgroundcolorcustom': 'title:2',
|
||||||
'answersfont': 'answers:0', 'answerstextcolor': 'answers:0', 'answerstextcolorcustom': 'answers:0',
|
'answersfont': 'answers:0', 'answerstextcolor': 'answers:0', 'answerstextcolorcustom': 'answers:0',
|
||||||
'checkboxcolor': 'answers:0', 'checkboxcolorcustom': 'answers:0',
|
'checkboxcolor': 'answers:1', 'checkboxcolorcustom': 'answers:1',
|
||||||
'questionhelpfont': 'help:0', 'questionhelpfontcolor': 'help:0', 'questionhelpfontcolorcustom': 'help:0',
|
'questionhelpfont': 'help:0', 'questionhelpfontcolor': 'help:0', 'questionhelpfontcolorcustom': 'help:0',
|
||||||
'questionhelpbackgroundcolor': 'help:0', 'questionhelpbackgroundcolorcustom': 'help:0',
|
'questionhelpbackgroundcolor': 'help:1', 'questionhelpbackgroundcolorcustom': 'help:1',
|
||||||
'questionhelptextposition': 'help:1',
|
'questionhelptextposition': 'help:2',
|
||||||
'questionborder': 'border:0',
|
'questionborder': 'border:0',
|
||||||
'questionbordercolor': 'border:1', 'questionbordercolorcustom': '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',
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
<version>3.3.0</version>
|
<version>3.3.0</version>
|
||||||
<apiVersion>3</apiVersion>
|
<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>
|
<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 15:22:03</lastUpdate>
|
<lastUpdate>2026-11-29 15:44:59</lastUpdate>
|
||||||
<extends>vanilla_respondage</extends>
|
<extends>vanilla_respondage</extends>
|
||||||
</metadata>
|
</metadata>
|
||||||
<compatibility>
|
<compatibility>
|
||||||
|
|
@ -310,7 +310,15 @@
|
||||||
<groupdescriptiontextcolorcustom type="colorpicker" category="Groups" width="6" title="Custom font color for group descriptions (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): SECTIONS, each an h3 + its own row of three
|
||||||
|
col-md-4 columns (width 4) + a full-width hr (row 178 plan, restored row 198):
|
||||||
|
"Overall question" (col 1 only: the two distance options), "Question title and body"
|
||||||
|
(col 1 font/color/size/options, col 2 title bg, col 3 body bg), "Answer options and
|
||||||
|
subquestions" (col 1 font/color, col 2 checkbox color), "Question help" (col 1 font/
|
||||||
|
color, col 2 help bg, col 3 text position), "Question border" (col 1 border type,
|
||||||
|
col 2 color/style/shadow children, col 3 the four radii as a 2x2 subcolumn grid).
|
||||||
|
The option order below = the render order in the pane (row 160), so each slot in
|
||||||
|
aQSlots (options.twig) renders as exactly one column. -->
|
||||||
<!-- Row 179 / plan P1: the Questions tab starts with the "Overall question"
|
<!-- Row 179 / plan P1: the Questions tab starts with the "Overall question"
|
||||||
section — the FIRST column of a THREE-column grid (col-md-4, width 4; only
|
section — the FIRST column of a THREE-column grid (col-md-4, width 4; only
|
||||||
that first column is used), followed by a full-width hr in options.twig
|
that first column is used), followed by a full-width hr in options.twig
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue