Skip to content

Commit

Permalink
fix: multiple issues in link styles (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
huyenltnguyen authored Jul 5, 2024
1 parent 8d1ce80 commit a6f5fe4
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions common/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,23 @@ div.select-kit-header {
background-color: $primary;
border: 3px solid $primary;
}

// This pseudo element is a blue underline.
a.active::after {
display: none;
}

a .d-icon,
button .d-icon {
transition: none; // Disable the default delay in color change when the icon is hovered
}

a.active .d-icon,
a:hover .d-icon,
button.active .d-icon,
button:hover .d-icon {
color: inherit;
}
}
}

Expand Down Expand Up @@ -843,3 +860,9 @@ div.select-kit-header {
background-color: $fcc-d-hover;
}
}

// Categories sidebar
.sidebar-section-link-wrapper .sidebar-section-link:hover,
.sidebar-section-link-wrapper .sidebar-section-link.active {
color: $primary-low;
}

0 comments on commit a6f5fe4

Please sign in to comment.