fix: muted color on add dsp page

This commit is contained in:
2026-10-24 19:40:34 +02:00
parent 83c2b55194
commit 48547d1b4a
3 changed files with 17 additions and 4 deletions
@@ -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);
}
+12
View File
@@ -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;
}
+4 -1
View File
@@ -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