File tree Expand file tree Collapse file tree 6 files changed +19
-14
lines changed
code/Magento/Checkout/view/frontend/web/template
blank/Magento_Checkout/web/css/source/module/checkout
luma/Magento_Checkout/web/css/source/module/checkout Expand file tree Collapse file tree 6 files changed +19
-14
lines changed Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
-->
7
- < li id ="opc-shipping " data-bind ="fadeVisible: visible() ">
7
+ < li id ="opc-shipping " class =" checkout-shipping-address " data-bind ="fadeVisible: visible() ">
8
8
< div class ="step-title " data-bind ="text: $t('Shipping Address') " data-role ="title "> </ div >
9
9
< div id ="checkout-step-shipping "
10
10
class ="step-content "
48
48
49
49
50
50
<!--Shipping method template-->
51
- < li id ="opc-shipping_method " data-bind ="fadeVisible: visible(), blockLoader: isLoading " role ="presentation ">
51
+ < li id ="opc-shipping_method "
52
+ class ="checkout-shipping-method "
53
+ data-bind ="fadeVisible: visible(), blockLoader: isLoading "
54
+ role ="presentation ">
52
55
< div class ="checkout-shipping-method ">
53
56
< div class ="step-title " data-bind ="text: $t('Shipping Methods') " data-role ="title "> </ div >
54
57
<!-- ko foreach: getRegion('before-shipping-method-form') -->
Original file line number Diff line number Diff line change 13
13
@checkout-step-title__border : @border-width__base solid @color-gray80 ;
14
14
@checkout-step-title__font-size : 26px ;
15
15
@checkout-step-title__font-weight : @font-weight__light ;
16
- @checkout-step-title__margin-bottom : 28px ;
17
16
@checkout-step-title__padding : @indent__s ;
18
17
19
18
@checkout-step-title-mobile__font-size : 18px ;
20
- @checkout-step-title-mobile__margin-bottom : @indent__base ;
21
19
22
20
//
23
21
// Common
39
37
40
38
.step-title {
41
39
& :extend(.abs-checkout-title all );
42
- .css (margin , 0 0 @checkout-step-title__margin-bottom );
43
40
}
44
41
45
42
.step-content {
66
63
.opc-wrapper {
67
64
.step-title {
68
65
.css (font-size , @checkout-step-title-mobile__font-size );
69
- .css (margin-bottom , @checkout-step-title-mobile__margin-bottom );
70
66
border-bottom : 0 ;
71
67
padding-bottom : 0 ;
72
68
}
Original file line number Diff line number Diff line change 8
8
// _____________________________________________
9
9
10
10
@checkout-shipping-address__max-width : 600px ;
11
+ @checkout-shipping-address__margin-top : 28px ;
11
12
12
13
@checkout-shipping-item-icon__background-color : @checkout-shipping-item__active__border-color ;
13
14
@checkout-shipping-item-icon__color : @color-white ;
50
51
51
52
.form-login ,
52
53
.form-shipping-address {
54
+ .css (margin-top , @checkout-shipping-address__margin-top );
53
55
margin-bottom : @indent__base ;
54
56
55
57
.fieldset {
204
206
.css (margin , @checkout-shipping-item-mobile__padding );
205
207
.css (padding , @checkout-shipping-item-mobile__padding );
206
208
}
209
+
207
210
.shipping-address-item {
208
211
.css (border-bottom , 1px solid @checkout-shipping-item-before__border-color );
209
212
.css (margin , @checkout-shipping-item-mobile__margin );
219
222
}
220
223
}
221
224
225
+ .form-login ,
226
+ .form-shipping-address {
227
+ .css (margin-top , @checkout-shipping-address__margin-top );
228
+ }
229
+
222
230
.action-select-shipping-item {
223
231
float : none ;
224
232
margin-top : @indent__s ;
Original file line number Diff line number Diff line change 13
13
@checkout-step-title__border : @border-width__base solid @color-gray80 ;
14
14
@checkout-step-title__font-size : 26px ;
15
15
@checkout-step-title__font-weight : @font-weight__light ;
16
- @checkout-step-title__margin-bottom : 28px ;
17
16
@checkout-step-title__padding : @indent__s ;
18
17
19
18
@checkout-step-title-mobile__font-size : 18px ;
20
- @checkout-step-title-mobile__margin-bottom : @indent__base ;
21
19
22
20
@checkout-step-content-mobile__background : @color-gray-light01 ;
23
21
@checkout-step-content-mobile__margin-s : 15px ;
24
- @checkout-step-content-mobile__margin : 0 - (@checkout-step-content-mobile__margin-s ) @checkout-step-content-mobile__margin-s ;
22
+ @checkout-step-content-mobile__margin : @indent__base - (@checkout-step-content-mobile__margin-s ) @checkout-step-content-mobile__margin-s ;
25
23
26
24
//
27
25
// Common
44
42
.step-title {
45
43
& :extend(.abs-checkout-title all );
46
44
.css (border-bottom , @checkout-step-title__border );
47
- .css (margin , 0 0 @checkout-step-title__margin-bottom );
48
45
}
49
46
50
47
.step-content {
71
68
.opc-wrapper {
72
69
.step-title {
73
70
.css (font-size , @checkout-step-title-mobile__font-size );
74
- .css (margin-bottom , @checkout-step-title-mobile__margin-bottom );
75
71
border-bottom : 0 ;
76
72
padding-bottom : 0 ;
77
73
}
Original file line number Diff line number Diff line change 164
164
> .title {
165
165
border-bottom : 0 ;
166
166
.css (font-size , @checkout-step-title-mobile__font-size );
167
- .css ( margin-bottom , @checkout-step-title-mobile__margin-bottom ) ;
167
+ margin-bottom : @indent__base ;
168
168
padding-bottom : 0 ;
169
169
}
170
170
.totals {
Original file line number Diff line number Diff line change 8
8
// _____________________________________________
9
9
10
10
@checkout-shipping-address__max-width : 500px ;
11
+ @checkout-shipping-address__margin-top : 28px ;
11
12
12
13
@checkout-shipping-item-icon__background-color : @checkout-shipping-item__active__border-color ;
13
14
@checkout-shipping-item-icon__color : @color-white ;
50
51
51
52
.form-login ,
52
53
.form-shipping-address {
53
- .css (margin-bottom , @checkout-step-title__margin-bottom );
54
+ .css (margin-top , @checkout-shipping-address__margin-top );
55
+ .css (margin-bottom , @checkout-shipping-address__margin-top );
54
56
.fieldset {
55
57
.field {
56
58
.label {
292
294
293
295
.form-login {
294
296
.css (border-bottom , @checkout-step-title__border );
295
- .css ( padding-bottom , @checkout-step-title__margin-bottom ) ;
297
+ padding-bottom : @indent__base ;
296
298
}
297
299
}
298
300
.table-checkout-shipping-method {
You can’t perform that action at this time.
0 commit comments