diff --git a/package.json b/package.json index b241e07..5cd1a38 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "name": "plebeian-signer", - "version": "v1.0.10", + "version": "v1.0.11", "custom": { "chrome": { - "version": "v1.0.10" + "version": "v1.0.11" }, "firefox": { - "version": "v1.0.10" + "version": "v1.0.11" } }, "scripts": { diff --git a/projects/chrome/public/manifest.json b/projects/chrome/public/manifest.json index 3621975..c53f9e3 100644 --- a/projects/chrome/public/manifest.json +++ b/projects/chrome/public/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "Plebeian Signer - Nostr Identity Manager & Signer", "description": "Manage and switch between multiple identities while interacting with Nostr apps", - "version": "1.0.10", + "version": "1.0.11", "homepage_url": "https://github.com/PlebeianApp/plebeian-signer", "options_page": "options.html", "permissions": [ diff --git a/projects/chrome/public/prompt.html b/projects/chrome/public/prompt.html index 8bf219a..fbd8eae 100644 --- a/projects/chrome/public/prompt.html +++ b/projects/chrome/public/prompt.html @@ -27,11 +27,66 @@ .page { height: 100%; display: grid; - grid-template-rows: 1fr 60px; + grid-template-rows: 1fr auto; grid-template-columns: 1fr; overflow-y: hidden; } + .actions { + display: flex; + flex-direction: column; + gap: 8px; + padding: var(--size); + background: var(--background); + } + + .action-row { + display: flex; + align-items: center; + gap: 8px; + } + + .action-label { + width: 60px; + font-size: 13px; + font-weight: 500; + color: var(--muted-foreground); + } + + .action-buttons { + display: flex; + gap: 8px; + flex: 1; + } + + .action-buttons button { + flex: 1; + padding: 8px 12px; + border-radius: 6px; + font-size: 13px; + font-weight: 500; + cursor: pointer; + border: none; + } + + .btn-reject { + background: var(--muted); + color: var(--foreground); + } + + .btn-reject:hover { + background: var(--border); + } + + .btn-accept { + background: var(--primary); + color: var(--primary-foreground); + } + + .btn-accept:hover { + opacity: 0.9; + } + .card { padding: var(--size); background: var(--background-light); @@ -54,6 +109,12 @@ font-size: 12px; color: gray; } + + .description { + margin: 0; + text-align: center; + line-height: 1.5; + } @@ -63,64 +124,31 @@ - -
- - - is requesting permission to
-
- read your public key
-
- - for the selected identity - - -
+

+ is requesting permission to + read your public key for the selected identity + . +

- - - is requesting permission to
-
- read your relays
-
- - for the selected identity - - -
+

+ is requesting permission to + read your relays for the selected identity + . +

- - - is requesting permission to
-
- sign an event (kind - )
-
- - for the selected identity - - -
+

+ is requesting permission to + sign an event (kind ) + for the selected identity . +

@@ -130,20 +158,11 @@
- - - is requesting permission to
-
- encrypt a text (NIP04)
-
- - for the selected identity - - -
+

+ is requesting permission to + encrypt a text (NIP04) for the selected identity + . +

@@ -153,20 +172,11 @@
- - - is requesting permission to
-
- encrypt a text (NIP44)
-
- - for the selected identity - - -
+

+ is requesting permission to + encrypt a text (NIP44) for the selected identity + . +

@@ -176,20 +186,11 @@
- - - is requesting permission to
-
- decrypt a text (NIP04)
-
- - for the selected identity - - -
+

+ is requesting permission to + decrypt a text (NIP04) for the selected identity + . +

@@ -199,20 +200,11 @@
- - - is requesting permission to
-
- decrypt a text (NIP44)
-
- - for the selected identity - - -
+

+ is requesting permission to + decrypt a text (NIP44) for the selected identity + . +

@@ -224,47 +216,20 @@ -