aboutsummaryrefslogtreecommitdiffstats
path: root/src/style.css
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-16 00:06:09 -0700
committerAdam Soltys <[email protected]>2026-06-16 00:06:09 -0700
commitdb438d1d6feb6edccf782e0e22793cf8e4602cb1 (patch)
tree6fe91c0c7c195f558713c7bcb7a100ce6b9bcf90 /src/style.css
parent6803575cb3fcbe1bb92a6c40b9e810a294f5d657 (diff)
downloadcoinosv3-db438d1d6feb6edccf782e0e22793cf8e4602cb1.tar.gz
coinosv3-db438d1d6feb6edccf782e0e22793cf8e4602cb1.zip
Add "Payment received!" celebration on the Receive tab
When a deposit lands on the shown address, the Receive tab now shows a "Payment received!" dialog (with the amount and a green check) and waits for a tap before revealing the next address/QR — instead of silently swapping it. Tracks the acknowledged fresh index so only payments that arrive while watching trigger it. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/style.css')
-rw-r--r--src/style.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/style.css b/src/style.css
index 160cca2..ed1d542 100644
--- a/src/style.css
+++ b/src/style.css
@@ -208,6 +208,11 @@ textarea { resize: vertical; min-height: 84px; font-family: var(--mono); font-si
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.words .w.masked .t { color: var(--faint); letter-spacing: 2px; }
+.check-badge {
+ width: 64px; height: 64px; border-radius: 50%; flex: none;
+ background: var(--green-soft); color: var(--green);
+ display: grid; place-items: center; font-size: 34px; font-weight: 700;
+}
.footer { margin-top: 28px; padding-bottom: 8px; }
.footer a { color: var(--accent-ink); font-weight: 600; }