@nutui/nutui-react-taro 3.0.11-patch.0 → 3.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/packages/configprovider/types.d.ts +1 -1
  3. package/dist/cjs/packages/progress/progress.js +69 -33
  4. package/dist/cjs/packages/progress/style/progress.scss +5 -21
  5. package/dist/cjs/packages/progress/style/style.css +5 -19
  6. package/dist/cjs/packages/progress/style/style.harmony.css +5 -19
  7. package/dist/cjs/packages/progress/style-jmapp/progress.scss +5 -21
  8. package/dist/cjs/packages/progress/style-jmapp/style.css +4 -18
  9. package/dist/cjs/packages/progress/style-jrkf/progress.scss +5 -21
  10. package/dist/cjs/packages/progress/style-jrkf/style.css +4 -18
  11. package/dist/cjs/packages/range/range.js +163 -175
  12. package/dist/cjs/packages/range/style/range.scss +6 -2
  13. package/dist/cjs/packages/range/style/style.css +3 -1
  14. package/dist/cjs/packages/range/style/style.harmony.css +3 -1
  15. package/dist/cjs/packages/range/style-jmapp/range.scss +6 -2
  16. package/dist/cjs/packages/range/style-jmapp/style.css +3 -1
  17. package/dist/cjs/packages/range/style-jrkf/range.scss +6 -2
  18. package/dist/cjs/packages/range/style-jrkf/style.css +3 -1
  19. package/dist/cjs/packages/range/utils.d.ts +3 -0
  20. package/dist/cjs/packages/searchbar/searchbar.js +181 -77
  21. package/dist/cjs/packages/searchbar/style/searchbar.scss +99 -25
  22. package/dist/cjs/packages/searchbar/style/style.css +102 -38
  23. package/dist/cjs/packages/searchbar/style/style.harmony.css +127 -68
  24. package/dist/cjs/packages/searchbar/style-jmapp/searchbar.scss +99 -25
  25. package/dist/cjs/packages/searchbar/style-jmapp/style.css +85 -21
  26. package/dist/cjs/packages/searchbar/style-jrkf/searchbar.scss +99 -25
  27. package/dist/cjs/packages/searchbar/style-jrkf/style.css +85 -21
  28. package/dist/cjs/packages/step/step.d.ts +2 -2
  29. package/dist/cjs/packages/step/step.js +80 -45
  30. package/dist/cjs/packages/step/style/step.scss +104 -195
  31. package/dist/cjs/packages/step/style/style.css +85 -159
  32. package/dist/cjs/packages/step/style/style.harmony.css +103 -159
  33. package/dist/cjs/packages/step/style-jmapp/step.scss +104 -195
  34. package/dist/cjs/packages/step/style-jmapp/style.css +88 -162
  35. package/dist/cjs/packages/step/style-jrkf/step.scss +104 -195
  36. package/dist/cjs/packages/step/style-jrkf/style.css +88 -162
  37. package/dist/cjs/packages/steps/steps.js +23 -8
  38. package/dist/cjs/packages/steps/style/steps.scss +328 -4
  39. package/dist/cjs/packages/steps/style/style.css +219 -2
  40. package/dist/cjs/packages/steps/style/style.harmony.css +256 -2
  41. package/dist/cjs/packages/steps/style-jmapp/steps.scss +328 -4
  42. package/dist/cjs/packages/steps/style-jmapp/style.css +219 -2
  43. package/dist/cjs/packages/steps/style-jrkf/steps.scss +328 -4
  44. package/dist/cjs/packages/steps/style-jrkf/style.css +219 -2
  45. package/dist/cjs/packages/uploader/uploader.js +21 -27
  46. package/dist/cjs/types/spec/progress/base.d.ts +6 -0
  47. package/dist/cjs/types/spec/progress/taro.d.ts +4 -0
  48. package/dist/cjs/types/spec/searchbar/base.d.ts +3 -0
  49. package/dist/cjs/types/spec/steps/base.d.ts +11 -2
  50. package/dist/es/packages/configprovider/types.d.ts +1 -1
  51. package/dist/es/packages/progress/progress.js +70 -34
  52. package/dist/es/packages/progress/style/progress.scss +5 -21
  53. package/dist/es/packages/progress/style/style.css +5 -19
  54. package/dist/es/packages/progress/style/style.harmony.css +5 -19
  55. package/dist/es/packages/progress/style-jmapp/progress.scss +5 -21
  56. package/dist/es/packages/progress/style-jmapp/style.css +4 -18
  57. package/dist/es/packages/progress/style-jrkf/progress.scss +5 -21
  58. package/dist/es/packages/progress/style-jrkf/style.css +4 -18
  59. package/dist/es/packages/range/range.js +163 -175
  60. package/dist/es/packages/range/style/range.scss +6 -2
  61. package/dist/es/packages/range/style/style.css +3 -1
  62. package/dist/es/packages/range/style/style.harmony.css +3 -1
  63. package/dist/es/packages/range/style-jmapp/range.scss +6 -2
  64. package/dist/es/packages/range/style-jmapp/style.css +3 -1
  65. package/dist/es/packages/range/style-jrkf/range.scss +6 -2
  66. package/dist/es/packages/range/style-jrkf/style.css +3 -1
  67. package/dist/es/packages/range/utils.d.ts +3 -0
  68. package/dist/es/packages/searchbar/searchbar.js +183 -79
  69. package/dist/es/packages/searchbar/style/searchbar.scss +99 -25
  70. package/dist/es/packages/searchbar/style/style.css +102 -38
  71. package/dist/es/packages/searchbar/style/style.harmony.css +127 -68
  72. package/dist/es/packages/searchbar/style-jmapp/searchbar.scss +99 -25
  73. package/dist/es/packages/searchbar/style-jmapp/style.css +85 -21
  74. package/dist/es/packages/searchbar/style-jrkf/searchbar.scss +99 -25
  75. package/dist/es/packages/searchbar/style-jrkf/style.css +85 -21
  76. package/dist/es/packages/step/step.d.ts +2 -2
  77. package/dist/es/packages/step/step.js +81 -46
  78. package/dist/es/packages/step/style/step.scss +104 -195
  79. package/dist/es/packages/step/style/style.css +85 -159
  80. package/dist/es/packages/step/style/style.harmony.css +103 -159
  81. package/dist/es/packages/step/style-jmapp/step.scss +104 -195
  82. package/dist/es/packages/step/style-jmapp/style.css +88 -162
  83. package/dist/es/packages/step/style-jrkf/step.scss +104 -195
  84. package/dist/es/packages/step/style-jrkf/style.css +88 -162
  85. package/dist/es/packages/steps/steps.js +23 -8
  86. package/dist/es/packages/steps/style/steps.scss +328 -4
  87. package/dist/es/packages/steps/style/style.css +219 -2
  88. package/dist/es/packages/steps/style/style.harmony.css +256 -2
  89. package/dist/es/packages/steps/style-jmapp/steps.scss +328 -4
  90. package/dist/es/packages/steps/style-jmapp/style.css +219 -2
  91. package/dist/es/packages/steps/style-jrkf/steps.scss +328 -4
  92. package/dist/es/packages/steps/style-jrkf/style.css +219 -2
  93. package/dist/es/packages/uploader/uploader.js +21 -27
  94. package/dist/es/types/spec/progress/base.d.ts +24 -0
  95. package/dist/es/types/spec/progress/taro.d.ts +4 -0
  96. package/dist/es/types/spec/searchbar/base.d.ts +10 -1
  97. package/dist/es/types/spec/steps/base.d.ts +26 -5
  98. package/dist/nutui.react.umd.js +530 -391
  99. package/dist/style-jmapp.css +1 -1
  100. package/dist/style-jmapp.scss +42 -42
  101. package/dist/style-jrkf.css +1 -1
  102. package/dist/style-jrkf.scss +41 -41
  103. package/dist/style.css +1 -1
  104. package/dist/style.scss +37 -37
  105. package/dist/styles/variables-jmapp.scss +133 -79
  106. package/dist/styles/variables-jrkf.scss +134 -80
  107. package/dist/styles/variables.scss +148 -89
  108. package/package.json +1 -1
