Commit graph vanilla_respondage/scripts/custom.js
Author SHA1 Message Date
4d5f66e1f5 fix(header): non-sticky header touches the top of the page (body padding-top 0px)
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>
2026-11-29 12:59:11 +01:00
cffd3cefa6 feat!: rename theme respondage_vanilla -> vanilla_respondage, variants -> respondage_<client>
Prompt V (prompts.md rows 51-54). Mother theme folder + <name> renamed to
vanilla_respondage (version 3.3.0); client variants renamed to
respondage_defensie / respondage_erasmus (<extends>vanilla_respondage</extends>,
auto-derived by build.php). export_public.sh now derives the release name from
the theme dir and the leak-check glob matches ../respondage_* siblings, so the
public-release leak check keeps working after the rename (sabotage-tested).
All doc/tooling references updated; local-only files stay gitignored.

Also includes the pending uncommitted theme work from this testing week
(custom options page, header logos, sticky-header options, bundled OFL fonts,
per-element font overrides, font-dropdown reordering, jsdom tests) that was
verified locally but not yet pushed.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-24 22:04:11 +01:00
fd7ecba1a3 chore: normalize all line endings to LF and enforce via .gitattributes
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>
2026-11-16 19:36:04 +01:00
a023555acf First commit after long time, too much to describe (sorry) 2026-07-07 16:05:43 +02:00
e3be1bcde7 First commit 2026-06-17 10:06:07 +02:00