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:
parent
c2930a938a
commit
8370a945d5
1 changed files with 113 additions and 64 deletions
|
|
@ -135,7 +135,7 @@
|
|||
.save-form,
|
||||
#surveys-list-container,
|
||||
.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 %}
|
||||
|
||||
|
|
@ -145,7 +145,7 @@
|
|||
.save-form,
|
||||
#surveys-list-container,
|
||||
.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 %}
|
||||
|
||||
|
|
@ -302,13 +302,15 @@
|
|||
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
|
||||
(questionhelpbackgroundcolor, default mode "other" + custom #fff3cd so the
|
||||
look stays as before; a legacy stored hex passes through cm()). The help
|
||||
font color stays the plain picker questionhelpfontcolor (row-178 decision 8). #}
|
||||
{# Row 186 / plan P4, revised row 196/197: the question help background is a
|
||||
color chooser (questionhelpbackgroundcolor, default mode "color3" since row
|
||||
196; a legacy stored hex passes through cm()) AND the help font color is a
|
||||
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 {
|
||||
background: {{ cmm.cm(aSurveyInfo.options.questionhelpbackgroundcolor|default('other'), aSurveyInfo.options.questionhelpbackgroundcolorcustom|default(''), aSurveyInfo.options) }};
|
||||
color: {{ aSurveyInfo.options.questionhelpfontcolor|default('') }};
|
||||
background: {{ cmm.cm(aSurveyInfo.options.questionhelpbackgroundcolor|default('color3'), aSurveyInfo.options.questionhelpbackgroundcolorcustom|default('#fff3cd'), aSurveyInfo.options) }};
|
||||
color: {{ cmm.cm(aSurveyInfo.options.questionhelpfontcolor|default('default'), aSurveyInfo.options.questionhelpfontcolorcustom|default('#444444'), aSurveyInfo.options) }};
|
||||
}
|
||||
|
||||
.slider-handle {
|
||||
|
|
|
|||
Loading…
Reference in a new issue