@@ -5,8 +5,262 @@
5
5
  .nut-steps {
6
6
  display: flex;
7
7
  }
8
-
8
+ .nut-steps-horizontal {
9
+ flex-flow: row;
10
+ }
11
+ .nut-steps-horizontal .nut-step-head {
12
+ background-color: #ffffff;
13
+ }
14
+ .nut-steps-horizontal .nut-step-head-icon .nut-icon {
15
+ height: 10px;
16
+ width: 10px;
17
+ }
18
+ .nut-steps-horizontal .nut-step-head-icon .nut-image {
19
+ width: 100%;
20
+ height: 100%;
21
+ background-color: #ffffff;
22
+ }
23
+ .nut-steps-horizontal .nut-step-head-icon .nut-image img {
24
+ vertical-align: top;
25
+ }
26
+ .nut-steps-horizontal .nut-step.nut-step-process .nut-step-title {
27
+ color: #ff0f23;
28
+ }
29
+ .nut-steps-horizontal .nut-step.nut-step-process .nut-step-description {
30
+ color: #ff0f23;
31
+ }
32
+ .nut-steps-horizontal .nut-step.nut-step-wait .nut-step-title {
33
+ color: #1a1a1a;
34
+ }
35
+ .nut-steps-horizontal .nut-step.nut-step-wait .nut-step-description {
36
+ color: #505259;
37
+ }
38
+ .nut-steps-horizontal-single .nut-step {
39
+ padding-right: 28px;
40
+ }
41
+ .nut-steps-horizontal-single .nut-step-last {
42
+ padding-right: 0 !important;
43
+ }
44
+ .nut-steps-horizontal-single .nut-step-line {
45
+ top: 0;
46
+ right: 0;
47
+ height: 14px;
48
+ width: 28px;
49
+ padding: 0 8px;
50
+ box-sizing: border-box;
51
+ }
52
+ .nut-steps-horizontal-single .nut-step-title, .nut-steps-horizontal-single .nut-step-description {
53
+ padding-left: 4px;
54
+ }
55
+ .nut-steps-horizontal-single .nut-step-special {
56
+ padding-right: 22px;
57
+ }
58
+ .nut-steps-horizontal-single .nut-step-special .nut-step-line {
59
+ width: 100%;
60
+ }
61
+ .nut-steps-horizontal-single .nut-step-special .nut-step-title {
62
+ padding-right: 8px;
63
+ width: fit-content;
64
+ }
65
+ .nut-steps-horizontal-single.nut-steps-horizontal-count-3 .nut-step-special {
66
+ padding-right: 9px;
67
+ }
68
+ .nut-steps-horizontal-double {
69
+ width: 100%;
70
+ justify-content: space-between;
71
+ }
72
+ .nut-steps-horizontal-double .nut-step {
73
+ flex-direction: column;
74
+ align-items: center;
75
+ flex: 1;
76
+ }
77
+ .nut-steps-horizontal-double .nut-step-line {
78
+ top: 0;
79
+ right: -50%;
80
+ height: 14px;
81
+ width: 100%;
82
+ }
83
+ .nut-steps-horizontal-double .nut-step-line-inner {
84
+ display: inline-flex;
85
+ height: 1px;
86
+ width: 100%;
87
+ background: rgba(0, 0, 0, 0.06);
88
+ }
89
+ .nut-steps-horizontal-double .nut-step-head {
90
+ justify-content: center;
91
+ margin-bottom: 6px;
92
+ }
93
+ .nut-steps-horizontal-double .nut-step-head-dot-wrap {
94
+ background-color: #ffffff;
95
+ padding: 0 8px;
96
+ }
97
+ .nut-steps-horizontal-double .nut-step-head-icon-wrap {
98
+ background-color: #ffffff;
99
+ padding: 0 8px;
100
+ }
101
+ .nut-steps-horizontal-double .nut-step-head-text-wrap {
102
+ background-color: #ffffff;
103
+ padding: 0 8px;
104
+ }
105
+ .nut-steps-horizontal-double .nut-step-head-icon {
106
+ height: 20px;
107
+ width: 20px;
108
+ }
109
+ .nut-steps-horizontal-double .nut-step-head-icon .nut-icon {
110
+ height: 12px;
111
+ width: 12px;
112
+ }
113
+ .nut-steps-horizontal-double .nut-step-main {
114
+ align-items: center;
115
+ margin-left: 0;
116
+ margin-top: 2px;
117
+ }
118
+ .nut-steps-horizontal-double.nut-steps-horizontal-icon .nut-step-head {
119
+ height: 20px;
120
+ }
121
+ .nut-steps-horizontal-double.nut-steps-horizontal-icon .nut-step-line {
122
+ height: 20px;
123
+ }
124
+ .nut-steps-horizontal-double.nut-steps-horizontal-dot .nut-step-head {
125
+ height: 6px;
126
+ }
127
+ .nut-steps-horizontal-double.nut-steps-horizontal-dot .nut-step-line {
128
+ height: 6px;
129
+ }
130
+ .nut-steps-horizontal-double.nut-steps-horizontal-text .nut-step-head {
131
+ height: 12px;
132
+ }
133
+ .nut-steps-horizontal-double.nut-steps-horizontal-text .nut-step-line {
134
+ height: 12px;
135
+ }
9
136
  .nut-steps-vertical {
137
+ /* #ifdef harmony*/
138
+ flex: 1;
139
+ min-width: 0;
140
+ /* #endif */
141
+ flex-direction: column;
142
+ }
143
+ .nut-steps-vertical .nut-step {
144
+ padding-bottom: 13px;
145
+ }
146
+ .nut-steps-vertical .nut-step-last {
147
+ padding-bottom: 0 !important;
148
+ }
149
+ .nut-steps-vertical .nut-step-line {
150
+ height: calc(100% - 4px);
151
+ width: 1px;
152
+ bottom: 0;
153
+ }
154
+ .nut-steps-vertical .nut-step-line-inner {
10
155
  height: 100%;
11
- flex-flow: column;
156
+ }
157
+ .nut-steps-vertical .nut-step-head {
158
+ align-items: center;
159
+ justify-content: center;
160
+ height: 18px;
161
+ }
162
+ .nut-steps-vertical .nut-step-head-icon {
163
+ width: 20px;
164
+ height: 20px;
165
+ }
166
+ .nut-steps-vertical .nut-step-head-icon .nut-icon {
167
+ height: 12px;
168
+ width: 12px;
169
+ }
170
+ .nut-steps-vertical .nut-step-main {
171
+ flex: 1;
172
+ min-width: 0;
173
+ height: auto;
174
+ margin-left: 8px;
175
+ }
176
+ .nut-steps-vertical .nut-step-title {
177
+ display: flex;
178
+ align-items: center;
179
+ height: 18px;
180
+ font-size: 16px;
181
+ overflow: auto;
182
+ font-weight: 500;
183
+ margin-bottom: 4px;
184
+ }
185
+ .nut-steps-vertical .nut-step-description {
186
+ margin: 0 0 1px;
187
+ height: auto;
188
+ line-height: 18px;
189
+ color: #1a1a1a;
190
+ font-size: 14px;
191
+ box-sizing: border-box;
192
+ }
193
+ .nut-steps-vertical .nut-step-head-dot-wrap, .nut-steps-vertical .nut-step-head-icon-wrap, .nut-steps-vertical .nut-step-head-text-wrap {
194
+ display: flex;
195
+ align-items: center;
196
+ justify-content: center;
197
+ width: 100%;
198
+ background-color: white;
199
+ position: relative;
200
+ z-index: 1;
201
+ }
202
+ .nut-steps-vertical .nut-step-head-dot-wrap {
203
+ height: calc(6px + 8px);
204
+ }
205
+ .nut-steps-vertical .nut-step-head-icon-wrap {
206
+ height: calc(20px + 8px);
207
+ }
208
+ .nut-steps-vertical .nut-step-head-text-wrap {
209
+ height: calc(12px + 8px);
210
+ }
211
+ .nut-steps-vertical-icon .nut-step-head {
212
+ width: calc(20px + 1px);
213
+ min-width: calc(20px + 1px);
214
+ }
215
+ .nut-steps-vertical-icon .nut-step-line {
216
+ left: calc(20px / 2);
217
+ }
218
+ .nut-steps-vertical-dot .nut-step-head {
219
+ width: calc(6px + 1px);
220
+ }
221
+ .nut-steps-vertical-dot .nut-step-line {
222
+ left: calc(6px / 2);
223
+ }
224
+ .nut-steps-vertical-text .nut-step-head {
225
+ width: calc(12px + 1px);
226
+ min-width: calc(12px + 1px);
227
+ }
228
+ .nut-steps-vertical-text .nut-step-line {
229
+ left: calc(12px / 2);
230
+ }
231
+ .nut-steps-horizontal-enhanced .nut-step-finish .nut-step-head-icon {
232
+ background-color: #ffebf1;
233
+ }
234
+ .nut-steps-horizontal-enhanced .nut-step-finish .nut-step-head-text {
235
+ background-color: #ffebf1;
236
+ }
237
+ .nut-steps-vertical-enhanced .nut-step-finish .nut-step-head-icon {
238
+ background-color: #ffebf1;
239
+ }
240
+ .nut-steps-vertical-enhanced .nut-step-finish .nut-step-head-text {
241
+ background-color: #ffebf1;
242
+ }
243
+ .nut-steps-horizontal-enhanced .nut-step-finish .nut-step-head-icon .nut-icon {
244
+ color: #ff475d;
245
+ }
246
+ .nut-steps-horizontal-enhanced .nut-step-finish .nut-step-head-text .nut-icon {
247
+ color: #ff475d;
248
+ }
249
+ .nut-steps-vertical-enhanced .nut-step-finish .nut-step-head-icon .nut-icon {
250
+ color: #ff475d;
251
+ }
252
+ .nut-steps-vertical-enhanced .nut-step-finish .nut-step-head-text .nut-icon {
253
+ color: #ff475d;
254
+ }
255
+ .nut-steps-horizontal-enhanced .nut-step-finish .nut-step-head-text {
256
+ color: #ff475d;
257
+ }
258
+ .nut-steps-vertical-enhanced .nut-step-finish .nut-step-head-text {
259
+ color: #ff475d;
260
+ }
261
+ .nut-steps-horizontal-enhanced .nut-step-finish .nut-step-head-dot {
262
+ background-color: #ffadbe;
263
+ }
264
+ .nut-steps-vertical-enhanced .nut-step-finish .nut-step-head-dot {
265
+ background-color: #ffadbe;
12
266
  }
