mirror of https://github.com/cppla/ServerStatus
71 lines
5.5 KiB
CSS
71 lines
5.5 KiB
CSS
body { background: #212e36 url('../img/dark.png'); color: #dcdcdc; }
|
|
.navbar { min-height: 40px; }
|
|
.navbar-brand { color: #FFF !important; padding: 10px; font-size: 20px; }
|
|
.dropdown .dropdown-toggle { padding-bottom: 10px; padding-top: 10px; }
|
|
.dropdown-menu > li > a { color: #FFF !important; background-color: #222222 !important; }
|
|
.dropdown-menu > li > a:hover { color: #FFF !important; background: #000 !important; }
|
|
.dropdown-menu { background: #222 !important; background-color: #222222 !important; }
|
|
.navbar-inverse .navbar-inner { background-color:#1B1B1B; background-image:-moz-linear-gradient(top, #222222, #111111); background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#222222), to(#111111)); background-image:-webkit-linear-gradient(top, #222222, #111111); background-image:-o-linear-gradient(top, #222222, #111111); background-image:linear-gradient(to bottom, #212e36, #212e36); background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff111111', GradientType=0); border-color: #252525; }
|
|
.content { background: #212e36; padding: 20px; border-radius: 5px; border: 1px #212e36 solid; -webkit-box-shadow: 0 0px 0px rgba(0, 0, 0, 0); -moz-box-shadow: 0 0px 0px rgba(0, 0, 0, 0); box-shadow: 0 0px 0px rgba(0, 0, 0, 0); margin-bottom: 20px; }
|
|
.table { background: #363b40; margin-bottom: 0; border-collapse: collapse; border-radius: 3px; }
|
|
.table th { text-align: center; }
|
|
.table-striped tbody > tr.even > td, .table-striped tbody > tr.even > th { background-color: #212e36; }
|
|
.table-striped tbody > tr.odd > td, .table-striped tbody > tr.odd > th { background-color: #212e36; }
|
|
.table td { text-align: center; border-color: #2F2F2F; }
|
|
.progress { margin-bottom: 0; background: #363b40; }
|
|
.table-hover > tbody > tr:hover > td { background: #414141; }
|
|
tr.even.expandRow > :hover { background: #212e36 !important; }
|
|
tr.odd.expandRow > :hover { background: #212e36 !important; }
|
|
.expandRow > td { padding: 0 !important; border-top: 0px !important; }
|
|
#month_traffic { min-width: 85px; max-width: 95px;}
|
|
#network { min-width: 110px; }
|
|
#cpu, #ram, #hdd { min-width: 45px; max-width: 90px; }
|
|
#ping { max-width: 110px; }
|
|
|
|
@media only screen and (max-width: 1200px) {
|
|
#type, tr td:nth-child(4) { display:none; visibility:hidden; }
|
|
#location, tr td:nth-child(5) { display:none; visibility:hidden; }
|
|
#uptime, tr td:nth-child(6) { display:none; visibility:hidden; }
|
|
#ping, tr td:nth-child(13) { display:none; visibility:hidden; }
|
|
}
|
|
@media only screen and (max-width: 720px) {
|
|
body { font-size: 10px; }
|
|
.content { padding: 0; }
|
|
#type, tr td:nth-child(4) { display:none; visibility:hidden; }
|
|
#location, tr td:nth-child(5) { display:none; visibility:hidden; }
|
|
#uptime, tr td:nth-child(6) { display:none; visibility:hidden; }
|
|
#ping, tr td:nth-child(13) { display:none; visibility:hidden; }
|
|
}
|
|
@media only screen and (max-width: 620px) {
|
|
body { font-size: 10px; }
|
|
.content { padding: 0; }
|
|
#month_traffic, tr td:nth-child(2) { display:none; visibility:hidden; }
|
|
#type, tr td:nth-child(4) { display:none; visibility:hidden; }
|
|
#location, tr td:nth-child(5) { display:none; visibility:hidden; }
|
|
#uptime, tr td:nth-child(6) { display:none; visibility:hidden; }
|
|
#traffic, tr td:nth-child(9) { display:none; visibility:hidden; }
|
|
#ping, tr td:nth-child(13) { display:none; visibility:hidden; }
|
|
}
|
|
@media only screen and (max-width: 533px) {
|
|
body { font-size: 10px; }
|
|
.content { padding: 0; }
|
|
#month_traffic, tr td:nth-child(2) { display:none; visibility:hidden; }
|
|
#type, tr td:nth-child(4) { display:none; visibility:hidden; }
|
|
#location, tr td:nth-child(5) { display:none; visibility:hidden; }
|
|
#uptime, tr td:nth-child(6) { display:none; visibility:hidden; }
|
|
#traffic, tr td:nth-child(9) { display:none; visibility:hidden; }
|
|
#ping, tr td:nth-child(13) { display:none; visibility:hidden; }
|
|
}
|
|
@media only screen and (max-width: 450px) {
|
|
body { font-size: 10px; }
|
|
.content { padding: 0; }
|
|
#month_traffic, tr td:nth-child(2) { display:none; visibility:hidden; }
|
|
#name, tr td:nth-child(3) { min-width: 55px; max-width: 85px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
|
|
#type, tr td:nth-child(4) { display:none; visibility:hidden; }
|
|
#location, tr td:nth-child(5) { display:none; visibility:hidden; }
|
|
#uptime, tr td:nth-child(6) { display:none; visibility:hidden; }
|
|
#traffic, tr td:nth-child(9) { display:none; visibility:hidden; }
|
|
#cpu, #ram, #hdd { min-width: 25px; max-width: 50px; }
|
|
#ping, tr td:nth-child(13) { display:none; visibility:hidden; }
|
|
}
|