fix(options): Page background tab in two col-md-6 columns; option wrappers full column width
Row 163/164: the Page background pane used three col-md-4 columns with an empty third, and its option wrappers rendered col-12 col-md-<width> inside the slot columns (bImagesPane was missing from the wrapClass condition), so each option only used the left part of its column. Now two col-md-6 columns under the full-width h2/p intro, wrappers plain col-12; config.xml widths of the 6 Page background options 4 -> 6 (width = pane column width). Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
d05b5ce226
commit
dc2f09e73c
1 changed files with 32 additions and 23 deletions
17
config.xml
17
config.xml
|
|
@ -337,7 +337,7 @@
|
|||
"other" + hex into bodybackgroundcolorcustom (options.js), and
|
||||
custom_header.twig resolves the mode via the cm() macro (a raw hex still
|
||||
passes through directly). -->
|
||||
<bodybackgroundcolor type="dropdown" category="Page background" width="4" title="Overall background color" options="default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels="Default font color|Default background color|Color 1|Color 2|Color 3|Other ...">defaultbackgroundcolor
|
||||
<bodybackgroundcolor type="dropdown" category="Page background" width="6" title="Overall background color" options="default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels="Default font color|Default background color|Color 1|Color 2|Color 3|Other ...">defaultbackgroundcolor
|
||||
<dropdownoptions>
|
||||
<option value="default">Default font color</option>
|
||||
<option value="defaultbackgroundcolor" data-default="1">[Default background color]</option>
|
||||
|
|
@ -346,19 +346,20 @@
|
|||
<option value="color3">Color 3</option>
|
||||
<option value="other">Other ...</option>
|
||||
</dropdownoptions></bodybackgroundcolor>
|
||||
<bodybackgroundcolorcustom type="colorpicker" category="Page background" width="4" title="Custom overall background color (for 'Other ...')" parent="bodybackgroundcolor">#ffffff</bodybackgroundcolorcustom>
|
||||
<bodybackgroundcolorcustom type="colorpicker" category="Page background" width="6" title="Custom overall background color (for 'Other ...')" parent="bodybackgroundcolor">#ffffff</bodybackgroundcolorcustom>
|
||||
<!-- Prompt Q: order fixed — Background image, then Overall background color
|
||||
(always relevant), then the three image-detail options which are only
|
||||
relevant when a background image is shown (parent="backgroundimage",
|
||||
shown/hidden via .option-visibility in options.twig/options.js).
|
||||
Row 149: the "Page background" pane lays these out in three columns —
|
||||
Row 149/163: the "Page background" pane lays these out in TWO columns
|
||||
(width 6 = the two col-md-6 columns) under the full-width intro —
|
||||
col 1 = overall background color (chooser) + background image on/off,
|
||||
col 2 = the three image-detail options (hidden as a whole when the
|
||||
image is off), col 3 empty. -->
|
||||
<backgroundimage type="buttons" category="Page background" width="4" title="Background image (behind body of page)" options="on|off" optionlabels="Yes|No">on</backgroundimage>
|
||||
<backgroundimagefile type="imagefile" category="Page background" width="4" title="Background image file" parent="backgroundimage">./files/tiledtexture.png</backgroundimagefile>
|
||||
<backgroundimagefixed type="buttons" category="Page background" width="4" title="Background image fixed or scroll" options="fixed|scroll" optionlabels="Fixed|Scroll" parent="backgroundimage">scroll</backgroundimagefixed>
|
||||
<backgroundimagedisplay type="buttons" category="Page background" width="4" title="Background image display" options="tile|cover" optionlabels="Tile|Cover" parent="backgroundimage">tile</backgroundimagedisplay>
|
||||
image is off). -->
|
||||
<backgroundimage type="buttons" category="Page background" width="6" title="Background image (behind body of page)" options="on|off" optionlabels="Yes|No">on</backgroundimage>
|
||||
<backgroundimagefile type="imagefile" category="Page background" width="6" title="Background image file" parent="backgroundimage">./files/tiledtexture.png</backgroundimagefile>
|
||||
<backgroundimagefixed type="buttons" category="Page background" width="6" title="Background image fixed or scroll" options="fixed|scroll" optionlabels="Fixed|Scroll" parent="backgroundimage">scroll</backgroundimagefixed>
|
||||
<backgroundimagedisplay type="buttons" category="Page background" width="6" title="Background image display" options="tile|cover" optionlabels="Tile|Cover" parent="backgroundimage">tile</backgroundimagedisplay>
|
||||
|
||||
<!-- Groups tab (options.twig tab 4, aGroupKeys order): col 1 = group title, col 2 = group description (width 6 = the two col-md-6 columns). -->
|
||||
<!-- Row 157/159: the group options carry category "Groups" (row 159: the
|
||||
|
|
|
|||
Loading…
Reference in a new issue