refactor(css): row 216 — sass is leading for ALL css files, not just plain.css

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>
This commit is contained in:
Tammo ter Hark 2026-11-30 09:11:39 +01:00
commit 756c0ec2d1

View file

@ -1,51 +1,48 @@
/******************
User custom CSS
---------------
In this file you can add your own custom CSS
It will be loaded last, so you can override any other property.
Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/
#outerframeContainer{
hyphens: none;
@charset "UTF-8";
/* User custom CSS — compiled from this file (sass is leading): edit sass/custom.sass, then `sass --watch sass:css` or `sass sass/custom.sass css/custom.css`. */
/* It is loaded last, so you can override any other property; it will never be updated by theme upgrades. */
/* The compiled css/custom.css is the committed runtime file; sass/ stays developer-local (gitignored). */
#outerframeContainer {
hyphens: none;
}
/* Subtle theme credit at the bottom of every page
(rendered by views/subviews/footer/footer.twig) */
* (rendered by views/subviews/footer/footer.twig) */
.respondage-theme-footer {
padding: 1rem 0 1.5rem;
opacity: 0.75;
padding: 1rem 0 1.5rem;
opacity: 0.75;
}
/* row 207: logo height 25px (was max-height 18px) */
.respondage-theme-footer-logo {
height: 25px;
width: auto;
vertical-align: middle;
height: 25px;
width: auto;
vertical-align: middle;
}
/* row 214: untouched slider = grey handle + transparent selection; touched =
sliderhandlecolor (the .slider-handle rule in custom_header.twig).
The slider-is-untouched class is synced onto li.slider-item by
scripts/custom.js from the answer input's value — core's own
slider-untouched class on the .slider element is unreliable when
"slider_default_set" is on. Specificity (0,3,0) beats the .slider-handle
rule (0,1,0) from custom_header.twig regardless of style-block order. */
* sliderhandlecolor (the .slider-handle rule in custom_header.twig).
* The slider-is-untouched class is synced onto li.slider-item by
* scripts/custom.js from the answer input's value — core's own
* slider-untouched class on the .slider element is unreliable when
* "slider_default_set" is on. Specificity (0,3,0) beats the .slider-handle
* rule (0,1,0) from custom_header.twig regardless of style-block order. */
.slider-item.slider-is-untouched .slider-handle {
background-color: grey;
background-color: grey;
}
.slider-item.slider-is-untouched .slider-selection {
background: transparent;
box-shadow: none;
background: transparent;
box-shadow: none;
}
/* row 215: while untouched, also hide the value tooltip — core only does that
(jQuery .hide()) when no default position is set; with slider_default_set
the tooltip stays visible on an untouched slider. No !important on purpose:
on touch core sets an inline display via .show(), which wins over this rule
(and slider-is-untouched is removed anyway). */
* (jQuery .hide()) when no default position is set; with slider_default_set
* the tooltip stays visible on an untouched slider. No !important on purpose:
* on touch core sets an inline display via .show(), which wins over this rule
* (and slider-is-untouched is removed anyway). */
.slider-item.slider-is-untouched .slider .tooltip {
display: none;
}
display: none;
}
/*# sourceMappingURL=custom.css.map */