Changeset d7b5a6c in Klonkt
- Timestamp:
- 06/20/2026 07:22:21 AM (3 months ago)
- Branches:
- main
- Children:
- 68b27a4
- Parents:
- cf7c2d9
- Location:
- src/views/partials
- Files:
-
- 2 edited
-
shared-styles.ejs (modified) (1 diff)
-
view-switcher.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/shared-styles.ejs
rcf7c2d9 rd7b5a6c 38 38 .view-switch-btn[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); } 39 39 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. */ 41 42 .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; 44 44 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; 49 50 } 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); } 53 52 54 53 .grid-cols-picker { -
src/views/partials/view-switcher.ejs
rcf7c2d9 rd7b5a6c 5 5 <div class="view-switcher-wrap"> 6 6 <div class="container"> 7 <% if (typeof premiumUnlocked !== 'undefined' && premiumUnlocked) {8 var _sbA = (typeof siteUrlBase !== 'undefined' && siteUrlBase) ? siteUrlBase : '';9 %>10 <a class="vs-agenda" href="<%= _sbA %>/shows" aria-label="Agenda — evenementen">11 <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="4" width="18" height="18" rx="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/></svg>12 <span>Agenda</span>13 </a>14 <% } %>15 7 <% if (typeof tenancy !== 'undefined' && tenancy === 'circle') { 16 8 var _onCirkel = (typeof bodyClass === 'string' && bodyClass.indexOf('on-cirkel') >= 0); … … 25 17 <% } %> 26 18 <div class="view-switcher" role="tablist" aria-label="Weergave"> 19 <% if (typeof premiumUnlocked !== 'undefined' && premiumUnlocked) { 20 var _sbA = (typeof siteUrlBase !== 'undefined' && siteUrlBase) ? siteUrlBase : ''; 21 %> 22 <a class="vs-agenda" href="<%= _sbA %>/shows" aria-label="Agenda — evenementen"> 23 <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="4" width="18" height="18" rx="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/></svg> 24 <span>Agenda</span> 25 </a> 26 <% } %> 27 27 <button type="button" class="view-switch-btn" data-view="timeline" role="tab" 28 28 aria-selected="<%= (typeof site !== 'undefined' && site && site.feed_view_default === 'grid') ? 'false' : 'true' %>">
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)