Ignore:
Timestamp:
06/20/2026 07:22:21 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
68b27a4
Parents:
cf7c2d9
Message:

feat(nav): Agenda IN the Timeline/Grid pill (Agenda · Timeline · Grid)

Agenda link moved to the first item inside the view-switcher pill, with
exactly the same sizing as the Timeline/Grid buttons. Own class (.vs-agenda),
so the view-toggle handler doesn't touch it — navigation via the global
link-boost.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/partials/shared-styles.ejs

    rcf7c2d9 rd7b5a6c  
    3838.view-switch-btn[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
    3939
    40 /* Agenda-link (evenementen) links in de switcher-balk. */
     40/* Agenda-link (evenementen) als eerste item IN de Tijdlijn/Grid-pill —
     41   exact dezelfde maatvoering als .view-switch-btn, maar het is een nav-link. */
    4142.vs-agenda {
    42   display: inline-flex; align-items: center; gap: 0.4rem;
    43   margin-right: auto;            /* naar links; Tijdlijn/Grid blijven rechts */
     43  display: inline-flex; align-items: center; gap: 0.35rem;
    4444  padding: 0.35rem 0.85rem;
    45   border: 1px solid var(--rule); border-radius: 999px;
    46   background: var(--paper-2); color: var(--ink-muted, var(--ink-soft));
    47   text-decoration: none; font-size: 0.85rem; font-weight: 600;
    48   transition: background 120ms, color 120ms, border-color 120ms;
     45  border-radius: 999px;
     46  color: var(--ink-muted, var(--ink-soft));
     47  text-decoration: none;
     48  font-size: 0.85rem; font-family: inherit;
     49  transition: background 120ms, color 120ms;
    4950}
    50 .vs-agenda:hover { color: var(--ink); border-color: var(--accent); }
    51 .vs-agenda svg { opacity: .85; }
    52 @media (max-width: 560px) { .vs-agenda { margin-right: 0; } }
     51.vs-agenda:hover { color: var(--ink); }
    5352
    5453.grid-cols-picker {
Note: See TracChangeset for help on using the changeset viewer.