Changeset c2a9522 in Klonkt for src/views/partials


Ignore:
Timestamp:
06/17/2026 01:03:25 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
3068cc0
Parents:
d8693e4
Message:

User-menu dropdown frosted blur now works: masthead backdrop-filter removed

Root cause: the masthead (ancestor) had backdrop-filter:blur(12px), which
blocks the backdrop-filter of child elements below it (an element cannot
blur the page if an ancestor already has a backdrop-filter). The masthead
is nearly opaque anyway → backdrop-filter removed, bg set to 94%. Dropdown
now blur(34px)/60%. CSS cache-buster v5.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/partials/topnav.ejs

    rd8693e4 rc2a9522  
    364364  min-width: 220px;
    365365  padding: .35rem;
    366   /* Frosted glass: bewust transparanter (was 92%) zodat de blur écht doorkomt. */
    367   background: color-mix(in srgb, var(--paper) 66%, transparent);
    368   backdrop-filter: blur(20px) saturate(180%);
    369   -webkit-backdrop-filter: blur(20px) saturate(180%);
     366  /* Frosted glass: transparant + zware blur zodat het frosted effect duidelijk is. */
     367  background: color-mix(in srgb, var(--paper) 60%, transparent);
     368  backdrop-filter: blur(34px) saturate(190%);
     369  -webkit-backdrop-filter: blur(34px) saturate(190%);
    370370  border: 1px solid var(--rule);
    371371  border-radius: 12px;
Note: See TracChangeset for help on using the changeset viewer.