custom.css 13 KB

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