tn-steps.wxss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. @charset "UTF-8";
  2. /**
  3. * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量
  4. * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
  5. * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用
  6. */
  7. .tn-steps.data-v-e96e5408 {
  8. display: flex;
  9. flex-direction: row;
  10. }
  11. .tn-steps__item.data-v-e96e5408 {
  12. flex: 1;
  13. position: relative;
  14. display: flex;
  15. align-items: center;
  16. justify-content: center;
  17. flex-direction: column;
  18. min-width: 100rpx;
  19. font-size: 28rpx;
  20. text-align: center;
  21. }
  22. .tn-steps__item__number.data-v-e96e5408 {
  23. position: relative;
  24. width: 44rpx;
  25. height: 44rpx;
  26. line-height: calc(44rpx - 2rpx);
  27. border: 1px solid #AAAAAA;
  28. border-radius: 50%;
  29. overflow: hidden;
  30. transition: all 0.3s linear;
  31. }
  32. .tn-steps__item__number__text.data-v-e96e5408 {
  33. position: absolute;
  34. top: 0;
  35. right: 0;
  36. bottom: 0;
  37. left: 0;
  38. margin: auto;
  39. transition: inherit;
  40. -webkit-transform: translateY(-44rpx);
  41. transform: translateY(-44rpx);
  42. }
  43. .tn-steps__item__number__text--visible.data-v-e96e5408 {
  44. -webkit-transform: translateY(0);
  45. transform: translateY(0);
  46. }
  47. .tn-steps__item__number__icon.data-v-e96e5408 {
  48. position: absolute;
  49. top: 0;
  50. right: 0;
  51. bottom: 0;
  52. left: 0;
  53. margin: auto;
  54. color: #FFFFFF;
  55. transition: all 0.3s linear;
  56. -webkit-transform: translateY(44rpx);
  57. transform: translateY(44rpx);
  58. }
  59. .tn-steps__item__number__icon--visible.data-v-e96e5408 {
  60. -webkit-transform: translateY(0);
  61. transform: translateY(0);
  62. }
  63. .tn-steps__item__dot.data-v-e96e5408 {
  64. width: 20rpx;
  65. height: 20rpx;
  66. display: flex;
  67. flex-direction: row;
  68. border-radius: 50%;
  69. transition: all 0.3s linear;
  70. }
  71. .tn-steps__item__dot--icon.data-v-e96e5408 {
  72. width: 44rpx;
  73. height: 44rpx;
  74. }
  75. .tn-steps__item__icon.data-v-e96e5408 {
  76. width: 44rpx;
  77. height: 44rpx;
  78. font-size: 44rpx;
  79. transition: all 0.3s linear;
  80. }
  81. .tn-steps__item__dot-icon.data-v-e96e5408 {
  82. width: 44rpx;
  83. height: 44rpx;
  84. display: flex;
  85. flex-direction: row;
  86. align-items: center;
  87. justify-content: center;
  88. transition: all 0.3s linear;
  89. }
  90. .tn-steps__item__dot-icon--dot.data-v-e96e5408 {
  91. width: 20rpx;
  92. height: 20rpx;
  93. border-radius: 50%;
  94. transition: inherit;
  95. }
  96. .tn-steps__item__dot-icon--icon.data-v-e96e5408 {
  97. width: 44rpx;
  98. height: 44rpx;
  99. font-size: 44rpx;
  100. transition: inherit;
  101. }
  102. .tn-steps__item__text.data-v-e96e5408 {
  103. transition: all 0.3s linear;
  104. }
  105. .tn-steps__item__text--row.data-v-e96e5408 {
  106. margin-top: 14rpx;
  107. }
  108. .tn-steps__item__text--column.data-v-e96e5408 {
  109. margin-left: 14rpx;
  110. }
  111. .tn-steps__item__line.data-v-e96e5408 {
  112. position: absolute;
  113. z-index: 0;
  114. vertical-align: middle;
  115. transition: all 0.3s linear;
  116. }
  117. .tn-steps__item--row.data-v-e96e5408 {
  118. display: flex;
  119. flex-direction: column;
  120. }
  121. .tn-steps__item--row .tn-steps__item__line.data-v-e96e5408 {
  122. border-bottom-width: 1px;
  123. border-bottom-style: solid;
  124. width: 50%;
  125. left: 75%;
  126. }
  127. .tn-steps__item--row .tn-steps__item__line--dot.data-v-e96e5408 {
  128. top: calc(20rpx / 2);
  129. }
  130. .tn-steps__item--row .tn-steps__item__line--number.data-v-e96e5408, .tn-steps__item--row .tn-steps__item__line--icon.data-v-e96e5408, .tn-steps__item--row .tn-steps__item__line--dotIcon.data-v-e96e5408 {
  131. top: calc(44rpx / 2);
  132. }
  133. .tn-steps__item--column.data-v-e96e5408 {
  134. display: flex;
  135. flex-direction: row;
  136. justify-content: flex-start;
  137. min-height: 120rpx;
  138. }
  139. .tn-steps__item--column .tn-steps__item__line.data-v-e96e5408 {
  140. border-left-width: 1px;
  141. border-left-style: solid;
  142. height: 50%;
  143. top: 75%;
  144. }
  145. .tn-steps__item--column .tn-steps__item__line--dot.data-v-e96e5408 {
  146. left: calc(20rpx / 2);
  147. }
  148. .tn-steps__item--column .tn-steps__item__line--number.data-v-e96e5408, .tn-steps__item--column .tn-steps__item__line--icon.data-v-e96e5408, .tn-steps__item--column .tn-steps__item__line--dotIcon.data-v-e96e5408 {
  149. left: calc(44rpx / 2);
  150. }