index.scss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. .dataVisualize-box {
  2. .top-box {
  3. box-sizing: border-box;
  4. padding: 25px 40px 0;
  5. margin-bottom: 10px;
  6. .top-title {
  7. margin-bottom: 10px;
  8. font-family: DIN;
  9. font-size: 18px;
  10. font-weight: bold;
  11. }
  12. .top-content {
  13. margin-top: 10px;
  14. .item-left {
  15. box-sizing: border-box;
  16. height: 100%;
  17. padding: 40px 0 30px 30px;
  18. overflow: hidden;
  19. color: #ffffff;
  20. background: url("./images/book-bg.png");
  21. background-position: 50%;
  22. background-size: cover;
  23. border-radius: 20px;
  24. .left-title {
  25. font-family: DIN;
  26. font-size: 20px;
  27. }
  28. .img-box {
  29. display: flex;
  30. align-items: center;
  31. justify-content: center;
  32. width: 90px;
  33. height: 90px;
  34. margin: 40px 0 20px;
  35. background-color: #ffffff;
  36. border-radius: 20px;
  37. box-shadow: 0 10px 20px rgb(0 0 0 / 14%);
  38. img {
  39. width: 60px;
  40. height: 65px;
  41. }
  42. }
  43. .left-number {
  44. overflow: hidden;
  45. font-family: DIN;
  46. font-size: 62px;
  47. }
  48. }
  49. .item-center {
  50. display: flex;
  51. place-content: center space-around;
  52. height: 100%;
  53. .traffic-box {
  54. box-sizing: border-box;
  55. display: flex;
  56. flex-direction: column;
  57. width: 47%;
  58. height: 48%;
  59. padding: 25px;
  60. margin: 10px 20px;
  61. border-radius: 30px;
  62. .traffic-img {
  63. display: flex;
  64. align-items: center;
  65. justify-content: center;
  66. width: 70px;
  67. height: 70px;
  68. margin-bottom: 10px;
  69. background-color: #ffffff;
  70. border-radius: 19px;
  71. }
  72. }
  73. img {
  74. width: 33px;
  75. height: 33px;
  76. }
  77. .item-value {
  78. margin-bottom: 4px;
  79. font-family: DIN;
  80. font-size: 28px;
  81. font-weight: bold;
  82. color: #1a1a37;
  83. }
  84. .traffic-name {
  85. overflow: hidden;
  86. font-family: DIN;
  87. font-size: 15px;
  88. color: #1a1a37;
  89. white-space: nowrap;
  90. }
  91. .gitee-traffic {
  92. background: url("./images/1-bg.png");
  93. background-color: #e8faea;
  94. background-size: 100% 100%;
  95. }
  96. .gitHub-traffic {
  97. background: url("./images/2-bg.png");
  98. background-color: #e7e1fb;
  99. background-size: 100% 100%;
  100. }
  101. .today-traffic {
  102. background: url("./images/3-bg.png");
  103. background-color: #fdf3e9;
  104. background-size: 100% 100%;
  105. }
  106. .yesterday-traffic {
  107. background: url("./images/4-bg.png");
  108. background-color: #f0f5fb;
  109. background-size: 100% 100%;
  110. }
  111. }
  112. .item-right {
  113. box-sizing: border-box;
  114. display: flex;
  115. flex-direction: column;
  116. width: 100%;
  117. height: 430px;
  118. border: 1px solid var(--el-border-color);
  119. border-radius: 25px;
  120. .echarts-title {
  121. padding: 15px 20px;
  122. font-family: DIN;
  123. font-size: 18px;
  124. font-weight: bold;
  125. border-bottom: 1px solid var(--el-border-color);
  126. }
  127. .book-echarts {
  128. flex: 1;
  129. width: 100%;
  130. }
  131. }
  132. }
  133. }
  134. .bottom-box {
  135. position: relative;
  136. padding: 20px 0 0;
  137. .bottom-title {
  138. position: absolute;
  139. top: 75px;
  140. left: 50px;
  141. font-family: DIN;
  142. font-size: 18px;
  143. font-weight: bold;
  144. }
  145. .bottom-tabs {
  146. padding: 0 50px;
  147. }
  148. .curve-echarts {
  149. box-sizing: border-box;
  150. height: 400px;
  151. padding: 0 50px;
  152. }
  153. }
  154. }