base.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. html {
  7. height: 100%;
  8. font-size: 14px;
  9. }
  10. body {
  11. font: 1em/1.4 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif;
  12. height: 100%;
  13. color: black;
  14. }
  15. a {
  16. text-decoration: none;
  17. color: black;
  18. outline: none;
  19. }
  20. i {
  21. font-style: normal;
  22. }
  23. img {
  24. max-width: 100%;
  25. max-height: 100%;
  26. vertical-align: middle;
  27. object-fit: cover;
  28. }
  29. ul {
  30. list-style: none;
  31. }
  32. body {
  33. overflow: auto;
  34. overflow-y: overlay;
  35. }
  36. /* 文本域取消下拉 */
  37. textarea {
  38. resize: none !important;
  39. min-height: 100px !important;
  40. }
  41. /* 主题色 */
  42. :root {
  43. --themeColor: #00b3ec;
  44. }
  45. /* 找不到页面 */
  46. .noFindPage {
  47. opacity: 0;
  48. transition: opacity 0.5s;
  49. }
  50. /* 兼容360浏览器的下拉框 */
  51. .ant-select-selector {
  52. position: relative;
  53. background-color: #ffffff;
  54. border: 1px solid #d9d9d9;
  55. transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  56. }
  57. .ant-popconfirm {
  58. width: 240px;
  59. }
  60. #root {
  61. width: 100vw;
  62. height: 100vh;
  63. min-width: 1600px;
  64. min-height: 900px;
  65. overflow: auto;
  66. overflow-y: overlay;
  67. /* 普通文字按钮的颜色 */
  68. /* 按钮的危险颜色 */
  69. /* antd分页器样式 */
  70. /* 表格的图片居中 */
  71. /* antd图片预览组件 */
  72. /* antd表格居中 */
  73. }
  74. #root .iconHoverTit {
  75. display: flex;
  76. align-items: center;
  77. justify-content: center;
  78. }
  79. #root .iconHoverTitTxt {
  80. background-color: var(--themeColor);
  81. color: #fff;
  82. width: 16px;
  83. height: 16px;
  84. line-height: 16px;
  85. text-align: center;
  86. font-size: 12px;
  87. border-radius: 50%;
  88. }
  89. #root .ant-btn-text {
  90. color: var(--themeColor);
  91. }
  92. #root .ant-btn-text:disabled {
  93. cursor: not-allowed;
  94. color: rgba(0, 0, 0, 0.25);
  95. }
  96. #root .ant-btn-text.ant-btn-dangerous {
  97. color: #ff4d4d;
  98. }
  99. #root .tableImgAuto {
  100. display: flex;
  101. justify-content: center;
  102. }
  103. #root .ant-image {
  104. display: none;
  105. }
  106. #root .ant-table-cell {
  107. text-align: center !important;
  108. min-width: 100px;
  109. }
  110. #root #A2Table3 .ant-table-row-expand-icon {
  111. background-color: var(--themeColor);
  112. color: #fff;
  113. }
  114. #root #A2Table3 .ant-table-cell-with-append {
  115. display: flex;
  116. justify-content: flex-start;
  117. }
  118. #root .tableNumBox {
  119. position: absolute;
  120. bottom: 20px;
  121. right: 20px;
  122. }
  123. #root .tableNumBox > span {
  124. color: var(--themeColor);
  125. }
  126. [hidden] {
  127. display: none !important;
  128. }
  129. #upInput {
  130. display: none;
  131. }
  132. #upInput2 {
  133. display: none;
  134. }
  135. .pageTitle {
  136. font-size: 18px;
  137. font-weight: 700;
  138. position: absolute;
  139. z-index: 11;
  140. top: -56px;
  141. left: -18px;
  142. padding-left: 40px;
  143. }
  144. .pageTitle::before {
  145. position: absolute;
  146. left: 20px;
  147. top: 50%;
  148. transform: translateY(-50%);
  149. content: '';
  150. width: 6px;
  151. height: 20px;
  152. background-color: var(--themeColor);
  153. }
  154. .mySorrl::-webkit-scrollbar {
  155. /*滚动条整体样式*/
  156. width: 5px;
  157. /*高宽分别对应横竖滚动条的尺寸*/
  158. height: 1px;
  159. }
  160. .mySorrl::-webkit-scrollbar-thumb {
  161. /*滚动条里面小方块*/
  162. border-radius: 10px;
  163. -webkit-box-shadow: inset 0 0 5px transparent;
  164. background: var(--themeColor);
  165. }
  166. .mySorrl::-webkit-scrollbar-track {
  167. /*滚动条里面轨道*/
  168. -webkit-box-shadow: inset 0 0 5px transparent;
  169. border-radius: 10px;
  170. background: transparent;
  171. }
  172. .lLtxtRight p {
  173. min-height: 10px;
  174. }
  175. .ant-notification-notice {
  176. max-height: 500px !important;
  177. overflow-y: auto !important;
  178. }