index.wxss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. .ant-steps {
  2. display: flex;
  3. overflow: hidden;
  4. }
  5. .ant-steps-horizontal {
  6. flex-direction: row;
  7. justify-content: space-around;
  8. }
  9. .ant-steps-vertical {
  10. display: block;
  11. padding: 32px;
  12. }
  13. .ant-steps-item:last-child .ant-steps-item-indicator-vertical::after {
  14. display: none;
  15. }
  16. .ant-steps-item-vertical:last-child {
  17. padding-bottom: 0;
  18. }
  19. .ant-steps-item {
  20. position: relative;
  21. z-index: 5;
  22. display: flex;
  23. margin: 8px 0 8px 0;
  24. }
  25. .ant-steps-item-vertical {
  26. padding-bottom: 24px;
  27. margin: 0;
  28. }
  29. .ant-steps-item-vertical .ant-steps-item-title {
  30. margin-bottom: 4px;
  31. font-size: 13px;
  32. color: #333333;
  33. }
  34. .ant-steps-item-vertical .ant-steps-item-desc {
  35. font-size: 12px;
  36. color: #999999;
  37. }
  38. .ant-steps-item-vertical::after {
  39. position: absolute;
  40. height: 100%;
  41. width: 1px;
  42. content: '';
  43. top: 13.5px;
  44. z-index: -1;
  45. transform: translateX(-50%);
  46. }
  47. .ant-steps-item-vertical .ant-steps-item-text {
  48. display: flex;
  49. flex-direction: column;
  50. flex: 1;
  51. }
  52. .ant-steps-item-horizontal {
  53. flex-direction: column;
  54. margin-top: 8px;
  55. padding: 0 8px;
  56. }
  57. .ant-steps-item-horizontal::after {
  58. position: absolute;
  59. width: 100%;
  60. height: 1px;
  61. content: '';
  62. top: 17px;
  63. left: 0;
  64. transform: translate(50%, -50%);
  65. z-index: -1;
  66. }
  67. .ant-steps-item-horizontal .ant-steps-item-title,
  68. .ant-steps-item-horizontal .ant-steps-item-desc {
  69. text-align: center;
  70. }
  71. .ant-steps-item-horizontal .ant-steps-item-desc {
  72. margin-bottom: 0;
  73. }
  74. .ant-steps-item:last-child::after {
  75. display: none;
  76. }
  77. .ant-steps-item-indicator-vertical {
  78. transform: translateX(-50%);
  79. }
  80. .ant-steps-item-indicator-horizontal {
  81. display: flex;
  82. justify-content: center;
  83. margin: 8px 0 8px 0;
  84. }
  85. .ant-steps-item-indicator-icon {
  86. width: 9px;
  87. height: 9px;
  88. border-radius: 50%;
  89. }
  90. .ant-steps-item .ant-steps-item-active-icon-image {
  91. transform: translateX(0);
  92. }
  93. .ant-steps-item-horizontal {
  94. flex: 1;
  95. display: flex;
  96. }
  97. .ant-steps-item-horizontal .ant-steps-item-title {
  98. margin-bottom: 2px;
  99. font-size: 13px;
  100. }
  101. .ant-steps-item-horizontal .ant-steps-item-title:empty {
  102. display: none;
  103. }
  104. .ant-steps-item-horizontal .ant-steps-item-desc {
  105. margin: 2px 0 2px 0;
  106. color: #999999;
  107. font-size: 12px;
  108. }
  109. .ant-steps-item-horizontal .ant-steps-item-desc:empty {
  110. display: none;
  111. }
  112. .ant-steps-item-active::after {
  113. background-color: #e5e5e5;
  114. }
  115. .ant-steps-item-active-icon {
  116. display: flex;
  117. justify-content: center;
  118. align-items: center;
  119. background: transparent;
  120. color: #1677ff;
  121. }
  122. .ant-steps-item-active-icon,
  123. .ant-steps-item-active-icon .a-image {
  124. height: 18px;
  125. width: 18px;
  126. }
  127. .ant-steps-item-active-icon-default {
  128. height: 10px;
  129. width: 10px;
  130. border-radius: 50%;
  131. background-color: #1677ff;
  132. }
  133. .ant-steps-item-active .ant-steps-item-title {
  134. color: #1677ff;
  135. }
  136. .ant-steps-item-non-active::after {
  137. background-color: #e5e5e5;
  138. }
  139. .ant-steps-item-non-active-icon {
  140. display: flex;
  141. justify-content: center;
  142. align-items: center;
  143. background: transparent;
  144. color: #e5e5e5;
  145. }
  146. .ant-steps-item-non-active-icon,
  147. .ant-steps-item-non-active-icon .a-image {
  148. height: 18px;
  149. width: 18px;
  150. }
  151. .ant-steps-item-non-active-icon-default {
  152. height: 8px;
  153. width: 8px;
  154. border-radius: 50%;
  155. background-color: #e5e5e5;
  156. }
  157. .ant-steps-item-non-active .ant-steps-item-title {
  158. color: #999999;
  159. }
  160. .ant-steps-item-finish::after {
  161. background-color: #1677ff;
  162. }
  163. .ant-steps-item-finish-icon {
  164. display: flex;
  165. justify-content: center;
  166. align-items: center;
  167. background: transparent;
  168. color: #1677ff;
  169. }
  170. .ant-steps-item-finish-icon,
  171. .ant-steps-item-finish-icon .a-image {
  172. height: 18px;
  173. width: 18px;
  174. }
  175. .ant-steps-item-finish-icon-default {
  176. height: 8px;
  177. width: 8px;
  178. border-radius: 50%;
  179. background-color: #1677ff;
  180. }
  181. .ant-steps-item-finish .ant-steps-item-title {
  182. color: #333333;
  183. }
  184. .ant-steps-item-error-icon {
  185. display: flex;
  186. justify-content: center;
  187. align-items: center;
  188. background: transparent;
  189. color: #ff3141;
  190. }
  191. .ant-steps-item-error-icon,
  192. .ant-steps-item-error-icon .a-image {
  193. height: 18px;
  194. width: 18px;
  195. }
  196. .ant-steps-item-error-icon-default {
  197. height: 10px;
  198. width: 10px;
  199. border-radius: 50%;
  200. background-color: #ff3141;
  201. }
  202. .ant-steps-item .ant-steps-item-title-error {
  203. color: #ff3141;
  204. }