u-steps.wxss 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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. .u-steps.data-v-6d4cf9e0 {
  28. display: -webkit-box;
  29. display: -webkit-flex;
  30. display: flex;
  31. -webkit-box-orient: horizontal;
  32. -webkit-box-direction: normal;
  33. -webkit-flex-direction: row;
  34. flex-direction: row;
  35. }
  36. .u-steps .u-steps__item.data-v-6d4cf9e0 {
  37. -webkit-box-flex: 1;
  38. -webkit-flex: 1;
  39. flex: 1;
  40. text-align: center;
  41. position: relative;
  42. min-width: 100rpx;
  43. font-size: 26rpx;
  44. color: #8799a3;
  45. display: -webkit-box;
  46. display: -webkit-flex;
  47. display: flex;
  48. -webkit-box-orient: horizontal;
  49. -webkit-box-direction: normal;
  50. -webkit-flex-direction: row;
  51. flex-direction: row;
  52. -webkit-box-pack: center;
  53. -webkit-justify-content: center;
  54. justify-content: center;
  55. -webkit-flex-direction: column;
  56. flex-direction: column;
  57. -webkit-box-align: center;
  58. -webkit-align-items: center;
  59. align-items: center;
  60. }
  61. .u-steps .u-steps__item--row.data-v-6d4cf9e0 {
  62. display: -webkit-box;
  63. display: -webkit-flex;
  64. display: flex;
  65. -webkit-box-orient: horizontal;
  66. -webkit-box-direction: normal;
  67. -webkit-flex-direction: row;
  68. flex-direction: row;
  69. flex-direction: column;
  70. }
  71. .u-steps .u-steps__item--row .u-steps__item__line.data-v-6d4cf9e0 {
  72. position: absolute;
  73. z-index: 0;
  74. left: 75%;
  75. width: 50%;
  76. }
  77. .u-steps .u-steps__item--row .u-steps__item__line--dot.data-v-6d4cf9e0 {
  78. top: calc(20rpx / 2);
  79. }
  80. .u-steps .u-steps__item--row .u-steps__item__line--number.data-v-6d4cf9e0 {
  81. top: calc(44rpx / 2);
  82. }
  83. .u-steps .u-steps__item--column.data-v-6d4cf9e0 {
  84. display: -webkit-box;
  85. display: -webkit-flex;
  86. display: flex;
  87. -webkit-box-orient: horizontal;
  88. -webkit-box-direction: normal;
  89. -webkit-flex-direction: row;
  90. flex-direction: row;
  91. flex-direction: row;
  92. -webkit-box-pack: start;
  93. -webkit-justify-content: flex-start;
  94. justify-content: flex-start;
  95. min-height: 120rpx;
  96. }
  97. .u-steps .u-steps__item--column .u-steps__item__line.data-v-6d4cf9e0 {
  98. position: absolute;
  99. z-index: 0;
  100. height: 50%;
  101. top: 75%;
  102. }
  103. .u-steps .u-steps__item--column .u-steps__item__line--dot.data-v-6d4cf9e0 {
  104. left: calc(20rpx / 2);
  105. }
  106. .u-steps .u-steps__item--column .u-steps__item__line--number.data-v-6d4cf9e0 {
  107. left: calc(44rpx / 2);
  108. }
  109. .u-steps .u-steps__item__num.data-v-6d4cf9e0 {
  110. display: -webkit-box;
  111. display: -webkit-flex;
  112. display: flex;
  113. -webkit-box-orient: horizontal;
  114. -webkit-box-direction: normal;
  115. -webkit-flex-direction: row;
  116. flex-direction: row;
  117. -webkit-box-align: center;
  118. -webkit-align-items: center;
  119. align-items: center;
  120. -webkit-box-pack: center;
  121. -webkit-justify-content: center;
  122. justify-content: center;
  123. width: 44rpx;
  124. height: 44rpx;
  125. border: 1px solid #8799a3;
  126. -webkit-border-radius: 50%;
  127. border-radius: 50%;
  128. overflow: hidden;
  129. }
  130. .u-steps .u-steps__item__dot.data-v-6d4cf9e0 {
  131. width: 20rpx;
  132. height: 20rpx;
  133. display: -webkit-box;
  134. display: -webkit-flex;
  135. display: flex;
  136. -webkit-box-orient: horizontal;
  137. -webkit-box-direction: normal;
  138. -webkit-flex-direction: row;
  139. flex-direction: row;
  140. -webkit-border-radius: 50%;
  141. border-radius: 50%;
  142. }
  143. .u-steps .u-steps__item__text--row.data-v-6d4cf9e0 {
  144. margin-top: 14rpx;
  145. }
  146. .u-steps .u-steps__item__text--column.data-v-6d4cf9e0 {
  147. margin-left: 14rpx;
  148. }