u-steps.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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-af39e672 {
  28. display: flex;
  29. flex-direction: row;
  30. }
  31. .u-steps .u-steps__item.data-v-af39e672 {
  32. flex: 1;
  33. text-align: center;
  34. position: relative;
  35. min-width: 100rpx;
  36. font-size: 26rpx;
  37. color: #8799a3;
  38. display: flex;
  39. flex-direction: row;
  40. justify-content: center;
  41. flex-direction: column;
  42. align-items: center;
  43. }
  44. .u-steps .u-steps__item--row.data-v-af39e672 {
  45. display: flex;
  46. flex-direction: row;
  47. flex-direction: column;
  48. }
  49. .u-steps .u-steps__item--row .u-steps__item__line.data-v-af39e672 {
  50. position: absolute;
  51. z-index: 0;
  52. left: 75%;
  53. width: 50%;
  54. }
  55. .u-steps .u-steps__item--row .u-steps__item__line--dot.data-v-af39e672 {
  56. top: calc(20rpx / 2);
  57. }
  58. .u-steps .u-steps__item--row .u-steps__item__line--number.data-v-af39e672 {
  59. top: calc(44rpx / 2);
  60. }
  61. .u-steps .u-steps__item--column.data-v-af39e672 {
  62. display: flex;
  63. flex-direction: row;
  64. flex-direction: row;
  65. justify-content: flex-start;
  66. min-height: 120rpx;
  67. }
  68. .u-steps .u-steps__item--column .u-steps__item__line.data-v-af39e672 {
  69. position: absolute;
  70. z-index: 0;
  71. height: 50%;
  72. top: 75%;
  73. }
  74. .u-steps .u-steps__item--column .u-steps__item__line--dot.data-v-af39e672 {
  75. left: calc(20rpx / 2);
  76. }
  77. .u-steps .u-steps__item--column .u-steps__item__line--number.data-v-af39e672 {
  78. left: calc(44rpx / 2);
  79. }
  80. .u-steps .u-steps__item__num.data-v-af39e672 {
  81. display: flex;
  82. flex-direction: row;
  83. align-items: center;
  84. justify-content: center;
  85. width: 44rpx;
  86. height: 44rpx;
  87. border: 1px solid #8799a3;
  88. border-radius: 50%;
  89. overflow: hidden;
  90. }
  91. .u-steps .u-steps__item__dot.data-v-af39e672 {
  92. width: 20rpx;
  93. height: 20rpx;
  94. display: flex;
  95. flex-direction: row;
  96. border-radius: 50%;
  97. }
  98. .u-steps .u-steps__item__text--row.data-v-af39e672 {
  99. margin-top: 14rpx;
  100. }
  101. .u-steps .u-steps__item__text--column.data-v-af39e672 {
  102. margin-left: 14rpx;
  103. }