diff --git a/web/src/components/buttons/ActionButton.svelte b/web/src/components/buttons/ActionButton.svelte index 13c126bf..f64f73e3 100644 --- a/web/src/components/buttons/ActionButton.svelte +++ b/web/src/components/buttons/ActionButton.svelte @@ -4,7 +4,14 @@ export let click = () => { alert('no function assigned') }; - + + diff --git a/web/src/components/buttons/Switcher.svelte b/web/src/components/buttons/Switcher.svelte new file mode 100644 index 00000000..dd457177 --- /dev/null +++ b/web/src/components/buttons/Switcher.svelte @@ -0,0 +1,35 @@ + + +
+ +
+ + diff --git a/web/src/components/save/Omnibox.svelte b/web/src/components/save/Omnibox.svelte index 7ec197e4..dabec6cb 100644 --- a/web/src/components/save/Omnibox.svelte +++ b/web/src/components/save/Omnibox.svelte @@ -1,13 +1,17 @@
-
+
isFocused = true} - on:focus={() => isFocused = true} - on:blur={() => isFocused = false} - + on:input={() => (isFocused = true)} + on:focus={() => (isFocused = true)} + on:blur={() => (isFocused = false)} spellcheck="false" autocomplete="off" autocapitalize="off" maxlength="256" - placeholder="paste the link here" aria-label="link input area" - > + /> {#if link.length > 0} - link = ""} /> + (link = "")} /> {/if} {#if validLink(link)} {/if}
+
-
- - + + + - + -
- + + + + +
@@ -100,7 +99,7 @@ align-items: center; gap: 10px; font-size: 14px; - flex: 1 + flex: 1; } #input-container.downloadable { @@ -143,14 +142,14 @@ } #link-area::placeholder { - color: var(--gray) + color: var(--gray); } - #action-container, - #mode-switcher { + #action-container { display: flex; flex-direction: row; } + #action-container { justify-content: space-between; } diff --git a/web/src/lib/icons/Mute.svelte b/web/src/lib/icons/Mute.svelte new file mode 100644 index 00000000..5b2644b1 --- /dev/null +++ b/web/src/lib/icons/Mute.svelte @@ -0,0 +1,5 @@ + + + + +