style.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. @import "@/assets/styles/common.scss";
  2. .check-body {
  3. margin: 0;
  4. //background-image: linear-gradient(to right bottom,#26a69a,#009688);
  5. height:calc(100vh - 84px);
  6. overflow: auto;
  7. @include borderBox();
  8. padding:10px;
  9. .site-content {
  10. border: 1px solid #DDDDDD80;
  11. padding: 20px;
  12. background-image: linear-gradient(to right bottom, #F1F1F140, #EEEEEE40);
  13. border-radius: 6px;
  14. .site-row {
  15. //background-image: linear-gradient(to right, #004d40 0%, #00695c 1%, #00796b 100%);
  16. background: #2c3e5066;
  17. box-shadow: 0 0 1px #009688;
  18. border-radius: 6px;
  19. height: 12px;
  20. width: 100%;
  21. margin-bottom: 14px;
  22. }
  23. .site-progress {
  24. background-image: linear-gradient(to right, #3d5afe 0%, #2196f3 100%);
  25. width: 0;
  26. height: 100%;
  27. border-radius: 6px;
  28. transition: all .5s;
  29. }
  30. .site-label {
  31. position: relative;
  32. z-index: 1;
  33. width: 100%;
  34. margin-top: -10px;
  35. @include flexBetween();
  36. @include borderBox();
  37. padding: 0 10px;
  38. }
  39. .site-row .site-node {
  40. @include flexCenter();
  41. flex-wrap: wrap;
  42. cursor: pointer;
  43. width: 14.2%;
  44. }
  45. .site {
  46. width: 9px;
  47. height: 9px;
  48. border-radius: 4px;
  49. transition: all .3s;
  50. }
  51. .normal {
  52. background-image: linear-gradient(to right, #43e97b 0%, #38f9d7 100%);
  53. }
  54. .abnormal {
  55. background: #e43;
  56. }
  57. .un-info {
  58. background-image: linear-gradient(120deg, #F1F1F1 0%, #ebedee 100%);
  59. }
  60. .site-row .site-node:hover .site {
  61. transform: scale(1.3);
  62. }
  63. .site-row .site-node:hover .site-name {
  64. text-shadow: 0 0 2px white;
  65. }
  66. .site-name {
  67. font-size: 14px;
  68. width: 100%;
  69. text-align: center;
  70. margin-top: 6px;
  71. color:#2c3e50;
  72. }
  73. .active-site-name{
  74. color: #1565c0;
  75. font-weight: bold;
  76. }
  77. .check-status{
  78. @include flexBetween()
  79. }
  80. .check-btn {
  81. padding: 10px 20px;
  82. }
  83. .progress-bar {
  84. background: #e9e9e9;
  85. border-radius: 2px;
  86. height: 4px;
  87. width: 100%;
  88. overflow: hidden;
  89. margin-top: 15px;
  90. }
  91. .percentage-value {
  92. margin-top: 10px;
  93. font-size: 12px;
  94. }
  95. .percentage-label {
  96. margin-top: 10px;
  97. font-size: 12px;
  98. }
  99. .check-progress{
  100. @include flexStart();
  101. .t-span{
  102. margin-right:5px;
  103. font-weight: bold;
  104. color:#444;
  105. }
  106. }
  107. .progress-bar-inner {
  108. background-image: linear-gradient(to right, #3d5afe 0%, #2196f3 100%);
  109. opacity: 0.7;
  110. width: 0;
  111. height: 4px;
  112. transition: all .2s;
  113. }
  114. }
  115. }