custom.css 25 KB

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