Skip to content

Commit

Permalink
feat(checkbox): update indeterminate checkbox ripple
Browse files Browse the repository at this point in the history
  • Loading branch information
didimmova committed May 27, 2024
1 parent c2c1e9d commit 06f9b0e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,3 @@ $theme: $material;
}
}
}

:host([indeterminate]) {
[part='base']:focus-visible,
[part='base focused'] {
[part~='control']::before {
opacity: .24;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,11 @@ label {
}
}

[part='base']:hover {
[part~='control']::before {
background: var-get($theme, 'fill-color');
opacity: .06;
}
}

[part='base']:hover,
[part='base']:focus-visible,
[part='base focused'] {
[part~='control']::before {
background: var-get($theme, 'fill-color');
opacity: .12;
}
}
}
Expand Down

0 comments on commit 06f9b0e

Please sign in to comment.