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 <jameskoster@git.wordpress.org>
Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org>
Co-authored-by: jasmussen <joen@git.wordpress.org>
  • Loading branch information
4 people committed Feb 22, 2024
1 parent dc364b4 commit b917a6b
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 b917a6b

Please sign in to comment.