From 249b1239bab190e6cc61f5673204134cf95d13db Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 15 Jun 2026 07:34:03 -0700 Subject: Gate recovery-phrase reveal behind a warning + Proceed step MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Opening Backup now shows the warning with the 12 words masked (••••••) and a Proceed/Cancel choice. The real words and passphrase are kept out of the DOM until Proceed, so the user reads the "make sure nobody is watching" warning before anything sensitive renders. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/style.css | 1 + 1 file changed, 1 insertion(+) (limited to 'src/style.css') diff --git a/src/style.css b/src/style.css index 4e0a0e2..69c26b2 100644 --- a/src/style.css +++ b/src/style.css @@ -211,6 +211,7 @@ textarea { resize: vertical; min-height: 84px; font-family: var(--mono); font-si background: rgba(20, 23, 26, 0.5); display: grid; place-items: center; } .modal { max-width: 480px; width: 100%; max-height: 90vh; overflow: auto; } +.words .w.masked .t { color: var(--faint); letter-spacing: 2px; } .divider { height: 1px; background: var(--line); margin: 16px 0; border: 0; } hr.divider { margin: 16px 0; } .linklike { background: none; border: 0; padding: 0; color: var(--accent-ink); font-weight: 600; cursor: pointer; } -- cgit v1.2.3