Changeset d15b27f in Klonkt for src/assets


Ignore:
Timestamp:
06/16/2026 07:13:18 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
ec2e358
Parents:
544cd86
Message:

Archive: Timeline/Grid greyed on archive + back button (+ English text)

(1) The active highlight on the view-switcher was bound to body[data-feed-view]
without a page check → kept lighting up on /archive. Now :not(.on-archive)
→ both buttons neutral/grey on the archive page.
(2) Back button at the top of /archive (htmx to the homepage).
(3) Archive→Archive, posts→posts, "No posts yet" text corrected.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@…>

File:
1 edited

Legend:

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

    r544cd86 rd15b27f  
    20552055    border-color: var(--ink-muted);
    20562056}
    2057 /* Actieve state: puur afgeleid van body[data-feed-view]. Geen .is-active class meer. */
    2058 body[data-feed-view="timeline"] .view-switch-btn[data-view="timeline"],
    2059 body[data-feed-view="grid"] .view-switch-btn[data-view="grid"] {
     2057/* Actieve state: puur afgeleid van body[data-feed-view]. Geen .is-active class meer.
     2058   Niet op de Archive-pagina: daar is geen "huidige" timeline/grid-keuze, dus beide
     2059   knoppen blijven neutraal (grijs). */
     2060body[data-feed-view="timeline"]:not(.on-archive) .view-switch-btn[data-view="timeline"],
     2061body[data-feed-view="grid"]:not(.on-archive) .view-switch-btn[data-view="grid"] {
    20602062    background: var(--ink);
    20612063    color: var(--paper);
Note: See TracChangeset for help on using the changeset viewer.