Changeset 2d2fd8c in Klonkt for src/views/partials/shared-styles.ejs
- Timestamp:
- 08/18/2026 06:47:58 PM (3 weeks ago)
- Branches:
- main
- Children:
- 7cf8144
- Parents:
- 03ff677
- git-author:
- Bart <bart@…> (08/18/2026 05:13:14 AM)
- git-committer:
- Bart <bart@…> (08/18/2026 06:47:58 PM)
- File:
-
- 1 edited
-
src/views/partials/shared-styles.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/shared-styles.ejs
r03ff677 r2d2fd8c 27 27 padding: 0.15rem; 28 28 } 29 .view-switch-btn { 29 .view-switch-btn, 30 .view-switch-link { 30 31 display: inline-flex; align-items: center; gap: 0.35rem; 31 32 padding: 0.35rem 0.85rem; … … 35 36 transition: background 120ms, color 120ms; 36 37 } 37 .view-switch-btn:hover { color: var(--ink); } 38 .view-switch-btn:hover, 39 .view-switch-link:hover { color: var(--ink); } 40 .view-switch-link { text-decoration: none; } 38 41 /* Active = white (light background, dark text). Via aria-selected (element 39 42 attribute, set by syncAria + on htmx:afterSettle) → htmx-robust. On non- 40 43 feed pages syncAria sets aria-selected=false → both grey. */ 41 .view-switch-btn[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); } 44 .view-switch-btn[aria-selected="true"], 45 .view-switch-link[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); } 42 46 43 47 /* Agenda = its OWN pill (separate from Timeline/Grid, so the feed-toggle is never
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)