1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Reworked submenus

This commit is contained in:
Cristian Deluxe 2016-12-07 05:46:06 +01:00
parent 0949aa3c11
commit fe5af0fb1a

View file

@ -24,7 +24,7 @@ img#zoom_image{
} }
.link-domain { .link-domain {
font-size: 1.4em; font-size: 1.4em;
color: #660066; color: #660066;
} }
.link-host { .link-host {
@ -35,34 +35,58 @@ ul.groupview, ul.groupview ul {
list-style-type: none; list-style-type: none;
} }
.munin-icon { .munin-icon {
background: url(../img/logo-munin.png) left top; background: url(../img/logo-munin.png) left top;
margin-top: -6px; margin-top: -6px;
width: 35px; width: 35px;
height: 35px; height: 35px;
display: block; display: block;
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;
}