global.less 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. // Reset default browser styles
  2. * {
  3. box-sizing: border-box;
  4. }
  5. #root {
  6. min-height: 100vh;
  7. }
  8. html,
  9. body,
  10. ul,
  11. ol,
  12. li,
  13. dl,
  14. dt,
  15. dd,
  16. h1,
  17. h2,
  18. h3,
  19. h4,
  20. h5,
  21. h6,
  22. pre,
  23. code,
  24. form,
  25. fieldset,
  26. legend,
  27. input,
  28. textarea,
  29. p,
  30. blockquote,
  31. th,
  32. td,
  33. hr,
  34. button {
  35. margin: 0;
  36. padding: 0;
  37. font-size: 100%;
  38. font-family: inherit;
  39. vertical-align: baseline;
  40. border: 0 none;
  41. color: inherit;
  42. background: transparent;
  43. box-sizing: border-box;
  44. -webkit-font-smoothing: antialiased;
  45. -moz-osx-font-smoothing: grayscale;
  46. }
  47. body {
  48. color: #333;
  49. .ant-collapse-header {
  50. flex-direction: row-reverse;
  51. }
  52. .ant-collapse-item {
  53. background-color: white !important;
  54. border-radius: 6px !important;
  55. border-bottom: none !important;
  56. margin-bottom: 10px;
  57. }
  58. }
  59. // Remove list styles on ul, ol
  60. ul,
  61. ol {
  62. list-style: none;
  63. }
  64. // Remove link styles
  65. a {
  66. text-decoration: none;
  67. }
  68. // Remove table border
  69. table {
  70. border-collapse: collapse;
  71. border-spacing: 0;
  72. background-color: white;
  73. }
  74. // Remove input styling for IE
  75. input[type='text'],
  76. input[type='password'],
  77. input[type='number'],
  78. textarea {
  79. appearance: none;
  80. -webkit-appearance: none;
  81. -moz-appearance: none;
  82. // border-radius: 0;
  83. }
  84. // Remove button styling for IE
  85. button,
  86. input[type='submit'],
  87. input[type='reset'] {
  88. appearance: none;
  89. -webkit-appearance: none;
  90. -moz-appearance: none;
  91. border: 0 none;
  92. background: none;
  93. padding: 0;
  94. cursor: pointer;
  95. }
  96. // Remove outline on focus
  97. *:focus {
  98. outline: none;
  99. }
  100. .card-box {
  101. border-radius: 8px;
  102. box-shadow: 0px 0px 8px 2px rgba(191, 191, 191, 0.2);
  103. border: 1px solid #eee;
  104. background: rgba(255, 255, 255);
  105. }
  106. .password-eye {
  107. display: inline-block;
  108. vertical-align: middle;
  109. width: 30px;
  110. height: 30px;
  111. background: url('@/assets/icon-eye1.png') no-repeat center;
  112. background-size: 30px;
  113. &.open {
  114. background-image: url('@/assets/icon-eye2.png');
  115. }
  116. }
  117. .tabs {
  118. display: flex;
  119. width: 100%;
  120. overflow-x: auto;
  121. border: 1px solid #979797;
  122. &::-webkit-scrollbar {
  123. display: none;
  124. }
  125. .tabs-item {
  126. flex: 1;
  127. padding: 16px 24px;
  128. font-size: 24px;
  129. font-weight: 400;
  130. color: #4a4a4a;
  131. border-right: 1px solid #979797;
  132. white-space: nowrap;
  133. &:last-child {
  134. border-right: none;
  135. }
  136. &.active {
  137. color: #ffffff;
  138. background: #4a90e2;
  139. }
  140. }
  141. }
  142. .section-title {
  143. display: flex;
  144. align-items: center;
  145. font-size: 28px;
  146. font-weight: 400;
  147. color: #4a4a4a;
  148. line-height: 40px;
  149. .section-line {
  150. width: 4px;
  151. height: 30px;
  152. background: #4a90e2;
  153. margin-right: 8px;
  154. }
  155. }
  156. *::-webkit-scrollbar {
  157. width: 6px;
  158. height: 6px;
  159. }
  160. *::-webkit-scrollbar-thumb {
  161. background-color: #999;
  162. }
  163. *::-webkit-scrollbar-thumb:hover {
  164. background-color: #666;
  165. }
  166. *::-webkit-scrollbar-track {
  167. background-color: #eee;
  168. }
  169. .ant-btn-primary {
  170. background: #4a90e2;
  171. font-size: 16px;
  172. padding-top: 0;
  173. padding-bottom: 0;
  174. }
  175. .ant-table{
  176. background-color: white!important;
  177. }
  178. .ant-table-cell,
  179. .ant-table-placeholder {
  180. background: transparent !important;
  181. }
  182. .ant-table,
  183. .ant-table-container,
  184. .ant-table-wrapper table {
  185. border-radius: 0 !important;
  186. }
  187. .ant-table-container {
  188. border: none !important;
  189. }
  190. .ant-table-cell::before {
  191. display: none;
  192. }
  193. .ant-table-thead {
  194. background: #cbe0f6;
  195. }
  196. .ant-table-thead > tr > th,
  197. .ant-table-tbody > tr > td {
  198. border-radius: 0 !important;
  199. padding: 16px 18px !important;
  200. font-size: 24px !important;
  201. color: #4a4a4a !important;
  202. line-height: 32px !important;
  203. font-weight: normal !important;
  204. vertical-align: middle;
  205. border: none !important;
  206. }
  207. .ant-table-tbody > tr:nth-child(even) {
  208. background: rgba(145, 192, 238, 0.16);
  209. }