From 596490878ca5ae2b8a86cb830918789d3af682a5 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 20 Nov 2024 14:22:43 -0800 Subject: styles --- src/app.css | 16 +++--- src/components/Mnemonic.svelte | 6 +-- src/components/Slider.svelte | 47 +----------------- src/routes/(app)/account/pass/+page.svelte | 57 +++++++++++++--------- src/routes/(app)/account/savings/+page.svelte | 4 +- src/routes/(app)/account/seed/+page.svelte | 43 +++++----------- .../(app)/send/lightning/[payreq]/+page.svelte | 1 + 7 files changed, 62 insertions(+), 112 deletions(-) (limited to 'src') diff --git a/src/app.css b/src/app.css index 3d3ffd94..f01c9346 100644 --- a/src/app.css +++ b/src/app.css @@ -21,7 +21,7 @@ html { background-color: white; } -input { +input:not([type="range"]) { @apply input } @@ -37,7 +37,7 @@ select { @apply select select-bordered select-lg select-primary; } -input, textarea, select, .input { +input:not([type="range"]), textarea, select, .input { @apply w-full rounded-2xl; } @@ -46,12 +46,12 @@ textarea:focus, textarea:focus-within, .input:focus, .input:focus-within { } input.clean, textarea.clean { - border: none; - outline: none; - padding: 0; - margin: 0; - background: none; - box-shadow: none; + border: none !important; + outline: none !important; + padding: 0 !important; + margin: 0 !important; + background: none !important; + box-shadow: none !important; } .btn { diff --git a/src/components/Mnemonic.svelte b/src/components/Mnemonic.svelte index 93035230..117c98f2 100644 --- a/src/components/Mnemonic.svelte +++ b/src/components/Mnemonic.svelte @@ -2,13 +2,13 @@ let { mnemonic } = $props(); -
+
{#each mnemonic.split(" ") as w, i}
- {i + 1}. + {i + 1}. {@html w === "-" ? "—" : w}
{/each} diff --git a/src/components/Slider.svelte b/src/components/Slider.svelte index 137c28b4..401b415a 100644 --- a/src/components/Slider.svelte +++ b/src/components/Slider.svelte @@ -6,12 +6,7 @@ max?: number; } - let { - value = $bindable(), - handle, - min = 0, - max = 100 - }: Props = $props(); + let { value = $bindable(), handle, min = 0, max = 100 }: Props = $props(); - diff --git a/src/routes/(app)/account/pass/+page.svelte b/src/routes/(app)/account/pass/+page.svelte index 62ef9b8e..3a372a33 100644 --- a/src/routes/(app)/account/pass/+page.svelte +++ b/src/routes/(app)/account/pass/+page.svelte @@ -1,10 +1,9 @@