custom.css 26 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123
  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. .ant-input-number-handler-wrap {
  915. border-radius: 0;
  916. }
  917. .ant-input-number-handler {
  918. border-radius: 0;
  919. }
  920. .ant-input-number {
  921. overflow: clip;
  922. }
  923. .ant-modal-body,
  924. .ant-collapse-content>.ant-collapse-content-box {
  925. overflow-x: auto;
  926. }
  927. .ant-calendar-year-panel-year:hover,
  928. .ant-calendar-decade-panel-decade:hover,
  929. .ant-calendar-month-panel-month:hover,
  930. .ant-dropdown-menu-item:hover,
  931. .ant-dropdown-menu-submenu-title:hover,
  932. .ant-select-dropdown-menu-item-active:not(.ant-select-dropdown-menu-item-disabled),
  933. .ant-select-dropdown-menu-item:hover:not(.ant-select-dropdown-menu-item-disabled),
  934. .ant-table-tbody
  935. > tr.ant-table-row-hover:not(.ant-table-expanded-row):not(
  936. .ant-table-row-selected
  937. )
  938. > td,
  939. .ant-table-tbody
  940. > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
  941. > td,
  942. .ant-table-thead
  943. > tr.ant-table-row-hover:not(.ant-table-expanded-row):not(
  944. .ant-table-row-selected
  945. )
  946. > td,
  947. .ant-table-thead
  948. > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
  949. > td {
  950. background-color: rgb(232 244 242);
  951. }
  952. .dark .ant-dropdown-menu-item:hover,
  953. .dark .ant-dropdown-menu-submenu-title:hover,
  954. .dark .ant-select-dropdown-menu-item-active:not(.ant-select-dropdown-menu-item-disabled),
  955. .dark .ant-select-dropdown-menu-item:hover:not(.ant-select-dropdown-menu-item-disabled) {
  956. background-color: #313f5a;
  957. }
  958. .ant-select-dropdown,
  959. .ant-popover-inner {
  960. overflow-x: hidden;
  961. }
  962. .ant-popover-inner-content {
  963. max-height: 400px;
  964. overflow-y: auto;
  965. }
  966. .qr-bg {
  967. background-color: #fff;
  968. display: flex;
  969. justify-content: center;
  970. align-content: center;
  971. padding: 0.5rem;
  972. border-radius: 1rem;
  973. }
  974. .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) {
  975. border-radius: 0rem 1rem 1rem 0rem;
  976. }