diff --git a/src/lib/components/Field.svelte b/src/lib/components/Field.svelte index 506ea34..334bab2 100644 --- a/src/lib/components/Field.svelte +++ b/src/lib/components/Field.svelte @@ -1,22 +1,25 @@ -
- {#if label} - - {/if} +
- + + {#if label} + + {/if}
diff --git a/src/lib/components/ShipEdit/Identification.svelte b/src/lib/components/ShipEdit/Identification.svelte index e15da04..6381b18 100644 --- a/src/lib/components/ShipEdit/Identification.svelte +++ b/src/lib/components/ShipEdit/Identification.svelte @@ -1,12 +1,14 @@
- + + + arrow_drop_down
diff --git a/src/lib/components/ShipEdit/Identification/ShipCost.svelte b/src/lib/components/ShipEdit/Identification/ShipCost.svelte index a07151c..05e326e 100644 --- a/src/lib/components/ShipEdit/Identification/ShipCost.svelte +++ b/src/lib/components/ShipEdit/Identification/ShipCost.svelte @@ -1,7 +1,6 @@
- - mass +
{#if withinBudget} @@ -54,10 +53,6 @@ grid-column: span 3; justify-content: space-around; } - input { - width: 5em; - display: inline !important; - } .mass_symbol { width: 0.75em; display: inline-block; diff --git a/src/lib/components/ShipEdit/Propulsion/Engine.svelte b/src/lib/components/ShipEdit/Propulsion/Engine.svelte index 27f2988..84d892b 100644 --- a/src/lib/components/ShipEdit/Propulsion/Engine.svelte +++ b/src/lib/components/ShipEdit/Propulsion/Engine.svelte @@ -2,7 +2,7 @@
diff --git a/src/lib/style/index.css b/src/lib/style/index.css index b6ead55..307d35a 100644 --- a/src/lib/style/index.css +++ b/src/lib/style/index.css @@ -62,52 +62,6 @@ input.short { color: rgb(0, 80, 160); } - label { - display: block; - } - - input, - button, - select, - textarea { - font-family: inherit; - font-size: inherit; - padding: 0.4em; - margin: 0 0 0.5em 0; - box-sizing: border-box; - border: 1px solid #ccc; - border-radius: 2px; - } - - input:disabled { - color: #ccc; - } - - input[type="range"] { - height: 0; - } - - /* input, */ - /* select { */ - /* border: 0px; */ - /* border-bottom: 1px solid var(--indigo-dye); */ - /* } */ - - input:focus, - select:focus { - border: 1px solid var(--indigo-dye); - } - - input:not([type="checkbox"]):not([type="radio"]) { - 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; - } h1 { font-size: var(--font-scale-15); } h2 { font-size: var(--font-scale-14); }