|
54 | 54 | &:extend(.abs-reset-list all); |
55 | 55 | display: none; |
56 | 56 | } |
57 | | -} |
58 | | - |
59 | | -// |
60 | | -// Desktop |
61 | | -// _____________________________________________ |
62 | 57 |
|
63 | 58 | .opc-progress-bar { |
64 | 59 | .lib-css(margin, 0 0 @checkout-progress-bar__margin); |
|
106 | 101 | word-wrap: break-word; |
107 | 102 |
|
108 | 103 | .lib-typography( |
109 | | - @_color: @checkout-progress-bar-item__color, |
110 | | - @_font-family: false, |
111 | | - @_font-size: @checkout-progress-bar__font-size, |
112 | | - @_font-style: false, |
113 | | - @_font-weight: @checkout-progress-bar__font-weight, |
114 | | - @_line-height: false |
| 104 | + @_color: @checkout-progress-bar-item__color, |
| 105 | + @_font-family: false, |
| 106 | + @_font-size: @checkout-progress-bar__font-size, |
| 107 | + @_font-style: false, |
| 108 | + @_font-weight: @checkout-progress-bar__font-weight, |
| 109 | + @_line-height: false |
115 | 110 | ); |
116 | 111 |
|
117 | 112 | &:before, // Item element |
|
138 | 133 | content: counter(i); |
139 | 134 | counter-increment: i; |
140 | 135 | .lib-typography( |
141 | | - @_color: @checkout-progress-bar-item-element-inner__color, |
142 | | - @_font-family: false, |
143 | | - @_font-size: @checkout-progress-bar__font-size, |
144 | | - @_font-style: false, |
145 | | - @_font-weight: @font-weight__semibold, |
146 | | - @_line-height: false |
| 136 | + @_color: @checkout-progress-bar-item-element-inner__color, |
| 137 | + @_font-family: false, |
| 138 | + @_font-size: @checkout-progress-bar__font-size, |
| 139 | + @_font-style: false, |
| 140 | + @_font-weight: @font-weight__semibold, |
| 141 | + @_line-height: false |
147 | 142 | ); |
148 | 143 | } |
149 | 144 | } |
|
196 | 191 | } |
197 | 192 | } |
198 | 193 | } |
| 194 | +} |
199 | 195 |
|
200 | 196 | // |
201 | | -// Mobile max width 600px |
| 197 | +// Mobile |
202 | 198 | // |
203 | | -@media only screen and (max-width: 600px) { |
| 199 | +.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) { |
204 | 200 | .opc-progress-bar { |
205 | 201 | .lib-css(margin, 0 0 @checkout-progress-bar__margin__mobile); |
206 | 202 | counter-reset: i; |
|
213 | 209 | } |
214 | 210 |
|
215 | 211 | // |
216 | | -// Mobile max width 320px and 280px |
| 212 | +// Mobile with extra small screen size |
217 | 213 | // |
218 | | -@media (min-width: 280px) and (max-width: 320px) { |
| 214 | +.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__xs) { |
219 | 215 | .opc-progress-bar-item { |
220 | 216 | .lib-css(width, @checkout-progress-bar-item__width__mobile_small); |
221 | 217 | } |
|
0 commit comments