Release 0.2: version 0.2, lastUpdate 2026-11-30 14:09:02. Ships the
options/options.twig fix (3c38b47) that resolves the 500 on the admin
theme-options page (sandbox allows 'escape', not the alias 'e').
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
The twig sandbox policy (application/config/internal.php sandboxConfig) allows
the filter name 'escape' but not its alias 'e', so the S2 escaping in
options/options.twig threw SecurityNotAllowedFilterError (500) on the admin
theme-options page. |escape() is the same filter/callable; all 16 theme twig
templates now compile under the real sandbox policy (verified locally).
Core-side wish filed: FEATURE_REQUEST_sandbox_allow_e_alias.md (local-only).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Remove the purged-fonts paragraph (row 228), the migration fallback note
on the sticky header, the placeholder-font anecdote and the WIP wording;
the README now documents the released theme only.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Standing rule: when the mother config.xml gains option keys that a variant json
does not list yet, build.php adds them to the json as "" (inherit the mother
default, skipped at apply time) and prints 'NOTE: N NEW option key(s) ... review
them: ...'. Existing keys/values and legacy keys are never touched; options are
rewritten in mother-config order. Runs on every build (single and build_all), so
new settable keys are always surfaced to the user.
README rebuild section and AGENTS.md document the rule.
Verified in a /tmp sandbox: added a fake option to the mother config, built a
json missing it -> key added as "" with the NOTE, existing values (#123456)
and legacy key (logotopmargin) preserved; second run reports 0 new keys.
php -l clean; export_public.sh exit 0.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- build.php: an option value of "" or null in the variant json is skipped, so
it inherits the default from vanilla_respondage's config.xml (previously an
empty value would have been written as-is). The legacy logotopmargin
migration now also ignores an empty value, and the fontOptions default-font
rule treats "font": "" as unset. Header comment documents the convention.
- Regenerated the three local variant definitions (variants/respondage_defensie,
respondage_erasmus, respondage_respondage — gitignored) with all 109 option
keys: known values filled in (legacy keys modernized: logotopmargin ->
per-logo keys, brandlogo off -> brandlogofile off, hex chooser values ->
mode "other" + *custom), everything else "". respondage_respondage's known
values were derived from the tracked example output config.xml.
- README build process documents the all-keys/empty-inherits convention.
Verified in a /tmp sandbox: all three jsons build cleanly (4 built, 0 failed);
defensie/erasmus/respondage configs carry the known values and inherit the
mother defaults for empty keys (e.g. erasmus centerlogofile stays
./files/logo.png, centerlogotopmargin 30); php -l clean; export exit 0.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- 'What's in here': variants/ is no longer 'fully gitignored' — the generic
tooling (build.php, build_all.sh, export_public.sh) and variants/example/
are tracked; only *.json, leak-patterns.txt and tests/ stay local.
- Header logos section rewritten for the current model: <pos>logofile imagefile
options ('off' = no logo) + per-device <pos>showoncomputer/tablet/mobile
checkboxes (the old <pos>logo on/off + <pos>logohideonsmall keys are gone).
- Menu item color: navbarfontcolor is now a 6-way color-chooser dropdown in the
Header category (+ navbarfontcolorcustom), not a plain Colors colorpicker.
- Sticky header: the legacy headersticky master switch no longer gates the
three per-device checkboxes.
- Public release section: corrected the gitignored list (dropped nonexistent
README.internal.md, added limesurvey.md/OPEN_PROMPTS.md/SECURITY_REVIEW*,
files/logos.svg; noted preview.svg is public on purpose).
export_public.sh exit 0.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Default (build) mode picks up only *.json files for which NO variant folder
(../<name>/) exists yet, so an existing variant is never clobbered by a
build run (e.g. by a just-copied, not-yet-adjusted json). At the end it lists
the jsons that were NOT picked up and advises that they possibly need to be
re-built via 'build_all.sh --rebuild'.
- '--rebuild' mode picks up only *.json files whose variant folder already
exists, and advises about the jsons without a variant yet (build them with
the default mode).
- Both modes print a 'N built, M failed, K not picked up' summary, exit non-zero
on any build failure, and keep the owner follow-up actions (reset themes in
the LS admin, flushassets, Ctrl+F5).
- README build/rebuild sections and AGENTS.md updated to the two modes.
Verified in a /tmp sandbox: build mode built only the json without a variant
folder and listed the existing ones with the --rebuild advice; --rebuild built
only existing variants and listed the new json with the build advice; on the
real definitions dir the default mode built 0 and skipped all 3 (variants
exist) without touching ../respondage_respondage/config.xml (md5 unchanged).
export_public.sh exit 0.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Build process: document the naming convention (folder/json respondage_<client>,
metadata name must equal the file name, title '<Client> LimeSurvey theme',
e.g. respondage_defensie -> 'Defensie LimeSurvey theme') and the shortcut of
starting a new variant by copying an existing client json — plus the caution
that build_all.sh builds EVERY *.json in the definitions dir, so don't run it
while a copied json is still unadjusted.
- Rebuild process: note that build_all.sh prints a 'N built, M failed' summary,
exits non-zero on any failure, and that build.php enforces the per-variant
rules itself (preview.svg first-creation-only + never overwritten,
identical-preview.png warning).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Set the metadata <title> of the three variants (row 239):
- respondage_defensie -> 'Defensie LimeSurvey theme' (via variants/respondage_defensie.json, gitignored local definitions, rebuilt)
- respondage_erasmus -> 'Erasmus LimeSurvey theme' (via variants/respondage_erasmus.json, rebuilt)
- respondage_respondage -> 'Respondage LimeSurvey theme' (no json exists for the
public example, so its title was edited directly in the tracked example output;
the deployable sibling folder was updated the same way)
Variant NAMES are unchanged (folder names stay respondage_defensie /
respondage_erasmus / respondage_respondage). Rebuild via build_all.sh: 2 built,
0 failed, no preview warnings. export_public.sh exit 0.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- New variants/build_all.sh: rebuilds ALL variants from their json definitions
in one go (loops over <definitions-dir>/*.json, calls build.php per variant,
aggregates failures, exits non-zero on any failure) and prints the owner
follow-up actions (reset each variant theme in the LS admin, flushassets,
Ctrl+F5). Generic tooling — no client names — so it ships in the public repo.
- README.md: the variants workflow is now split into a 'Build process' (defining
a NEW variant: json + assets in the private definitions repo, build.php,
deploy + theme reset + flushassets) and a 'Rebuild process' (build_all.sh after
a mother config.xml change or a definitions change). The preview section now
documents the standing rules: variant preview must differ from the mother's,
preview.svg is committed + synced publicly, added only at first creation and
never overwritten.
- AGENTS.md propagation rule now points at build_all.sh.
Verified: bash -n clean; PHP_BIN=/usr/bin/php bash variants/build_all.sh variants
-> '2 built, 0 failed', rc=0, both variants' preview.svg untouched (md5 before =
after); export_public.sh exit 0 with build_all.sh in the zip.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
The export now excludes only the WIP files/logos.svg, not preview.svg:
preview.svg is the editable source of files/preview.png and is committed and
shipped in the public zip like any other theme file (row 235 already removed
it from .gitignore). LimeSurvey's image validator still rejects SVG for option
images, so the preview shown inside LimeSurvey remains the exported PNG.
Verified: export_public.sh exit 0 (leak + external-host checks green — the URL
scan does not cover .svg and www.w3.org is allowlisted anyway), the new
dist zip contains files/preview.svg + files/preview.png and no logos.svg,
logos.svg stays gitignored.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- .gitignore: /files/*.svg reverted to /files/logos.svg — files/preview.svg is
deliberately NOT ignored anymore (it is the editable source of preview.png
and lives committed in the private variants repo). The public export still
excludes files/*.svg (LimeSurvey's image validator rejects SVG for images).
- variants/build.php: copyDirRecursive() gained a $neverOverwrite list;
files/preview.svg is copied into a variant only at FIRST creation (seeded
from the mother when the definitions dir has none) and never overwritten on
later builds. The build prints a WARNING when the variant's preview.png is
md5-identical to the mother's, enforcing the standing rule that every
variant has its own preview.
- Standing rule recorded in AGENTS.md (project) and ~/.vibe/AGENTS.md.
Verified in a /tmp sandbox build: first build copies/seeds preview.svg; a
user-edited preview.svg survives rebuilds (also when the definitions copy
changes); all other assets are still overwritten; identical-preview.png
warning fires; php -l clean; export_public.sh exit 0 with no .svg in the zip.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
The new theme preview was added as files/preview.svg (source) +
files/preview.png (export). LimeSurvey's image validator rejects SVG for
theme images anyway, so only the PNG is tracked: .gitignore now ignores
/files/*.svg (generalizes the row-208 logos.svg entry to all WIP artwork).
Also fixed variants/export_public.sh: the staging tar did not exclude
files/*.svg, so the gitignored logos.svg still leaked into the public zip;
added --exclude='./files/*.svg'. Verified: export exit 0 and the new
dist/vanilla_respondage-0.1-public.zip contains files/preview.png and no
.svg files at all.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
S1 (HIGH, SECURITY_REVIEW_20261129.md): LimeSurvey renders theme twig with
autoescape OFF, so stored option values are untrusted on the public survey
pages. New views/subviews/security_macros.twig provides validators (color,
length, keyword, fontslug, pxnum, iconcode) applied at every emission point:
the <style> block in custom_header.twig (incl. the resolved values of the
cm()/cmbg() chooser macros), the inline style="color:..." and font-<slug>
class attributes in all survey subviews, and the <body> font class +
data-thememode in the newly overridden layout_global.twig and
layout_survey_list.twig. Crafted values fall back to the configured
defaults; legitimate picker/enum/slug values pass unchanged.
S2 (MEDIUM): options/options.twig escapes group/preview/filepath/filename
with |e('html_attr')/|e('html') when building the imagefile <option> HTML.
Verified: twig compile of all changed templates, malicious-value renders
neutralized + legit renders unchanged, live surveys 216664/282267 render
correct colors with no twig errors, jsdom custom_js tests pass (options_*
tests still need /tmp fixtures, pre-existing), export_public.sh exit 0.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
The bundled fonts declare font-style: normal only: Inter/Noto variable fonts
give real weights 100-900 but faux italic; Atkinson Hyperlegible ships static
400/700 only. Per-element normal|bold|italic|bolditalic options therefore map
to real weights where shipped and browser-synthesized styles otherwise; browser
fonts depend on the respondent's OS. Documented under the fonts section.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Purged: EB Garamond, Liberation Sans 400/700, Open Sans, Source Serif 4
(rationale in README.md 'Default font'). Kept: Inter (now the default of the
font option, best screen readability at survey sizes, with Noto Sans stacked
behind it as multilingual fallback), Noto Sans, Noto Serif (the one serif,
non-Latin coverage). Added: Atkinson Hyperlegible 400/700 (OFL 1.1, from
googlefonts/atkinson-hyperlegible) as the accessibility variant for
respondents with reading impairments. sass/fonts.sass is the leading source;
css/fonts.css recompiled. README.md + files/fonts/README.md document the
choice and the alternatives. Variant propagation parked per row 222.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- options.js aColorChooserKeys += sliderhandlecolor: the option now gets the
same color-chooser scheme as Checkbox/radio button color (6-way dropdown,
5 preset swatches + 'Other ...' custom picker) in the options UI.
- alignQuestionColumns: answers section col 3 (slider handle color) is now
lowered with the same measured padding-top as col 2 (checkbox color).
- config.xml: checkboxcolor title 'Checkbox/radiobutton color' ->
'Checkbox/radio button color'.
Variant propagation parked per row 222 (no variant rebuilds/example sync).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Request 1: options.js generalizes the Header-tab column alignment
(alignHeaderColumns, measured padding-top) to the Questions tab via
alignQuestionColumns(): in the 'Question title and body' section columns 2
and 3 are top-aligned with the title text-color chooser in column 1; in
'Answer options and subquestions' column 2 (checkbox color) aligns with the
answers text color; in 'Question help' column 2 (help background) aligns with
the help font color. Runs on run(), on any shown.bs.tab and on resize (hidden
panes measure 0 and no-op).
Request 2: the orphaned full-width 'Slider handle color' picker at the bottom
of the Questions tab becomes a 6-way color chooser (default color2) with a
sliderhandlecolorcustom child, placed in the THIRD column of 'Answer options
and subquestions' (aQSlots answers:2). custom_header.twig resolves it via
cm() (legacy stored hex passes through). variants/build.php maps legacy hex
json values of variants to mode 'other' + custom child; all variants rebuilt
(defensie, erasmus) + example config synced.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Previously only css/plain.css was compiled from sass/plain.sass; css/custom.css
and css/fonts.css were hand-written. Now every theme stylesheet has a leading
sass source: sass/plain.sass, sass/custom.sass, sass/fonts.sass (partials _*),
compiled with 'sass --watch sass:css' (dart-sass 1.83.4 added as local
devDependency; node_modules/package.json stay gitignored). css/*.css are build
artifacts and remain the committed runtime files; sass/ stays developer-local.
Recompiled output is semantically identical to the previous hand-written files
(dart-sass normalization only: 2-space indent, double quotes, @charset).
variants/export_public.sh step 0 now checks BOTH directions for every pair:
stale css/<name>.css vs sass/<name>.sass aborts, and a css file without a sass
source aborts; compiler resolved from PATH or node_modules/.bin/sass.
.gitignore/README document the workflow.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Core hides the slider tooltip via jQuery .hide() only when no default
position is set; with slider_default_set an untouched slider keeps a
visible tooltip (and the slider-touched class — see
BUG_REPORT_slider_touched_class_unreliable_with_default_set.md). While
the slider-is-untouched class (row 214) is set, also hide .slider .tooltip.
No !important on purpose: on touch core sets an inline display via .show(),
which wins over this rule, so the tooltip reappears exactly when the slider
is touched.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Core's slider-untouched/slider-touched classes on the .slider element are not
a reliable state signal (with slider_default_set an untouched slider keeps
slider-touched), so the theme now derives the state itself: scripts/custom.js
syncs a slider-is-untouched class onto li.slider-item from the real answer
input (#answer<fname>, empty = untouched) on load and on every change/keyup
that core fires on it; css/custom.css greys .slider-handle and makes
.slider-selection transparent while that class is set (specificity 0,3,0 beats
the .slider-handle rule in custom_header.twig, which still colors touched
handles with sliderhandlecolor). Works for horizontal and vertical sliders;
inherited by all variants via extends, no config.xml change.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- footer.twig: renders on every page except the welcome page
(aSurveyInfo.include_content == 'firstpage'); text + logo now sit in
ONE link to https://www.respondage.nl, like the options-page footer.
Logo still uses the dedicated respondage-logo.png (falls through to the
mother theme in variants).
- custom_header.twig style block: .respondage-theme-footer gets the base
font size (fontsize option) and Color 2 (secondarycolor); the text uses
the default (body) font by inheritance.
- css/custom.css: logo height 25px (was max-height 18px).
- Only the mother theme is touched — variants inherit the view via
<extends> and get no variant-specific values (per owner).
- Fix along the way: footer.twig had mode 600 after a rewrite, so the web
server could not read it and the footer silently compiled empty;
chmod 664 restored.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
New PNGs (236x200 RGBA, smaller) reflecting the chosen default colors
(Color 1 #26547c / Color 2 #ef476f / Color 3 #fff3cd). Owner-edited files,
committed as-is. These are the Prompt PL placeholder logos for the left and
right header positions (placement itself still parked in OPEN_PROMPTS.md).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Per owner: this is a complete new theme, so the version restarts at 0.1
and creationDate/lastUpdate are set to today (2026-11-29 17:48). Name
unchanged (vanilla_respondage / 'Vanilla Respondage') per owner decision.
Variants rebuilt (version+creationDate propagate from the mother,
lastUpdate stamped by build.php) + example config synced.
Owner action: reset the theme in LS-admin so lime_templates picks up the
new metadata (version column currently NULL).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- sliderhandlecolor moved to the Questions category (full-width row at
the end of the Questions pane, after the border section hr);
privacybackgroundcolor moved to Page background (column 1, under the
background image switch). The Colors category is gone entirely; the
options.twig tab loop keeps a Colors exclusion as a safety net.
Both values are still applied in custom_header.twig (verified live).
Variants rebuilt + example config synced; jsdom 8/8.
- Prompt V cleanup verified: no respondage_vanilla folder/zip left in
upload/themes/survey, zero DB references (surveys, template_configuration,
lime_templates). Remaining resets/flushassets are owner actions.
- Security review (Prompt B) executed, approval-gated: report in
SECURITY_REVIEW_20261129.md (S1 HIGH raw option values into <style>/
attributes → stored XSS; S2 MEDIUM raw imagefile option HTML in
options.twig:98-104; S3-S7 info/safe), core FR filed as
FEATURE_REQUEST_security_theme_option_raw_output.md. No fixes without
owner approval.
- Parked prompts moved from prompts.md to OPEN_PROMPTS.md (findable
index): PL, HB, AN, A, C open; Z/B/V marked done. New local files
gitignored + export-excluded (OPEN_PROMPTS.md, SECURITY_REVIEW*.md).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
The duration options store e.g. "5px", but custom_header.twig appended
"px" again, rendering border-radius: 5pxpx ... — invalid, so the browser
dropped the declaration and no radius showed in the survey. Values are
now emitted unchanged, with a ^<number>(px|rem)$ guard falling back to
5px (regex written backslash-free: [0-9], [.]). Verified live: 5px renders,
1.5rem renders, invalid values fall back to 5px.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
The border-start on the TR/BR radius wrappers added nothing next to the
already-capped input width; removed it. The hr between the two radius
rows and the section-level column dividers stay.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
The four radius inputs are full-width form-controls, so the two inputs of
a subcolumn row touched each other. max-width: 8rem on the inputs inside
.questions-col-border-2 keeps a comfortable gap.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- 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>
- 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>
- Help section now 3 col-md-4 columns: col 1 = new questionhelpfont fontselect
+ questionhelpfontcolor (plain picker per decision 8), col 2 = help
background chooser + custom, col 3 = help text position; questionhelpfont
applied in survey_question_help.twig (falls back to answersfont on base)
- checkboxcolor became a standard 6-way color chooser + checkboxcolorcustom
(default other + #ff005f, look unchanged) and moved to column 2 of the
'Answer options and subquestions' section; resolved via cmm.cm() in
custom_header.twig (legacy hex passthrough); legacy col 3 removed
- Border radii now form two subcolumns: border-start vertical divider on the
right subcolumn (TR/BR), hr between the two rows kept
- chooser key lists synced in options.twig/options.js/build.php (+checkboxcolor)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
primarycolor/secondarycolor/tertiarycolor defaults in the mother config.xml
(variants keep their own house-style colors via their jsons; variants without
an explicit value inherit these). Variants rebuilt, example config synced.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
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>
.tab-content hr (color + opacity 1, Bootstrap uses currentColor at .25) and
.tab-content .border-start (border-left-color !important) — covers all
section hrs and all border-start columns in every tab pane.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
New section in the Questions pane (h3 + first col-md-4 of a 3-column grid,
only it used): answersfont + answerstextcolor + answerstextcolorcustom,
moved up in config.xml between the title block and the help options,
width 12 -> 4. answerstextcolor upgraded to the chooser scheme
(default|defaultbackgroundcolor|color1|color2|color3|other, default stays
'default'), added to aColorChooserKeys in options.twig/options.js
(OPTIONS_JS_TOKEN 20261129.2) and to the build.php chooser migration.
Views (answers, survey_question_help, valid_message_and_help): 6-way
mapping with legacy primary/secondary + raw hex passthrough.
All 3 variants rebuilt, example config synced.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Row 183: aQSections 'overall' colClass col-md-6 -> col-md-4; per the row-160
rule the two distance options' config.xml width follows: 6 -> 4.
Variants rebuilt, example config synced. Theme was reset by the owner meanwhile
(new global tc row = 693, survey 282267 = 694).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Questions pane now has h2 'Questions' + intro paragraph, then an h3
'Overall question' section rendered as ONE col-md-6 column holding two new
text options — questiondistance ('Distance between two questions') and
questiondistancebottom ('Distance between last question and buttons at
bottom of page'), both default 30px and accepting px or rem — followed by a
full-width hr before the existing 3-column grid. custom_header.twig applies
them as CSS: .question-container margin-bottom and #navigator-container
margin-top, guarded to ^<number>(px|rem)$ with fallback 30px. config.xml:
both keys first in the Questions category, width=6 (row 160 rule). All
variants rebuilt + example config synced. jsdom: new row-179 assertions,
suite 8/8; live survey page emits both rules at 30px.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
The last checkbox of each consecutive checkbox run now gets the class
checkbox-last, styled margin-bottom: 15px in the page style block (beats
mb-1 by specificity), so there is 15px between a checkbox group (e.g.
'Make header sticky') and the following item. The 'Show logo on' boxes in
the Logos row get it via loop.last. Inner checkbox spacing stays mb-1
(row 176). jsdom: new row-177 assertions, suite 8/8.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
In the Header tab the 'Make header sticky' checkboxes were wrapped in the
generic mb-3 option div (1rem gap between rows), while the Logos row's
'Show logo on' checkboxes use .form-check.mb-1 (0.25rem). The generic
checkbox branch now renders .form-check.mb-1 and the wrapper div carries no
mb-3 for checkbox type, so the distance between checkbox+label rows is the
same in every row. jsdom: new row-176 assertions (suite 8/8), inherit page
renders 12x form-check mb-1 and 0x plain form-check.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
The parent vanilla theme.css statically sets body { padding-top: 90px } and
theme.js fixBodyPadding() always sets the inline padding to the header height.
Our fixBodyPaddingSticky() correction cleared the inline style when the header
was not fixed, so the stylesheet's 90px applied and a non-sticky header sat
~90px below the top. Now it sets padding-top: 0px explicitly when the computed
position is not 'fixed' (custom.js loads after theme.js, so this correction
runs last on ready/pjax:scriptcomplete/resize). Regression test
variants/tests/custom_js_sticky.test.js (jsdom): fails on the old code
(padding cleared to ''), passes now; suite 8/8.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>