Skip to content

Commit bfe4595

Browse files
committed
build(checkboxes): add indeterminate style
1 parent bcb68aa commit bfe4595

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

components/checkbox/_checkboxes.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ input[type="checkbox"]:checked:after {
5858
clip-path: polygon(0 48%, 0 0, 56% 0, 74% 17%, 40% 64%, 23% 50%, 14% 61%, 42% 82%, 81% 31%, 32% 0, 100% 0, 100% 100%, 0 100%, 0 49%);
5959
}
6060

61+
[type="checkbox"]:indeterminate:after {
62+
background-color: var(--md-sys-color-primary);
63+
clip-path: polygon(0% 0%, 0% 100%, 18% 100%, 16% 43%, 83% 42%, 83% 63%, 16% 63%, 16% 100%, 100% 100%, 100% 0%);
64+
}
65+
6166
// Disabled
6267
input[type="checkbox"]:disabled:before {
6368
filter: opacity(0.2);

0 commit comments

Comments
 (0)