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>
This commit is contained in:
Tammo ter Hark 2026-11-24 22:04:11 +01:00
commit cffd3cefa6
4 changed files with 3701 additions and 898 deletions

View file

@ -9,4 +9,17 @@
#outerframeContainer{
hyphens: none;
}
/* Subtle theme credit at the bottom of every page
(rendered by views/subviews/footer/footer.twig) */
.respondage-theme-footer {
padding: 1rem 0 1.5rem;
opacity: 0.75;
}
.respondage-theme-footer-logo {
max-height: 18px;
width: auto;
vertical-align: middle;
}

115
css/fonts.css Normal file
View file

@ -0,0 +1,115 @@
/*
* Bundled open source fonts for vanilla_respondage.
*
* The font files live in ../files/fonts/ (the asset manager copies the whole
* theme directory to the assets dir, so this relative path works from css/).
* Each font below is selectable in the theme options (Fonts category, optgroup
* "Bundled open source fonts" in config.xml). The class rules are GENERIC
* (.font-<value>, not body-scoped) on purpose: the base font is applied as
* font-<value> on <body>, and the per-element font overrides (fontselect
* options) apply the same class on individual elements (header, progress bar,
* question titles, answers, group titles/descriptions, buttons).
*
* To add your own font to this theme: see files/fonts/README.md.
*
* Licenses: SIL Open Font License 1.1 — see files/fonts/OFL-*.txt.
*/
/* Inter — sans-serif — https://github.com/rsms/inter — OFL 1.1 */
@font-face {
font-family: 'Inter';
src: url('../files/fonts/inter-var.woff2') format('woff2');
font-weight: 100 900; /* variable font: wght axis 100-900 */
font-style: normal;
font-display: swap;
}
/* Source Serif 4 — serif — https://github.com/adobe-fonts/source-serif — OFL 1.1 */
@font-face {
font-family: 'Source Serif 4';
src: url('../files/fonts/source-serif-4-var.woff2') format('woff2');
font-weight: 200 900; /* variable font: wght axis 200-900 */
font-style: normal;
font-display: swap;
}
/* EB Garamond — serif — https://open-foundry.com/fonts/eb-garamond — OFL 1.1 */
@font-face {
font-family: 'EB Garamond';
src: url('../files/fonts/eb-garamond-var.woff2') format('woff2');
font-weight: 400 800; /* variable font: wght axis 400-800 */
font-style: normal;
font-display: swap;
}
/* Liberation Sans — sans-serif — https://open-foundry.com/fonts/liberation-sans — OFL 1.1
(static weights: 400 and 700 are shipped as separate files) */
@font-face {
font-family: 'Liberation Sans';
src: url('../files/fonts/liberation-sans-400.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Liberation Sans';
src: url('../files/fonts/liberation-sans-700.woff2') format('woff2');
font-weight: 700;
font-style: normal;
font-display: swap;
}
/* Noto Sans — sans-serif — source: Google Fonts family "Noto Sans" — OFL 1.1 */
@font-face {
font-family: 'Noto Sans';
src: url('../files/fonts/noto-sans-var.woff2') format('woff2');
font-weight: 100 900; /* variable font: wght axis 100-900 (wdth stays at default 100) */
font-style: normal;
font-display: swap;
}
/* Noto Serif — serif — source: Google Fonts family "Noto Serif" — OFL 1.1 */
@font-face {
font-family: 'Noto Serif';
src: url('../files/fonts/noto-serif-var.woff2') format('woff2');
font-weight: 100 900; /* variable font: wght axis 100-900 (wdth stays at default 100) */
font-style: normal;
font-display: swap;
}
/* Open Sans — sans-serif — source: Google Fonts family "Open Sans" — OFL 1.1 */
@font-face {
font-family: 'Open Sans';
src: url('../files/fonts/open-sans-var.woff2') format('woff2');
font-weight: 300 800; /* variable font: wght axis 300-800 (wdth stays at default 100) */
font-style: normal;
font-display: swap;
}
.font-inter {
font-family: 'Inter', Arial, Helvetica, sans-serif;
}
.font-source_serif_4 {
font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}
.font-eb_garamond {
font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
}
.font-liberation_sans {
font-family: 'Liberation Sans', Arial, Helvetica, sans-serif;
}
.font-noto_sans {
font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
}
.font-noto_serif {
font-family: 'Noto Serif', Georgia, 'Times New Roman', serif;
}
.font-open_sans {
font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

View file

@ -202,4 +202,29 @@ div.qvideo .question-valid-container {
.hidden {
display: none;
}/*# sourceMappingURL=plain.css.map */
}
/* Header: three zones — left logo always far left, center logo always exactly
centered (absolute, independent of the other zones), right zone always far
right (ms-auto on .survey-nav-right). When a right logo is present, the
right-side menu texts (language changer, save/clear all, question index) sit
BELOW the logo (flex-column wrapper), still right-aligned. */
#survey-nav .container-fluid,
#survey-nav .container {
position: relative;
}
#survey-nav .logo-center {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
float: none;
z-index: 1;
}
#survey-nav .logo-right {
margin-left: 0;
}
/*# sourceMappingURL=plain.css.map */

View file

@ -1 +0,0 @@
{"version":3,"sources":["../sass/_base.sass","plain.css","../sass/_surveys-list.sass","../sass/_progress.sass","../sass/_extras.sass"],"names":[],"mappings":"AAAA;EACI,yCAAA;ACCJ;;ADCA;EACI,8CAAA;ACEJ;;ADAA;EACI,+CAAA;ACGJ;;ADDA;EACI,qDAAA;ACIJ;;ADFA;EACI,8CAAA;ACKJ;;ADHA;EACE,aAAA;EACA,gBAAA;ACMF;;ADHE;EACE,iBAAA;EACA,gBAAA;ACMJ;;ADJA;EACE,cAAA;EACA,eAAA;ACOF;;ADLA;EACE,gBAAA;ACQF;;ADLE;EACE,iBAAA;EACA,aAAA;EACA,gBAAA;ACQJ;;ADNA;EACE,aAAA;EACA,iBAAA;ACSF;;ADPA;EACE,mBAAA;ACUF;;ADRA;EACE,iBAAA;EACA,aAAA;ACWF;;ADTA;EACE,eAAA;EACA,m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