mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Makes the clickable side menu header look great in light theme again
This commit is contained in:
parent
c7b556c0e4
commit
72a0ba29f5
@ -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>
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user