Fix: restliche CSP-blockierte Inline-Handler — Bild-Fallbacks (globaler data-fb Error-Handler) + Hover-Effekte (CSS-Utilities + data-hover-play)
App ist jetzt vollständig frei von Inline-Event-Handlern (onerror/onmouseenter/etc.). data-fb Modi: hide/hide-parent/dim-grandparent/sibling/show-el/emoji/initials + data-fb-src. Hover: .by-hover-lift/-surface2/-surface3 in utilities.css. SW v1165
This commit is contained in:
parent
2ddd8ac350
commit
c07b1cc01b
23 changed files with 125 additions and 68 deletions
|
|
@ -63,3 +63,14 @@
|
|||
font-weight: 600;
|
||||
margin-bottom: var(--space-1);
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------
|
||||
Hover-Utilities — ersetzen CSP-blockierte onmouseenter/leave/over.
|
||||
:hover braucht !important, da Inline-Base-Styles höher spezifisch sind.
|
||||
------------------------------------------------------------------ */
|
||||
.by-hover-lift { transition: transform .15s, box-shadow .15s; }
|
||||
.by-hover-lift:hover { transform: translateY(-2px) !important; box-shadow: var(--shadow-md) !important; }
|
||||
.by-hover-surface2 { transition: background .15s; }
|
||||
.by-hover-surface2:hover{ background: var(--c-surface-2) !important; }
|
||||
.by-hover-surface3 { transition: background .15s; }
|
||||
.by-hover-surface3:hover{ background: var(--c-surface-3) !important; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue