fix(checkbox): cursor should be pointer when not disabled

fixes #5079

PiperOrigin-RevId: 574295359
This commit is contained in:
Elliott Marquez 2023-10-17 16:17:53 -07:00 committed by Copybara-Service
parent 863109e204
commit 18fe45170a

View File

@ -104,6 +104,7 @@ $_checkmark-bottom-left: 7px, -14px;
position: absolute;
width: 48px;
z-index: 1;
cursor: pointer;
}
:host([touch-target='none']) input {
@ -373,6 +374,10 @@ $_checkmark-bottom-left: 7px, -14px;
opacity: var(--_disabled-container-opacity);
}
.disabled input {
cursor: default;
}
:where(.selected.disabled) .outline {
// Hide the outline behind the transparent selected container color.
// This can be removed once disabled colors are flattened.