尝试增加Picker的禁用样式。
This commit is contained in:
parent
a56d473148
commit
b32884a31c
@ -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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user