Compare commits
3 changed files with 20 additions and 9 deletions
19
README.md
19
README.md
|
|
@ -184,7 +184,9 @@ and tablet, **not** on mobile.
|
|||
The breakpoints are Bootstrap's default ones: phone < `md` (768px), tablet
|
||||
`md`–`lg` (768–991px), computer ≥ `lg` (992px). `custom_header.twig` emits the
|
||||
`.fixed-top` rules inside the selected range(s) as media queries on
|
||||
`#survey-nav`; `nav_bar.twig` does not hardcode `fixed-top`. `scripts/custom.js` corrects the
|
||||
`#survey-nav`; `nav_bar.twig` no longer hardcodes `fixed-top` (before a theme
|
||||
reset, when the options don't exist in the DB yet, the old always-sticky
|
||||
`fixed-top` behaviour is kept as fallback). `scripts/custom.js` corrects the
|
||||
body `padding-top` per viewport: when the header is not fixed at the current
|
||||
width, the extra padding is removed.
|
||||
|
||||
|
|
@ -226,6 +228,15 @@ unambiguous "l/1/I") that measurably improve reading without looking "special".
|
|||
It is bundled and selectable like any other font; it is *not* the default
|
||||
because Inter reads slightly better for the general population at small sizes.
|
||||
|
||||
Purged from the bundle (row 228) on purpose: **EB Garamond** (print-first:
|
||||
thin hairlines and a small x-height degrade at 16 px on low-quality screens),
|
||||
**Liberation Sans** 400/700 (metric-compatible Arial substitute; on the web it
|
||||
is redundant next to Inter/Noto Sans, and for an Arial look the browser's own
|
||||
Arial needs no download), **Open Sans** (duplicated Inter's role as a neutral
|
||||
humanist sans at survey sizes — two fonts doing the same job invites
|
||||
inconsistent template choices), and **Source Serif 4** (superfluous next to
|
||||
Noto Serif; only one serif is bundled).
|
||||
|
||||
### Font variants (weights and styles) — what is real and what is synthesized
|
||||
|
||||
The per-element font options offer `normal | bold | italic | bolditalic`. What
|
||||
|
|
@ -424,8 +435,8 @@ the variant's `preview.png` is identical to the mother's.
|
|||
install/reset the variant theme in the LimeSurvey admin (Theme options →
|
||||
`<client>` → Reset, which imports the new config.xml into the DB), FLUSH the
|
||||
asset cache (`php application/commands/console.php flushassets`) and
|
||||
hard-refresh the browser (Ctrl+F5) — a stale cached css can otherwise keep
|
||||
old assets showing.
|
||||
hard-refresh the browser (Ctrl+F5) — a stale cached css is exactly how an
|
||||
old placeholder font keeps showing.
|
||||
|
||||
### Rebuild process (after a change in THIS mother theme or in a definitions file)
|
||||
|
||||
|
|
@ -575,7 +586,7 @@ are gitignored (see `.gitignore`), so they are never pushed:
|
|||
- `css/*.map` — source maps from the local sass compile;
|
||||
- `AGENTS.md`, `prompts.md`, `limesurvey.md`, `OPEN_PROMPTS.md`, `SECURITY_REVIEW*.md`, `FEATURE_REQUEST*.md`, `BUG_REPORT*.md` — internal notes and drafts;
|
||||
- `/dist/` — old export zips;
|
||||
- `files/logos.svg` — local-only logo artwork (`files/preview.svg` is
|
||||
- `files/logos.svg` — work-in-progress logo artwork (`files/preview.svg` is
|
||||
public on purpose, see the variants section).
|
||||
|
||||
Optionally, a checked zip of the public release can additionally be built with:
|
||||
|
|
|
|||
|
|
@ -28,11 +28,11 @@
|
|||
obligations apply only when you distribute a variant, not to internal
|
||||
use. Client logos/assets in a variant are separate copyrighted material. -->
|
||||
<license>GNU General Public License version 2 or later (GPL-2.0-or-later) — full text in the LICENSE file</license>
|
||||
<!-- Release 0.2 (includes the S2 sandbox fix: escape instead of e, commit 3c38b47) -->
|
||||
<version>0.2</version>
|
||||
<!-- Release 0.1 (first public release, 2026-11-30) -->
|
||||
<version>0.1</version>
|
||||
<apiVersion>3</apiVersion>
|
||||
<description><![CDATA[<strong>Vanilla Respondage</strong> — a clean and elaborate LimeSurvey 6/7 theme (extension of the core Vanilla theme) with many options.]]></description>
|
||||
<lastUpdate>2026-11-30 14:09:02</lastUpdate>
|
||||
<lastUpdate>2026-11-30 13:00:16</lastUpdate>
|
||||
<extends>vanilla</extends>
|
||||
</metadata>
|
||||
|
||||
|
|
|
|||
|
|
@ -101,10 +101,10 @@
|
|||
{% for image in templateConfiguration.imageFileList %}
|
||||
{% if image.group != imgGroup %}
|
||||
{% if imgGroup != '' %}{% set imageOptions = imageOptions ~ '</optgroup>' %}{% endif %}
|
||||
{% set imageOptions = imageOptions ~ '<optgroup label="' ~ image.group|escape('html_attr') ~ '">' %}
|
||||
{% set imageOptions = imageOptions ~ '<optgroup label="' ~ image.group|e('html_attr') ~ '">' %}
|
||||
{% set imgGroup = image.group %}
|
||||
{% endif %}
|
||||
{% set imageOptions = imageOptions ~ '<option data-lightbox-src="' ~ image.preview|escape('html_attr') ~ '" value="' ~ image.filepath|escape('html_attr') ~ '">' ~ image.filename|escape('html') ~ '</option>' %}
|
||||
{% set imageOptions = imageOptions ~ '<option data-lightbox-src="' ~ image.preview|e('html_attr') ~ '" value="' ~ image.filepath|e('html_attr') ~ '">' ~ image.filename|e('html') ~ '</option>' %}
|
||||
{% endfor %}
|
||||
{% if imgGroup != '' %}{% set imageOptions = imageOptions ~ '</optgroup>' %}{% endif %}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue