Changeset 4dcefa1 in Klonkt for src/assets/css/style.css


Ignore:
Timestamp:
06/20/2026 08:11:45 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
1c6d61c
Parents:
6eeb459
Message:

fix(agenda): robust grey-on-calendar (htmx-proof) via source rule + element classes

The body.class-override CSS didn't take effect after htmx nav. Now:

  • Timeline/Grid: style.css active rule excluded on .on-shows/.on-downloads (same rule that does react to htmx) → grey there, normal on the feed.
  • Solo/Circle + grid-cols: not rendered as 'active' on non-feed pages in the template (server-rendered in the OOB chrome → htmx-proof).
  • Calendar active via element class .vs-agenda.is-active (not body class).

style.css?v=19.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/assets/css/style.css

    r6eeb459 r4dcefa1  
    21332133   Niet op de Archive-pagina: daar is geen "huidige" timeline/grid-keuze, dus beide
    21342134   knoppen blijven neutraal (grijs). */
    2135 body[data-feed-view="timeline"]:not(.on-archive) .view-switch-btn[data-view="timeline"],
    2136 body[data-feed-view="grid"]:not(.on-archive) .view-switch-btn[data-view="grid"] {
     2135body[data-feed-view="timeline"]:not(.on-archive):not(.on-shows):not(.on-downloads) .view-switch-btn[data-view="timeline"],
     2136body[data-feed-view="grid"]:not(.on-archive):not(.on-shows):not(.on-downloads) .view-switch-btn[data-view="grid"] {
    21372137    background: var(--ink);
    21382138    color: var(--paper);
Note: See TracChangeset for help on using the changeset viewer.