uni-steps.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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 {
  28. display: flex;
  29. width: 100%;
  30. flex-direction: column;
  31. }
  32. .uni-steps__row {
  33. display: flex;
  34. flex-direction: column;
  35. }
  36. .uni-steps__column {
  37. display: flex;
  38. flex-direction: row-reverse;
  39. }
  40. .uni-steps__row-text-container {
  41. display: flex;
  42. flex-direction: row;
  43. align-items: flex-end;
  44. margin-bottom: 8px;
  45. }
  46. .uni-steps__column-text-container {
  47. display: flex;
  48. flex-direction: column;
  49. flex: 1;
  50. }
  51. .uni-steps__row-text {
  52. display: inline-flex;
  53. flex: 1;
  54. flex-direction: column;
  55. }
  56. .uni-steps__column-text {
  57. padding: 6px 0px;
  58. border-bottom-style: solid;
  59. border-bottom-width: 1px;
  60. border-bottom-color: #EDEDED;
  61. display: flex;
  62. flex-direction: column;
  63. }
  64. .uni-steps__row-title {
  65. font-size: 14px;
  66. line-height: 16px;
  67. text-align: center;
  68. }
  69. .uni-steps__column-title {
  70. font-size: 14px;
  71. text-align: left;
  72. line-height: 18px;
  73. }
  74. .uni-steps__row-desc {
  75. font-size: 12px;
  76. line-height: 14px;
  77. text-align: center;
  78. }
  79. .uni-steps__column-desc {
  80. font-size: 12px;
  81. text-align: left;
  82. line-height: 18px;
  83. }
  84. .uni-steps__row-container {
  85. display: flex;
  86. flex-direction: row;
  87. }
  88. .uni-steps__column-container {
  89. display: inline-flex;
  90. width: 30px;
  91. flex-direction: column;
  92. }
  93. .uni-steps__row-line-item {
  94. display: inline-flex;
  95. flex-direction: row;
  96. flex: 1;
  97. height: 14px;
  98. line-height: 14px;
  99. align-items: center;
  100. justify-content: center;
  101. }
  102. .uni-steps__column-line-item {
  103. display: flex;
  104. flex-direction: column;
  105. flex: 1;
  106. align-items: center;
  107. justify-content: center;
  108. }
  109. .uni-steps__row-line {
  110. flex: 1;
  111. height: 1px;
  112. background-color: #B7BDC6;
  113. }
  114. .uni-steps__column-line {
  115. width: 1px;
  116. background-color: #B7BDC6;
  117. }
  118. .uni-steps__row-line--after {
  119. -webkit-transform: translateX(1px);
  120. transform: translateX(1px);
  121. }
  122. .uni-steps__column-line--after {
  123. flex: 1;
  124. -webkit-transform: translate(0px, 1px);
  125. transform: translate(0px, 1px);
  126. }
  127. .uni-steps__row-line--before {
  128. -webkit-transform: translateX(-1px);
  129. transform: translateX(-1px);
  130. }
  131. .uni-steps__column-line--before {
  132. height: 6px;
  133. -webkit-transform: translate(0px, -13px);
  134. transform: translate(0px, -13px);
  135. }
  136. .uni-steps__row-circle {
  137. width: 5px;
  138. height: 5px;
  139. border-radius: 50%;
  140. background-color: #B7BDC6;
  141. margin: 0px 3px;
  142. }
  143. .uni-steps__column-circle {
  144. width: 5px;
  145. height: 5px;
  146. border-radius: 50%;
  147. background-color: #B7BDC6;
  148. margin: 4px 0px 5px 0px;
  149. }
  150. .uni-steps__row-check {
  151. margin: 0px 6px;
  152. }
  153. .uni-steps__column-check {
  154. height: 14px;
  155. line-height: 14px;
  156. margin: 2px 0px;
  157. }