1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
|
th.vertical {
height: 120px;
width: 15px;
vertical-align: bottom;
text-align: center;
overflow: visible!important;
white-space: nowrap;
border-top: 0;
padding-left: 2px;
padding-right: 2px;
}
/**
* Works everywere ( IE7+, FF, Chrome, Safari, Opera )
* Example: http://jsbin.com/afAQAWA/2/
*/
.rotated-text {
display: inline-block;
overflow: hidden;
font-weight: normal;
padding-left: 2px;
padding-right: 2px;
width: 18px;
margin: 0;
margin-bottom: 4px;
}
.rotated-text__inner {
display: inline-block;
white-space: nowrap;
/* this is for shity "non IE" browsers
that doesn't support writing-mode */
-webkit-transform: translate(1.1em,0) rotate(90deg);
-moz-transform: translate(1.1em,0) rotate(90deg);
-o-transform: translate(1.1em,0) rotate(90deg);
transform: translate(1.1em,0) rotate(90deg);
-webkit-transform-origin: 0 0;
-moz-transform-origin: 0 0;
-o-transform-origin: 0 0;
transform-origin: 0 0;
/* IE9+ */
-ms-transform: none;
-ms-transform-origin: none;
/* IE8+ */
-ms-writing-mode: tb-rl;
/* IE7 and below */
*writing-mode: tb-rl;
}
.rotated-text__inner:before {
content: "";
float: left;
margin-top: 100%;
}
/* Host state pill */
.host {
float: left;
width: 15px;
height: 15px;
margin-right: 5px;
border-radius: 50%;
}
.hostUP {
background-color: #468847;
}
.hostUNREACHABLE {
background-color: #c09853;
}
.hostDOWN {
background-color: #b94a48;
}
.hostUNKNOWN, .hostPENDING {
background-color: #3a87ad;
}
.hostACKNOWLEDGE {
background-color: rgb(18,158,255);
}
.hostSOFT{
background-image:radial-gradient(rgba(255,255,255,.7), rgba(255,255,255,0) 100%);
}
/* Service state pill */
.service {
width: 15px;
height: 15px;
margin: auto;
border-radius: 50%;
}
.serviceOK {
background-color: #468847;
}
.serviceWARNING {
background-color: #c09853;
}
.serviceCRITICAL {
background-color: #b94a48;
}
.serviceUNKNOWN, .servicePENDING {
background-color: #3a87ad;
}
.serviceACKNOWLEDGE {
background-color: rgb(18,158,255);
}
.serviceSOFT{
background-image:radial-gradient(rgba(255,255,255,.7), rgba(255,255,255,0) 100%);
}
|