Created
July 21, 2012 11:57
-
-
Save eidantoei/3155619 to your computer and use it in GitHub Desktop.
userstyles for nagios status.cgi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ---- Hide Objects ---- */ | |
body>table:nth-child(1), | |
body.status>table>tbody td[width="30%"], | |
div.statusTitle, | |
div.statusSort, | |
td.filter, | |
div.itemTotalsTitle { | |
display:none; | |
} | |
/* ---- Apperance ---- */ | |
table.status th, | |
table.status td { | |
font-family:'AXIS Condensed Joyo' !important; | |
font-size:18px; | |
} | |
.statusEven, .statusOdd { font-weight:bold; } | |
.statusEven { background-color:#ddd; } | |
.statusOdd { background-color:#eee; } | |
a { | |
text-decoration:none !important; | |
color:#000 !important; | |
} | |
a:hover { | |
color:#06f !important; | |
} | |
object{ | |
height:1px; | |
} | |
.infoBox, | |
.linkBox{ | |
background-color:transparent; | |
font-family:"Helvetica" !important; | |
} | |
th.status { | |
background-color:transparent; | |
border-bottom:1px solid #eee; | |
color:#666; | |
font-weight:normal; | |
} | |
table,tbody,tr,td { | |
border:none; | |
margin:0; | |
padding:1px 0px 0px 0px; | |
line-height:1.8em; | |
} | |
table { | |
border-collapse: collapse; | |
} | |
table.status td:nth-child(1){ | |
font-family:'AXIS Std Joyo' !important; | |
} | |
table.status>tbody>tr>td:nth-child(2), | |
table.status>tbody>tr>td:nth-child(2) *{ | |
background-color:#3f6; | |
} | |
table.status>tbody>tr>td:nth-child(2).statusBGWARNING, | |
table.status>tbody>tr>td:nth-child(2).statusBGWARNING *{ | |
background-color:#fe4; | |
} | |
table.status td:nth-child(2).statusBGCRITICAL, | |
table.status td:nth-child(2).statusBGCRITICAL *{ | |
background-color:#f66; | |
} | |
table.status>tbody>tr>td:nth-child(2).statusBGUNKNOWN, | |
table.status>tbody>tr>td:nth-child(2).statusBGUNKNOWN *{ | |
background-color:#fa6; | |
} | |
table.status>tbody>tr>th:nth-child(3), | |
table.status>tbody>tr>td:nth-child(3){ | |
display:none; | |
} | |
table.status>tbody>tr>td:nth-child(1), | |
table.status>tbody>tr>td:nth-child(2), | |
table.status>tbody>tr>td:nth-child(7){ | |
white-space:nowrap; | |
} | |
table.status>tbody>tr>td:nth-child(4){ | |
padding-right:1em; | |
} | |
table.status>tbody>tr>td:nth-child(6){ | |
text-align:center; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment