base.css 3.7 KB

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