fix disabled classes
This commit is contained in:
parent
55b5d2c5d7
commit
672bedaf6d
3 changed files with 4 additions and 1 deletions
|
|
@ -553,6 +553,7 @@ textarea {
|
||||||
&[disabled="disabled"],
|
&[disabled="disabled"],
|
||||||
&.disabled {
|
&.disabled {
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
|
color: var(--textFaint);
|
||||||
}
|
}
|
||||||
|
|
||||||
&[type="range"] {
|
&[type="range"] {
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
<label
|
<label
|
||||||
v-if="matchesExpertLevel"
|
v-if="matchesExpertLevel"
|
||||||
class="ChoiceSetting"
|
class="ChoiceSetting"
|
||||||
|
:class="{ 'faint': shouldBeDisabled }"
|
||||||
>
|
>
|
||||||
<template v-if="backendDescriptionLabel">
|
<template v-if="backendDescriptionLabel">
|
||||||
{{ backendDescriptionLabel }}
|
{{ backendDescriptionLabel }}
|
||||||
|
|
@ -12,7 +13,7 @@
|
||||||
{{ ' ' }}
|
{{ ' ' }}
|
||||||
<Select
|
<Select
|
||||||
:model-value="realDraftMode ? draft : state"
|
:model-value="realDraftMode ? draft : state"
|
||||||
:disabled="disabled"
|
:disabled="shouldBeDisabled"
|
||||||
@update:model-value="update"
|
@update:model-value="update"
|
||||||
>
|
>
|
||||||
<option
|
<option
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
<input
|
<input
|
||||||
:id="path"
|
:id="path"
|
||||||
class="input string-input"
|
class="input string-input"
|
||||||
|
:class="{ disabled: shouldBeDisabled }"
|
||||||
:disabled="shouldBeDisabled"
|
:disabled="shouldBeDisabled"
|
||||||
:value="realDraftMode ? draft : state"
|
:value="realDraftMode ? draft : state"
|
||||||
@change="update"
|
@change="update"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue