custom.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  1. html,
  2. body {
  3. height: 100vh;
  4. width: 100vw;
  5. margin: 0;
  6. padding: 0;
  7. overflow: hidden;
  8. }
  9. #app {
  10. height: 100%;
  11. min-height: 100vh;
  12. position: fixed;
  13. top: 0;
  14. left: 0;
  15. right: 0;
  16. bottom: 0;
  17. margin: 0;
  18. padding: 0;
  19. overflow: auto;
  20. }
  21. .ant-space {
  22. width: 100%;
  23. }
  24. .ant-layout-sider-zero-width-trigger {
  25. display: none;
  26. }
  27. .ant-card {
  28. border-radius: 1.5rem;
  29. }
  30. .ant-card-hoverable {
  31. cursor: auto;
  32. }
  33. .ant-card+.ant-card {
  34. margin-top: 20px;
  35. }
  36. .drawer-handle {
  37. position: absolute;
  38. top: 72px;
  39. width: 41px;
  40. height: 40px;
  41. cursor: pointer;
  42. z-index: 0;
  43. text-align: center;
  44. line-height: 40px;
  45. font-size: 16px;
  46. display: flex;
  47. justify-content: center;
  48. align-items: center;
  49. background: #fff;
  50. right: -40px;
  51. box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
  52. border-radius: 0 4px 4px 0;
  53. }
  54. @media (min-width: 769px) {
  55. .drawer-handle {
  56. display: none;
  57. }
  58. }
  59. .fade-in-enter, .fade-in-leave-active, .fade-in-linear-enter, .fade-in-linear-leave, .fade-in-linear-leave-active, .fade-in-linear-enter, .fade-in-linear-leave, .fade-in-linear-leave-active {
  60. opacity: 0
  61. }
  62. .fade-in-linear-enter-active, .fade-in-linear-leave-active {
  63. -webkit-transition: opacity .2s linear;
  64. transition: opacity .2s linear
  65. }
  66. .fade-in-linear-enter-active, .fade-in-linear-leave-active {
  67. -webkit-transition: opacity .2s linear;
  68. transition: opacity .2s linear
  69. }
  70. .fade-in-enter-active, .fade-in-leave-active {
  71. -webkit-transition: all .3s cubic-bezier(.55, 0, .1, 1);
  72. transition: all .3s cubic-bezier(.55, 0, .1, 1)
  73. }
  74. .zoom-in-center-enter-active, .zoom-in-center-leave-active {
  75. -webkit-transition: all .3s cubic-bezier(.55, 0, .1, 1);
  76. transition: all .3s cubic-bezier(.55, 0, .1, 1)
  77. }
  78. .zoom-in-center-enter, .zoom-in-center-leave-active {
  79. opacity: 0;
  80. -webkit-transform: scaleX(0);
  81. transform: scaleX(0)
  82. }
  83. .zoom-in-top-enter-active, .zoom-in-top-leave-active {
  84. opacity: 1;
  85. -webkit-transform: scaleY(1);
  86. transform: scaleY(1);
  87. -webkit-transition: opacity .3s cubic-bezier(.23, 1, .32, 1), -webkit-transform .3s cubic-bezier(.23, 1, .32, 1);
  88. transition: opacity .3s cubic-bezier(.23, 1, .32, 1), -webkit-transform .3s cubic-bezier(.23, 1, .32, 1);
  89. transition: transform .3s cubic-bezier(.23, 1, .32, 1), opacity .3s cubic-bezier(.23, 1, .32, 1);
  90. transition: transform .3s cubic-bezier(.23, 1, .32, 1), opacity .3s cubic-bezier(.23, 1, .32, 1), -webkit-transform .3s cubic-bezier(.23, 1, .32, 1);
  91. -webkit-transform-origin: center top;
  92. transform-origin: center top
  93. }
  94. .zoom-in-top-enter, .zoom-in-top-leave-active {
  95. opacity: 0;
  96. -webkit-transform: scaleY(0);
  97. transform: scaleY(0)
  98. }
  99. .zoom-in-bottom-enter-active, .zoom-in-bottom-leave-active {
  100. opacity: 1;
  101. -webkit-transform: scaleY(1);
  102. transform: scaleY(1);
  103. -webkit-transition: opacity .3s cubic-bezier(.23, 1, .32, 1), -webkit-transform .3s cubic-bezier(.23, 1, .32, 1);
  104. transition: opacity .3s cubic-bezier(.23, 1, .32, 1), -webkit-transform .3s cubic-bezier(.23, 1, .32, 1);
  105. transition: transform .3s cubic-bezier(.23, 1, .32, 1), opacity .3s cubic-bezier(.23, 1, .32, 1);
  106. transition: transform .3s cubic-bezier(.23, 1, .32, 1), opacity .3s cubic-bezier(.23, 1, .32, 1), -webkit-transform .3s cubic-bezier(.23, 1, .32, 1);
  107. -webkit-transform-origin: center bottom;
  108. transform-origin: center bottom
  109. }
  110. .zoom-in-bottom-enter, .zoom-in-bottom-leave-active {
  111. opacity: 0;
  112. -webkit-transform: scaleY(0);
  113. transform: scaleY(0)
  114. }
  115. .zoom-in-left-enter-active, .zoom-in-left-leave-active {
  116. opacity: 1;
  117. -webkit-transform: scale(1, 1);
  118. transform: scale(1, 1);
  119. -webkit-transition: opacity .3s cubic-bezier(.23, 1, .32, 1), -webkit-transform .3s cubic-bezier(.23, 1, .32, 1);
  120. transition: opacity .3s cubic-bezier(.23, 1, .32, 1), -webkit-transform .3s cubic-bezier(.23, 1, .32, 1);
  121. transition: transform .3s cubic-bezier(.23, 1, .32, 1), opacity .3s cubic-bezier(.23, 1, .32, 1);
  122. transition: transform .3s cubic-bezier(.23, 1, .32, 1), opacity .3s cubic-bezier(.23, 1, .32, 1), -webkit-transform .3s cubic-bezier(.23, 1, .32, 1);
  123. -webkit-transform-origin: top left;
  124. transform-origin: top left
  125. }
  126. .zoom-in-left-enter, .zoom-in-left-leave-active {
  127. opacity: 0;
  128. -webkit-transform: scale(.45, .45);
  129. transform: scale(.45, .45)
  130. }
  131. .list-enter-active, .list-leave-active {
  132. -webkit-transition: all .3s;
  133. transition: all .3s
  134. }
  135. .list-enter, .list-leave-active {
  136. opacity: 0;
  137. -webkit-transform: translateY(-30px);
  138. transform: translateY(-30px)
  139. }
  140. .ant-progress-inner {
  141. background-color: #EBEEF5;
  142. }
  143. .deactive-client .ant-collapse-header{
  144. color:rgb(255, 255, 255) !important;
  145. background-color: rgb(255, 127, 127);
  146. }
  147. .ant-table-tbody>tr>td,
  148. .ant-table-thead>tr>th{
  149. padding:16px;
  150. }
  151. .ant-table-expand-icon-th,
  152. .ant-table-row-expand-icon-cell {
  153. width: 30px;
  154. min-width: 30px;
  155. }
  156. .ant-menu-dark,
  157. .ant-menu-dark .ant-menu-sub,
  158. .ant-layout-header,
  159. .ant-layout-sider-dark,
  160. .ant-layout-sider-zero-width-trigger,
  161. .ant-dropdown-menu-dark,.ant-dropdown-menu-dark .ant-dropdown-menu,
  162. .ant-menu-dark.ant-menu-horizontal>.ant-menu-item,.ant-menu-dark.ant-menu-horizontal>.ant-menu-submenu {
  163. background:#1A202B
  164. }
  165. .ant-card-dark {
  166. color: hsla(0,0%,100%,.65);
  167. background-color: #1a212a;
  168. border-color:rgba(0,0,0,.09);
  169. }
  170. .ant-card-dark:hover {
  171. border-color: #e8e8e8;
  172. box-shadow: 0 1px 10px -1px rgb(76, 88, 126);
  173. }
  174. /* .ant-card-bordered:hover {
  175. box-shadow: 0 3px 12px -0.8px #0000005c;
  176. } */
  177. .ant-card-dark .ant-table-thead th {
  178. color: hsla(0,0%,100%,.65);
  179. background-color: #161b22;
  180. }
  181. .ant-card-dark .ant-table-tbody tr td,
  182. .ant-card-dark .ant-modal-title {
  183. color: hsla(0,0%,100%,.65);
  184. }
  185. .ant-card-dark .ant-collapse-content,
  186. .ant-card-dark .ant-calendar,
  187. .ant-card-dark .ant-table-placeholder,
  188. .ant-card-dark .ant-input-group-addon {
  189. color: hsla(0,0%,100%,.65);
  190. background-color: #262f3d;
  191. border: 1px solid rgb(0 150 112 / 0%);
  192. }
  193. .ant-card-dark .ant-list-item-meta-title,
  194. .ant-card-dark .ant-list-item-meta-description,
  195. .ant-card-dark .ant-form-item-label>label,
  196. .ant-card-dark .ant-form-item,
  197. .ant-card-dark .ant-divider-inner-text,
  198. .ant-card-dark .ant-modal-confirm-content,
  199. .ant-card-dark .ant-modal-confirm-title,
  200. .ant-card-dark .ant-progress-text,
  201. .ant-card-dark .ant-modal-close,
  202. .ant-card-dark i,
  203. .ant-card-dark .ant-select-dropdown-menu-item,
  204. .ant-card-dark .ant-calendar-day-select,
  205. .ant-card-dark .ant-calendar-month-select,
  206. .ant-card-dark .ant-calendar-year-select,
  207. .ant-card-dark .ant-calendar-date,
  208. .ant-card-dark .ant-collapse>.ant-collapse-item>.ant-collapse-header,
  209. .ant-card-dark .ant-empty-normal,
  210. .ant-card-dark .ant-checkbox+span {
  211. color: hsla(0,0%,100%,.65);
  212. }
  213. .ant-card-dark .ant-table-tbody>tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)>td,
  214. .ant-card-dark .ant-select-dropdown-menu-item:hover:not(.ant-select-dropdown-menu-item-disabled),
  215. .ant-card-dark .ant-calendar-date:hover,
  216. .ant-card-dark .ant-select-dropdown-menu-item-active,
  217. .ant-card-dark li.ant-calendar-time-picker-select-option-selected {
  218. background-color: #11314d;
  219. }
  220. .ant-card-dark tbody .ant-table-expanded-row,
  221. .ant-card-dark .ant-calendar-time-picker-inner {
  222. color: hsla(0,0%,100%,.65);
  223. background-color: #1a212a;
  224. }
  225. .ant-input-number {
  226. min-width: 100px;
  227. }
  228. .ant-card-dark .ant-input,
  229. .ant-card-dark .ant-input-number,
  230. .ant-card-dark .ant-input-number-handler-wrap,
  231. .ant-card-dark .ant-calendar-input,
  232. .ant-card-dark .ant-select-dropdown-menu-item-selected,
  233. .ant-card-dark .ant-select-selection,
  234. .ant-card-dark .ant-calendar-picker-clear {
  235. color: hsla(0,0%,100%,.65);
  236. background-color: rgb(46 59 82 / 50%);
  237. border: 1px solid rgb(0 150 112 / 0%);
  238. }
  239. .ant-card-dark .ant-select-disabled .ant-select-selection {
  240. border: 1px solid rgba(255, 255, 255, 0.2);
  241. background-color: #242c3a;
  242. }
  243. .ant-card-dark .ant-collapse-item {
  244. color: hsla(0,0%,100%,.65);
  245. background-color: #161b22;
  246. border-radius: 0.5rem 0.5rem 0 0;
  247. }
  248. .ant-dropdown-menu-dark,
  249. .ant-card-dark .ant-modal-content {
  250. border:1px solid rgb(100 100 100 / 20%);
  251. box-shadow: 0 2px 8px rgba(255,255,255,.15);
  252. }
  253. .ant-card-dark .ant-modal-content,
  254. .ant-card-dark .ant-modal-body,
  255. .ant-card-dark .ant-modal-header {
  256. color: hsla(0,0%,100%,.65);
  257. background-color: #222a37;
  258. }
  259. .ant-card-dark .ant-calendar-selected-day .ant-calendar-date {
  260. background-color: rgb(0 150 112);
  261. }
  262. .ant-card-dark .ant-calendar-time-picker-select li:hover {
  263. background: #1668dc;
  264. }
  265. .client-table-header {
  266. background-color: #f0f2f5;
  267. }
  268. .client-table-odd-row {
  269. background-color: #fafafa;
  270. }
  271. .ant-card-dark .client-table-header {
  272. background-color: #1a212a;
  273. color: hsla(0,0%,100%,.65);
  274. }
  275. .ant-card-dark .client-table-odd-row {
  276. color: hsla(0,0%,100%,.65);
  277. background-color: #242c3a;
  278. }
  279. .ant-card-dark .ant-calendar-last-month-cell .ant-calendar-date,
  280. .ant-card-dark .ant-calendar-next-month-btn-day .ant-calendar-date {
  281. color: hsla(0,0%,100%,.30);
  282. }
  283. .ant-drawer-dark {
  284. color: hsla(0,0%,100%,.65);
  285. }
  286. .ant-drawer-dark .ant-drawer-wrapper-body,
  287. .ant-drawer-dark .drawer-handle {
  288. background-color: #1a212a;
  289. border: 1px solid hsla(0,0%,100%,.30);
  290. }
  291. .ant-card-dark .ant-tag {
  292. color: hsla(0,0%,100%,.65);
  293. background: rgba(255,255,255,.04);
  294. border-color: #434343;
  295. }
  296. .ant-card-dark .ant-tag-blue {
  297. color: #3c9ae8;
  298. background: #111d2c;
  299. border-color: #15395b;
  300. }
  301. .ant-card-dark .ant-tag-green {
  302. color: #37b998;
  303. background: #101e1a;
  304. border-color: #144237;
  305. }
  306. .ant-card-dark .ant-tag-cyan {
  307. color: #33bcb7;
  308. background: #112123;
  309. border-color: #144848;
  310. }
  311. .ant-card-dark .ant-tag-red {
  312. color: #e84749;
  313. background: #2a1215;
  314. border-color: #58181c;
  315. }
  316. .ant-card-dark .ant-tag-orange {
  317. color: #e89a3c;
  318. background: #2b1d11;
  319. border-color: #593815;
  320. }
  321. .ant-card-dark .ant-table-row-expand-icon,
  322. .ant-card-dark .ant-checkbox-inner {
  323. background: none;
  324. }
  325. .ant-card-dark .ant-switch-checked {
  326. background-color: #009670;
  327. }
  328. .ant-card-dark .ant-btn,
  329. .ant-card-dark .ant-radio-button-wrapper {
  330. color: hsla(0,0%,100%,.65);
  331. background: none;
  332. border: 1px solid hsla(0,0%,100%,.65);
  333. }
  334. .ant-card-dark .ant-radio-button-wrapper:hover {
  335. color: #177ddc;
  336. }
  337. .ant-card-dark .ant-btn-primary {
  338. color: hsla(0,0%,100%,.65);
  339. background-color: rgb(7 98 75 / 50%);
  340. border-color: #009670;
  341. text-shadow: 0 -1px 0 rgba(255,255,255,.12);
  342. box-shadow: 0 2px 0 rgba(255,255,255,.045);
  343. }
  344. .ant-card-dark .ant-btn-primary:hover {
  345. background-color: #009670;
  346. border-color: #40a9ff00;
  347. }
  348. .ant-dark .ant-popover-content {
  349. border: 1px solid #e8e8e8;
  350. border-radius: 4px;
  351. box-shadow: 0 2px 8px rgba(255,255,255,.15);
  352. }
  353. .ant-dark .ant-popover-inner {
  354. background: #222a37;
  355. }
  356. .ant-dark .ant-popover-title,
  357. .ant-dark .ant-popover-inner-content {
  358. color: hsla(0,0%,100%,.65);
  359. }
  360. .ant-dark .ant-popover-placement-top>.ant-popover-content>.ant-popover-arrow {
  361. border-color: transparent #2e3b52 #2e3b52 transparent;
  362. }
  363. ::-webkit-scrollbar {
  364. width: 0.7em;
  365. }
  366. ::-webkit-scrollbar-track {
  367. background: rgb(50 62 82 / 25%);
  368. }
  369. ::-webkit-scrollbar-thumb {
  370. background: rgb(133 133 133 / 80%);
  371. border-radius: 100vw;
  372. }
  373. ::-webkit-scrollbar-thumb:hover {
  374. background: #919191;
  375. }