sql generator

This commit is contained in:
Jan Prochazka
2021-04-01 08:09:22 +02:00
parent a1993214e2
commit d62177d996
10 changed files with 175 additions and 44 deletions

View File

@@ -9,7 +9,7 @@
<div class="row">
{#if type == 'checkbox'}
<slot />
<span {...labelProps} on:click={labelProps.onClick} class:disabled>{label}</span>
<span {...labelProps} on:click={labelProps.onClick} class:disabled class="checkLabel">{label}</span>
{:else}
<div class="label" {...labelProps} on:click={labelProps.onClick}>
<div class="label">
@@ -30,6 +30,10 @@
margin-bottom: 3px;
color: var(--theme-font-3);
}
.checkLabel {
cursor: default;
user-select: none;
}
.disabled {
color: var(--theme-font-3);
}