App: Add shadows to buttons (except for the header)
This commit is contained in:
@ -133,32 +133,40 @@
|
|||||||
<!-- Menu Drawer -->
|
<!-- Menu Drawer -->
|
||||||
<!-- Menu Drawer -->
|
<!-- Menu Drawer -->
|
||||||
<div class="flex flex-col gap-2 p-2 pt-3">
|
<div class="flex flex-col gap-2 p-2 pt-3">
|
||||||
<Button href="/racepicks" onclick={close_drawer} color="surface" width="w-full">
|
<Button href="/racepicks" onclick={close_drawer} color="surface" width="w-full" shadow>
|
||||||
Race Picks
|
Race Picks
|
||||||
</Button>
|
</Button>
|
||||||
<Button href="/seasonpicks" onclick={close_drawer} color="surface" width="w-full">
|
<Button href="/seasonpicks" onclick={close_drawer} color="surface" width="w-full" shadow>
|
||||||
Season Picks
|
Season Picks
|
||||||
</Button>
|
</Button>
|
||||||
<Button href="/leaderboard" onclick={close_drawer} color="surface" width="w-full">
|
<Button href="/leaderboard" onclick={close_drawer} color="surface" width="w-full" shadow>
|
||||||
Leaderboard
|
Leaderboard
|
||||||
</Button>
|
</Button>
|
||||||
<Button href="/statistics" onclick={close_drawer} color="surface" width="w-full">
|
<Button href="/statistics" onclick={close_drawer} color="surface" width="w-full" shadow>
|
||||||
Statistics
|
Statistics
|
||||||
</Button>
|
</Button>
|
||||||
<Button href="/rules" onclick={close_drawer} color="surface" width="w-full">Rules</Button>
|
<Button href="/rules" onclick={close_drawer} color="surface" width="w-full" shadow>
|
||||||
|
Rules
|
||||||
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
{:else if $drawerStore.id === "data_drawer"}
|
{:else if $drawerStore.id === "data_drawer"}
|
||||||
<!-- Data Drawer -->
|
<!-- Data Drawer -->
|
||||||
<!-- Data Drawer -->
|
<!-- Data Drawer -->
|
||||||
<!-- Data Drawer -->
|
<!-- Data Drawer -->
|
||||||
<div class="flex flex-col gap-2 p-2 pt-3">
|
<div class="flex flex-col gap-2 p-2 pt-3">
|
||||||
<Button href="/data/raceresults" onclick={close_drawer} color="surface" width="w-full">
|
<Button href="/data/raceresults" onclick={close_drawer} color="surface" width="w-full" shadow>
|
||||||
Race Results
|
Race Results
|
||||||
</Button>
|
</Button>
|
||||||
<Button href="/data/season/teams" onclick={close_drawer} color="surface" width="w-full">
|
<Button
|
||||||
|
href="/data/season/teams"
|
||||||
|
onclick={close_drawer}
|
||||||
|
color="surface"
|
||||||
|
width="w-full"
|
||||||
|
shadow
|
||||||
|
>
|
||||||
Season
|
Season
|
||||||
</Button>
|
</Button>
|
||||||
<Button href="/data/users" onclick={close_drawer} color="surface" width="w-full">
|
<Button href="/data/users" onclick={close_drawer} color="surface" width="w-full" shadow>
|
||||||
Users
|
Users
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
@ -181,7 +189,13 @@
|
|||||||
<PasswordIcon />
|
<PasswordIcon />
|
||||||
</Input>
|
</Input>
|
||||||
<div class="flex justify-end gap-2">
|
<div class="flex justify-end gap-2">
|
||||||
<Button formaction="/profile?/login" onclick={close_drawer} color="tertiary" submit>
|
<Button
|
||||||
|
formaction="/profile?/login"
|
||||||
|
onclick={close_drawer}
|
||||||
|
color="tertiary"
|
||||||
|
submit
|
||||||
|
shadow
|
||||||
|
>
|
||||||
Login
|
Login
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
@ -189,6 +203,7 @@
|
|||||||
onclick={close_drawer}
|
onclick={close_drawer}
|
||||||
color="tertiary"
|
color="tertiary"
|
||||||
submit
|
submit
|
||||||
|
shadow
|
||||||
>
|
>
|
||||||
Register
|
Register
|
||||||
</Button>
|
</Button>
|
||||||
@ -225,7 +240,9 @@
|
|||||||
name="avatar"
|
name="avatar"
|
||||||
onchange={get_avatar_preview_event_handler("user_avatar_preview")}
|
onchange={get_avatar_preview_event_handler("user_avatar_preview")}
|
||||||
>
|
>
|
||||||
<svelte:fragment slot="message"><span class="font-bold">Upload Avatar</span></svelte:fragment>
|
<svelte:fragment slot="message"
|
||||||
|
><span class="font-bold">Upload Avatar</span></svelte:fragment
|
||||||
|
>
|
||||||
</FileDropzone>
|
</FileDropzone>
|
||||||
<div class="flex justify-end gap-2">
|
<div class="flex justify-end gap-2">
|
||||||
<Button
|
<Button
|
||||||
@ -233,10 +250,17 @@
|
|||||||
onclick={close_drawer}
|
onclick={close_drawer}
|
||||||
color="secondary"
|
color="secondary"
|
||||||
submit
|
submit
|
||||||
|
shadow
|
||||||
>
|
>
|
||||||
Save Changes
|
Save Changes
|
||||||
</Button>
|
</Button>
|
||||||
<Button formaction="/profile?/logout" onclick={close_drawer} color="primary" submit>
|
<Button
|
||||||
|
formaction="/profile?/logout"
|
||||||
|
onclick={close_drawer}
|
||||||
|
color="primary"
|
||||||
|
submit
|
||||||
|
shadow
|
||||||
|
>
|
||||||
Logout
|
Logout
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -100,7 +100,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="pb-2">
|
<div class="pb-2">
|
||||||
<Button width="w-full" color="tertiary" onclick={create_driver_handler}>
|
<Button width="w-full" color="tertiary" onclick={create_driver_handler} shadow>
|
||||||
<span class="font-bold">Create New Driver</span>
|
<span class="font-bold">Create New Driver</span>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -72,7 +72,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="pb-2">
|
<div class="pb-2">
|
||||||
<Button width="w-full" color="tertiary" onclick={create_race_handler}>
|
<Button width="w-full" color="tertiary" onclick={create_race_handler} shadow>
|
||||||
<span class="font-bold">Create New Race</span>
|
<span class="font-bold">Create New Race</span>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -129,7 +129,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="pb-2">
|
<div class="pb-2">
|
||||||
<Button width="w-full" color="tertiary" onclick={create_substitution_handler}>
|
<Button width="w-full" color="tertiary" onclick={create_substitution_handler} shadow>
|
||||||
<span class="font-bold">Create New Substitution</span>
|
<span class="font-bold">Create New Substitution</span>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -59,7 +59,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="pb-2">
|
<div class="pb-2">
|
||||||
<Button width="w-full" color="tertiary" onclick={create_team_handler}>
|
<Button width="w-full" color="tertiary" onclick={create_team_handler} shadow>
|
||||||
<span class="font-bold">Create New Team</span>
|
<span class="font-bold">Create New Team</span>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user