- HOUSE-STYLE convention block above <options> and per-section markers
(Images/Questions/Colors/Fonts) make clear which options are house-style
specific and belong in variants/<client>.json only - never hardcoded in
shared views/sass/css/js files.
- Header comment documents the LF-only line-ending rule (enforced by
.gitattributes).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Architecture: a client theme extends this mother theme via <extends> and
contains only a generated config.xml + its own files/ (logos). LimeSurvey
inherits all views/css/js/images from the mother, so changes here apply to
every variant immediately.
- variants/<client>.json holds ONLY the house-style values (colors, fonts,
font sizes/weights/colors, logo files, logotopmargin, custom fonts).
- variants/build.php generates ../<client>/config.xml from the mother
config.xml + the json: only those values are replaced, <extends> is set,
<engine> is emptied except <optionspage>. Unknown option keys fail the
build loudly, so drift is caught at build time.
- Client definitions (variants/<client>.json) are gitignored (see .gitignore)
and live in a PRIVATE variants repo or locally; build.php reads them from
there via its 2nd argument or RESPONDAGE_VARIANTS_DIR.
- README.md: "Client variants" workflow.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- config.xml: "Custom (this theme)" optgroup in the font dropdown plus an
instruction comment on how to place a custom font (@font-face + body class
in the variant's own css).
- variants/build.php: supports "fontOptions" (dropdown entries) and "files_add"
(extra css/js of the variant) in the variant json.
- README.md: "Custom fonts per variant" section.
data-font-package stays "websafe" because LimeSurvey only knows core font
packages; the real font is loaded via the variant's css.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- config.xml: new duration option "logotopmargin" in the Images category (default 15px).
- custom_header.twig: sets padding-top of the header logos, so 0px aligns a logo
exactly with the top of the screen.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- config.xml: new colorpicker "navbarfontcolor" in the Colors category.
- custom_header.twig: applies it to #survey-nav menu links (normal + hover/focus,
hover at 0.75 opacity), replacing the old bootstrap3 .navbar-default hover rule.
Pick a color that contrasts with headerbackgroundcolor.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- config.xml: brandlogo/brandlogofile = left logo; new centerlogo/centerlogofile
and rightlogo/rightlogofile options; old secondlogo/secondlogofile removed.
- nav_bar.twig renders the three positions: left in flow, center absolutely
centered, right flush right (ms-auto on the logo, menu keeps ms-auto when no
right logo). Logos render only when the file resolves (imageSrc guard).
- sass/plain.sass: flex/relative container + absolute centering for .logo-center.
- options/options.twig: removed dead secondlogo variables.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
All text files in the theme (config.xml, sass, css, js, twig, md) used mixed
CRLF/LF. Normalize everything to LF (Unix), matching the LimeSurvey core
themes. .gitattributes (* text=auto eol=lf, binary images/fonts) keeps it
that way; config.xml documents the convention in its header comment.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>