|
30 | 30 | @text-height: 14px;
|
31 | 31 |
|
32 | 32 | :host.horizontal {
|
33 |
| - .line(@dot-width, @dot-height, @dot-border-width, @line-color) { |
| 33 | + .line(@dot-width, @dot-height, @line-color) { |
34 | 34 | background-color: @line-color;
|
35 | 35 | content: '';
|
36 | 36 | position: absolute;
|
37 | 37 | height: 1px;
|
38 |
| - width: calc(100% ~'-' @dot-width + @dot-border-width); |
| 38 | + width: calc(100% ~'-' @dot-width); |
39 | 39 | top: -(@dot-baseline-distance + @dot-height / 2);
|
40 |
| - left: calc(50% ~'+' @dot-width / 2 + @dot-border-width); |
| 40 | + left: calc(50% ~'+' @dot-width / 2); |
41 | 41 | }
|
42 | 42 |
|
43 |
| - .state-circle(@dot-width, @dot-height) { |
| 43 | + .state-circle(@dot-width, @dot-height, @dot-border-width) { |
44 | 44 | position: absolute;
|
45 | 45 | top: -(@dot-baseline-distance + @dot-height);
|
46 | 46 | left: calc(50% ~'-' @dot-width / 2);
|
|
49 | 49 | content: '';
|
50 | 50 | text-align: center;
|
51 | 51 | vertical-align: middle;
|
52 |
| - line-height: @dot-height; |
| 52 | + line-height: @dot-height - 2 * @dot-border-width; |
53 | 53 | transition: 0.25s;
|
54 | 54 | border-radius: 100%;
|
55 | 55 | }
|
|
80 | 80 |
|
81 | 81 | li {
|
82 | 82 | &:not(:last-child):before {
|
83 |
| - .line(@small-dot-width, @small-dot-height, 0, @wz-color-default); |
| 83 | + .line(@small-dot-width, @small-dot-height, @wz-color-default); |
84 | 84 | }
|
85 | 85 |
|
86 | 86 | &:after {
|
87 |
| - .state-circle(@small-dot-width, @small-dot-height); |
| 87 | + .state-circle(@small-dot-width, @small-dot-height, 0); |
88 | 88 | .state-circle-with-background(@wz-color-default);
|
89 | 89 | }
|
90 | 90 | }
|
|
118 | 118 |
|
119 | 119 | li {
|
120 | 120 | &:not(:last-child):before {
|
121 |
| - .line(@big-dot-width, @big-dot-height, 0, @wz-color-default); |
| 121 | + .line(@big-dot-width, @big-dot-height, @wz-color-default); |
122 | 122 | }
|
123 | 123 |
|
124 | 124 | &:after {
|
125 |
| - .state-circle(@big-dot-width, @big-dot-height); |
| 125 | + .state-circle(@big-dot-width, @big-dot-height, 0); |
126 | 126 | .state-circle-with-background(@wz-color-default);
|
127 | 127 | }
|
128 | 128 | }
|
|
156 | 156 |
|
157 | 157 | li {
|
158 | 158 | &:not(:last-child):before {
|
159 |
| - .line(@big-dot-width, @big-dot-height, @dot-border-width, @wz-color-default); |
| 159 | + .line(@big-dot-width, @big-dot-height, @wz-color-default); |
160 | 160 | }
|
161 | 161 |
|
162 | 162 | &:after {
|
163 |
| - .state-circle(@big-dot-width, @big-dot-height); |
| 163 | + .state-circle(@big-dot-width, @big-dot-height, @dot-border-width); |
164 | 164 | .state-circle-with-border(@dot-border-width, @wz-color-default);
|
165 | 165 | }
|
166 | 166 | }
|
|
194 | 194 |
|
195 | 195 | li {
|
196 | 196 | &:not(:last-child):before {
|
197 |
| - .line(@big-dot-width, @big-dot-height, 0, @wz-color-default); |
| 197 | + .line(@big-dot-width, @big-dot-height, @wz-color-default); |
198 | 198 | }
|
199 | 199 |
|
200 | 200 | &:after {
|
201 |
| - .state-circle(@big-dot-width, @big-dot-height); |
| 201 | + .state-circle(@big-dot-width, @big-dot-height, 0); |
202 | 202 | .state-circle-with-background-and-content(@wz-color-default);
|
203 | 203 |
|
204 | 204 | content: attr(step-symbol);
|
|
234 | 234 |
|
235 | 235 | li {
|
236 | 236 | &:not(:last-child):before {
|
237 |
| - .line(@big-dot-width, @big-dot-height, @dot-border-width, @wz-color-default); |
| 237 | + .line(@big-dot-width, @big-dot-height, @wz-color-default); |
238 | 238 | }
|
239 | 239 |
|
240 | 240 | &:after {
|
241 |
| - .state-circle(@big-dot-width, @big-dot-height); |
| 241 | + .state-circle(@big-dot-width, @big-dot-height, @dot-border-width); |
242 | 242 | .state-circle-with-border-and-content(@dot-border-width, @wz-color-default);
|
243 | 243 |
|
244 | 244 | content: attr(step-symbol);
|
|
347 | 347 | a {
|
348 | 348 | color: @wz-color-current;
|
349 | 349 | line-height: @text-height;
|
| 350 | + font-size: @text-height; |
350 | 351 | text-decoration: none;
|
351 | 352 | text-transform: uppercase;
|
352 | 353 | text-align: center;
|
|
0 commit comments