@@ -876,7 +876,7 @@
diff --git a/components/profile-modal.html b/components/profile-modal.html
index 009f0c3e..817228bd 100644
--- a/components/profile-modal.html
+++ b/components/profile-modal.html
@@ -225,7 +225,7 @@
id="relayInput"
type="url"
placeholder="wss://relay.example.com"
- class="w-full rounded-md border border-gray-700 bg-gray-800 px-3 py-2 text-sm text-gray-100 placeholder-gray-500 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500"
+ class="input"
/>
@@ -266,7 +266,7 @@
id="profileWalletUri"
type="url"
placeholder="nostr+walletconnect://
?relay=wss://relay.example.com"
- class="w-full rounded-md border border-gray-700 bg-gray-800 px-3 py-2 text-sm text-gray-100 placeholder-gray-500 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500"
+ class="input"
/>
@@ -278,7 +278,7 @@
min="0"
step="1"
placeholder="500"
- class="w-full rounded-md border border-gray-700 bg-gray-800 px-3 py-2 text-sm text-gray-100 placeholder-gray-500 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500"
+ class="input"
/>
@@ -333,7 +333,7 @@
type="text"
inputmode="text"
autocomplete="off"
- class="w-full rounded-md border border-gray-700 bg-gray-800 px-3 py-2 text-sm text-gray-100 placeholder-gray-500 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500"
+ class="input"
placeholder="npub1..."
/>
@@ -511,7 +511,7 @@
type="text"
inputmode="text"
autocomplete="off"
- class="w-full rounded-md border border-gray-700 bg-gray-800 px-3 py-2 text-sm text-gray-100 placeholder-gray-500 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500"
+ class="input"
placeholder="npub1..."
/>
@@ -547,7 +547,7 @@
type="text"
inputmode="text"
autocomplete="off"
- class="w-full rounded-md border border-gray-700 bg-gray-800 px-3 py-2 text-sm text-gray-100 placeholder-gray-500 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500"
+ class="input"
placeholder="npub1..."
/>
@@ -583,7 +583,7 @@
type="text"
inputmode="text"
autocomplete="off"
- class="w-full rounded-md border border-gray-700 bg-gray-800 px-3 py-2 text-sm text-gray-100 placeholder-gray-500 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500"
+ class="input"
placeholder="npub1..."
/>
diff --git a/components/upload-modal.html b/components/upload-modal.html
index 2f52a5f3..9fb813a6 100644
--- a/components/upload-modal.html
+++ b/components/upload-modal.html
@@ -91,7 +91,7 @@
type="text"
id="uploadTitle"
required
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 input"
/>
@@ -136,7 +136,7 @@
type="datetime-local"
id="nip71PublishedAt"
data-nip71-input="published_at"
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 input"
/>
Set the canonical publish time for cross-client ordering.
@@ -147,7 +147,7 @@
id="nip71AltText"
data-nip71-input="alt"
placeholder="Describe the visuals for screen readers"
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 input"
/>
Plain-language fallback shown when the media cannot load.
@@ -159,7 +159,7 @@
min="0"
step="1"
data-nip71-input="duration"
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 input"
/>
Provide the runtime in whole seconds for timeline scrubbing.
@@ -170,7 +170,7 @@
id="nip71ContentWarning"
data-nip71-input="content-warning"
placeholder="e.g., Flashing lights"
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 input"
/>
Leave blank if the video is safe for all audiences.
@@ -182,7 +182,7 @@
id="nip71Summary"
rows="3"
data-nip71-input="summary"
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 textarea"
placeholder="Short synopsis used as the Nostr content field"
>
This becomes the event content. Keep it concise for Nostr readers.
@@ -199,7 +199,7 @@
Provide a hosted URL for instant playback. Add a magnet for P2P
@@ -250,7 +250,7 @@
@@ -263,7 +263,7 @@
Kept for older clients that rely on the legacy description tag.
@@ -308,7 +308,7 @@
type="text"
data-nip71-field="m"
placeholder="video/mp4"
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 input"
/>
RFC 2046 media type for this encoding.
@@ -320,7 +320,7 @@
type="text"
data-nip71-field="dim"
placeholder="1920x1080"
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 input"
/>
Formatted as widthxheight.
@@ -332,7 +332,7 @@
type="url"
data-nip71-field="url"
placeholder="https://cdn.example.com/variant.m3u8"
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 input"
/>
HTTPS variant URL shared across clients.
@@ -344,7 +344,7 @@
type="text"
data-nip71-field="x"
placeholder="magnet:?xt=urn:btih:..."
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 input"
/>
Optional magnet pointer if the variant is seeded via P2P.
@@ -368,7 +368,7 @@
type="url"
placeholder="https://cdn.example.com/poster.jpg"
data-nip71-nested-field="image"
- class="flex-1 rounded-md border border-gray-700 bg-gray-800 px-3 py-2 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="flex-1 input"
/>
Direct link to the caption file.
@@ -492,7 +492,7 @@
type="text"
data-nip71-field="type"
placeholder="subtitles"
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 input"
/>
Use values like captions, subtitles, or descriptions.
@@ -502,7 +502,7 @@
type="text"
data-nip71-field="language"
placeholder="en-US"
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 input"
/>
BCP-47 locale code.
@@ -543,7 +543,7 @@
type="text"
data-nip71-field="start"
placeholder="00:00:00"
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 input"
/>
HH:MM:SS
@@ -553,7 +553,7 @@
type="text"
data-nip71-field="end"
placeholder="00:03:30"
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 input"
/>
Leave blank for open-ended segments.
@@ -563,7 +563,7 @@
type="text"
data-nip71-field="title"
placeholder="Introduction"
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 input"
/>
@@ -572,7 +572,7 @@
type="url"
data-nip71-field="thumbnail"
placeholder="https://cdn.example.com/segment.jpg"
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 input"
/>
Optional still image for this moment.
@@ -609,7 +609,7 @@
type="text"
data-nip71-field="value"
placeholder="#nostr"
- class="flex-1 rounded-md border border-gray-700 bg-gray-800 px-3 py-2 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="flex-1 input"
/>
Accepts npub or hex.
@@ -655,7 +655,7 @@
type="url"
data-nip71-field="relay"
placeholder="wss://relay.example.com"
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 input"
/>
Relay hint for discovering the participant.
@@ -690,7 +690,7 @@
type="url"
data-nip71-field="url"
placeholder="https://example.com/article"
- class="flex-1 rounded-md border border-gray-700 bg-gray-800 px-3 py-2 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="flex-1 input"
/>
@@ -727,7 +727,7 @@
@@ -743,7 +743,7 @@
@@ -805,7 +805,7 @@
id="r2AccountId"
type="text"
autocomplete="off"
- class="mt-1 w-full rounded-md border border-gray-700 bg-gray-800 px-3 py-2 text-gray-100 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500"
+ class="mt-1 input"
placeholder="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
required
/>
@@ -818,7 +818,7 @@
id="r2AccessKeyId"
type="text"
autocomplete="off"
- class="mt-1 w-full rounded-md border border-gray-700 bg-gray-800 px-3 py-2 text-gray-100 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500"
+ class="mt-1 input"
placeholder="AKIA..."
required
/>
@@ -832,7 +832,7 @@
id="r2SecretAccessKey"
type="password"
autocomplete="off"
- class="mt-1 w-full rounded-md border border-gray-700 bg-gray-800 px-3 py-2 text-gray-100 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500"
+ class="mt-1 input"
required
/>
@@ -869,7 +869,7 @@
id="r2ApiToken"
type="password"
autocomplete="off"
- class="mt-1 w-full rounded-md border border-gray-700 bg-gray-800 px-3 py-2 text-gray-100 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500"
+ class="mt-1 input"
placeholder="Token with Workers R2 Storage Write"
/>
@@ -885,7 +885,7 @@
id="r2ZoneId"
type="text"
autocomplete="off"
- class="mt-1 w-full rounded-md border border-gray-700 bg-gray-800 px-3 py-2 text-gray-100 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500"
+ class="mt-1 input"
placeholder="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
/>
@@ -900,7 +900,7 @@
id="r2BaseDomain"
type="text"
autocomplete="off"
- class="mt-1 w-full rounded-md border border-gray-700 bg-gray-800 px-3 py-2 text-gray-100 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500"
+ class="mt-1 input"
placeholder="cdn.example.com"
/>
@@ -953,7 +953,7 @@
id="cloudflareTitle"
type="text"
required
- class="mt-1 w-full rounded-md border border-gray-700 bg-gray-800 px-3 py-2 text-gray-100 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500"
+ class="mt-1 input"
/>
Set the canonical publish time for cross-client ordering.
@@ -1024,7 +1024,7 @@
id="cloudflareNip71AltText"
data-nip71-input="alt"
placeholder="Describe the visuals for screen readers"
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 input"
/>
Plain-language fallback shown when the media cannot load.
@@ -1038,7 +1038,7 @@
min="0"
step="1"
data-nip71-input="duration"
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 input"
/>
Provide the runtime in whole seconds for timeline scrubbing.
@@ -1051,7 +1051,7 @@
id="cloudflareNip71ContentWarning"
data-nip71-input="content-warning"
placeholder="e.g., Flashing lights"
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 input"
/>
Leave blank if the video is safe for all audiences.
@@ -1063,7 +1063,7 @@
id="cloudflareNip71Summary"
rows="3"
data-nip71-input="summary"
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 textarea"
placeholder="Short synopsis used as the Nostr content field"
>
This becomes the event content. Keep it concise for Nostr readers.
@@ -1076,7 +1076,7 @@
@@ -1087,7 +1087,7 @@
@@ -1098,7 +1098,7 @@
id="cloudflareMagnet"
type="text"
placeholder="magnet:?xt=urn:btih:..."
- class="mt-1 w-full rounded-md border border-gray-700 bg-gray-800 px-3 py-2 text-gray-100 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500"
+ class="mt-1 input"
/>
@@ -1107,13 +1107,13 @@
id="cloudflareWs"
type="url"
placeholder="Web seed (ws=)"
- class="w-full rounded-md border border-gray-700 bg-gray-800 px-3 py-2 text-gray-100 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500"
+ class="input"
/>
RFC 2046 media type for this encoding.
@@ -1175,7 +1175,7 @@
type="text"
data-nip71-field="dim"
placeholder="Auto-filled if detected (e.g., 1920x1080)"
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 input"
/>
Formatted as widthxheight.
@@ -1187,7 +1187,7 @@
type="url"
data-nip71-field="url"
placeholder="Auto-filled after upload with the public HTTPS URL"
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 input"
/>
HTTPS variant URL shared across clients.
@@ -1199,7 +1199,7 @@
type="text"
data-nip71-field="x"
placeholder="Optional magnet pointer if seeding via P2P"
- class="mt-1 block w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="mt-1 input"
/>
Optional magnet pointer if the variant is seeded via P2P.
@@ -1223,7 +1223,7 @@
type="url"
placeholder="https://cdn.example.com/poster.jpg"
data-nip71-nested-field="image"
- class="flex-1 rounded-md border border-gray-700 bg-gray-800 px-3 py-2 text-gray-100 focus:border-blue-500 focus:ring-blue-500"
+ class="flex-1 input"
/>
@@ -1436,7 +1436,7 @@
@@ -1452,7 +1452,7 @@
@@ -1473,7 +1473,7 @@
id="cloudflareFile"
type="file"
accept="video/*,.m3u8,.ts,.mp4,.webm,.mov,.mkv,.mpg,.mpeg"
- class="mt-1 w-full rounded-md border border-dashed border-gray-600 bg-gray-900 px-3 py-4 text-sm text-gray-300 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500"
+ class="mt-1 input border-dashed bg-gray-900 px-3 py-4 text-gray-300"
required
/>