尝试增加Picker的禁用样式。

This commit is contained in:
徐涛 2025-01-15 13:40:26 +08:00
parent a56d473148
commit b32884a31c

View File

@ -384,6 +384,23 @@
background: transparent; background: transparent;
border-radius: var(--border-radius-xxs); border-radius: var(--border-radius-xxs);
} }
&[disabled] {
cursor: not-allowed;
&::-webkit-slider-thumb {
background: oklch(from var(--color-primary-disabled) l c h / 70%);
cursor: not-allowed;
}
&::-moz-range-thumb {
background: oklch(from var(--color-primary-disabled) l c h / 70%);
cursor: not-allowed;
}
&::-webkit-slider-runnable-track {
cursor: not-allowed;
}
&::-moz-range-track {
cursor: not-allowed;
}
}
} }
/* Badge */ /* Badge */