Changeset 6eeb459 in Klonkt


Ignore:
Timestamp:
06/20/2026 08:04:44 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
4dcefa1
Parents:
1eff06a
Message:

feat(agenda): rest grey on calendar/downloads + Agenda as standalone link + notify conditional

  • On the calendar and downloads pages: Solo/Circle + Timeline/Grid + cols all grey (!important, only on those body classes → doesn't leak to the feed). Agenda itself highlighted/white.
  • Agenda is now a standalone icon+text link (no pill box).
  • Calendar notify form only shown when the footer newsletter is off.

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

Location:
src/views
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/shows.ejs

    r1eff06a r6eeb459  
    3131  <% } %>
    3232
     33  <% if (!(typeof footerNewsletter !== 'undefined' && footerNewsletter)) { %>
    3334  <div class="sh-notify">
    3435    <h2 class="sh-h2">Mis geen evenement</h2>
     
    3940    </form>
    4041  </div>
     42  <% } %>
    4143</section>
    4244
  • src/views/partials/shared-styles.ejs

    r1eff06a r6eeb459  
    4040/* Agenda = een EIGEN pill (los van Tijdlijn/Grid, zodat de feed-toggle nooit
    4141   verstoord raakt). Zelfde look als de view-switcher-pill. Zichtbaar in alle modi. */
    42 .agenda-pill { display: inline-flex; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 999px; padding: 0.15rem; }
     42.agenda-pill { display: inline-flex; align-items: center; }   /* geen box — losse icoon+tekst link */
    4343.vs-agenda {
    44   display: inline-flex; align-items: center; gap: 0.35rem;
    45   padding: 0.35rem 0.85rem;
    46   border-radius: 999px;
     44  display: inline-flex; align-items: center; gap: 0.4rem;
     45  padding: 0.35rem 0.5rem;
    4746  color: var(--ink-muted, var(--ink-soft));
    4847  text-decoration: none;
    49   font-size: 0.85rem; font-family: inherit;
    50   transition: background 120ms, color 120ms;
     48  font-size: 0.9rem; font-family: inherit;
     49  transition: color 120ms;
    5150}
    5251.vs-agenda:hover { color: var(--ink); }
    53 /* Op de agendapagina = wit pilletje (zelfde actieve look als Tijdlijn/Grid). */
    54 body.on-shows .vs-agenda { background: var(--ink); color: var(--paper); }
     52/* Op de agendapagina = helder/wit (geen pilletje, past bij de losse-link-look). */
     53body.on-shows .vs-agenda { color: var(--ink); font-weight: 600; }
    5554
    5655.grid-cols-picker {
     
    9695  color: var(--ink-muted, var(--ink-soft));
    9796  border-color: var(--rule);
     97}
     98
     99/* Op de agenda- én downloads-pagina is ALLES behalve de Agenda-pill neutraal/grijs
     100   (je bent daar niet in een feed-weergave). !important + body.on-X (betrouwbaar
     101   gezet/gestript via PAGE_CLASSES) → overrult de feed-active-regel ZONDER naar de
     102   feed te lekken (de selector matcht alleen op die pagina's). */
     103body.on-shows .view-switch-btn,
     104body.on-downloads .view-switch-btn {
     105  background: transparent !important;
     106  color: var(--ink-muted, var(--ink-soft)) !important;
     107  border-color: var(--rule) !important;
     108}
     109body.on-shows .feed-scope-btn.is-active,
     110body.on-downloads .feed-scope-btn.is-active {
     111  background: transparent !important;
     112  color: var(--ink-muted, var(--ink-soft)) !important;
     113}
     114body.on-shows .grid-cols-btn.is-active,
     115body.on-downloads .grid-cols-btn.is-active {
     116  background: var(--paper-2) !important;
     117  color: var(--ink-muted, var(--ink-soft)) !important;
     118  border-color: var(--rule) !important;
    98119}
    99120
Note: See TracChangeset for help on using the changeset viewer.