index.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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:
  13. -apple-system,
  14. BlinkMacSystemFont,
  15. 'Helvetica Neue',
  16. Helvetica,
  17. Arial,
  18. 'PingFang SC',
  19. 'Hiragino Sans GB',
  20. 'Microsoft YaHei',
  21. sans-serif;
  22. text-decoration: none;
  23. letter-spacing: 0.5px;
  24. }
  25. a {
  26. color: #222;
  27. text-decoration: none;
  28. }
  29. input,
  30. textarea {
  31. outline: none;
  32. }
  33. ul,
  34. ol {
  35. list-style: none;
  36. }
  37. img {
  38. vertical-align: middle;
  39. border: 0;
  40. }
  41. [hidden] {
  42. display: none;
  43. }
  44. .container {
  45. width: 100vw;
  46. height: 100vh;
  47. }
  48. .content-main {
  49. padding: var(--content-padding);
  50. }
  51. .table-wrapper {
  52. margin-top: var(--content-padding);
  53. }
  54. .table-tool {
  55. display: flex;
  56. justify-content: flex-end;
  57. margin-bottom: var(--content-padding);
  58. }
  59. .ReactModal__Overlay {
  60. z-index: 20;
  61. display: flex;
  62. align-items: center;
  63. justify-content: center;
  64. background-color: rgb(0 0 0 / 60%) !important;
  65. opacity: 0;
  66. transition: opacity 200ms ease-in-out;
  67. }
  68. .ReactModal__Content {
  69. position: static !important;
  70. padding: 0 !important;
  71. border-radius: 10px;
  72. transition: transform 200ms ease-in-out !important;
  73. transform: translateY(30px);
  74. }
  75. .ReactModal__Overlay--after-open {
  76. opacity: 1;
  77. & .ReactModal__Content {
  78. transform: translateY(0);
  79. }
  80. }
  81. .ReactModal__Overlay--before-close {
  82. opacity: 0;
  83. & .ReactModal__Content {
  84. transform: translateY(30px);
  85. }
  86. }
  87. .width-full {
  88. width: 100%;
  89. }
  90. .height-full {
  91. height: 100%;
  92. }
  93. .content-full {
  94. width: 100%;
  95. height: 100%;
  96. }
  97. .align-right {
  98. text-align: right;
  99. }
  100. .display-block {
  101. display: block;
  102. }
  103. .ant-layout-content {
  104. overflow: auto;
  105. }
  106. .ant-text-btn-color-cyan {
  107. color: #13c2c2 !important;
  108. &:hover {
  109. background-color: #e1f5f6 !important;
  110. }
  111. }
  112. .ant-text-btn-color-yellow {
  113. color: #ff7500 !important;
  114. &:hover {
  115. background-color: #fdf0e4 !important;
  116. }
  117. }