base.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. html {
  7. height: 100%;
  8. font-size: 14px;
  9. user-select: none;
  10. }
  11. body {
  12. font: 1em/1.4 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif;
  13. height: 100%;
  14. color: black;
  15. }
  16. a {
  17. text-decoration: none;
  18. color: black;
  19. outline: none;
  20. }
  21. i {
  22. font-style: normal;
  23. }
  24. img {
  25. max-width: 100%;
  26. max-height: 100%;
  27. vertical-align: middle;
  28. object-fit: cover;
  29. }
  30. ul {
  31. list-style: none;
  32. }
  33. body {
  34. overflow: auto;
  35. overflow-y: overlay;
  36. }
  37. /* 文本域取消下拉 */
  38. textarea {
  39. resize: none !important;
  40. }
  41. /* 主题色 */
  42. :root {
  43. --themeColor: #f0d99c;
  44. --themeColor2: #93886e;
  45. }
  46. a {
  47. color: var(--themeColor);
  48. }
  49. /* 找不到页面 */
  50. .noFindPage {
  51. opacity: 0;
  52. transition: opacity 0.5s;
  53. }
  54. /* 兼容360浏览器的下拉框 */
  55. .ant-select-selector {
  56. position: relative;
  57. background-color: #ffffff;
  58. border: 1px solid #d9d9d9;
  59. transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  60. }
  61. #root {
  62. width: 100vw;
  63. height: 100vh;
  64. min-width: 1600px;
  65. min-height: 900px;
  66. overflow: auto;
  67. overflow-y: overlay;
  68. /* 普通文字按钮的颜色 */
  69. /* 按钮的危险颜色 */
  70. /* antd分页器样式 */
  71. /* 表格的图片居中 */
  72. /* antd图片预览组件 */
  73. /* antd表格居中 */
  74. }
  75. #root .ant-btn-text {
  76. color: #99b8dd;
  77. }
  78. #root .ant-btn-text.ant-btn-dangerous {
  79. color: var(--themeColor2);
  80. }
  81. #root .ant-pagination .ant-pagination-item {
  82. border-radius: 50%;
  83. border: 1px solid #999;
  84. background-color: transparent !important;
  85. }
  86. #root .ant-pagination .ant-pagination-item-active {
  87. background-color: var(--themeColor2) !important;
  88. }
  89. #root .ant-pagination .ant-pagination-item-active a {
  90. color: #fff !important;
  91. }
  92. #root .ant-pagination .ant-pagination-item:hover {
  93. background-color: var(--themeColor2) !important;
  94. }
  95. #root .ant-pagination .ant-pagination-item:hover a {
  96. color: #fff !important;
  97. }
  98. #root .ant-pagination-prev {
  99. border-radius: 50% !important;
  100. border: 1px solid #999;
  101. }
  102. #root .ant-pagination-prev:hover {
  103. background-color: var(--themeColor2);
  104. }
  105. #root .ant-pagination-prev:hover button {
  106. color: #fff;
  107. }
  108. #root .ant-pagination-next {
  109. border-radius: 50% !important;
  110. border: 1px solid #999;
  111. }
  112. #root .ant-pagination-next:hover {
  113. background-color: var(--themeColor2);
  114. }
  115. #root .ant-pagination-next:hover button {
  116. color: #fff;
  117. }
  118. #root .ant-pagination-disabled {
  119. border: 1px solid #ccc;
  120. }
  121. #root .ant-pagination-disabled:hover {
  122. background-color: transparent;
  123. }
  124. #root .tableImgAuto {
  125. display: flex;
  126. justify-content: center;
  127. }
  128. #root .ant-image {
  129. display: none;
  130. }
  131. #root .ant-table-cell {
  132. text-align: center !important;
  133. }
  134. [hidden] {
  135. display: none !important;
  136. }
  137. /* 页面的顶部title */
  138. .pageTitlt {
  139. position: absolute;
  140. top: 17px;
  141. left: 262px;
  142. z-index: 100;
  143. font-size: 20px;
  144. font-weight: 700;
  145. color: var(--themeColor2);
  146. }
  147. #upInput {
  148. display: none;
  149. }
  150. #upInput2 {
  151. display: none;
  152. }