Makes the clickable side menu header look great in light theme again

This commit is contained in:
Hugo Häggmark 2019-01-25 06:44:32 +01:00
parent c7b556c0e4
commit 72a0ba29f5
2 changed files with 9 additions and 2 deletions

View File

@ -10,7 +10,7 @@ const SideMenuDropDown: FC<Props> = props => {
return (
<ul className="dropdown-menu dropdown-menu--sidemenu" role="menu">
<li className="side-menu-header">
<a href={link.url}>
<a className="side-menu-header-link" href={link.url}>
<span className="sidemenu-item-text">{link.text}</span>
</a>
</li>

View File

@ -149,12 +149,19 @@
color: #ebedf2;
}
.side-menu-header > a {
.side-menu-header-link {
// Removes left-brand-border-gradient from link
color: #ebedf2 !important;
border: none !important;
padding: 0 !important;
}
.dropdown-menu--sidemenu > li > .side-menu-header-link:hover {
// Makes sure it looks good on light theme
color: #fff !important;
background-color: $side-menu-item-hover-bg !important;
}
.sidemenu-subtitle {
padding: 0.5rem 1rem 0.5rem;
font-size: $font-size-sm;