1
0

custom.css 28 KB

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