mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Reworked submenus
This commit is contained in:
parent
0949aa3c11
commit
fe5af0fb1a
1 changed files with 39 additions and 15 deletions
|
@ -43,26 +43,50 @@ ul.groupview, ul.groupview ul {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
.dropdown-submenu {
|
||||||
border: 2px solid transparent;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
img.warn {
|
.dropdown-submenu>.dropdown-menu {
|
||||||
border: 2px solid #8a6d3b;
|
top: 0;
|
||||||
|
left: 100%;
|
||||||
|
margin-top: -6px;
|
||||||
|
margin-left: -1px;
|
||||||
|
-webkit-border-radius: 0 6px 6px 6px;
|
||||||
|
-moz-border-radius: 0 6px 6px;
|
||||||
|
border-radius: 0 6px 6px 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
img.crit {
|
.dropdown-submenu:hover>.dropdown-menu {
|
||||||
border: 2px solid #a94442;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
img.unkn {
|
.dropdown-submenu>a:after {
|
||||||
border: 2px solid #ffaa00;
|
display: block;
|
||||||
|
content: " ";
|
||||||
|
float: right;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
border-color: transparent;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 5px 0 5px 5px;
|
||||||
|
border-left-color: #ccc;
|
||||||
|
margin-top: 5px;
|
||||||
|
margin-right: -10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-critical {
|
.dropdown-submenu:hover>a:after {
|
||||||
color: #a94442
|
border-left-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-critical:hover {
|
.dropdown-submenu.pull-left {
|
||||||
color: #843534
|
float: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown-submenu.pull-left>.dropdown-menu {
|
||||||
|
left: -100%;
|
||||||
|
margin-left: 10px;
|
||||||
|
-webkit-border-radius: 6px 0 6px 6px;
|
||||||
|
-moz-border-radius: 6px 0 6px 6px;
|
||||||
|
border-radius: 6px 0 6px 6px;
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue