custom.css 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143
  1. html,
  2. body {
  3. height: 100vh;
  4. width: 100vw;
  5. margin: 0;
  6. padding: 0;
  7. overflow: hidden;
  8. }
  9. body {
  10. color: rgba(0, 0, 0, 0.65);
  11. font-size: 14px;
  12. font-variant: tabular-nums;
  13. line-height: 1.5;
  14. background-color: #fff;
  15. font-feature-settings: "tnum";
  16. }
  17. html {
  18. --antd-wave-shadow-color: #008771;
  19. line-height: 1.15;
  20. text-size-adjust: 100%;
  21. -webkit-text-size-adjust: 100%;
  22. -ms-text-size-adjust: 100%;
  23. -ms-overflow-style: scrollbar;
  24. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  25. }
  26. ::selection {
  27. color: #008771;
  28. background-color: #cfe8e4;
  29. }
  30. #app {
  31. height: 100%;
  32. position: fixed;
  33. top: 0;
  34. left: 0;
  35. right: 0;
  36. bottom: 0;
  37. margin: 0;
  38. padding: 0;
  39. overflow: auto;
  40. }
  41. .ant-layout,
  42. .ant-layout * {
  43. box-sizing: border-box;
  44. }
  45. .ant-spin-blur {
  46. border-radius: 1.5rem;
  47. }
  48. style attribute {
  49. text-align: center;
  50. }
  51. .ant-table-tbody > tr > td,
  52. .ant-table-thead > tr > th {
  53. padding: 12px 8px;
  54. overflow-wrap: break-word;
  55. }
  56. .ant-table-thead > tr > th {
  57. color: rgba(0, 0, 0, 0.85);
  58. font-weight: 500;
  59. text-align: left;
  60. border-bottom: 1px solid #e8e8e8;
  61. transition: background 0.3s ease;
  62. }
  63. .ant-table-row-cell-break-word {
  64. word-wrap: break-word;
  65. word-break: break-word;
  66. }
  67. .ant-table table {
  68. width: 100%;
  69. text-align: left;
  70. border-radius: 1rem 1rem 0 0;
  71. border-collapse: separate;
  72. border-spacing: 0;
  73. }
  74. .ant-table {
  75. box-sizing: border-box;
  76. margin: 0;
  77. padding: 0;
  78. color: rgba(0, 0, 0, 0.65);
  79. font-size: 14px;
  80. font-variant: tabular-nums;
  81. line-height: 1.5;
  82. list-style: none;
  83. font-feature-settings: "tnum";
  84. position: relative;
  85. clear: both;
  86. }
  87. .ant-table-body {
  88. overflow-x: auto !important;
  89. }
  90. .ant-card-hoverable {
  91. cursor: auto;
  92. cursor: pointer;
  93. }
  94. .ant-card {
  95. box-sizing: border-box;
  96. margin: 0;
  97. padding: 0;
  98. color: rgba(0, 0, 0, 0.65);
  99. font-size: 14px;
  100. font-variant: tabular-nums;
  101. line-height: 1.5;
  102. list-style: none;
  103. font-feature-settings: "tnum";
  104. position: relative;
  105. background-color: #fff;
  106. border-radius: 2px;
  107. transition: all 0.3s;
  108. }
  109. .ant-space {
  110. width: 100%;
  111. }
  112. .ant-layout-sider-zero-width-trigger {
  113. display: none;
  114. }
  115. @media (max-width: 768px) {
  116. .ant-layout-sider {
  117. display: none;
  118. }
  119. .ant-card {
  120. margin: 0.5rem;
  121. }
  122. .ant-tabs {
  123. margin: 0.5rem;
  124. padding: 0.5rem;
  125. }
  126. .ant-modal-body {
  127. padding: 10px;
  128. }
  129. .ant-form-item-label {
  130. line-height: 1.5;
  131. padding: 8px 0 0;
  132. }
  133. }
  134. .ant-layout-content {
  135. min-height: auto;
  136. }
  137. .ant-card,
  138. .ant-tabs {
  139. border-radius: 1.5rem;
  140. }
  141. .ant-card-hoverable {
  142. cursor: auto;
  143. }
  144. .ant-card + .ant-card {
  145. margin-top: 20px;
  146. }
  147. .drawer-handle {
  148. position: absolute;
  149. top: 72px;
  150. width: 41px;
  151. height: 40px;
  152. cursor: pointer;
  153. z-index: 0;
  154. text-align: center;
  155. line-height: 40px;
  156. font-size: 16px;
  157. display: flex;
  158. justify-content: center;
  159. align-items: center;
  160. background-color: #fff;
  161. right: -40px;
  162. box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
  163. border-radius: 0 4px 4px 0;
  164. }
  165. .ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
  166. background-color: #006655 !important;
  167. background-image: linear-gradient(
  168. 270deg,
  169. rgba(123, 199, 77, 0) 30%,
  170. #009980,
  171. rgba(123, 199, 77, 0) 100%
  172. );
  173. background-repeat: no-repeat;
  174. animation: ma-bg-move linear 6.6s infinite;
  175. color: #fff;
  176. border-radius: 0.5rem;
  177. }
  178. @-webkit-keyframes ma-bg-move {
  179. 0% {
  180. background-position: -500px 0;
  181. }
  182. 100% {
  183. background-position: 1000px 0;
  184. }
  185. }
  186. @keyframes ma-bg-move {
  187. 0% {
  188. background-position: -500px 0;
  189. }
  190. 50% {
  191. background-position: 1000px 0;
  192. }
  193. 100% {
  194. background-position: 1000px 0;
  195. }
  196. }
  197. .ant-menu-item-active,
  198. .ant-menu-item:hover,
  199. .ant-menu-submenu-active,
  200. .ant-menu-submenu-title:hover,
  201. .ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open {
  202. color: #008771;
  203. background-color: rgb(232 244 242);
  204. border-radius: 0.5rem;
  205. }
  206. .ant-menu-inline .ant-menu-item {
  207. border-radius: 0.5rem;
  208. }
  209. .ant-menu-inline .ant-menu-item:after,
  210. .ant-menu {
  211. border-right-width: 0;
  212. }
  213. .ant-layout-sider-children,
  214. .ant-pagination ul {
  215. margin-top: -0.1px;
  216. padding: 0.5rem;
  217. }
  218. .ant-dropdown-menu,
  219. .ant-select-dropdown-menu {
  220. padding: 0.5rem;
  221. }
  222. .ant-dropdown-menu-item,
  223. .ant-dropdown-menu-item:hover,
  224. .ant-select-dropdown-menu-item,
  225. .ant-select-dropdown-menu-item:hover,
  226. .ant-select-dropdown-menu-item-selected,
  227. .ant-select-selection--multiple .ant-select-selection__choice {
  228. border-radius: 0.5rem;
  229. margin-bottom: 2px;
  230. }
  231. @media (min-width: 769px) {
  232. .drawer-handle {
  233. display: none;
  234. }
  235. .ant-tabs {
  236. padding: 2rem;
  237. }
  238. }
  239. .fade-in-enter,
  240. .fade-in-leave-active,
  241. .fade-in-linear-enter,
  242. .fade-in-linear-leave,
  243. .fade-in-linear-leave-active,
  244. .fade-in-linear-enter,
  245. .fade-in-linear-leave,
  246. .fade-in-linear-leave-active {
  247. opacity: 0;
  248. }
  249. .fade-in-linear-enter-active,
  250. .fade-in-linear-leave-active {
  251. -webkit-transition: opacity 0.2s linear;
  252. transition: opacity 0.2s linear;
  253. }
  254. .fade-in-linear-enter-active,
  255. .fade-in-linear-leave-active {
  256. -webkit-transition: opacity 0.2s linear;
  257. transition: opacity 0.2s linear;
  258. }
  259. .fade-in-enter-active,
  260. .fade-in-leave-active {
  261. -webkit-transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
  262. transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
  263. }
  264. .zoom-in-center-enter-active,
  265. .zoom-in-center-leave-active {
  266. -webkit-transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
  267. transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
  268. }
  269. .zoom-in-center-enter,
  270. .zoom-in-center-leave-active {
  271. opacity: 0;
  272. -webkit-transform: scaleX(0);
  273. transform: scaleX(0);
  274. }
  275. .zoom-in-top-enter-active,
  276. .zoom-in-top-leave-active {
  277. opacity: 1;
  278. -webkit-transform: scaleY(1);
  279. transform: scaleY(1);
  280. -webkit-transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1),
  281. -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  282. transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1),
  283. -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  284. transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
  285. opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  286. transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
  287. opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1),
  288. -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  289. -webkit-transform-origin: center top;
  290. transform-origin: center top;
  291. }
  292. .zoom-in-top-enter,
  293. .zoom-in-top-leave-active {
  294. opacity: 0;
  295. -webkit-transform: scaleY(0);
  296. transform: scaleY(0);
  297. }
  298. .zoom-in-bottom-enter-active,
  299. .zoom-in-bottom-leave-active {
  300. opacity: 1;
  301. -webkit-transform: scaleY(1);
  302. transform: scaleY(1);
  303. -webkit-transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1),
  304. -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  305. transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1),
  306. -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  307. transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
  308. opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  309. transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
  310. opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1),
  311. -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  312. -webkit-transform-origin: center bottom;
  313. transform-origin: center bottom;
  314. }
  315. .zoom-in-bottom-enter,
  316. .zoom-in-bottom-leave-active {
  317. opacity: 0;
  318. -webkit-transform: scaleY(0);
  319. transform: scaleY(0);
  320. }
  321. .zoom-in-left-enter-active,
  322. .zoom-in-left-leave-active {
  323. opacity: 1;
  324. -webkit-transform: scale(1, 1);
  325. transform: scale(1, 1);
  326. -webkit-transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1),
  327. -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  328. transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1),
  329. -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  330. transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
  331. opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  332. transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
  333. opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1),
  334. -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  335. -webkit-transform-origin: top left;
  336. transform-origin: top left;
  337. }
  338. .zoom-in-left-enter,
  339. .zoom-in-left-leave-active {
  340. opacity: 0;
  341. -webkit-transform: scale(0.45, 0.45);
  342. transform: scale(0.45, 0.45);
  343. }
  344. .list-enter-active,
  345. .list-leave-active {
  346. -webkit-transition: all 0.3s;
  347. transition: all 0.3s;
  348. }
  349. .list-enter,
  350. .list-leave-active {
  351. opacity: 0;
  352. -webkit-transform: translateY(-30px);
  353. transform: translateY(-30px);
  354. }
  355. .ant-tooltip-inner {
  356. min-height: 0;
  357. }
  358. .ant-list-item-meta-title {
  359. font-size: 14px;
  360. }
  361. .ant-progress-inner {
  362. background-color: #ebeef5;
  363. }
  364. .deactive-client .ant-collapse-header {
  365. color: rgb(255, 255, 255) !important;
  366. background-color: rgb(255, 127, 127);
  367. }
  368. .ant-table-expand-icon-th,
  369. .ant-table-row-expand-icon-cell {
  370. width: 30px;
  371. min-width: 30px;
  372. }
  373. .ant-tabs {
  374. background-color: white;
  375. }
  376. .ant-form-item {
  377. margin-bottom: 0;
  378. }
  379. .ant-setting-textarea {
  380. margin-top: 1.5rem;
  381. }
  382. .client-table-header {
  383. background-color: #f0f2f5;
  384. }
  385. .client-table-odd-row {
  386. background-color: #fafafa;
  387. }
  388. .ant-table-pagination.ant-pagination {
  389. float: left;
  390. }
  391. /* change basic colors */
  392. .ant-tag-blue {
  393. background-color: #edf4fa;
  394. border-color: #a9c5e7;
  395. color: #0e49b5;
  396. }
  397. .ant-tag-green {
  398. background-color: #eafff9;
  399. border-color: #76ccb4;
  400. color: #199270;
  401. }
  402. .ant-tag-purple {
  403. background-color: #f2eaf1;
  404. border-color: #d5bed2;
  405. color: #7a316f;
  406. }
  407. .ant-tag-orange,
  408. .ant-alert-warning {
  409. background-color: #ffeee1;
  410. border-color: #fec093;
  411. color: #f37b24;
  412. }
  413. .ant-tag-red,
  414. .ant-alert-error {
  415. background-color: #ffe9e9;
  416. border-color: #ff9e9e;
  417. color: #cf3c3c;
  418. }
  419. .ant-input::placeholder {
  420. opacity: 0.5;
  421. }
  422. .ant-input:hover,
  423. .ant-input:focus {
  424. background-color: rgb(232 244 242);
  425. }
  426. .delete-icon:hover {
  427. color: #e04141;
  428. }
  429. .normal-icon:hover {
  430. color: #008771;
  431. }
  432. /* DARK THEME */
  433. .dark ::selection {
  434. color: #fff;
  435. background-color: #008771;
  436. }
  437. .dark .normal-icon:hover {
  438. color: #ffffff;
  439. }
  440. .dark .ant-layout-sider,
  441. .dark .ant-drawer-content,
  442. .ant-menu-dark,
  443. .ant-menu-dark .ant-menu-sub,
  444. .dark .ant-card,
  445. .dark .ant-table,
  446. .dark .ant-collapse-content,
  447. .dark .ant-tabs {
  448. background-color: #151f31;
  449. color: #ffffffa6;
  450. }
  451. .dark .ant-card-hoverable:hover,
  452. .dark .ant-space-item > .ant-tabs:hover {
  453. box-shadow: 0 1px 10px -1px rgb(154 175 238 / 80%);
  454. }
  455. .dark > .ant-layout,
  456. .dark .drawer-handle,
  457. .dark .ant-table-thead > tr > th,
  458. .dark .ant-table-expanded-row,
  459. .dark .ant-table-expanded-row:hover,
  460. .dark .ant-table-expanded-row .ant-table-tbody,
  461. .dark .ant-calendar {
  462. background-color: #101828;
  463. color: rgb(255 255 255 /65%);
  464. }
  465. .dark .ant-table-expanded-row .ant-table-thead > tr:first-child > th {
  466. border-radius: 0;
  467. }
  468. .dark .ant-calendar,
  469. .dark .ant-card-bordered {
  470. border-color: #151f31;
  471. }
  472. .dark .ant-table-bordered,
  473. .dark .ant-table-bordered.ant-table-empty .ant-table-placeholder,
  474. .dark .ant-table-bordered .ant-table-body > table,
  475. .dark .ant-table-bordered .ant-table-fixed-left table,
  476. .dark .ant-table-bordered .ant-table-fixed-right table,
  477. .dark .ant-table-bordered .ant-table-header > table,
  478. .dark .ant-table-bordered .ant-table-thead > tr:not(:last-child) > th,
  479. .dark .ant-table-bordered .ant-table-tbody > tr > td,
  480. .dark .ant-table-bordered .ant-table-thead > tr > th {
  481. border-color: #2c3950;
  482. }
  483. .dark .ant-table-tbody > tr > td,
  484. .dark .ant-table-thead > tr > th,
  485. .dark .ant-card-head,
  486. .dark .ant-modal-header,
  487. .dark .ant-collapse > .ant-collapse-item,
  488. .dark .ant-tabs-bar,
  489. .dark .ant-list-split .ant-list-item,
  490. .dark .ant-popover-title,
  491. .dark .ant-calendar-header,
  492. .dark .ant-calendar-input-wrap {
  493. border-bottom-color: #2c3950;
  494. }
  495. .dark .ant-modal-footer,
  496. .dark .ant-collapse-content,
  497. .dark .ant-calendar-footer,
  498. .dark .ant-divider-horizontal.ant-divider-with-text-center:before,
  499. .dark .ant-divider-horizontal.ant-divider-with-text-center:after {
  500. border-top-color: #2c3950;
  501. }
  502. .dark .ant-progress-text,
  503. .dark .ant-card-head,
  504. .dark .ant-form,
  505. .dark .ant-collapse > .ant-collapse-item > .ant-collapse-header,
  506. .dark .ant-modal-close-x,
  507. .dark .ant-pagination-item a,
  508. .dark li:not(.ant-pagination-disabled) i,
  509. .dark .ant-form .anticon,
  510. .dark .ant-tabs-tab-arrow-show:not(.ant-tabs-tab-btn-disabled),
  511. .dark .anticon-close,
  512. .dark .ant-list-item-meta-title,
  513. .dark .ant-select-selection i,
  514. .dark .ant-modal-confirm-title,
  515. .dark .ant-modal-confirm-content,
  516. .dark .ant-popover-message,
  517. .dark .ant-modal,
  518. .dark .ant-divider-inner-text,
  519. .dark .ant-popover-title,
  520. .dark .ant-popover-inner-content,
  521. .dark h2,
  522. .dark .ant-modal-title,
  523. .dark .ant-form-item-label > label,
  524. .dark .ant-checkbox-wrapper,
  525. .dark .ant-form-item,
  526. .dark .ant-calendar-footer .ant-calendar-today-btn,
  527. .dark .ant-calendar-footer .ant-calendar-time-picker-btn,
  528. .dark .ant-calendar-day-select,
  529. .dark .ant-calendar-month-select,
  530. .dark .ant-calendar-year-select,
  531. .dark .ant-calendar-date,
  532. .dark .ant-calendar-year-panel-year,
  533. .dark .ant-calendar-month-panel-month,
  534. .dark .ant-calendar-decade-panel-decade {
  535. color: rgba(255, 255, 255, 0.65);
  536. }
  537. .dark .ant-list-item-meta-description {
  538. color: rgba(255, 255, 255, 0.45);
  539. }
  540. .dark .ant-pagination-disabled i,
  541. .dark .ant-tabs-tab-btn-disabled {
  542. color: rgba(255, 255, 255, 0.25);
  543. }
  544. .dark .ant-input,
  545. .dark .ant-input-group-addon,
  546. .dark .ant-collapse,
  547. .dark .ant-select-selection,
  548. .dark .ant-input-number,
  549. .dark .ant-input-number-handler-wrap,
  550. .dark .ant-pagination-item-active,
  551. .dark .ant-table-placeholder,
  552. .dark .ant-empty-normal,
  553. .dark.ant-select-dropdown,
  554. .dark .ant-select-dropdown,
  555. .dark .ant-select-dropdown li,
  556. .dark .ant-select-dropdown-menu-item,
  557. .dark .ant-divider:not(.ant-divider-with-text-center),
  558. .dark .ant-calendar-input,
  559. .dark .client-table-header,
  560. .dark .ant-select-selection--multiple .ant-select-selection__choice,
  561. .dark .ant-calendar-time-picker-inner {
  562. background-color: #222d42;
  563. border-color: #2c3950;
  564. color: rgba(255, 255, 255, 0.65);
  565. }
  566. .dark .ant-select-selection:hover,
  567. .dark .ant-calendar-picker-clear,
  568. .dark .ant-input-number:hover,
  569. .dark .ant-input-number:focus,
  570. .dark .ant-input:hover,
  571. .dark .ant-input:focus {
  572. background-color: rgba(0, 135, 113, 0.3);
  573. border-color: #008771;
  574. }
  575. .dark .ant-btn:not(.ant-btn-primary):not(.ant-btn-danger) {
  576. color: rgba(255, 255, 255, 0.65);
  577. background-color: rgb(10 117 87 / 30%);
  578. border: 1px solid #008771;
  579. }
  580. .dark .ant-radio-button-wrapper,
  581. .dark .ant-radio-button-wrapper:before {
  582. color: rgb(255 255 255 / 65%);
  583. background-color: rgba(0, 135, 113, 0.3);
  584. border-color: #008771;
  585. }
  586. .dark .ant-btn:focus:not(.ant-btn-primary):not(.ant-btn-danger),
  587. .dark .ant-btn:hover:not(.ant-btn-primary):not(.ant-btn-danger) {
  588. color: #fff;
  589. background-color: rgb(10 117 87 / 50%);
  590. border-color: #008771;
  591. }
  592. .dark .ant-btn-primary[disabled],
  593. .dark .ant-btn-danger[disabled],
  594. .dark .ant-calendar-ok-btn-disabled {
  595. color: rgb(255 255 255 / 35%);
  596. background-color: #2c3950;
  597. border-color: #42516c;
  598. }
  599. .dark
  600. .ant-table-tbody
  601. > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
  602. > td,
  603. .dark .client-table-odd-row {
  604. background-color: #00877122;
  605. }
  606. .dark .ant-table-row-expand-icon {
  607. color: #fff;
  608. background-color: #fff0;
  609. border-color: rgb(255 255 255 / 20%);
  610. }
  611. .dark .ant-table-row-expand-icon:hover {
  612. color: #008771;
  613. background-color: #fff0;
  614. border-color: #008771;
  615. }
  616. .dark .ant-switch:not(.ant-switch-checked),
  617. .dark .ant-progress-line .ant-progress-inner {
  618. background-color: #2c3950;
  619. }
  620. .dark .ant-progress-circle-trail {
  621. stroke: #2c3950 !important;
  622. }
  623. .ant-dropdown-menu-dark,
  624. .dark .ant-popover-inner {
  625. background-color: #222d42;
  626. }
  627. .dark > .ant-popover-content > .ant-popover-arrow {
  628. border-color: #222d42;
  629. }
  630. .ant-dropdown-menu-dark .ant-dropdown-menu-item:hover,
  631. .dark .ant-select-dropdown-menu-item-selected,
  632. .dark .ant-select-dropdown-menu-item:hover,
  633. .dark .ant-calendar-time-picker-select-option-selected {
  634. background-color: #313f5a;
  635. }
  636. .ant-menu-dark .ant-menu-item:hover {
  637. background-color: #2c3950;
  638. }
  639. .dark .ant-alert-message {
  640. color: rgba(255, 255, 255, 0.85);
  641. }
  642. .dark .ant-tag {
  643. color: rgba(255, 255, 255, 0.65);
  644. background-color: #ffffff0a;
  645. border-color: #344461;
  646. }
  647. .dark .ant-tag-blue {
  648. background-color: #111a2c;
  649. border-color: #0f367e;
  650. color: #3c89e8;
  651. }
  652. .dark .ant-tag-red,
  653. .dark .ant-alert-error {
  654. background-color: #291515;
  655. border-color: #5c2626;
  656. color: #e04141;
  657. }
  658. .dark .ant-tag-orange,
  659. .dark .ant-alert-warning {
  660. background-color: #312313;
  661. border-color: #593914;
  662. color: #ffa031;
  663. }
  664. .dark .ant-tag-green {
  665. background-color: #112421;
  666. border-color: #144840;
  667. color: #33bca5;
  668. }
  669. .dark .ant-tag-purple {
  670. background-color: #2c1e32;
  671. border-color: #49394e;
  672. color: #cfb9cc;
  673. }
  674. .dark .ant-modal-content,
  675. .dark .ant-modal-header {
  676. background-color: #181f2c;
  677. }
  678. .dark .ant-calendar-next-month-btn-day .ant-calendar-date,
  679. .dark .ant-calendar-last-month-cell .ant-calendar-date {
  680. color: #2c3950;
  681. }
  682. .dark .ant-calendar-selected-day .ant-calendar-date {
  683. background-color: #008771 !important;
  684. color: #fff;
  685. }
  686. .dark .ant-calendar-date:hover,
  687. .dark .ant-calendar-time-picker-select li:hover {
  688. background-color: #313f5a;
  689. color: #fff;
  690. }
  691. .dark .ant-calendar-header a:hover,
  692. .dark .ant-calendar-header a:hover::before,
  693. .dark .ant-calendar-header a:hover::after {
  694. border-color: #fff;
  695. }
  696. .dark .ant-calendar-time-picker-select li:focus {
  697. color: #fff;
  698. font-weight: 600;
  699. outline: none;
  700. background-color: #008771;
  701. }
  702. .dark .ant-calendar-time-picker-select {
  703. border-right-color: #2c3950;
  704. }
  705. .has-warning .ant-input,
  706. .has-warning .ant-input:hover {
  707. background-color: #ffeee1;
  708. border-color: #fec093;
  709. }
  710. .has-warning .ant-input::placeholder {
  711. color: #f37b24;
  712. }
  713. .has-warning .ant-input:not([disabled]):hover {
  714. border-color: #fec093;
  715. }
  716. .dark .has-warning .ant-input,
  717. .dark .has-warning .ant-input:hover {
  718. border-color: #784e1d;
  719. background: rgb(49, 35, 19);
  720. }
  721. .dark .has-warning .ant-input::placeholder {
  722. color: rgb(255 160 49 / 70%);
  723. }
  724. .dark .has-warning .anticon {
  725. color: #ffa031;
  726. }
  727. .dark .has-success .anticon {
  728. color: #61bf39;
  729. animation-name: diffZoomIn1 !important;
  730. }
  731. .dark .anticon-close-circle {
  732. color: #e04141;
  733. }
  734. .dark .ant-spin-nested-loading > div > .ant-spin .ant-spin-text {
  735. text-shadow: 0 1px 2px #00000077;
  736. }
  737. .dark .ant-spin {
  738. color: #fff;
  739. }
  740. .dark .ant-spin-dot-item {
  741. background-color: #fff;
  742. }
  743. .ant-menu,
  744. .ant-radio-button-wrapper {
  745. user-select: none;
  746. -webkit-user-select: none;
  747. }
  748. .ant-calendar-date,
  749. .ant-calendar-year-panel-year,
  750. .ant-calendar-decade-panel-decade,
  751. .ant-calendar-month-panel-month,
  752. .ant-checkbox-inner,
  753. .ant-checkbox-checked:after,
  754. .ant-table-row-expand-icon {
  755. border-radius: 6px;
  756. }
  757. .ant-calendar-date:hover {
  758. background-color: rgb(232 244 242);
  759. }
  760. .ant-calendar-date:active {
  761. background-color: rgb(232 244 242);
  762. color: rgba(0, 0, 0, 0.65);
  763. }
  764. .ant-calendar-today .ant-calendar-date {
  765. color: #008771;
  766. font-weight: 700;
  767. border-color: #008771;
  768. }
  769. .dark .ant-calendar-today .ant-calendar-date {
  770. color: #fff;
  771. font-weight: 700;
  772. border-color: #008771;
  773. }
  774. .ant-calendar-selected-day .ant-calendar-date {
  775. background: #008771;
  776. color: #ffffff;
  777. }
  778. li.ant-select-dropdown-menu-item:empty:after {
  779. content: "None";
  780. font-weight: normal;
  781. color: rgba(0, 0, 0, 0.25);
  782. }
  783. .dark li.ant-select-dropdown-menu-item:empty:after {
  784. content: "None";
  785. font-weight: normal;
  786. color: rgba(255, 255, 255, 0.3);
  787. }
  788. .ant-select-dropdown.ant-select-dropdown--multiple
  789. .ant-select-dropdown-menu-item:hover
  790. .ant-select-selected-icon {
  791. color: rgba(0, 0, 0, 0.87);
  792. }
  793. .dark.ant-select-dropdown.ant-select-dropdown--multiple
  794. .ant-select-dropdown-menu-item:hover
  795. .ant-select-selected-icon {
  796. color: rgb(255, 255, 255);
  797. }
  798. .ant-select-dropdown.ant-select-dropdown--multiple
  799. .ant-select-dropdown-menu-item-selected
  800. .ant-select-selected-icon,
  801. .ant-select-dropdown.ant-select-dropdown--multiple
  802. .ant-select-dropdown-menu-item-selected:hover
  803. .ant-select-selected-icon {
  804. color: #008771;
  805. }
  806. .ant-select-selection:hover,
  807. .ant-input-number-focused,
  808. .ant-input-number:hover {
  809. background-color: rgb(232 244 242);
  810. }
  811. .dark .ant-input-number-handler:active {
  812. background-color: #008771;
  813. }
  814. .dark .ant-input-number-handler:hover .ant-input-number-handler-down-inner,
  815. .dark .ant-input-number-handler:hover .ant-input-number-handler-up-inner {
  816. color: #fff;
  817. }
  818. .dark .ant-input-number-handler-down {
  819. border-top: 1px solid rgba(217, 217, 217, 0.3);
  820. }
  821. .dark .ant-calendar-year-panel-header .ant-calendar-year-panel-century-select,
  822. .dark .ant-calendar-year-panel-header .ant-calendar-year-panel-decade-select,
  823. .dark .ant-calendar-year-panel-header .ant-calendar-year-panel-month-select,
  824. .dark
  825. .ant-calendar-year-panel-header
  826. .ant-calendar-year-panel-year-select
  827. .dark
  828. .ant-calendar-month-panel-header
  829. .ant-calendar-month-panel-century-select,
  830. .dark .ant-calendar-month-panel-header .ant-calendar-month-panel-decade-select,
  831. .dark .ant-calendar-month-panel-header .ant-calendar-month-panel-month-select,
  832. .dark .ant-calendar-month-panel-header .ant-calendar-month-panel-year-select {
  833. color: rgba(255, 255, 255, 0.85);
  834. }
  835. .dark .ant-calendar-year-panel-header {
  836. border-bottom: 1px solid #222d42;
  837. }
  838. .dark .ant-calendar-year-panel-last-decade-cell .ant-calendar-year-panel-year,
  839. .dark .ant-calendar-year-panel-next-decade-cell .ant-calendar-year-panel-year {
  840. color: rgba(255, 255, 255, 0.35);
  841. }
  842. .dark .ant-calendar-year-panel-year:hover,
  843. .dark .ant-calendar-month-panel-month:hover,
  844. .dark .ant-calendar-decade-panel-decade:hover {
  845. background-color: #222d42;
  846. }
  847. .dark .ant-calendar-header a:hover {
  848. color: #fff;
  849. }
  850. .dark .ant-calendar-month-panel-header {
  851. background-color: #101828;
  852. border-bottom: 1px solid #222d42;
  853. }
  854. .dark .ant-calendar-year-panel,
  855. .dark .ant-calendar table {
  856. background-color: #101828;
  857. }
  858. .dark .ant-calendar-year-panel-selected-cell .ant-calendar-year-panel-year,
  859. .dark
  860. .ant-calendar-year-panel-selected-cell
  861. .ant-calendar-year-panel-year:hover,
  862. .dark .ant-calendar-month-panel-selected-cell .ant-calendar-month-panel-month,
  863. .dark
  864. .ant-calendar-month-panel-selected-cell
  865. .ant-calendar-month-panel-month:hover,
  866. .dark
  867. .ant-calendar-decade-panel-selected-cell
  868. .ant-calendar-decade-panel-decade,
  869. .dark
  870. .ant-calendar-decade-panel-selected-cell
  871. .ant-calendar-decade-panel-decade:hover {
  872. color: #fff;
  873. background-color: #008771;
  874. }
  875. .dark .ant-calendar-last-month-cell .ant-calendar-date,
  876. .dark .ant-calendar-last-month-cell .ant-calendar-date:hover,
  877. .dark .ant-calendar-next-month-btn-day .ant-calendar-date,
  878. .dark .ant-calendar-next-month-btn-day .ant-calendar-date:hover {
  879. color: rgb(255 255 255 / 25%);
  880. background: transparent;
  881. border-color: transparent;
  882. }
  883. .dark .ant-calendar-today .ant-calendar-date:hover {
  884. color: #fff;
  885. border-color: #008771;
  886. background-color: #008771;
  887. }
  888. .dark
  889. .ant-calendar-decade-panel-last-century-cell
  890. .ant-calendar-decade-panel-decade,
  891. .dark
  892. .ant-calendar-decade-panel-next-century-cell
  893. .ant-calendar-decade-panel-decade {
  894. color: rgb(255 255 255 / 25%);
  895. }
  896. .dark .ant-calendar-decade-panel-header {
  897. border-bottom: 1px solid #222d42;
  898. background-color: #101828;
  899. }
  900. .dark .ant-checkbox-inner {
  901. background-color: rgba(0, 135, 113, 0.3);
  902. border-color: rgba(0, 135, 113, 0.3);
  903. }
  904. .dark .ant-checkbox-checked .ant-checkbox-inner {
  905. background-color: #008771;
  906. border-color: #008771;
  907. }
  908. .dark .ant-calendar-input {
  909. background-color: #101828;
  910. }
  911. .dark .ant-calendar-input::placeholder {
  912. color: rgba(255, 255, 255, 0.25);
  913. }
  914. .dark .ant-message-notice-content {
  915. background-color: #222d42;
  916. border: 1px solid #2c3950;
  917. color: rgba(255, 255, 255, 0.65);
  918. }
  919. .ant-input-group.ant-input-group-compact-addon:not(:first-child):not(
  920. :last-child
  921. ),
  922. .ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(
  923. :last-child
  924. ),
  925. .ant-input-group.ant-input-group-compact
  926. > .ant-input:not(:first-child):not(:last-child),
  927. .ant-input-number-handler,
  928. .ant-input-number-handler-wrap {
  929. border-radius: 0;
  930. }
  931. .ant-input-number {
  932. overflow: clip;
  933. }
  934. .ant-modal-body,
  935. .ant-collapse-content>.ant-collapse-content-box {
  936. overflow-x: auto;
  937. }
  938. .ant-calendar-year-panel-year:hover,
  939. .ant-calendar-decade-panel-decade:hover,
  940. .ant-calendar-month-panel-month:hover,
  941. .ant-dropdown-menu-item:hover,
  942. .ant-dropdown-menu-submenu-title:hover,
  943. .ant-select-dropdown-menu-item-active:not(.ant-select-dropdown-menu-item-disabled),
  944. .ant-select-dropdown-menu-item:hover:not(.ant-select-dropdown-menu-item-disabled),
  945. .ant-table-tbody
  946. > tr.ant-table-row-hover:not(.ant-table-expanded-row):not(
  947. .ant-table-row-selected
  948. )
  949. > td,
  950. .ant-table-tbody
  951. > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
  952. > td,
  953. .ant-table-thead
  954. > tr.ant-table-row-hover:not(.ant-table-expanded-row):not(
  955. .ant-table-row-selected
  956. )
  957. > td,
  958. .ant-table-thead
  959. > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
  960. > td,
  961. .ant-calendar-time-picker-select li:hover {
  962. background-color: rgb(232 244 242);
  963. }
  964. .dark .ant-dropdown-menu-item:hover,
  965. .dark .ant-dropdown-menu-submenu-title:hover,
  966. .dark .ant-select-dropdown-menu-item-active:not(.ant-select-dropdown-menu-item-disabled),
  967. .dark .ant-select-dropdown-menu-item:hover:not(.ant-select-dropdown-menu-item-disabled) {
  968. background-color: #313f5a;
  969. }
  970. .ant-select-dropdown,
  971. .ant-popover-inner {
  972. overflow-x: hidden;
  973. }
  974. .ant-popover-inner-content {
  975. max-height: 400px;
  976. overflow-y: auto;
  977. }
  978. .qr-bg {
  979. background-color: #fff;
  980. display: flex;
  981. justify-content: center;
  982. align-content: center;
  983. padding: 0.5rem;
  984. border-radius: 1rem;
  985. }
  986. .ant-input-group-addon:not(:first-child):not(:last-child), .ant-input-group-wrap:not(:first-child):not(:last-child), .ant-input-group>.ant-input:not(:first-child):not(:last-child) {
  987. border-radius: 0rem 1rem 1rem 0rem;
  988. }
  989. .ant-tag {
  990. margin-right: 6px;
  991. }
  992. b, strong {
  993. font-weight: 500;
  994. }