mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
menu.less: Invert .badge-nav-item hover color
This commit is contained in:
parent
2f7b2f1fde
commit
77be67662b
@ -69,6 +69,8 @@
|
|||||||
color: @menu-color;
|
color: @menu-color;
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
|
color: @white;
|
||||||
|
|
||||||
> a > .badge {
|
> a > .badge {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@ -165,7 +167,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.active > a {
|
&.active > a {
|
||||||
color: @menu-color;
|
color: @body-bg-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -498,10 +500,6 @@ html.no-js #toggle-sidebar {
|
|||||||
&:not(.selected):not(.active):hover,
|
&:not(.selected):not(.active):hover,
|
||||||
&:not(.selected):not(.active):focus {
|
&:not(.selected):not(.active):focus {
|
||||||
background-color: darken(@menu-bg-color, 20);
|
background-color: darken(@menu-bg-color, 20);
|
||||||
|
|
||||||
> a {
|
|
||||||
color: @menu-2ndlvl-highlight-color;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -519,7 +517,7 @@ html.no-js #toggle-sidebar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.badge-nav-item a.badge {
|
&.badge-nav-item a.badge {
|
||||||
color: white;
|
color: @body-bg-color;
|
||||||
flex: 0 1 auto;
|
flex: 0 1 auto;
|
||||||
margin-right: 1em;
|
margin-right: 1em;
|
||||||
padding: .25em;
|
padding: .25em;
|
||||||
@ -535,10 +533,6 @@ html.no-js #toggle-sidebar {
|
|||||||
&.badge-nav-item:not(.selected) {
|
&.badge-nav-item:not(.selected) {
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: darken(@menu-bg-color, 20);
|
background-color: darken(@menu-bg-color, 20);
|
||||||
|
|
||||||
a {
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user