custom.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444
  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(154 175 238);
  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. }
  192. .ant-card-dark .ant-list-item-meta-title,
  193. .ant-card-dark .ant-list-item-meta-description,
  194. .ant-card-dark .ant-form-item-label>label,
  195. .ant-card-dark .ant-form-item,
  196. .ant-card-dark .ant-divider-inner-text,
  197. .ant-card-dark .ant-modal-confirm-content,
  198. .ant-card-dark .ant-modal-confirm-title,
  199. .ant-card-dark .ant-progress-text,
  200. .ant-card-dark .ant-modal-close,
  201. .ant-card-dark i,
  202. .ant-card-dark .ant-select-dropdown-menu-item,
  203. .ant-card-dark .ant-calendar-day-select,
  204. .ant-card-dark .ant-calendar-month-select,
  205. .ant-card-dark .ant-calendar-year-select,
  206. .ant-card-dark .ant-calendar-date,
  207. .ant-card-dark .ant-collapse>.ant-collapse-item>.ant-collapse-header,
  208. .ant-card-dark .ant-empty-normal,
  209. .ant-card-dark .ant-checkbox+span {
  210. color: hsla(0,0%,100%,.65);
  211. }
  212. .ant-card-dark .ant-table-tbody>tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)>td,
  213. .ant-card-dark .ant-select-dropdown-menu-item:hover:not(.ant-select-dropdown-menu-item-disabled),
  214. .ant-card-dark .ant-calendar-date:hover,
  215. .ant-card-dark .ant-select-dropdown-menu-item-active,
  216. .ant-card-dark li.ant-calendar-time-picker-select-option-selected {
  217. background-color: #11314d;
  218. }
  219. .ant-card-dark tbody .ant-table-expanded-row,
  220. .ant-card-dark .ant-calendar-time-picker-inner {
  221. color: hsla(0,0%,100%,.65);
  222. background-color: #1a212a;
  223. }
  224. .ant-input-number {
  225. min-width: 100px;
  226. }
  227. .ant-card-dark .ant-input,
  228. .ant-card-dark .ant-input-number,
  229. .ant-card-dark .ant-input-number-handler-wrap,
  230. .ant-card-dark .ant-calendar-input,
  231. .ant-card-dark .ant-select-dropdown-menu-item-selected,
  232. .ant-card-dark .ant-select-selection,
  233. .ant-card-dark .ant-calendar-picker-clear {
  234. color: hsla(0,0%,100%,.65);
  235. background-color: rgb(46 59 82 / 50%);
  236. border: 1px solid rgb(0 150 112 / 0%);
  237. }
  238. .ant-card-dark .ant-select-disabled .ant-select-selection {
  239. border: 1px solid rgba(255, 255, 255, 0.2);
  240. background-color: #242c3a;
  241. }
  242. .ant-card-dark .ant-collapse-item {
  243. color: hsla(0,0%,100%,.65);
  244. background-color: #161b22;
  245. border-radius: 0.5rem 0.5rem 0 0;
  246. }
  247. .ant-dropdown-menu-dark,
  248. .ant-card-dark .ant-modal-content {
  249. border:1px solid rgb(100 100 100 / 20%);
  250. box-shadow: 0 2px 8px rgba(255,255,255,.15);
  251. }
  252. .ant-card-dark .ant-modal-content,
  253. .ant-card-dark .ant-modal-body,
  254. .ant-card-dark .ant-modal-header {
  255. color: hsla(0,0%,100%,.65);
  256. background-color: #222a37;
  257. }
  258. .ant-card-dark .ant-calendar-selected-day .ant-calendar-date {
  259. background-color: rgb(0 150 112);
  260. }
  261. .ant-card-dark .ant-calendar-time-picker-select li:hover {
  262. background: #1668dc;
  263. }
  264. .client-table-header {
  265. background-color: #f0f2f5;
  266. }
  267. .client-table-odd-row {
  268. background-color: #fafafa;
  269. }
  270. .ant-card-dark .client-table-header {
  271. background-color: #1a212a;
  272. color: hsla(0,0%,100%,.65);
  273. }
  274. .ant-card-dark .client-table-odd-row {
  275. color: hsla(0,0%,100%,.65);
  276. background-color: #242c3a;
  277. }
  278. .ant-card-dark .ant-calendar-last-month-cell .ant-calendar-date,
  279. .ant-card-dark .ant-calendar-next-month-btn-day .ant-calendar-date {
  280. color: hsla(0,0%,100%,.30);
  281. }
  282. .ant-drawer-dark {
  283. color: hsla(0,0%,100%,.65);
  284. }
  285. .ant-drawer-dark .ant-drawer-wrapper-body,
  286. .ant-drawer-dark .drawer-handle {
  287. background-color: #1a212a;
  288. border: 1px solid hsla(0,0%,100%,.30);
  289. }
  290. .ant-card-dark .ant-tag {
  291. color: hsla(0,0%,100%,.65);
  292. background: rgba(255,255,255,.04);
  293. border-color: #434343;
  294. }
  295. .ant-card-dark .ant-tag-blue {
  296. color: #3c9ae8;
  297. background: #111d2c;
  298. border-color: #15395b;
  299. }
  300. .ant-card-dark .ant-tag-green {
  301. color: #37b998;
  302. background: #101e1a;
  303. border-color: #144237;
  304. }
  305. .ant-card-dark .ant-tag-cyan {
  306. color: #33bcb7;
  307. background: #112123;
  308. border-color: #144848;
  309. }
  310. .ant-card-dark .ant-tag-red {
  311. color: #e84749;
  312. background: #2a1215;
  313. border-color: #58181c;
  314. }
  315. .ant-card-dark .ant-tag-orange {
  316. color: #e89a3c;
  317. background: #2b1d11;
  318. border-color: #593815;
  319. }
  320. .ant-card-dark .ant-table-row-expand-icon,
  321. .ant-card-dark .ant-checkbox-inner {
  322. background: none;
  323. }
  324. .ant-card-dark .ant-switch-checked {
  325. background-color: #009670;
  326. }
  327. .ant-card-dark .ant-btn,
  328. .ant-card-dark .ant-radio-button-wrapper {
  329. color: hsla(0,0%,100%,.65);
  330. background: none;
  331. border: 1px solid hsla(0,0%,100%,.65);
  332. }
  333. .ant-card-dark .ant-radio-button-wrapper:hover {
  334. color: #177ddc;
  335. }
  336. .ant-card-dark .ant-btn-primary {
  337. color: hsla(0,0%,100%,.65);
  338. background-color: rgb(7 98 75 / 50%);
  339. border-color: #009670;
  340. text-shadow: 0 -1px 0 rgba(255,255,255,.12);
  341. box-shadow: 0 2px 0 rgba(255,255,255,.045);
  342. }
  343. .ant-card-dark .ant-btn-primary:hover {
  344. background-color: #009670;
  345. border-color: #40a9ff00;
  346. }
  347. .ant-dark .ant-popover-content {
  348. border: 1px solid #e8e8e8;
  349. border-radius: 4px;
  350. box-shadow: 0 2px 8px rgba(255,255,255,.15);
  351. }
  352. .ant-dark .ant-popover-inner {
  353. background: #222a37;
  354. }
  355. .ant-dark .ant-popover-title,
  356. .ant-dark .ant-popover-inner-content {
  357. color: hsla(0,0%,100%,.65);
  358. }
  359. .ant-dark .ant-popover-placement-top>.ant-popover-content>.ant-popover-arrow {
  360. border-color: transparent #2e3b52 #2e3b52 transparent;
  361. }
  362. ::-webkit-scrollbar {
  363. width: 0.7em;
  364. }
  365. ::-webkit-scrollbar-track {
  366. background: rgb(50 62 82 / 25%);
  367. }
  368. ::-webkit-scrollbar-thumb {
  369. background: rgb(133 133 133 / 80%);
  370. border-radius: 100vw;
  371. }
  372. ::-webkit-scrollbar-thumb:hover {
  373. background: #919191;
  374. }