From 838dfe2a6eaf844384200ccecf148b8842e063b9 Mon Sep 17 00:00:00 2001 From: th Date: Sun, 12 Apr 2026 12:40:21 +0200 Subject: [PATCH] relay: custom confirm dialog, custom recipient dropdown, inbox polish Replaces all native confirm() calls with styled relayConfirm() promise. Replaces native +
+ + + +
@@ -92,7 +99,10 @@ if (!defined('RELAY_BOOTSTRAPPED')) { http_response_code(404); exit; }
-

your inbox 0

+

your inbox 0 + + +

@@ -185,6 +195,17 @@ if (!defined('RELAY_BOOTSTRAPPED')) { http_response_code(404); exit; } + + +
diff --git a/relay/ui/style.css b/relay/ui/style.css index b08821f..b14c2f2 100644 --- a/relay/ui/style.css +++ b/relay/ui/style.css @@ -326,6 +326,16 @@ label.checkbox input[type="checkbox"] { accent-color:var(--accent); cursor:point text-transform:uppercase; letter-spacing:0.05em; margin-left:4px; } +.badge-synced { + display:inline-flex; align-items:center; gap:3px; + color:var(--ok, #4ade80); + padding:1px 6px; border-radius:var(--radius); + border:1px solid color-mix(in srgb, var(--ok, #4ade80) 40%, var(--border)); + font-family:var(--pixel); font-size:8px; + text-transform:uppercase; letter-spacing:0.05em; + margin-left:4px; +} +.badge-synced .ph { font-size:9px; } .inbox-item .del { background:none; border:none; color:var(--dim); cursor:pointer; padding:6px; font-size:14px; flex-shrink:0;