fix: muted color on add dsp page
This commit is contained in:
@@ -68,7 +68,6 @@
|
||||
}
|
||||
|
||||
.choice-stepper__arrow-btn:disabled {
|
||||
opacity: 0.4;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
@@ -79,7 +78,6 @@
|
||||
|
||||
.choice-stepper[data-disabled] {
|
||||
opacity: 0.45;
|
||||
filter: grayscale(1);
|
||||
}
|
||||
|
||||
.choice-stepper__input:disabled {
|
||||
@@ -88,5 +86,5 @@
|
||||
|
||||
.choice-stepper[data-disabled] .choice-stepper__input,
|
||||
.choice-stepper[data-disabled] .choice-stepper__arrow-btn {
|
||||
color: var(--border-hairline);
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
@@ -178,3 +178,15 @@
|
||||
user-select: text;
|
||||
-webkit-user-select: text;
|
||||
}
|
||||
|
||||
.add-dsp-form__field[data-disabled] {
|
||||
opacity: 0.45;
|
||||
}
|
||||
|
||||
.add-dsp-form__field[data-disabled] .choice-stepper__input {
|
||||
color: var(--border-hairline);
|
||||
}
|
||||
|
||||
.choice-stepper__input:disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
@@ -130,7 +130,10 @@ function AddDSPForm({
|
||||
</div>
|
||||
|
||||
<div className="add-dsp-form__row">
|
||||
<div className="add-dsp-form__field">
|
||||
<div
|
||||
className="add-dsp-form__field"
|
||||
data-disabled={form.demo ? '' : undefined}
|
||||
>
|
||||
<label htmlFor="f-ip">IP address</label>
|
||||
|
||||
<input
|
||||
|
||||
Reference in New Issue
Block a user