light.css 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. body { font-family:Molengo,"Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;}
  2. .announcement { color: #777; border-bottom: solid 3px #d0d0d0; background-color: #fff; padding: 10px 10px; text-align: center; transition: 0.3s; }
  3. .announcement p { display: inline-block;font-size: 15px;margin: 0;line-height: 1;text-indent: 5px; }
  4. .announcement i { display: inline-block;font-size: 15px;margin: 0;line-height: 1;color: #444; }
  5. .path-announcement2 {
  6. overflow: hidden;
  7. text-overflow: ellipsis;
  8. white-space: nowrap;
  9. }
  10. .path-announcement {
  11. margin-top: 50px;
  12. background-color: #fafbfc;
  13. border-bottom: 1px solid #e1e4e8;
  14. }
  15. .path-announcement p {
  16. color: #444444;
  17. line-height: 3.5;
  18. margin-left: 20px;
  19. }
  20. .path-announcement a {
  21. color: #666;
  22. box-shadow: 0px 1px 0px 0px #999;
  23. text-decoration: none;
  24. }
  25. .path-announcement a:focus,.path-announcement a:hover {
  26. color: #337ab7;
  27. box-shadow: 0px 1px 0px 0px #555;
  28. }
  29. .path-announcement i {
  30. margin-right: 10px;
  31. }
  32. .path-announcement i,.path-announcement p {
  33. display: inline;
  34. }
  35. .navbar { min-height: 50px; }
  36. .navbar-top { background-color: #444 !important; }
  37. .navbar-brand { color: #fff; padding: 10px; font-size: 20px; }
  38. .dropdown .dropdown-toggle { padding-bottom: 10px; padding-top: 10px; }
  39. .navbar-inverse .navbar-brand { color: #fff; padding: 15px 20px 10px; font-size: 16px; font-weight: 600; }
  40. .content { background: #ffffff; padding: 20px; border: 1px #eee 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; margin-top: 50px; }
  41. .table { background: #ffffff; margin-bottom: 0; border-collapse: collapse; border-radius: 3px; }
  42. .table th, .table td { text-align: center; }
  43. .table-striped tbody > tr.even > td, .table-striped tbody > tr.even > th { background-color: #F9F9F9; }
  44. .table-striped tbody > tr.odd > td, .table-striped tbody > tr.odd > th { background-color: #FFF; }
  45. .progress { margin-bottom: 0; }
  46. .progress-bar { color: #000; }
  47. .table-hover > tbody > tr:hover > td { background: #E6E6E6; }
  48. tr.even.expandRow > :hover { background: #F9F9F9 !important; }
  49. tr.odd.expandRow > :hover { background: #FFF !important; }
  50. .expandRow > td { padding: 0 !important; border-top: 0px !important; }
  51. #cpu, #ram, #hdd, #network, #traffic { min-width: 55px; max-width: 100px; }
  52. @media only screen and (max-width: 992px) {
  53. #location, tr td:nth-child(4) { display:none; visibility:hidden; }
  54. }
  55. @media only screen and (max-width: 720px) {
  56. #type, tr td:nth-child(3) { display:none; visibility:hidden; }
  57. #location, tr td:nth-child(4) { display:none; visibility:hidden; }
  58. #uptime, tr td:nth-child(5) { display:none; visibility:hidden; }
  59. }
  60. @media only screen and (max-width: 600px) {
  61. #type, tr td:nth-child(3) { display:none; visibility:hidden; }
  62. #location, tr td:nth-child(4) { display:none; visibility:hidden; }
  63. #uptime, tr td:nth-child(5) { display:none; visibility:hidden; }
  64. #load, tr td:nth-child(6) { display:none; visibility:hidden; }
  65. }
  66. @media only screen and (max-width: 533px) {
  67. #type, tr td:nth-child(3) { display:none; visibility:hidden; }
  68. #location, tr td:nth-child(4) { display:none; visibility:hidden; }
  69. #uptime, tr td:nth-child(5) { display:none; visibility:hidden; }
  70. #traffic, tr td:nth-child(8) { display:none; visibility:hidden; }
  71. #load, tr td:nth-child(6) { display:none; visibility:hidden; }
  72. }
  73. @media only screen and (max-width: 450px) {
  74. body { font-size: 10px; }
  75. .content { padding: 0; }
  76. #name, tr td:nth-child(2) { min-width: 20px; max-width: 60px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
  77. #type, tr td:nth-child(3) { display:none; visibility:hidden; }
  78. #location, tr td:nth-child(4) { display:none; visibility:hidden; }
  79. #uptime, tr td:nth-child(5) { display:none; visibility:hidden; }
  80. #traffic, tr td:nth-child(8) { display:none; visibility:hidden; }
  81. #hdd, tr td:nth-child(11) { display:none; visibility:hidden; }
  82. #cpu, #ram { min-width: 20px; max-width: 40px; }
  83. }