base.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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. i {
  16. font-style: normal;
  17. }
  18. img {
  19. max-width: 100%;
  20. max-height: 100%;
  21. vertical-align: middle;
  22. }
  23. ul {
  24. list-style: none;
  25. }
  26. body {
  27. overflow: auto;
  28. overflow-y: overlay;
  29. }
  30. /* 文本域取消下拉 */
  31. textarea {
  32. resize: none !important;
  33. min-height: 100px !important;
  34. }
  35. /* 主题色 */
  36. :root {
  37. --themeColor: #042b8f;
  38. --themeColor2: #69c690;
  39. }
  40. /* 找不到页面 */
  41. .noFindPage {
  42. opacity: 0;
  43. transition: opacity 0.5s;
  44. }
  45. /* 兼容360浏览器的下拉框 */
  46. .ant-select-selector {
  47. position: relative;
  48. background-color: #ffffff;
  49. border: 1px solid #d9d9d9;
  50. transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  51. }
  52. .ant-popconfirm {
  53. width: 240px;
  54. }
  55. #root {
  56. max-width: 500px;
  57. margin: 0 auto;
  58. width: 100vw;
  59. height: 100vh;
  60. overflow: auto;
  61. overflow-y: overlay;
  62. /* 普通文字按钮的颜色 */
  63. /* 按钮的危险颜色 */
  64. /* antd分页器样式 */
  65. /* 表格的图片居中 */
  66. /* antd图片预览组件 */
  67. /* antd表格居中 */
  68. }
  69. #root > div {
  70. width: 100%;
  71. height: 100%;
  72. }
  73. #root a {
  74. text-decoration: none;
  75. color: black;
  76. outline: none;
  77. }
  78. #root .iconHoverTit {
  79. display: flex;
  80. align-items: center;
  81. justify-content: center;
  82. }
  83. #root .iconHoverTitTxt {
  84. background-color: var(--themeColor);
  85. color: #fff;
  86. width: 16px;
  87. height: 16px;
  88. line-height: 16px;
  89. text-align: center;
  90. font-size: 12px;
  91. border-radius: 50%;
  92. }
  93. #root .ant-btn-text {
  94. color: var(--themeColor);
  95. }
  96. #root .ant-btn-text:disabled {
  97. cursor: not-allowed;
  98. color: rgba(0, 0, 0, 0.25);
  99. }
  100. #root .ant-btn-text.ant-btn-dangerous {
  101. color: #ff4d4d;
  102. }
  103. #root .tableImgAuto {
  104. display: flex;
  105. justify-content: center;
  106. }
  107. #root .ant-image {
  108. display: none;
  109. }
  110. #root .ant-table-cell {
  111. text-align: center !important;
  112. }
  113. #root #A2Table3 .ant-table-row-expand-icon {
  114. background-color: var(--themeColor);
  115. color: #fff;
  116. }
  117. #root #A2Table3 .ant-table-cell-with-append {
  118. display: flex;
  119. justify-content: flex-start;
  120. }
  121. [hidden] {
  122. display: none !important;
  123. }
  124. #upInput {
  125. display: none;
  126. }
  127. #upInput2 {
  128. display: none;
  129. }
  130. #upInputAudio {
  131. display: none;
  132. }
  133. .pageTitle {
  134. font-size: 18px;
  135. font-weight: 700;
  136. position: absolute;
  137. z-index: 11;
  138. top: -56px;
  139. left: -18px;
  140. padding-left: 40px;
  141. }
  142. .pageTitle::before {
  143. position: absolute;
  144. left: 20px;
  145. top: 50%;
  146. transform: translateY(-50%);
  147. content: '';
  148. width: 6px;
  149. height: 20px;
  150. background-color: var(--themeColor);
  151. }
  152. .mySorrl::-webkit-scrollbar {
  153. /*滚动条整体样式*/
  154. width: 5px;
  155. /*高宽分别对应横竖滚动条的尺寸*/
  156. height: 1px;
  157. }
  158. .mySorrl::-webkit-scrollbar-thumb {
  159. /*滚动条里面小方块*/
  160. border-radius: 10px;
  161. -webkit-box-shadow: inset 0 0 5px transparent;
  162. background: var(--themeColor);
  163. }
  164. .mySorrl::-webkit-scrollbar-track {
  165. /*滚动条里面轨道*/
  166. -webkit-box-shadow: inset 0 0 5px transparent;
  167. border-radius: 10px;
  168. background: transparent;
  169. }
  170. .ant-image-preview-operations {
  171. background-color: rgba(0, 0, 0, 0.8) !important;
  172. }
  173. .ant-image-preview-mask {
  174. z-index: 9999 !important;
  175. }
  176. .ant-image-preview-wrap {
  177. z-index: 9999 !important;
  178. }
  179. .ant-image-preview-operations-wrapper {
  180. z-index: 9999 !important;
  181. }
  182. .ant-notification-notice {
  183. max-height: 500px !important;
  184. overflow-y: auto !important;
  185. }
  186. .ant-picker-dropdown {
  187. text-align: center;
  188. }
  189. .ant-picker-selection-item-remove {
  190. display: none !important;
  191. }
  192. #ScreenChange {
  193. position: fixed;
  194. top: 0;
  195. left: 0;
  196. width: 100%;
  197. height: 100%;
  198. z-index: 10000;
  199. background-color: rgba(0, 0, 0, 0.8);
  200. display: flex;
  201. flex-direction: column;
  202. justify-content: center;
  203. align-items: center;
  204. opacity: 0;
  205. pointer-events: none;
  206. transition: all 0.5s;
  207. }
  208. #ScreenChange > img {
  209. width: 200px;
  210. }
  211. #ScreenChange > p {
  212. margin-top: 20px;
  213. color: #fff;
  214. font-size: 18px;
  215. height: 40px;
  216. }
  217. /*横屏*/
  218. @media screen and (orientation: landscape) {
  219. #ScreenChange {
  220. opacity: 1;
  221. pointer-events: auto;
  222. }
  223. }