Step.wxss 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .uni-steps.data-v-328e2ae5 {
  28. width: 100%;
  29. box-sizing: border-box;
  30. display: flex;
  31. flex-direction: column;
  32. overflow: hidden;
  33. position: relative;
  34. }
  35. .uni-steps-items.data-v-328e2ae5 {
  36. position: relative;
  37. display: flex;
  38. flex-direction: row;
  39. margin: 10px;
  40. box-sizing: border-box;
  41. overflow: hidden;
  42. }
  43. .uni-steps-items.uni-steps-column.data-v-328e2ae5 {
  44. margin: 10px 0;
  45. padding-left: 31px;
  46. flex-direction: column;
  47. }
  48. .uni-steps-items.uni-steps-column .uni-steps-item.data-v-328e2ae5:after {
  49. content: ' ';
  50. position: absolute;
  51. height: 1px;
  52. width: 100%;
  53. bottom: 9px;
  54. left: 0;
  55. background-color: #ebedf0;
  56. -webkit-transform: scaleY(0.5);
  57. transform: scaleY(0.5);
  58. }
  59. .uni-steps-items.uni-steps-column .uni-steps-item.data-v-328e2ae5:last-child {
  60. position: relative;
  61. }
  62. .uni-steps-items.uni-steps-column .uni-steps-item.data-v-328e2ae5:last-child:after {
  63. height: 0px;
  64. }
  65. .uni-steps-items.uni-steps-column .uni-steps-item:last-child .uni-steps-item-title-container.data-v-328e2ae5 {
  66. text-align: left;
  67. }
  68. .uni-steps-items.uni-steps-column .uni-steps-item:last-child .uni-steps-item-circle-container.data-v-328e2ae5 {
  69. left: -17px;
  70. right: auto;
  71. }
  72. .uni-steps-items.uni-steps-column .uni-steps-item-title-container.data-v-328e2ae5 {
  73. -webkit-transform: none;
  74. transform: none;
  75. display: block;
  76. line-height: 36px;
  77. }
  78. .uni-steps-items.uni-steps-column .uni-steps-item-title.data-v-328e2ae5 {
  79. text-overflow: ellipsis;
  80. white-space: nowrap;
  81. overflow: hidden;
  82. }
  83. .uni-steps-items.uni-steps-column .uni-steps-item-desc.data-v-328e2ae5 {
  84. white-space: normal;
  85. display: -webkit-box;
  86. -webkit-box-orient: vertical;
  87. -webkit-line-clamp: 2;
  88. overflow: hidden;
  89. }
  90. .uni-steps-items.uni-steps-column .uni-steps-item-circle-container.data-v-328e2ae5 {
  91. left: -17px;
  92. top: -1px;
  93. bottom: auto;
  94. padding: 8px 0px;
  95. z-index: 1;
  96. }
  97. .uni-steps-items.uni-steps-column .uni-steps-item-line.data-v-328e2ae5 {
  98. height: 100%;
  99. width: 1px;
  100. left: -15px;
  101. top: -1px;
  102. bottom: auto;
  103. }
  104. .uni-steps-items.uni-steps-column .uni-steps-item.uni-steps-process .uni-steps-item-circle-container.data-v-328e2ae5 {
  105. bottom: auto;
  106. left: -21px;
  107. }
  108. .uni-steps-item.data-v-328e2ae5 {
  109. flex: 1;
  110. position: relative;
  111. padding-bottom: 18px;
  112. }
  113. .uni-steps-item-title-container.data-v-328e2ae5 {
  114. text-align: left;
  115. margin-left: 3px;
  116. display: inline-block;
  117. -webkit-transform: translateX(-50%);
  118. transform: translateX(-50%);
  119. color: #999;
  120. }
  121. .uni-steps-item-title.data-v-328e2ae5 {
  122. font-size: 14px;
  123. }
  124. .uni-steps-item-desc.data-v-328e2ae5 {
  125. font-size: 12px;
  126. }
  127. .uni-steps-item:first-child .uni-steps-item-title-container.data-v-328e2ae5 {
  128. -webkit-transform: none;
  129. transform: none;
  130. margin-left: 0;
  131. }
  132. .uni-steps-item.data-v-328e2ae5:last-child {
  133. position: absolute;
  134. right: 0;
  135. }
  136. .uni-steps-item:last-child .uni-steps-item-title-container.data-v-328e2ae5 {
  137. -webkit-transform: none;
  138. transform: none;
  139. text-align: right;
  140. }
  141. .uni-steps-item:last-child .uni-steps-item-circle-container.data-v-328e2ae5 {
  142. left: auto;
  143. right: -8px;
  144. }
  145. .uni-steps-item-circle-container.data-v-328e2ae5 {
  146. position: absolute;
  147. bottom: 8px;
  148. left: -8px;
  149. padding: 0 8px;
  150. background-color: #fff;
  151. z-index: 1;
  152. }
  153. .uni-steps-item-circle.data-v-328e2ae5 {
  154. width: 5px;
  155. height: 5px;
  156. background-color: #999;
  157. border-radius: 50%;
  158. }
  159. .uni-steps-item-line.data-v-328e2ae5 {
  160. background-color: #ebedf0;
  161. position: absolute;
  162. bottom: 10px;
  163. left: 0;
  164. width: 100%;
  165. height: 1px;
  166. }
  167. .uni-steps-item.uni-steps-finish .uni-steps-item-title-container.data-v-328e2ae5 {
  168. color: #333;
  169. }
  170. .uni-steps-item.uni-steps-process .uni-steps-item-circle-container.data-v-328e2ae5 {
  171. bottom: 3px;
  172. height: 14px;
  173. line-height: 14px;
  174. display: flex;
  175. }
  176. .uni-steps-item-check.data-v-328e2ae5 {
  177. font-size: 0.7rem;
  178. }