-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add connect provider modal styling. placeholder dropdowns until rober…
…t's pr merged
- Loading branch information
1 parent
cff1b6a
commit c5b0523
Showing
9 changed files
with
73 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<script lang="ts"> | ||
export let close = () => {}; | ||
import Modal from '../components/Modal.svelte'; | ||
import DropDownMenu from './DropDownMenu.svelte'; | ||
</script> | ||
|
||
<Modal {close}> | ||
<div class="flex flex-col gap-7"> | ||
<h2 class="section-title-underlined">Connect Provider</h2> | ||
<!-- Select a network dropdown goes here --> | ||
<!-- Should default to current network --> | ||
<DropDownMenu label="Select a Network" options={{ option1: 'option1' }} /> | ||
|
||
<!-- Select a control provider key goes here --> | ||
<!-- Should default to current key --> | ||
<DropDownMenu label="Select a Control Provider Key" options={{ option1: 'option1' }} /> | ||
|
||
<div class="flex justify-between align-bottom"> | ||
<button class="btn-primary" on:click={close}>Connect</button> | ||
<button class="btn-no-fill" on:click={close}>Cancel</button> | ||
</div> | ||
</div> | ||
</Modal> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<script lang="ts"> | ||
export let close = () => {}; | ||
</script> | ||
|
||
<div | ||
on:click={close} | ||
on:keyup={close} | ||
role="button" | ||
tabindex="0" | ||
class="fixed right-0 top-0 z-[100] flex h-[100vh] w-[calc(100vw-126px)] cursor-default items-center justify-center bg-overlay" | ||
> | ||
<div | ||
class="content-block w-modal cursor-default" | ||
on:click|stopPropagation={() => {}} | ||
on:keyup|stopPropagation={() => {}} | ||
tabindex="0" | ||
role="button" | ||
> | ||
<slot /> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters