base.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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. object-fit: cover;
  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: #4287b9;
  39. --themeColor2: #194292;
  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 a {
  71. text-decoration: none;
  72. color: black;
  73. outline: none;
  74. }
  75. #root .iconHoverTit {
  76. display: flex;
  77. align-items: center;
  78. justify-content: center;
  79. }
  80. #root .iconHoverTitTxt {
  81. background-color: var(--themeColor);
  82. color: #fff;
  83. width: 16px;
  84. height: 16px;
  85. line-height: 16px;
  86. text-align: center;
  87. font-size: 12px;
  88. border-radius: 50%;
  89. }
  90. #root .ant-btn-text {
  91. color: var(--themeColor);
  92. }
  93. #root .ant-btn-text:disabled {
  94. cursor: not-allowed;
  95. color: rgba(0, 0, 0, 0.25);
  96. }
  97. #root .ant-btn-text.ant-btn-dangerous {
  98. color: #ff4d4d;
  99. }
  100. #root .tableImgAuto {
  101. display: flex;
  102. justify-content: center;
  103. }
  104. #root .ant-image {
  105. display: none;
  106. }
  107. #root .ant-table-cell {
  108. text-align: center !important;
  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. [hidden] {
  119. display: none !important;
  120. }
  121. #upInput {
  122. display: none;
  123. }
  124. #upInput2 {
  125. display: none;
  126. }
  127. #upInputAudio {
  128. display: none;
  129. }
  130. .pageTitle {
  131. font-size: 18px;
  132. font-weight: 700;
  133. position: absolute;
  134. z-index: 11;
  135. top: -56px;
  136. left: -18px;
  137. padding-left: 40px;
  138. }
  139. .pageTitle::before {
  140. position: absolute;
  141. left: 20px;
  142. top: 50%;
  143. transform: translateY(-50%);
  144. content: '';
  145. width: 6px;
  146. height: 20px;
  147. background-color: var(--themeColor);
  148. }
  149. .mySorrl::-webkit-scrollbar {
  150. /*滚动条整体样式*/
  151. width: 5px;
  152. /*高宽分别对应横竖滚动条的尺寸*/
  153. height: 1px;
  154. }
  155. .mySorrl::-webkit-scrollbar-thumb {
  156. /*滚动条里面小方块*/
  157. border-radius: 10px;
  158. -webkit-box-shadow: inset 0 0 5px transparent;
  159. background: var(--themeColor);
  160. }
  161. .mySorrl::-webkit-scrollbar-track {
  162. /*滚动条里面轨道*/
  163. -webkit-box-shadow: inset 0 0 5px transparent;
  164. border-radius: 10px;
  165. background: transparent;
  166. }
  167. .ant-image-preview-operations {
  168. background-color: rgba(0, 0, 0, 0.8) !important;
  169. }
  170. .ant-image-preview-mask {
  171. z-index: 9999 !important;
  172. }
  173. .ant-image-preview-wrap {
  174. z-index: 9999 !important;
  175. }
  176. .ant-image-preview-operations-wrapper {
  177. z-index: 9999 !important;
  178. }
  179. .ant-notification-notice {
  180. max-height: 500px !important;
  181. overflow-y: auto !important;
  182. }
  183. .ant-picker-dropdown {
  184. text-align: center;
  185. }