diff --git a/src/components/Ausweis/Verbrauch.svelte b/src/components/Ausweis/Verbrauch.svelte index ad3325d2..2fe22a90 100644 --- a/src/components/Ausweis/Verbrauch.svelte +++ b/src/components/Ausweis/Verbrauch.svelte @@ -105,7 +105,7 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8 name="primaere_heizquelle" checked={true} /> - + @@ -135,7 +135,7 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8 /> zusätzl. Heizquelle @@ -276,7 +276,7 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8 disabled={!aufnahme.brennstoff_1} required > - + {#each fuelMap.hasOwnProperty(aufnahme.brennstoff_1) ? fuelMap[aufnahme.brennstoff_1] : [] as unit} {/each} @@ -307,7 +307,10 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8 />
- {#if ausweis.einheit_1}{ausweis.einheit_1}{/if} + {#if ausweis.einheit_1 === "Bitte auswählen"} + {:else if ausweis.einheit_1 != "Bitte auswählen"} + {ausweis.einheit_1} + {/if}
@@ -335,7 +338,10 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8 required />
- {#if ausweis.einheit_1}{ausweis.einheit_1}{/if} + {#if ausweis.einheit_1 === "Bitte auswählen"} + {:else if ausweis.einheit_1 != "Bitte auswählen"} + {ausweis.einheit_1} + {/if}
@@ -363,7 +369,10 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8 required />
- {#if ausweis.einheit_1}{ausweis.einheit_1}{/if} + {#if ausweis.einheit_1 === "Bitte auswählen"} + {:else if ausweis.einheit_1 != "Bitte auswählen"} + {ausweis.einheit_1} + {/if}
@@ -380,12 +389,12 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8 {#if ausweis.zusaetzliche_heizquelle}
-
+
@@ -400,7 +409,7 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8 bind:checked={ausweis.zusaetzliche_heizquelle} /> zusätzl. Heizquelle
@@ -416,11 +425,11 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8
-
+ -
+
@@ -496,7 +505,7 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8 -
+
-
+
-
+
.tooltip { - @apply absolute -right-4 w-[240px] break-words ring-2 ring-secondary/5 invisible bg-white rounded-lg p-2 shadow-lg top-0 translate-y-[calc(-100%-8px)] transition-all duration-300 opacity-0; + @apply absolute z-[10] -right-4 w-[240px] break-words ring-2 ring-secondary/5 invisible bg-white rounded-lg p-2 shadow-lg top-0 translate-y-[calc(-100%-8px)] transition-all duration-300 opacity-0; } .tooltip-opener:hover .tooltip { diff --git a/src/style/global.css b/src/style/global.css index 43abda49..4a011c73 100644 --- a/src/style/global.css +++ b/src/style/global.css @@ -63,7 +63,10 @@ input[type="password"], input[type="file"], textarea, select{ -@apply p-1 min-h-[38px] ring-1 ring-black/15 rounded-sm} +@apply p-1 min-h-[38px] ring-1 ring-black/15 rounded-sm;} + +select option{font-family: "Heron", sans-serif !important;} +select, select option:disabled{@apply bg-white} input[type="file"]{@apply pt-[4px]}