mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Bootstrap sets box-sizing to border-box to make lay-outing easier, but this damages the scaling of the munin graphs, which get a border to indicate their warning state. This patch makes all images have box-sizing: content-box, so that the graphs are actually the intended size, rather than the intended size minus the border, causing a blurry image.
122 lines
1.8 KiB
CSS
122 lines
1.8 KiB
CSS
@media (min-width: 992px) {
|
|
.modal-lg {
|
|
width: 940px !important;
|
|
}
|
|
}
|
|
|
|
body {
|
|
padding-top: 70px;
|
|
}
|
|
|
|
img.i {
|
|
display: block;
|
|
margin: 10px auto;
|
|
}
|
|
|
|
img.img-zoom {
|
|
cursor: pointer;
|
|
}
|
|
|
|
div.service-alert {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
img#zoom_image {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.link-domain {
|
|
font-size: 1.4em;
|
|
color: #660066;
|
|
}
|
|
|
|
.link-host {
|
|
font-size: 1.1em;
|
|
color: #800080;
|
|
}
|
|
|
|
ul.groupview, ul.groupview ul {
|
|
list-style-type: none;
|
|
}
|
|
|
|
.munin-icon {
|
|
background: url(../img/logo-munin.png) left top;
|
|
margin-top: -6px;
|
|
width: 35px;
|
|
height: 35px;
|
|
display: block;
|
|
float: left;
|
|
}
|
|
|
|
.dropdown-submenu {
|
|
position: relative;
|
|
}
|
|
|
|
.dropdown-submenu > .dropdown-menu {
|
|
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;
|
|
}
|
|
|
|
.dropdown-submenu:hover > .dropdown-menu {
|
|
display: block;
|
|
}
|
|
|
|
.dropdown-submenu > a:after {
|
|
display: block;
|
|
content: " ";
|
|
float: right;
|
|
width: 0;
|
|
height: 0;
|
|
border: 5px solid transparent;
|
|
border-right-width: 0;
|
|
border-left-color: #ccc;
|
|
margin-top: 5px;
|
|
margin-right: -10px;
|
|
}
|
|
|
|
.dropdown-submenu:hover > a:after {
|
|
border-left-color: #fff;
|
|
}
|
|
|
|
.dropdown-submenu.pull-left {
|
|
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;
|
|
}
|
|
|
|
img {
|
|
box-sizing: content-box;
|
|
border: 2px solid transparent;
|
|
}
|
|
|
|
img.warn {
|
|
border: 2px solid #8a6d3b;
|
|
}
|
|
|
|
img.crit {
|
|
border: 2px solid #a94442;
|
|
}
|
|
|
|
img.unkn {
|
|
border: 2px solid #ffaa00;
|
|
}
|
|
|
|
.text-critical {
|
|
color: #a94442;
|
|
}
|
|
|
|
.text-critical:hover {
|
|
color: #843534;
|
|
}
|