-
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.
Merge pull request #135 from Kerosene-Labs/BIL-4-create-fixed
Bil 4 create fixed
- Loading branch information
Showing
15 changed files
with
196 additions
and
76 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
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 |
---|---|---|
|
@@ -12,4 +12,4 @@ h2 { | |
|
||
p.subtitle { | ||
@apply font-semibold text-neutral-400; | ||
} | ||
} |
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,40 @@ | ||
<script lang="ts"> | ||
export let id: string; | ||
export let label: string; | ||
export let value: string | Date | number | undefined = undefined; | ||
export let required: boolean = false; | ||
export let min: number | null = null; | ||
export let max: number | null = null; | ||
</script> | ||
|
||
<div class="flex flex-col"> | ||
<label class="text-sm font-semibold uppercase text-neutral-600" for={id} | ||
>{label}</label | ||
> | ||
<input bind:value {id} type="number" /> | ||
</div> | ||
|
||
<style lang="postcss"> | ||
input { | ||
@apply w-full; | ||
@apply rounded-lg px-5 py-2; | ||
@apply text-neutral-300; | ||
@apply bg-neutral-800; | ||
@apply hover:bg-neutral-700/70; | ||
@apply focus:bg-neutral-700/95; | ||
@apply focus:ring-2 focus:ring-neutral-400; | ||
@apply transition-all; | ||
@apply outline-none; | ||
@apply font-semibold; | ||
} | ||
input[type="number"]::-webkit-inner-spin-button, | ||
input[type="number"]::-webkit-outer-spin-button { | ||
-webkit-appearance: none; | ||
margin: 0; | ||
} | ||
input[type="number"] { | ||
-moz-appearance: textfield; /* For Firefox */ | ||
} | ||
</style> |
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
Oops, something went wrong.