inputfield: readonly is more prominent
This commit is contained in:
@@ -132,8 +132,11 @@
|
|||||||
{/if}
|
{/if}
|
||||||
{#if readonly}
|
{#if readonly}
|
||||||
<input {name} type="hidden" bind:value />
|
<input {name} type="hidden" bind:value />
|
||||||
{/if}
|
|
||||||
{#if type === 'select'}
|
<span class="label"
|
||||||
|
>{type == 'select' && typeof value === 'number' ? options[value].label : value}</span
|
||||||
|
>
|
||||||
|
{:else if type === 'select'}
|
||||||
<select
|
<select
|
||||||
{name}
|
{name}
|
||||||
bind:value
|
bind:value
|
||||||
@@ -176,7 +179,7 @@
|
|||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
--form-control-color: var(--green); /* Changed from #6bff55 */
|
--form-control-color: var(--green); /* Changed from #6bff55 */
|
||||||
--form-control-disabled: var(--overlay0); /* Changed from #959495 */
|
--form-control-disabled: var(--subtext1); /* Changed from #959495 */
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-control {
|
.form-control {
|
||||||
|
|||||||
Reference in New Issue
Block a user