Skip to content

Commit

Permalink
fade out the non-highlighted tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Nov 5, 2024
1 parent 0770bf6 commit 18962a0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/welcome/admin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,11 @@ body.toplevel_page_stk-custom-fields {
font-weight: bold;
}
}
// Fade out the non-highlighted items.
.s-sidenav-item:has(~ .s-sidenav-item-highlight):not(.s-active):not(.s-sidenav-item-highlight),
.s-sidenav-item-highlight ~ .s-sidenav-item:not(.s-sidenav-item-highlight):not(.s-active) {
opacity: 0.3;
}
.s-save-changes-wrapper {
bottom: 0;
padding: 20px;
Expand Down

0 comments on commit 18962a0

Please sign in to comment.