base.css 4.7 KB

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