Skip to content

Commit

Permalink
Enhance sidebar item styles with box-shadow for active and selected s…
Browse files Browse the repository at this point in the history
…tates
  • Loading branch information
hichemfantar committed Jan 19, 2025
1 parent d87883a commit a7ae811
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/css/sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,11 @@
.sidebar .full-list a {
padding: 10px 12px 10px 12px;
color: var(--sidebarItem);
border-radius: calc(var(--borderRadius));
}

.sidebar .full-list a[aria-selected] {
color: var(--sidebarActiveItem);
box-shadow: inset 2px 0px 0 var(--sidebarActiveItem);
}

.sidebar .full-list a:hover {
Expand Down Expand Up @@ -336,7 +336,7 @@

.sidebar .full-list ul ul a[aria-selected] {
color: var(--sidebarActiveItem);
border-color: var(--sidebarLanguageAccentBar);
box-shadow: inset 2px 0px 0 var(--sidebarActiveItem);
}

.sidebar-button {
Expand Down

0 comments on commit a7ae811

Please sign in to comment.