Skip to content

Commit

Permalink
Apply hover styles to filter chip while being configured (#59236)
Browse files Browse the repository at this point in the history
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: jasmussen <[email protected]>
  • Loading branch information
4 people authored and getdave committed Feb 27, 2024
1 parent eddf324 commit 3bf1514
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/dataviews/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,8 @@
}

&:hover,
&:focus-visible {
&:focus-visible,
&[aria-expanded="true"] {
background: $gray-200;
color: $gray-900;
}
Expand All @@ -657,8 +658,9 @@
color: var(--wp-admin-theme-color);
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);

&:hover {
background: rgba(var(--wp-admin-theme-color--rgb), 0.08);
&:hover,
&[aria-expanded="true"] {
background: rgba(var(--wp-admin-theme-color--rgb), 0.12);
}
}

Expand Down

0 comments on commit 3bf1514

Please sign in to comment.