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>
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>
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>