From 42b81e2128fef184cb030ab69735102c72d3d511 Mon Sep 17 00:00:00 2001 From: Yanick Champoux Date: Tue, 21 Mar 2023 14:29:44 -0400 Subject: [PATCH] Identification --- src/lib/components/GlobalStyle.svelte | 11 ++++ .../ShipEdit/Identification.story.svelte | 17 ++++++ .../components/ShipEdit/Identification.svelte | 54 +++++++++++++++++++ .../Identification.stories.svelte.todo | 22 -------- .../{ => Identification}/ShipCost.svelte | 8 +-- .../ShipEdit/Identification/index.svelte | 40 -------------- 6 files changed, 86 insertions(+), 66 deletions(-) create mode 100644 src/lib/components/ShipEdit/Identification.story.svelte create mode 100644 src/lib/components/ShipEdit/Identification.svelte delete mode 100644 src/lib/components/ShipEdit/Identification/Identification.stories.svelte.todo rename src/lib/components/ShipEdit/{ => Identification}/ShipCost.svelte (89%) delete mode 100644 src/lib/components/ShipEdit/Identification/index.svelte diff --git a/src/lib/components/GlobalStyle.svelte b/src/lib/components/GlobalStyle.svelte index 4959dac..58095da 100644 --- a/src/lib/components/GlobalStyle.svelte +++ b/src/lib/components/GlobalStyle.svelte @@ -115,4 +115,15 @@ select:focus { border: 1px solid var(--indigo-dye); } + + input:not([type="checkbox"]) { + border: 0px; + border-bottom: 1px solid var(--indigo-dye); + border-radius: 0px; + height: calc( + 1rem * var(--line-height) + var(--form-element-spacing-vertical) * 1 + ); + padding: 0 0.5rem; + text-align: center; + } diff --git a/src/lib/components/ShipEdit/Identification.story.svelte b/src/lib/components/ShipEdit/Identification.story.svelte new file mode 100644 index 0000000..d0bbadc --- /dev/null +++ b/src/lib/components/ShipEdit/Identification.story.svelte @@ -0,0 +1,17 @@ + + + + + diff --git a/src/lib/components/ShipEdit/Identification.svelte b/src/lib/components/ShipEdit/Identification.svelte new file mode 100644 index 0000000..9ed04ef --- /dev/null +++ b/src/lib/components/ShipEdit/Identification.svelte @@ -0,0 +1,54 @@ +
+
+ + + + +
+ +
+ + + + diff --git a/src/lib/components/ShipEdit/Identification/Identification.stories.svelte.todo b/src/lib/components/ShipEdit/Identification/Identification.stories.svelte.todo deleted file mode 100644 index a3d01ab..0000000 --- a/src/lib/components/ShipEdit/Identification/Identification.stories.svelte.todo +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - diff --git a/src/lib/components/ShipEdit/ShipCost.svelte b/src/lib/components/ShipEdit/Identification/ShipCost.svelte similarity index 89% rename from src/lib/components/ShipEdit/ShipCost.svelte rename to src/lib/components/ShipEdit/Identification/ShipCost.svelte index c06dcd1..0fd0a15 100644 --- a/src/lib/components/ShipEdit/ShipCost.svelte +++ b/src/lib/components/ShipEdit/Identification/ShipCost.svelte @@ -22,18 +22,18 @@ - -