diff --git a/src/component.css b/src/component.css index 8c17371..8ceba63 100644 --- a/src/component.css +++ b/src/component.css @@ -384,6 +384,23 @@ background: transparent; 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 */