You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

global.less 3.1 kB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
1 year ago
2 years ago
2 years ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. html,
  2. body,
  3. #root {
  4. min-width: 1440px;
  5. height: 100%;
  6. margin: 0;
  7. padding: 0;
  8. overflow-y: visible;
  9. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
  10. 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
  11. 'Noto Color Emoji';
  12. }
  13. .colorWeak {
  14. filter: invert(80%);
  15. }
  16. .ant-layout {
  17. min-height: 100vh;
  18. }
  19. .ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
  20. left: unset;
  21. }
  22. canvas {
  23. display: block;
  24. }
  25. body {
  26. text-rendering: optimizeLegibility;
  27. -webkit-font-smoothing: antialiased;
  28. -moz-osx-font-smoothing: grayscale;
  29. }
  30. .ant-pro-layout .ant-pro-layout-content {
  31. padding: 0 10px 10px;
  32. background-color: transparent;
  33. }
  34. .ant-pro-layout .ant-pro-layout-bg-list {
  35. background: @background-color;
  36. }
  37. .ant-pro-base-menu-inline-item-title .ant-pro-base-menu-inline-item-text {
  38. font-size: 16px;
  39. }
  40. .ant-pro-layout .ant-pro-sider-menu {
  41. padding-top: 15px;
  42. }
  43. .ant-pro-global-header-logo-mix {
  44. padding-left: 12px;
  45. }
  46. .ant-pro-layout .ant-pro-sider .ant-layout-sider-children {
  47. border-right: unset;
  48. }
  49. .ant-pro-base-menu-inline {
  50. border-radius: 0px 20px 20px 0px;
  51. }
  52. .ant-drawer .ant-drawer-body {
  53. padding: 0;
  54. }
  55. .ant-drawer .ant-drawer-body .ant-row {
  56. padding: 0 24px;
  57. }
  58. .ant-drawer .ant-drawer-body .ant-form-item {
  59. margin-bottom: 20px;
  60. }
  61. .ant-menu .ant-menu-submenu-title .anticon {
  62. font-size: 16px;
  63. }
  64. .ant-table-wrapper .ant-table-pagination.ant-pagination {
  65. margin: 0;
  66. padding: 20px 16px;
  67. background-color: #fff;
  68. }
  69. .ant-pro-global-header-logo img {
  70. height: 21px;
  71. }
  72. .ant-pro-layout .ant-layout-sider.ant-pro-sider {
  73. height: 100vh;
  74. // padding-top: 56px;
  75. }
  76. .ant-pro-layout .ant-pro-layout-container {
  77. height: 100vh;
  78. overflow-y: hidden;
  79. }
  80. .ant-pagination .ant-pagination-item.ant-pagination-item-active {
  81. background: @primary-color;
  82. border-width: 0;
  83. a {
  84. color: #fff;
  85. }
  86. }
  87. .ant-pagination .ant-pagination-item-active:hover {
  88. color: #fff;
  89. background: rgba(22, 100, 255, 0.8);
  90. border-color: rgba(22, 100, 255, 0.8);
  91. }
  92. .ant-pagination .ant-pagination-item {
  93. border: 1px solid #e6e6e6;
  94. }
  95. ::-webkit-scrollbar {
  96. width: 8px;
  97. height: 8px;
  98. background: transparent;
  99. }
  100. ::-webkit-scrollbar-thumb {
  101. width: 8px;
  102. height: 8px;
  103. background: rgba(0, 0, 0, 0.5);
  104. border-radius: 99px;
  105. }
  106. ::-webkit-scrollbar-track {
  107. width: 8px;
  108. height: 8px;
  109. background: transparent;
  110. }
  111. ul,
  112. ol {
  113. list-style: none;
  114. }
  115. @media (max-width: 768px) {
  116. .ant-table {
  117. width: 100%;
  118. overflow-x: auto;
  119. &-thead > tr,
  120. &-tbody > tr {
  121. > th,
  122. > td {
  123. white-space: pre;
  124. > span {
  125. display: block;
  126. }
  127. }
  128. }
  129. }
  130. }
  131. .kf-page-container {
  132. height: 100%;
  133. &__content {
  134. height: calc(100% - 55px);
  135. }
  136. }
  137. .kf-menu-collapsed {
  138. position: fixed;
  139. top: 0;
  140. left: 0;
  141. z-index: 999;
  142. }
  143. .kf-table-row-link:hover {
  144. text-decoration: underline @underline-color;
  145. text-underline-offset: 3px;
  146. }
  147. input:-webkit-autofill {
  148. transition: background-color 5000s ease-in-out 0s;
  149. }
  150. .ant-typography {
  151. color: inherit;
  152. font-size: inherit;
  153. }