fix: QR overlay — white 50% backing, transparent white spots, black modules

White semi-transparent square behind QR so black modules pop.
White rects in SVG already set to transparent by JS.
Same white backing in dark mode too (QR needs light bg to scan).
This commit is contained in:
you
2026-03-23 16:39:50 +00:00
parent da96cb6e87
commit 93525525af
+2 -3
View File
@@ -1117,10 +1117,9 @@ button.ch-item.ch-item-encrypted .ch-badge { filter: grayscale(0.6); }
[data-theme="dark"] .node-qr svg rect[fill="#ffffff"] { fill: var(--card-bg); }
[data-theme="dark"] .node-qr svg rect[fill="#000000"] { fill: var(--text); }
.node-map-qr-wrap { position: relative; }
.node-map-qr-overlay { position: absolute; bottom: 8px; right: 8px; z-index: 400; background: rgba(255,255,255,0.6); border-radius: 4px; padding: 3px; }
.node-map-qr-overlay { position: absolute; bottom: 8px; right: 8px; z-index: 400; background: rgba(255,255,255,0.5); border-radius: 4px; padding: 4px; line-height: 0; }
.node-map-qr-overlay svg { max-width: 64px; display: block; }
[data-theme="dark"] .node-map-qr-overlay { background: rgba(0,0,0,0.5); }
[data-theme="dark"] .node-map-qr-overlay svg rect[fill="#000000"] { fill: var(--text); }
[data-theme="dark"] .node-map-qr-overlay { background: rgba(255,255,255,0.4); }
/* Replay on Live Map button in packet detail */
.detail-actions {