base.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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. min-height: 100px !important;
  41. }
  42. /* 主题色 */
  43. :root {
  44. --themeColor: #00b3ec;
  45. }
  46. /* 找不到页面 */
  47. .noFindPage {
  48. opacity: 0;
  49. transition: opacity 0.5s;
  50. }
  51. /* 兼容360浏览器的下拉框 */
  52. .ant-select-selector {
  53. position: relative;
  54. background-color: #ffffff;
  55. border: 1px solid #d9d9d9;
  56. transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  57. }
  58. #root {
  59. width: 100vw;
  60. height: 100vh;
  61. min-width: 1600px;
  62. min-height: 900px;
  63. overflow: auto;
  64. overflow-y: overlay;
  65. /* 普通文字按钮的颜色 */
  66. /* 按钮的危险颜色 */
  67. /* antd分页器样式 */
  68. /* 表格的图片居中 */
  69. /* antd图片预览组件 */
  70. /* antd表格居中 */
  71. }
  72. #root .iconHoverTit {
  73. display: flex;
  74. align-items: center;
  75. justify-content: center;
  76. }
  77. #root .iconHoverTitTxt {
  78. background-color: var(--themeColor);
  79. color: #fff;
  80. width: 16px;
  81. height: 16px;
  82. line-height: 16px;
  83. text-align: center;
  84. font-size: 12px;
  85. border-radius: 50%;
  86. }
  87. #root .ant-btn-text {
  88. color: var(--themeColor);
  89. }
  90. #root .ant-btn-text:disabled {
  91. cursor: not-allowed;
  92. color: rgba(0, 0, 0, 0.25);
  93. }
  94. #root .ant-btn-text.ant-btn-dangerous {
  95. color: #ff4d4d;
  96. }
  97. #root .ant-pagination .ant-pagination-item {
  98. border-radius: 50%;
  99. border: 1px solid #999;
  100. background-color: transparent !important;
  101. }
  102. #root .ant-pagination .ant-pagination-item-active {
  103. background-color: var(--themeColor) !important;
  104. }
  105. #root .ant-pagination .ant-pagination-item-active a {
  106. color: #fff !important;
  107. }
  108. #root .ant-pagination .ant-pagination-item:hover {
  109. background-color: var(--themeColor) !important;
  110. }
  111. #root .ant-pagination .ant-pagination-item:hover a {
  112. color: #fff !important;
  113. }
  114. #root .ant-pagination-prev {
  115. border-radius: 50% !important;
  116. border: 1px solid #999;
  117. }
  118. #root .ant-pagination-prev:hover {
  119. background-color: var(--themeColor);
  120. }
  121. #root .ant-pagination-prev:hover button {
  122. color: #fff;
  123. }
  124. #root .ant-pagination-next {
  125. border-radius: 50% !important;
  126. border: 1px solid #999;
  127. }
  128. #root .ant-pagination-next:hover {
  129. background-color: var(--themeColor);
  130. }
  131. #root .ant-pagination-next:hover button {
  132. color: #fff;
  133. }
  134. #root .ant-pagination-disabled {
  135. border: 1px solid #ccc;
  136. }
  137. #root .ant-pagination-disabled:hover {
  138. background-color: transparent;
  139. }
  140. #root .tableImgAuto {
  141. display: flex;
  142. justify-content: center;
  143. }
  144. #root .ant-image {
  145. display: none;
  146. }
  147. #root .ant-table-cell {
  148. text-align: center !important;
  149. }
  150. #root #A2Table3 .ant-table-row-expand-icon {
  151. background-color: var(--themeColor);
  152. color: #fff;
  153. }
  154. #root #A2Table3 .ant-table-cell-with-append {
  155. display: flex;
  156. justify-content: start;
  157. }
  158. [hidden] {
  159. display: none !important;
  160. }
  161. #upInput {
  162. display: none;
  163. }
  164. #upInput2 {
  165. display: none;
  166. }
  167. .pageTitle {
  168. font-size: 18px;
  169. font-weight: 700;
  170. position: absolute;
  171. z-index: 11;
  172. top: -56px;
  173. left: -18px;
  174. padding-left: 40px;
  175. }
  176. .pageTitle::before {
  177. position: absolute;
  178. left: 20px;
  179. top: 50%;
  180. transform: translateY(-50%);
  181. content: '';
  182. width: 6px;
  183. height: 20px;
  184. background-color: var(--themeColor);
  185. }
  186. .mySorrl::-webkit-scrollbar {
  187. /*滚动条整体样式*/
  188. width: 5px;
  189. /*高宽分别对应横竖滚动条的尺寸*/
  190. height: 1px;
  191. }
  192. .mySorrl::-webkit-scrollbar-thumb {
  193. /*滚动条里面小方块*/
  194. border-radius: 10px;
  195. -webkit-box-shadow: inset 0 0 5px transparent;
  196. background: var(--themeColor);
  197. }
  198. .mySorrl::-webkit-scrollbar-track {
  199. /*滚动条里面轨道*/
  200. -webkit-box-shadow: inset 0 0 5px transparent;
  201. border-radius: 10px;
  202. background: transparent;
  203. }