Skip to content

Commit

Permalink
Fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
markdumay committed Jan 10, 2025
1 parent 41215fc commit 9f85b5b
Showing 1 changed file with 10 additions and 17 deletions.
27 changes: 10 additions & 17 deletions assets/scss/components/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,17 @@
@include color-mode(dark) {
.sidebar-item {
color: var(--bs-body-color);

&.active,

&.active {
color: $primary-text-emphasis-dark !important;
}

&:hover,
&:focus {
color: white !important;
color: $primary-text-emphasis-dark !important;
background-color: transparent;
}
box-shadow: inset 0 0 0 1px $primary-bg-subtle-dark;
}
}

.sidebar-item-group {
Expand All @@ -95,7 +99,7 @@
&:focus {
color: white !important;
background-color: transparent;
box-shadow: inset 0px 0px 0px 1px $primary-bg-subtle-dark;
box-shadow: inset 0 0 0 1px $primary-bg-subtle-dark;
}
}

Expand All @@ -115,18 +119,7 @@
.btn-toggle-group[aria-expanded="true"] {
color: var(--bs-secondary-color);
}

.sidebar-item {
&.active {
color: $primary-text-emphasis-dark !important;
}

&:hover,
&:focus {
box-shadow: inset 0px 0px 0px 1px $primary-bg-subtle-dark;
}
}
}
}
}

// scss-docs-end sidebar
Expand Down

0 comments on commit 9f85b5b

Please sign in to comment.