feat(options): Questions tab 'Question help' section; help background becomes a 6-way color chooser (row 178 plan P4)
New section (h3 + first col-md-4 of a 3-column grid, only it used): questionhelpbackgroundcolor as 6-way chooser (default 'other' + custom #fff3cd, look unchanged) + questionhelpbackgroundcolorcustom, the plain help font color picker (stays plain per row-178 decision 8) and the help text position; keys moved between the answers block and the border options, legacy col 1 is empty now. questionhelpbackgroundcolor joined aColorChooserKeys (twig + js, OPTIONS_JS_TOKEN 20261129.3) and the build.php chooser migration; custom_header.twig resolves it via cm() (legacy hex passes through). Variants rebuilt, example config synced. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
82ce4284ad
commit
ff998489b9
1 changed files with 61 additions and 22 deletions
|
|
@ -294,8 +294,12 @@
|
|||
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). #}
|
||||
.question-help-container, .question-valid-container {
|
||||
background: {{ aSurveyInfo.options.questionhelpbackgroundcolor }};
|
||||
background: {{ cmm.cm(aSurveyInfo.options.questionhelpbackgroundcolor|default('other'), aSurveyInfo.options.questionhelpbackgroundcolorcustom|default(''), aSurveyInfo.options) }};
|
||||
color: {{ aSurveyInfo.options.questionhelpfontcolor|default('') }};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue