@@ -137,13 +137,13 @@ $steps-thin-marker-size: .8em !default
137
137
.steps-segment :not (:last-child ):after
138
138
// top and bottom position is almost touching the inner side of a hollow border marker
139
139
bottom : - $steps-gap-size * 0.8
140
- left : calc(#{$size * ($steps-marker-size / 2 )} - (#{$steps-divider-size / 2 }))
140
+ left : calc(#{$size * ($steps-marker-size * 0.5 )} - (#{$steps-divider-size * 0.5 }))
141
141
top : ($size * $steps-marker-size ) - ($steps-gap-size * 0.8 )
142
142
width : $steps-divider-size
143
143
144
144
// Align the content with the marker
145
145
.steps-content
146
- margin-left : calc(#{$size * $steps-marker-size / 2 } + .5em )
146
+ margin-left : calc(#{$size * $steps-marker-size * 0.5 } + .5em )
147
147
margin-top : - $size * $steps-marker-size
148
148
padding-left : 1em
149
149
padding-bottom : 1em
@@ -154,7 +154,7 @@ $steps-thin-marker-size: .8em !default
154
154
155
155
& .has-content-centered
156
156
.steps-content
157
- padding-top : calc(#{$size * $steps-marker-size / 2 } - .5em )
157
+ padding-top : calc(#{$size * $steps-marker-size * 0.5 } - .5em )
158
158
159
159
& :not (.is-thin )
160
160
& .has-gaps .steps-segment , .steps-segment.has-gaps
@@ -171,36 +171,36 @@ $steps-thin-marker-size: .8em !default
171
171
// top and bottom position is almost touching the inner side of a hollow border marker
172
172
left : ($size * $steps-marker-size ) - ($steps-gap-size * 0.8 )
173
173
right : - $steps-gap-size * 0.8
174
- top : calc(#{$size * ($steps-marker-size / 2 )} - (#{$steps-divider-size / 2 }))
174
+ top : calc(#{$size * ($steps-marker-size * 0.5 )} - (#{$steps-divider-size * 0.5 }))
175
175
176
176
& .has-content-above .steps-segment :not (:last-child )::after
177
- bottom : calc(#{$size * $steps-marker-size / 2 } - (#{$steps-divider-size / 2 }))
177
+ bottom : calc(#{$size * $steps-marker-size * 0.5 } - (#{$steps-divider-size * 0.5 }))
178
178
top : auto
179
179
180
180
// extra data
181
181
.extra-data
182
- left : calc(50% + #{($size * $steps-marker-size / 2 ) + $steps-gap-size })
183
- right : calc(-50% + #{($size * $steps-marker-size / 2 ) + $steps-gap-size })
182
+ left : calc(50% + #{($size * $steps-marker-size * 0.5 ) + $steps-gap-size })
183
+ right : calc(-50% + #{($size * $steps-marker-size * 0.5 ) + $steps-gap-size })
184
184
bottom : 100%
185
185
position : absolute
186
186
187
187
& .has-overflow-right
188
188
overflow : visible
189
189
right : auto
190
190
white-space : nowrap
191
- min-width : calc(100% - #{$size * $steps-marker-size / 2 } - (#{$steps-divider-size / 2 }))
191
+ min-width : calc(100% - #{$size * $steps-marker-size * 0.5 } - (#{$steps-divider-size * 0.5 }))
192
192
193
193
& .has-overflow-left
194
194
overflow : visible
195
195
left : auto
196
196
white-space : nowrap
197
- min-width : calc(100% - #{$size * $steps-marker-size / 2 } - (#{$steps-divider-size / 2 }))
197
+ min-width : calc(100% - #{$size * $steps-marker-size * 0.5 } - (#{$steps-divider-size * 0.5 }))
198
198
199
199
& .has-overflow-centered
200
200
overflow : visible
201
201
left : auto
202
202
white-space : nowrap
203
- min-width : calc(100% - #{$size * $steps-marker-size / 2 } - (#{$steps-divider-size / 2 }))
203
+ min-width : calc(100% - #{$size * $steps-marker-size * 0.5 } - (#{$steps-divider-size * 0.5 }))
204
204
205
205
& .has-content-above .extra-data
206
206
top : 100%
@@ -209,12 +209,12 @@ $steps-thin-marker-size: .8em !default
209
209
210
210
// Align the content with the marker
211
211
.steps-content
212
- margin-left : $size * $steps-marker-size / 2
212
+ margin-left : $size * $steps-marker-size * 0.5
213
213
& :not (:last-child )
214
- margin-right : - $size * $steps-marker-size / 2
214
+ margin-right : - $size * $steps-marker-size * 0.5
215
215
216
216
& .is-divider-content
217
- margin-right : - $size * $steps-marker-size / 2
217
+ margin-right : - $size * $steps-marker-size * 0.5
218
218
padding-left : 2em
219
219
padding-right : 2em
220
220
@@ -224,7 +224,7 @@ $steps-thin-marker-size: .8em !default
224
224
right : -50%
225
225
.steps-marker
226
226
position : absolute
227
- left : calc(50% - #{$size * $steps-marker-size / 2 })
227
+ left : calc(50% - #{$size * $steps-marker-size * 0.5 })
228
228
.steps-content
229
229
margin-top : $size * $steps-marker-size
230
230
margin-left : .5em
@@ -244,8 +244,8 @@ $steps-thin-marker-size: .8em !default
244
244
& .has-content-centered
245
245
& .has-gaps .steps-segment , .steps-segment.has-gaps
246
246
& :not (:last-child ):after
247
- left : calc(50% + #{($size * $steps-marker-size / 2 ) + $steps-gap-size })
248
- right : calc(-50% + #{($size * $steps-marker-size / 2 ) + $steps-gap-size })
247
+ left : calc(50% + #{($size * $steps-marker-size * 0.5 ) + $steps-gap-size })
248
+ right : calc(-50% + #{($size * $steps-marker-size * 0.5 ) + $steps-gap-size })
249
249
250
250
.steps
251
251
+ steps-size ($size-normal )
@@ -362,7 +362,7 @@ $steps-thin-marker-size: .8em !default
362
362
.steps-segment
363
363
& :not (:last-child ):after
364
364
bottom : 0
365
- left : calc(#{$steps-thin-marker-size / 2 } - #{$steps-thin-divider-size / 2 })
365
+ left : calc(#{$steps-thin-marker-size * 0.5 } - #{$steps-thin-divider-size * 0.5 })
366
366
top : $steps-thin-marker-size
367
367
width : $steps-thin-divider-size
368
368
@@ -372,7 +372,7 @@ $steps-thin-marker-size: .8em !default
372
372
373
373
& .has-gaps .steps-segment , .steps-segment.has-gaps
374
374
& :not (:last-child ):after
375
- bottom : $steps-thin-marker-size / 2
375
+ bottom : $steps-thin-marker-size * 0.5
376
376
top : $steps-thin-marker-size * 1.5
377
377
378
378
& .has-content-centered
@@ -384,32 +384,32 @@ $steps-thin-marker-size: .8em !default
384
384
& :not (:last-child ):after
385
385
left : $steps-thin-marker-size
386
386
right : 0
387
- top : calc(#{$steps-thin-marker-size / 2 } - #{$steps-thin-divider-size / 2 })
387
+ top : calc(#{$steps-thin-marker-size * 0.5 } - #{$steps-thin-divider-size * 0.5 })
388
388
height : $steps-thin-divider-size
389
389
& .has-content-above .steps-segment :not (:last-child )::after
390
- bottom : calc(#{$steps-thin-marker-size / 2 } - #{$steps-thin-divider-size / 2 })
390
+ bottom : calc(#{$steps-thin-marker-size * 0.5 } - #{$steps-thin-divider-size * 0.5 })
391
391
top : auto
392
392
.steps-content
393
393
margin-top : $steps-thin-marker-size
394
394
395
395
& .has-content-centered
396
396
.steps-segment
397
397
& :not (:last-child ):after
398
- left : calc(50% + #{$steps-thin-marker-size / 2 })
399
- right : calc(-50% + #{$steps-thin-marker-size / 2 })
398
+ left : calc(50% + #{$steps-thin-marker-size * 0.5 })
399
+ right : calc(-50% + #{$steps-thin-marker-size * 0.5 })
400
400
.steps-marker
401
401
position : absolute
402
- left : calc(50% - #{$steps-thin-marker-size / 2 })
402
+ left : calc(50% - #{$steps-thin-marker-size * 0.5 })
403
403
404
404
& .has-gaps .steps-segment , .steps-segment.has-gaps
405
405
& :not (:last-child ):after
406
406
left : $steps-thin-marker-size * 1.5
407
- right : $steps-thin-marker-size / 2
407
+ right : $steps-thin-marker-size * 0.5
408
408
409
409
& .has-content-centered.has-gaps .steps-segment , & .has-content-centered .steps-segment.has-gaps
410
410
& :not (:last-child ):after
411
- left : calc(50% + #{($steps-thin-marker-size / 2 ) + ($steps-thin-marker-size / 2 )})
412
- right : calc(-50% + #{($steps-thin-marker-size / 2 ) + ($steps-thin-marker-size / 2 )})
411
+ left : calc(50% + #{($steps-thin-marker-size * 0.5 ) + ($steps-thin-marker-size * 0.5 )})
412
+ right : calc(-50% + #{($steps-thin-marker-size * 0.5 ) + ($steps-thin-marker-size * 0.5 )})
413
413
414
414
415
415
// .has-content-above
0 commit comments