custom.css 12 KB

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