base.css 3.0 KB

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