1
0

custom.css 12 KB

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