index.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. /* stylelint-disable no-duplicate-selectors */
  2. /* stylelint-disable selector-class-pattern */
  3. :root {
  4. --primary-color: #00a6ca;
  5. --error-color: #ff4d4f;
  6. --content-padding: 24px;
  7. }
  8. * {
  9. box-sizing: border-box;
  10. padding: 0;
  11. margin: 0;
  12. font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, 'PingFang SC',
  13. 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  14. text-decoration: none;
  15. letter-spacing: 0.5px;
  16. }
  17. a {
  18. color: #222;
  19. text-decoration: none;
  20. }
  21. input,
  22. textarea {
  23. outline: none;
  24. }
  25. ul,
  26. ol {
  27. list-style: none;
  28. }
  29. img {
  30. vertical-align: middle;
  31. border: 0;
  32. }
  33. [hidden] {
  34. display: none;
  35. }
  36. .container {
  37. width: 100vw;
  38. height: 100vh;
  39. }
  40. .content-main {
  41. padding: var(--content-padding);
  42. }
  43. .table-wrapper {
  44. margin-top: var(--content-padding);
  45. }
  46. .table-tool {
  47. display: flex;
  48. justify-content: flex-end;
  49. margin-bottom: var(--content-padding);
  50. }
  51. .ReactModal__Overlay {
  52. z-index: 20;
  53. display: flex;
  54. align-items: center;
  55. justify-content: center;
  56. background-color: rgb(0 0 0 / 60%) !important;
  57. opacity: 0;
  58. transition: opacity 200ms ease-in-out;
  59. }
  60. .ReactModal__Content {
  61. position: static !important;
  62. padding: 0 !important;
  63. border-radius: 10px;
  64. transition: transform 200ms ease-in-out !important;
  65. transform: translateY(30px);
  66. }
  67. .ReactModal__Overlay--after-open {
  68. opacity: 1;
  69. & .ReactModal__Content {
  70. transform: translateY(0);
  71. }
  72. }
  73. .ReactModal__Overlay--before-close {
  74. opacity: 0;
  75. & .ReactModal__Content {
  76. transform: translateY(30px);
  77. }
  78. }
  79. .width-full {
  80. width: 100%;
  81. }
  82. .height-full {
  83. height: 100%;
  84. }
  85. .content-full {
  86. width: 100%;
  87. height: 100%;
  88. }
  89. .align-right {
  90. text-align: right;
  91. }
  92. .display-block {
  93. display: block;
  94. }
  95. .ant-layout-content {
  96. overflow: auto;
  97. }
  98. .ant-text-btn-color-cyan {
  99. color: #13c2c2 !important;
  100. &:hover {
  101. background-color: #e1f5f6 !important;
  102. }
  103. }
  104. .ant-text-btn-color-yellow {
  105. color: #ff7500 !important;
  106. &:hover {
  107. background-color: #fdf0e4 !important;
  108. }
  109. }
  110. .ant-btn-color-green {
  111. color: white !important;
  112. background-color: #0aa344;
  113. border-color: #0aa344;
  114. &:hover {
  115. background-color: #4dbe6b !important;
  116. border-color: #4dbe6b !important;
  117. }
  118. }
  119. .grey-icon {
  120. color: #bbb;
  121. }
  122. .recharts-tooltip-cursor {
  123. fill: #eee !important;
  124. }
  125. .recharts-tooltip-item-list {
  126. & li {
  127. color: white !important;
  128. }
  129. }
  130. .recharts-default-tooltip {
  131. color: white;
  132. }
  133. .layout-content-custom {
  134. display: flex;
  135. flex-direction: column;
  136. }
  137. .ant-table-cell {
  138. overflow-wrap: anywhere !important;
  139. }