base.css 4.1 KB

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