1
0

light.css 4.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. body { background: #ebebeb url('../img/light.png'); }
  2. .navbar { min-height: 40px; }
  3. .navbar-brand { color: #fff; padding: 10px; font-size: 20px; }
  4. .dropdown .dropdown-toggle { padding-bottom: 10px; padding-top: 10px; }
  5. .navbar-inverse .navbar-brand { color: #fff; padding: 10px; font-size: 20px; }
  6. .content { background: #ffffff; padding: 20px; border-radius: 5px; border: 1px #cecece solid; -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, .1); -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, .1); box-shadow: 0 1px 10px rgba(0, 0, 0, .1); margin-bottom: 20px; }
  7. .table { background: #ffffff; margin-bottom: 0; border-collapse: collapse; border-radius: 3px; }
  8. .table th, .table td { text-align: center; }
  9. .table-striped tbody > tr.even > td, .table-striped tbody > tr.even > th { background-color: #F9F9F9; }
  10. .table-striped tbody > tr.odd > td, .table-striped tbody > tr.odd > th { background-color: #FFF; }
  11. .progress { margin-bottom: 0; }
  12. .progress-bar { color: #000; }
  13. .table-hover > tbody > tr:hover > td { background: #E6E6E6; }
  14. tr.even.expandRow > :hover { background: #F9F9F9 !important; }
  15. tr.odd.expandRow > :hover { background: #FFF !important; }
  16. .expandRow > td { padding: 0 !important; border-top: 0px !important; }
  17. #month_traffic { min-width: 85px; max-width: 95px;}
  18. #network { min-width: 115px; }
  19. #cpu, #ram, #hdd { min-width: 45px; max-width: 90px; }
  20. #ping { max-width: 95px; }
  21. @media only screen and (max-width: 1200px) {
  22. #type, tr td:nth-child(4) { display:none; visibility:hidden; }
  23. #location, tr td:nth-child(5) { display:none; visibility:hidden; }
  24. #uptime, tr td:nth-child(6) { display:none; visibility:hidden; }
  25. #ping, tr td:nth-child(13) { display:none; visibility:hidden; }
  26. }
  27. @media only screen and (max-width: 720px) {
  28. body { font-size: 10px; }
  29. .content { padding: 0; }
  30. #type, tr td:nth-child(4) { display:none; visibility:hidden; }
  31. #location, tr td:nth-child(5) { display:none; visibility:hidden; }
  32. #uptime, tr td:nth-child(6) { display:none; visibility:hidden; }
  33. #ping, tr td:nth-child(13) { display:none; visibility:hidden; }
  34. }
  35. @media only screen and (max-width: 620px) {
  36. body { font-size: 10px; }
  37. .content { padding: 0; }
  38. #month_traffic, tr td:nth-child(2) { display:none; visibility:hidden; }
  39. #type, tr td:nth-child(4) { display:none; visibility:hidden; }
  40. #location, tr td:nth-child(5) { display:none; visibility:hidden; }
  41. #uptime, tr td:nth-child(6) { display:none; visibility:hidden; }
  42. #traffic, tr td:nth-child(9) { display:none; visibility:hidden; }
  43. #ping, tr td:nth-child(13) { display:none; visibility:hidden; }
  44. }
  45. @media only screen and (max-width: 533px) {
  46. body { font-size: 10px; }
  47. .content { padding: 0; }
  48. #month_traffic, tr td:nth-child(2) { display:none; visibility:hidden; }
  49. #type, tr td:nth-child(4) { display:none; visibility:hidden; }
  50. #location, tr td:nth-child(5) { display:none; visibility:hidden; }
  51. #uptime, tr td:nth-child(6) { display:none; visibility:hidden; }
  52. #traffic, tr td:nth-child(9) { display:none; visibility:hidden; }
  53. #ping, tr td:nth-child(13) { display:none; visibility:hidden; }
  54. }
  55. @media only screen and (max-width: 450px) {
  56. body { font-size: 10px; }
  57. .content { padding: 0; }
  58. #month_traffic, tr td:nth-child(2) { display:none; visibility:hidden; }
  59. #name, tr td:nth-child(3) { min-width: 55px; max-width: 85px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
  60. #type, tr td:nth-child(4) { display:none; visibility:hidden; }
  61. #location, tr td:nth-child(5) { display:none; visibility:hidden; }
  62. #uptime, tr td:nth-child(6) { display:none; visibility:hidden; }
  63. #traffic, tr td:nth-child(9) { display:none; visibility:hidden; }
  64. #cpu, #ram, #hdd { min-width: 25px; max-width: 50px; }
  65. #ping, tr td:nth-child(13) { display:none; visibility:hidden; }
  66. }