@@ -1,8 +1,332 @@
1
1
  .nut-steps {
2
2
  display: flex;
3
- }
4
3
 
5
- .nut-steps-vertical {
6
- height: 100%;
7
- flex-flow: column;
4
+ // 横向滚动条
5
+ &-horizontal {
6
+ flex-flow: row;
7
+
8
+ .nut-step {
9
+ &-head {
10
+ background-color: $steps-background-color;
11
+
12
+ &-icon {
13
+ .nut-icon {
14
+ height: 10px;
15
+ width: 10px;
16
+ }
17
+
18
+ .nut-image {
19
+ width: 100%;
20
+ height: 100%;
21
+ background-color: $steps-background-color;
22
+ img {
23
+ vertical-align: top;
24
+ }
25
+ }
26
+ }
27
+ }
28
+
29
+ // 流程状态-当前
30
+ &.nut-step-process {
31
+ .nut-step-title {
32
+ color: $steps-process-title-color;
33
+ }
34
+
35
+ .nut-step-description {
36
+ color: $steps-process-description-color;
37
+ }
38
+ }
39
+
40
+ // 流程状态-等待
41
+ &.nut-step-wait {
42
+ .nut-step-title {
43
+ color: $steps-wait-title-color;
44
+ }
45
+
46
+ .nut-step-description {
47
+ color: $steps-wait-description-color;
48
+ }
49
+ }
50
+
51
+ // 流程状态-完成
52
+ &.nut-step-finish {
53
+ }
54
+ }
55
+
56
+ &-single {
57
+ .nut-step {
58
+ padding-right: $steps-horizontal-item-padding-right;
59
+
60
+ &-last {
61
+ padding-right: 0 !important;
62
+ }
63
+
64
+ &-line {
65
+ top: 0;
66
+ right: 0;
67
+ height: $steps-base-head-height;
68
+ width: $steps-horizontal-item-padding-right;
69
+ padding: $steps-horizontal-item-line-padding;
70
+ box-sizing: border-box;
71
+ }
72
+
73
+ &-title,
74
+ &-description {
75
+ padding-left: 4px;
76
+ }
77
+
78
+ &-special {
79
+ padding-right: $steps-horizontal-item-special-padding-right;
80
+
81
+ .nut-step-line {
82
+ width: 100%;
83
+ }
84
+
85
+ .nut-step-title {
86
+ padding-right: 8px;
87
+ width: fit-content;
88
+ }
89
+ }
90
+ }
91
+
92
+ &.nut-steps-horizontal-count-3 {
93
+ .nut-step-special {
94
+ padding-right: $steps-horizontal-item-special-3-padding-right;
95
+ }
96
+ }
97
+ }
98
+
99
+ &-double {
100
+ width: 100%;
101
+ justify-content: space-between;
102
+
103
+ .nut-step {
104
+ flex-direction: column;
105
+ align-items: center;
106
+ flex: 1;
107
+
108
+ &-line {
109
+ top: 0;
110
+ right: -50%;
111
+ height: $steps-base-head-height;
112
+ width: 100%;
113
+
114
+ &-inner {
115
+ display: inline-flex;
116
+ height: $steps-base-line-height;
117
+ width: 100%;
118
+ background: $steps-base-line-background;
119
+ }
120
+ }
121
+
122
+ &-head {
123
+ justify-content: center;
124
+ margin-bottom: 6px;
125
+
126
+ &-dot-wrap,
127
+ &-icon-wrap,
128
+ &-text-wrap {
129
+ background-color: $steps-background-color;
130
+ padding: $steps-horizontal-item-line-padding;
131
+ }
132
+ }
133
+
134
+ &-head-icon {
135
+ height: $steps-double-head-icon-size;
136
+ width: $steps-double-head-icon-size;
137
+
138
+ .nut-icon {
139
+ height: 12px;
140
+ width: 12px;
141
+ }
142
+ }
143
+
144
+ &-main {
145
+ align-items: center;
146
+ margin-left: 0;
147
+ margin-top: 2px;
148
+ }
149
+ }
150
+
151
+ &.nut-steps-horizontal-icon {
152
+ .nut-step {
153
+ &-head,
154
+ &-line {
155
+ height: $steps-double-head-icon-size;
156
+ }
157
+ }
158
+ }
159
+
160
+ &.nut-steps-horizontal-dot {
161
+ .nut-step {
162
+ &-head,
163
+ &-line {
164
+ height: $steps-base-head-dot-size;
165
+ }
166
+ }
167
+ }
168
+
169
+ &.nut-steps-horizontal-text {
170
+ .nut-step {
171
+ &-head,
172
+ &-line {
173
+ height: $steps-base-head-text-size;
174
+ }
175
+ }
176
+ }
177
+ }
178
+ }
179
+
180
+ // 纵向滚动条
181
+ &-vertical {
182
+ /* #ifdef harmony*/
183
+ flex: 1;
184
+ min-width: 0;
185
+ /* #endif */
186
+ flex-direction: column;
187
+
188
+ .nut-step {
189
+ padding-bottom: $steps-vertical-item-padding-bottom;
190
+
191
+ &-last {
192
+ padding-bottom: 0 !important;
193
+ }
194
+
195
+ &-line {
196
+ height: calc(100% - 4px);
197
+ width: 1px;
198
+ bottom: 0;
199
+
200
+ &-inner {
201
+ height: 100%;
202
+ }
203
+ }
204
+
205
+ &-head {
206
+ align-items: center;
207
+ justify-content: center;
208
+ height: 18px;
209
+
210
+ &-icon {
211
+ width: $steps-vertical-head-icon-size;
212
+ height: $steps-vertical-head-icon-size;
213
+
214
+ .nut-icon {
215
+ height: 12px;
216
+ width: 12px;
217
+ }
218
+ }
219
+ }
220
+
221
+ &-main {
222
+ flex: 1;
223
+ min-width: 0;
224
+ height: auto;
225
+ margin-left: 8px;
226
+ }
227
+
228
+ &-title {
229
+ display: flex;
230
+ align-items: center;
231
+ height: $steps-vertical-line-height;
232
+ font-size: $steps-vertical-title-font-size;
233
+ overflow: auto;
234
+ font-weight: 500;
235
+ margin-bottom: $steps-vertical-title-margin-bottom;
236
+ }
237
+
238
+ &-description {
239
+ margin: $steps-vertical-description-margin;
240
+ height: auto;
241
+ line-height: $steps-vertical-line-height;
242
+ color: $color-title;
243
+ font-size: $steps-vertical-description-font-size;
244
+ box-sizing: border-box;
245
+ }
246
+
247
+ &-head-dot-wrap,
248
+ &-head-icon-wrap,
249
+ &-head-text-wrap {
250
+ display: flex;
251
+ align-items: center;
252
+ justify-content: center;
253
+ width: 100%;
254
+ background-color: white;
255
+ position: relative;
256
+ z-index: 1;
257
+ }
258
+
259
+ &-head-dot-wrap {
260
+ height: calc($steps-base-head-dot-size + 8px);
261
+ }
262
+
263
+ &-head-icon-wrap {
264
+ height: calc($steps-vertical-head-icon-size + 8px);
265
+ }
266
+
267
+ &-head-text-wrap {
268
+ height: calc($steps-base-head-text-size + 8px);
269
+ }
270
+ }
271
+
272
+ &-icon {
273
+ .nut-step {
274
+ &-head {
275
+ width: calc($steps-vertical-head-icon-size + 1px);
276
+ min-width: calc($steps-vertical-head-icon-size + 1px);
277
+ }
278
+
279
+ &-line {
280
+ left: calc($steps-vertical-head-icon-size / 2);
281
+ }
282
+ }
283
+ }
284
+
285
+ &-dot {
286
+ .nut-step {
287
+ &-head {
288
+ width: calc($steps-base-head-dot-size + 1px);
289
+ }
290
+
291
+ &-line {
292
+ left: calc($steps-base-head-dot-size / 2);
293
+ }
294
+ }
295
+ }
296
+
297
+ &-text {
298
+ .nut-step {
299
+ &-head {
300
+ width: calc($steps-base-head-text-size + 1px);
301
+ min-width: calc($steps-base-head-text-size + 1px);
302
+ }
303
+
304
+ &-line {
305
+ left: calc($steps-base-head-text-size / 2);
306
+ }
307
+ }
308
+ }
309
+ }
310
+
311
+ &-horizontal-enhanced,
312
+ &-vertical-enhanced {
313
+ .nut-step-finish {
314
+ .nut-step-head-icon,
315
+ .nut-step-head-text {
316
+ background-color: $steps-enhanced-finish-head-background-color;
317
+
318
+ .nut-icon {
319
+ color: $steps-enhanced-finish-head-icon-color;
320
+ }
321
+ }
322
+
323
+ .nut-step-head-text {
324
+ color: $steps-enhanced-finish-head-text-color;
325
+ }
326
+
327
+ .nut-step-head-dot {
328
+ background-color: $steps-enhanced-finish-head-dot-background-color;
329
+ }
330
+ }
331
+ }
8
332
  }