aboutsummaryrefslogtreecommitdiffstats
path: root/src/style.css
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-19 22:28:36 -0700
committerAdam Soltys <[email protected]>2026-09-19 22:28:36 -0700
commit1b142c92ce869a6ebe97825931ef3553255ba58e (patch)
tree4a16e864ad7a827678c5bab888b8eb1764eb4657 /src/style.css
parent74152d4ae33e1ea065769d261c615885c387590a (diff)
downloadcoinosv3-1b142c92ce869a6ebe97825931ef3553255ba58e.tar.gz
coinosv3-1b142c92ce869a6ebe97825931ef3553255ba58e.zip
Zaps: tap again while one flies, hold the bolt to change the amount.
A pending zap no longer refuses the next tap: the optimistic tally keeps one entry per zap and matches each report and receipt to the oldest it can describe, so two default-amount zaps stack, settle and hand over to their receipts one at a time. Instant post zaps run off the send screen's zap slot, so a second tap can't evict the one still resolving, and send action ids are unique within a millisecond. Holding ⚡ (500ms) opens the amount screen in an edit mode — Save alone, or Save and zap this note — from the action bar and the chat chips alike; the press's timer lives on the element so a background repaint mid-press can't turn a lifted finger into a hold. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Diffstat (limited to 'src/style.css')
-rw-r--r--src/style.css2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/style.css b/src/style.css
index 3629dfc..4e93009 100644
--- a/src/style.css
+++ b/src/style.css
@@ -601,6 +601,8 @@ hr.divider { margin: 16px 0; }
/* the zap button carries the sats tally: amber once anyone has zapped, the
number in amber too; breathing while our own zap is in the air */
.note-act.note-zap.zapped, .note-act.note-zap.zapped .note-act-n { color: #e6a800; }
+/* holdable: no text selection or callout while the finger rests on it */
+.note-act.note-zap, .zap-tally.clickable { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.note-act.note-zap[aria-disabled] { cursor: default; }
.note-act.note-zap[aria-disabled]:hover { background: none; color: var(--faint); }
.note-act.note-zap.zapped[aria-disabled]:hover { color: #e6a800; }