Skip to content

Commit

Permalink
fix: Consistent hover styles for tabs & improved dark mode side menu …
Browse files Browse the repository at this point in the history
…UX (#5133)

Co-authored-by: dcode2100 <dikshantsolanki@214@gmail.com>
  • Loading branch information
Dcode2100 and dcode2100 authored Feb 19, 2025
1 parent a81d22e commit 145bf1f
Showing 1 changed file with 34 additions and 8 deletions.
42 changes: 34 additions & 8 deletions frontend/web/styles/project/_project-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,16 @@ nav a {
border-radius: $border-radius;

&:hover {
color: $body-color;
background-color: $primary-alfa-8;
}
}
&:hover{
svg {
path {
fill: $link-hover-color;
}
}
}
svg {
width: 14px;
height: 14px;
Expand Down Expand Up @@ -122,15 +128,22 @@ nav a {
font-size: $font-size-base;
}
}
.collapsible-title {
line-height: 32px;
cursor: pointer;
border-radius: $border-radius;
&:hover {
color: $primary;
background-color: $primary-alfa-8;
.aside-nav a:hover {
svg {
path {
fill: $primary;
}
}
}
.collapsible-title {
line-height: 32px;
cursor: pointer;
border-radius: $border-radius;
&:hover {
color: $primary;
background-color: $primary-alfa-8;
}
}
.collapsible.active {
.collapsible-title {
pointer-events: none;
Expand All @@ -157,4 +170,17 @@ nav a {
opacity: 0.3;
}
}
.aside-nav a {
&.active {
background-color: $primary-alfa-16;
}
}
.aside-nav a:hover {
background-color: $primary-alfa-8;
svg {
path {
fill: $body-color-dark;
}
}
}
}

0 comments on commit 145bf1f

Please sign in to comment.