global.less 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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-bg-1);
  12. -moz-osx-font-smoothing: grayscale;
  13. -webkit-font-smoothing: antialiased;
  14. }
  15. .echarts-tooltip-diy {
  16. background: linear-gradient(
  17. 304.17deg,
  18. rgba(253, 254, 255, 0.6) -6.04%,
  19. rgba(244, 247, 252, 0.6) 85.2%
  20. ) !important;
  21. border: none !important;
  22. backdrop-filter: blur(10px) !important;
  23. /* Note: backdrop-filter has minimal browser support */
  24. border-radius: 6px !important;
  25. .content-panel {
  26. display: flex;
  27. justify-content: space-between;
  28. padding: 0 9px;
  29. background: rgba(255, 255, 255, 0.8);
  30. width: 164px;
  31. height: 32px;
  32. line-height: 32px;
  33. box-shadow: 6px 0px 20px rgba(34, 87, 188, 0.1);
  34. border-radius: 4px;
  35. margin-bottom: 4px;
  36. }
  37. .tooltip-title {
  38. margin: 0 0 10px 0;
  39. }
  40. p {
  41. margin: 0;
  42. }
  43. .tooltip-title,
  44. .tooltip-value {
  45. font-size: 13px;
  46. line-height: 15px;
  47. display: flex;
  48. align-items: center;
  49. text-align: right;
  50. color: #1d2129;
  51. font-weight: bold;
  52. }
  53. .tooltip-item-icon {
  54. display: inline-block;
  55. margin-right: 8px;
  56. width: 10px;
  57. height: 10px;
  58. border-radius: 50%;
  59. }
  60. }
  61. .general-card {
  62. border-radius: 4px;
  63. border: none;
  64. & > .arco-card-header {
  65. height: auto;
  66. padding: 20px;
  67. border: none;
  68. }
  69. & > .arco-card-body {
  70. padding: 0 20px 20px 20px;
  71. }
  72. }
  73. .split-line {
  74. border-color: rgb(var(--gray-2));
  75. }
  76. .arco-table-cell {
  77. .circle {
  78. display: inline-block;
  79. margin-right: 4px;
  80. width: 6px;
  81. height: 6px;
  82. border-radius: 50%;
  83. background-color: rgb(var(--blue-6));
  84. &.pass {
  85. background-color: rgb(var(--green-6));
  86. }
  87. }
  88. }