Skip to content

Commit

Permalink
Sidebar: Update appearance of active items (WordPress#67318)
Browse files Browse the repository at this point in the history
Unlinked contributors: danielvann777.

Co-authored-by: jameskoster <[email protected]>
Co-authored-by: jasmussen <[email protected]>
Co-authored-by: fcoveram <[email protected]>
Co-authored-by: richtabor <[email protected]>
Co-authored-by: ptesei <[email protected]>
Co-authored-by: joedolson <[email protected]>
  • Loading branch information
7 people authored and im3dabasia committed Dec 4, 2024
1 parent dd0de41 commit 301795e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
&:focus,
&[aria-current] {
color: $gray-200;
background: $gray-800;
}

&.is-selected {
background: var(--wp-admin-theme-color);
background: $gray-800;
font-weight: $font-weight-medium;
color: $white;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@
&:focus,
&[aria-current="true"] {
color: $gray-200;
background: $gray-800;

.edit-site-sidebar-navigation-item__drilldown-indicator {
fill: $gray-200;
}
}

&[aria-current="true"] {
background: var(--wp-admin-theme-color);
background: $gray-800;
color: $white;
}

Expand Down

0 comments on commit 301795e

Please sign in to comment.