index.css 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  1. @import 'reset.css';
  2. body{
  3. color: #111827;
  4. }
  5. .icon {
  6. width: 1em;
  7. height: 1em;
  8. vertical-align: -0.15em;
  9. fill: currentColor;
  10. overflow: hidden;
  11. }
  12. img {
  13. border-radius: 2px;
  14. }
  15. .margin-top-60 {
  16. margin-top: 60px;
  17. }
  18. /* Modal */
  19. .ivu-modal-mask{
  20. background-color: rgba(0, 0, 0, 0.5);
  21. }
  22. .ivu-modal-wrap{
  23. display: flex;
  24. align-items: center;
  25. justify-content: center;
  26. }
  27. .ivu-modal{
  28. top: auto;
  29. }
  30. .ivu-modal-content{
  31. box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
  32. border-radius: 20px;
  33. }
  34. .ivu-modal-body{
  35. padding: 0 20px;
  36. padding-top: 10px;
  37. box-sizing: border-box;
  38. max-height: calc(100vh - 70px - 10px - 100px - 40px - 40px);
  39. overflow-y: auto;
  40. }
  41. /*滚动条样式*/
  42. .ivu-modal-body::-webkit-scrollbar {
  43. width: 0px;
  44. }
  45. .ivu-modal-body::-webkit-scrollbar-thumb {
  46. border-radius: 10px;
  47. -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
  48. background: rgba(0,0,0,0.2);
  49. }
  50. .ivu-modal-body::-webkit-scrollbar-track {
  51. -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
  52. border-radius: 0;
  53. background: rgba(0,0,0,0.1);
  54. }
  55. .ivu-modal-close{
  56. top: 20px;
  57. right: 20px;
  58. width: 24px;
  59. height: 24px;
  60. background: url(/img/close_icon@2x.png) no-repeat center/24px 24px;
  61. }
  62. .ivu-modal-close .ivu-icon-ios-close{
  63. display: none;
  64. }
  65. .ivu-modal-header{
  66. border-bottom:0;
  67. padding: 20px;
  68. display: flex;
  69. align-items: center;
  70. justify-content: center;
  71. text-align: center;
  72. font-weight: 500;
  73. font-size: 16px;
  74. color: #222222;
  75. line-height: 24px;
  76. }
  77. .ivu-modal-footer{
  78. display: flex;
  79. justify-content: flex-end;
  80. align-items: center;
  81. padding: 20px 20px 24px 20px;
  82. border-top:0;
  83. }
  84. .ivu-modal-confirm-footer{
  85. display: flex;
  86. justify-content: flex-end;
  87. align-items: center;
  88. border-top:0;
  89. margin-top: 30px;
  90. }
  91. .ivu-modal-confirm{
  92. padding: 10px 0 20px 0;
  93. }
  94. .ivu-modal-confirm-body{
  95. padding-top: 20px;
  96. }
  97. .ivu-modal-confirm-footer .ivu-btn,
  98. .ivu-modal-footer .ivu-btn{
  99. padding: 0 24px;
  100. font-size: 14px;
  101. height: 40px;
  102. border-radius: 28px;
  103. border: 1px solid #744BFF;
  104. color: #7c3aed;
  105. }
  106. /* Form */
  107. .ivu-form .ivu-form-item-label{
  108. color: #6B7280;
  109. padding: 13px 12px 13px 0;
  110. }
  111. .ivu-radio-inner{
  112. border-color: #9CA3AF;
  113. }
  114. .ivu-input:hover,
  115. .ivu-input-number:hover,
  116. .ivu-input:focus,
  117. .ivu-input-number:focus,
  118. .ivu-date-picker-focused input,
  119. .ivu-radio:hover .ivu-radio-inner,
  120. .ivu-radio-checked .ivu-radio-inner,
  121. .ivu-radio-checked:hover .ivu-radio-inner,
  122. .ivu-checkbox-checked:hover .ivu-checkbox-inner,
  123. .ivu-checkbox-indeterminate .ivu-checkbox-inner,
  124. .ivu-checkbox-indeterminate:hover .ivu-checkbox-inner,
  125. .ivu-radio-group-button .ivu-radio-wrapper-checked:first-child,
  126. .ivu-upload-drag:hover,
  127. .ivu-select-visible .ivu-select-selection,
  128. .ivu-select-selection-focused,
  129. .ivu-select-selection:hover,
  130. .ivu-switch-checked {
  131. border-color: #7C3AED !important;
  132. }
  133. .ivu-checkbox-indeterminate .ivu-checkbox-inner,
  134. .ivu-switch-checked,
  135. .ivu-radio-checked .ivu-radio-inner:after{
  136. background-color: #7c3aed;
  137. }
  138. .ivu-radio-group-button .ivu-radio-wrapper-checked{
  139. border-color: #7C3AED;
  140. background: #7C3AED;
  141. box-shadow: -1px 0 0 0 #7C3AED;
  142. color: #fff;
  143. }
  144. .ivu-radio-group-button .ivu-radio-wrapper-checked:hover{
  145. border-color: #7C3AED;
  146. color: #fff !important;
  147. }
  148. .ivu-radio-group-button .ivu-radio-wrapper-checked.ivu-radio-focus:first-child,
  149. .ivu-radio-group-button .ivu-radio-wrapper-checked.ivu-radio-focus{
  150. box-shadow: -1px 0 0 0 #7C3AED, 0 0 0 2px rgb(91 33 182 / 20%);
  151. }
  152. .ivu-radio-group-button .ivu-radio-wrapper:hover{
  153. color: #7C3AED;
  154. }
  155. .ivu-btn-primary:focus,
  156. .ivu-checkbox-focus,
  157. .ivu-switch:focus,
  158. .ivu-radio-focus,
  159. .ivu-input:focus,
  160. .ivu-input-number:focus,
  161. .ivu-date-picker-focused input,
  162. .ivu-select-visible .ivu-select-selection {
  163. -webkit-box-shadow: 0 0 0 2px rgb(91 33 182 / 20%) !important;
  164. box-shadow: 0 0 0 2px rgb(91 33 182 / 20%) !important;
  165. }
  166. .ivu-date-picker-cells-focused em{
  167. -webkit-box-shadow: 0 0 0 1px #7C3AED inset;
  168. box-shadow: 0 0 0 1px #7C3AED inset;
  169. }
  170. .ivu-date-picker-cells-cell-today em:after{
  171. background: #7C3AED;
  172. }
  173. .ivu-input,
  174. .ivu-input-number{
  175. border: 1px solid #D1D5DB;
  176. color: #111827;
  177. background-color: #fff;
  178. font-size: 14px;
  179. height: 40px;
  180. }
  181. .ivu-select-single .ivu-select-selection .ivu-select-placeholder,
  182. .ivu-input-number::placeholder,
  183. .ivu-input::placeholder{
  184. color: #9CA3AF
  185. }
  186. .ivu-input-number-handler{
  187. height: 20px;
  188. }
  189. .ivu-input-number-input-wrap{
  190. height: 40px;
  191. }
  192. .ivu-input-number-input,
  193. .ivu-input-prefix i, .ivu-input-suffix i,
  194. .ivu-input-icon{
  195. height: 40px;
  196. line-height: 40px;
  197. }
  198. .ivu-spin{
  199. color: #7C3AED;
  200. }
  201. .ivu-btn-default:hover {
  202. color: #7C3AED;
  203. border-color: #7C3AED;
  204. }
  205. .ivu-btn-primary:hover{
  206. border-color: #7C3AED;
  207. color: #fff;
  208. }
  209. .ivu-radio-wrapper{
  210. margin-right: 20px;
  211. color: #111827;
  212. }
  213. .ivu-select-single .ivu-select-selection{
  214. height: 40px;
  215. }
  216. .ivu-select-single .ivu-select-input,
  217. .ivu-select-single .ivu-select-selection .ivu-select-selected-value{
  218. height: 38px;
  219. line-height: 38px;
  220. color: #111827;
  221. }
  222. .ivu-select-single .ivu-select-selection .ivu-select-placeholder{
  223. height: 38px;
  224. line-height: 38px;
  225. }
  226. .ivu-select-multiple .ivu-select-item-selected,
  227. .ivu-select-multiple .ivu-select-item-selected:after,
  228. .ivu-select-item-selected, .ivu-select-item-selected:hover{
  229. color: #7C3AED;
  230. }
  231. .ivu-page-total,
  232. .ivu-page-item a{
  233. color: #111827;
  234. }
  235. .ivu-page-item-jump-next:after, .ivu-page-item-jump-prev:after{
  236. color: #111827;
  237. }
  238. .ivu-page-item-jump-next i, .ivu-page-item-jump-prev i{
  239. color: #7C3AED;
  240. }
  241. .ivu-page .ivu-select-single .ivu-select-selection{
  242. height: 32px;
  243. border: 1px solid #D1D5DB;
  244. }
  245. .ivu-page .ivu-select-single .ivu-select-selection .ivu-select-selected-value{
  246. height: 30px;
  247. line-height: 30px;
  248. }
  249. .ivu-page-next:hover,
  250. .ivu-page-prev:hover,
  251. .ivu-page-item-active,
  252. .ivu-page-item:hover{
  253. border-color: #7C3AED;
  254. }
  255. .ivu-page-next:hover a,
  256. .ivu-page-prev:hover a,
  257. .ivu-page-item-active a,
  258. .ivu-page-item:hover a{
  259. color: #7C3AED;
  260. }
  261. .ivu-input-number-disabled:hover,
  262. .ivu-page-disabled:hover{
  263. border-color: #D1D5DB;
  264. }
  265. .ivu-page-disabled:hover a{
  266. color: #9CA3AF;
  267. }
  268. .ivu-form-item-content {
  269. line-height: 40px;
  270. }
  271. /* tabs */
  272. .ivu-tabs-nav .ivu-tabs-tab-active{
  273. color: #7C3AED;
  274. }
  275. .ivu-tabs-nav .ivu-tabs-tab:hover{
  276. color: #7C3AED;
  277. }
  278. .ivu-tabs-ink-bar{
  279. background-color: #7c3aed;
  280. }
  281. .ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-tab-active{
  282. color: #7C3AED;
  283. }
  284. /* table */
  285. .ivu-table{
  286. color: #111827;
  287. }
  288. .ivu-table-cell-tree {
  289. margin-right: 10px;
  290. }
  291. td .ivu-table-cell {
  292. display: flex;
  293. margin: 20px 0;
  294. line-height: 21px;
  295. }
  296. .ivu-table-column-center .ivu-table-cell {
  297. justify-content: center;
  298. display: flex;
  299. }
  300. .ivu-table-column-right .ivu-table-cell {
  301. justify-content: flex-end;
  302. }
  303. .ivu-table-cell-tooltip {
  304. flex: 1;
  305. overflow: hidden;
  306. overflow-wrap: break-word;
  307. }
  308. .tree-item__title,
  309. .ivu-tree-title{
  310. color: #111827;
  311. }
  312. /* checkbox */
  313. /deep/ .ivu-checkbox-inner {
  314. width: 16px;
  315. height: 16px;
  316. }
  317. /deep/.ivu-checkbox-disabled .ivu-checkbox-inner {
  318. background-color: #ddd;
  319. }
  320. .ivu-checkbox-checked .ivu-checkbox-inner {
  321. border-color: #7C3AED;
  322. background-color: #7C3AED;
  323. }
  324. .ivu-checkbox-checked .ivu-checkbox-inner:after {
  325. width: 5px;
  326. height: 10px;
  327. top: 1px;
  328. }
  329. /* tag */
  330. .custom-tag {
  331. margin: 0 10px 10px 0 !important;
  332. padding: 5px 8px !important;
  333. }
  334. .ivu-tag-success,
  335. .ivu-tag-success.ivu-tag-dot .ivu-tag-dot-inner.tag_lsit {
  336. background: #EDF8FF;
  337. border-radius: 2px;
  338. border: 1px solid #B1C9FA;
  339. }
  340. .ivu-tag-success .ivu-tag-color-white,
  341. .ivu-tag-success.ivu-tag-dot .ivu-tag-dot-inner.tag_lsit .ivu-tag-color-white {
  342. color: #1354D3 !important;
  343. }
  344. #tag_list {
  345. display: flex;
  346. justify-content: center;
  347. align-items: center;
  348. margin-right: 20px;
  349. margin-left: 0px !important;
  350. border: 0;
  351. height: 29px;
  352. background: #7C3AED;
  353. border-radius: 4px;
  354. }
  355. #tag_list .ivu-tag-color-white {
  356. color: #FFFFFF !important;
  357. margin-right: 6px;
  358. }
  359. .ivu-table-header {
  360. line-height: 18px !important;
  361. font-weight: bold !important;
  362. }
  363. .ivu-table-fixed-header thead tr th,
  364. .ivu-table-header thead tr th {
  365. padding: 15px 0 !important;
  366. }
  367. .ivu-steps .ivu-steps-title {
  368. font-size: 18px;
  369. color: #666666;
  370. font-weight: 400;
  371. }
  372. /deep/ .ivu-input-group {
  373. height: 32px !important;
  374. }
  375. .ivu-btn-default{
  376. color: #111827;
  377. border-color: #D1D5DB;
  378. }
  379. .ivu-btn-primary {
  380. background-color: #7C3AED !important;
  381. border: 0 !important;
  382. color: #fff !important;
  383. }
  384. .btn_cancle {
  385. background: #96A0BC !important;
  386. color: #fff !important;
  387. border: 0 !important;
  388. }
  389. .btn_list {
  390. color: #7C3AED;
  391. }
  392. .serialnumbers {
  393. display: inline-block;
  394. margin-right: 10px;
  395. width: 16px;
  396. height: 16px;
  397. background: #7C3AED;
  398. border-radius: 50%;
  399. color: #fff;
  400. text-align: center;
  401. font-size: 14px;
  402. line-height: 16px;
  403. font-weight: 400;
  404. }
  405. .ivu-page-item-jump-next:after,
  406. .ivu-page-item-jump-prev:after {
  407. content: "\2022\2022\2022" !important;
  408. }