global.less 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. * {
  2. box-sizing: border-box;
  3. }
  4. html,
  5. body {
  6. width: 100%;
  7. height: 100%;
  8. margin: 0;
  9. padding: 0;
  10. font-size: 14px;
  11. background-color: var(--color-theme-2);
  12. -moz-osx-font-smoothing: grayscale;
  13. -webkit-font-smoothing: antialiased;
  14. --color-theme-1: #0b2349;
  15. --color-theme-2: #3c4e69;
  16. --table-th-bg: #5f6c7f;
  17. --color-input-bg: #77818e;
  18. --color-border: #5f6c7f;
  19. }
  20. .echarts-tooltip-diy {
  21. background: linear-gradient(
  22. 304.17deg,
  23. rgb(253 254 255 / 60%) -6.04%,
  24. rgb(244 247 252 / 60%) 85.2%
  25. ) !important;
  26. border: none !important;
  27. /* Note: backdrop-filter has minimal browser support */
  28. border-radius: 6px !important;
  29. backdrop-filter: blur(10px) !important;
  30. .content-panel {
  31. display: flex;
  32. justify-content: space-between;
  33. width: 164px;
  34. height: 32px;
  35. margin-bottom: 4px;
  36. padding: 0 9px;
  37. line-height: 32px;
  38. background: rgb(255 255 255 / 80%);
  39. border-radius: 4px;
  40. box-shadow: 6px 0 20px rgb(34 87 188 / 10%);
  41. }
  42. .tooltip-title {
  43. margin: 0 0 10px;
  44. }
  45. p {
  46. margin: 0;
  47. }
  48. .tooltip-title,
  49. .tooltip-value {
  50. display: flex;
  51. align-items: center;
  52. color: #1d2129;
  53. font-weight: bold;
  54. font-size: 13px;
  55. line-height: 15px;
  56. text-align: right;
  57. }
  58. .tooltip-item-icon {
  59. display: inline-block;
  60. width: 10px;
  61. height: 10px;
  62. margin-right: 8px;
  63. border-radius: 50%;
  64. }
  65. }
  66. .general-card {
  67. border: none !important;
  68. border-radius: 4px;
  69. & > .arco-card-header {
  70. height: auto;
  71. padding: 20px;
  72. border: none;
  73. }
  74. & > .arco-card-body {
  75. padding: 0 20px 20px;
  76. }
  77. }
  78. .split-line {
  79. border-color: rgb(var(--gray-2));
  80. }
  81. .arco-table-cell {
  82. .circle {
  83. display: inline-block;
  84. width: 6px;
  85. height: 6px;
  86. margin-right: 4px;
  87. background-color: rgb(var(--blue-6));
  88. border-radius: 50%;
  89. &.pass {
  90. background-color: rgb(var(--green-6));
  91. }
  92. }
  93. }
  94. .arco-table {
  95. tr th {
  96. color: var(--color-white);
  97. font-weight: 600;
  98. background-color: var(--table-th-bg);
  99. }
  100. tr td {
  101. color: var(--color-white);
  102. font-weight: 600;
  103. background-color: var(--color-theme-2);
  104. border-color: var(--color-border);
  105. }
  106. tr:hover td {
  107. background-color: var(--table-th-bg) !important;
  108. }
  109. }
  110. .arco-form-item-label {
  111. color: var(--color-white) !important;
  112. font-weight: 600;
  113. }
  114. .arco-modal {
  115. background-color: var(--color-theme-2) !important;
  116. .arco-modal-header {
  117. border-bottom-color: var(--color-border);
  118. .arco-modal-title {
  119. color: var(--color-white);
  120. font-weight: 600;
  121. }
  122. }
  123. .arco-modal-close-btn {
  124. color: var(--color-white);
  125. }
  126. .arco-modal-footer {
  127. border-top-color: var(--color-border);
  128. }
  129. .arco-modal-body {
  130. color: var(--color-white);
  131. }
  132. }