dark.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. body { background: #222 url('../img/dark.png'); color: #fff; }
  2. .navbar { min-height: 40px; }
  3. .navbar-brand { color: #FFF !important; padding: 10px; font-size: 20px; }
  4. .dropdown .dropdown-toggle { padding-bottom: 10px; padding-top: 10px; }
  5. .dropdown-menu > li > a { color: #FFF !important; background-color: #222222 !important; }
  6. .dropdown-menu > li > a:hover { color: #FFF !important; background: #000 !important; }
  7. .dropdown-menu { background: #222 !important; background-color: #222222 !important; }
  8. .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, #222222, #111111); background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff111111', GradientType=0); border-color: #252525; }
  9. .content { background: #222; padding: 20px; border-radius: 5px; border: 1px #000 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; }
  10. .table { background: #000; margin-bottom: 0; border-collapse: collapse; border-radius: 3px; }
  11. .table th { text-align: center; }
  12. .table-striped tbody > tr.even > td, .table-striped tbody > tr.even > th { background-color: #2F2F2F; }
  13. .table-striped tbody > tr.odd > td, .table-striped tbody > tr.odd > th { background-color: #000; }
  14. .table td { text-align: center; border-color: #2F2F2F; }
  15. .progress { margin-bottom: 0; background: #222; }
  16. .table-hover > tbody > tr:hover > td { background: #414141; }
  17. tr.even.expandRow > :hover { background: #2F2F2F !important; }
  18. tr.odd.expandRow > :hover { background: #000 !important; }
  19. .expandRow > td { padding: 0 !important; border-top: 0px !important; }
  20. #cpu, #ram, #hdd, #network { min-width: 55px; max-width: 100px; }
  21. #ping { min-width: 55px; max-width: 130px; }
  22. @media only screen and (max-width: 992px) {
  23. #location, tr td:nth-child(5) { display:none; visibility:hidden; }
  24. }
  25. @media only screen and (max-width: 720px) {
  26. #type, tr td:nth-child(4) { display:none; visibility:hidden; }
  27. #location, tr td:nth-child(5) { display:none; visibility:hidden; }
  28. #ping, tr td:nth-child(13) { display:none; visibility:hidden; }
  29. }
  30. @media only screen and (max-width: 600px) {
  31. #type, tr td:nth-child(4) { display:none; visibility:hidden; }
  32. #location, tr td:nth-child(5) { display:none; visibility:hidden; }
  33. #uptime, tr td:nth-child(6) { display:none; visibility:hidden; }
  34. #ping, tr td:nth-child(13) { display:none; visibility:hidden; }
  35. }
  36. @media only screen and (max-width: 533px) {
  37. #type, tr td:nth-child(4) { display:none; visibility:hidden; }
  38. #location, tr td:nth-child(5) { display:none; visibility:hidden; }
  39. #uptime, tr td:nth-child(6) { display:none; visibility:hidden; }
  40. #network, tr td:nth-child(8) { display:none; visibility:hidden; }
  41. #ping, tr td:nth-child(13) { display:none; visibility:hidden; }
  42. }
  43. @media only screen and (max-width: 450px) {
  44. body { font-size: 10px; }
  45. .content { padding: 0; }
  46. #name, tr td:nth-child(3) { min-width: 55px; max-width: 85px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
  47. #type, tr td:nth-child(4) { display:none; visibility:hidden; }
  48. #location, tr td:nth-child(5) { display:none; visibility:hidden; }
  49. #uptime, tr td:nth-child(6) { display:none; visibility:hidden; }
  50. #network, tr td:nth-child(8) { display:none; visibility:hidden; }
  51. #cpu, #ram, #hdd { min-width: 25px; max-width: 50px; }
  52. #ping, tr td:nth-child(13) { display:none; visibility:hidden; }
  53. }