Skip to content

Commit 8b12310

Browse files
author
Olga Lytvynenko
committed
MAGETWO-45177: Improve indents in the less files according less code standards
1 parent c08b472 commit 8b12310

File tree

116 files changed

+2332
-13
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+2332
-13
lines changed

app/design/frontend/Magento/blank/Magento_AdvancedCheckout/web/css/source/_module.less

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,31 +12,37 @@
1212
.block-addbysku {
1313
.fieldset {
1414
margin: 0;
15+
1516
.fields {
1617
position: relative;
18+
1719
.field {
1820
display: inline-block;
1921
margin-bottom: @indent__s;
2022
vertical-align: top;
2123
}
24+
2225
.actions-toolbar {
2326
position: absolute;
2427
right: 0;
2528
top: 4px;
2629
}
2730
}
2831
}
32+
2933
.sku {
3034
&:extend(.abs-add-box-sizing all);
3135
margin-right: -155px;
3236
padding-right: 160px;
3337
width: 100%;
3438
}
39+
3540
.skus {
3641
> .label {
3742
margin-top: @indent__s;
3843
}
3944
}
45+
4046
.qty {
4147
.qty {
4248
&:extend(.abs-input-qty all);
@@ -45,26 +51,32 @@
4551
}
4652
}
4753
}
54+
4855
.block-content {
4956
&:extend(.abs-add-clearfix-desktop all);
57+
5058
.box {
5159
&:extend(.abs-blocks-2columns all);
5260
}
61+
5362
.actions-toolbar {
5463
clear: both;
5564
.lib-actions-toolbar(
5665
@_actions-toolbar-actions-position: left,
5766
@_actions-toolbar-margin: 0 0 @indent__base
5867
);
5968
.lib-actions-toolbar-clear-floats();
69+
6070
> .secondary {
6171
text-align: left;
6272
}
6373
}
6474
}
75+
6576
.reset {
6677
margin: @indent__s 0;
6778
}
79+
6880
.note {
6981
display: block;
7082
margin: 0 0 @indent__base;
@@ -75,16 +87,21 @@
7587
.block-cart-failed {
7688
margin-top: @indent__xl;
7789
&:extend(.abs-shopping-cart-items all);
90+
7891
.block-title {
7992
.lib-font-size(@h2__font-size);
93+
8094
strong {
8195
font-weight: @h2__font-weight;
8296
}
8397
}
98+
8499
.actions {
85100
text-align: center;
101+
86102
.action {
87103
margin-bottom: @indent__s;
104+
88105
&.tocart {
89106
margin-right: @indent__s;
90107
}
@@ -104,6 +121,7 @@
104121
margin-right: -85px;
105122
padding-right: 90px;
106123
}
124+
107125
.action {
108126
&.remove {
109127
.lib-button-icon(

app/design/frontend/Magento/blank/Magento_AdvancedCheckout/web/css/source/_widgets.less

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,22 @@
1212
.block-addbysku {
1313
.fieldset {
1414
margin: 0;
15+
1516
.fields {
1617
position: relative;
18+
1719
.field {
1820
display: inline-block;
1921
margin-bottom: @indent__s;
2022
vertical-align: top;
23+
2124
&.sku {
2225
&:extend(.abs-add-box-sizing all);
2326
margin-right: -85px;
2427
padding-right: 90px;
2528
width: 100%;
2629
}
30+
2731
&.qty {
2832
.qty {
2933
&:extend(.abs-input-qty all);
@@ -33,28 +37,34 @@
3337
}
3438
}
3539
}
40+
3641
.actions-toolbar {
3742
position: absolute;
3843
right: 0;
3944
top: 6px;
4045
}
4146
}
4247
}
48+
4349
.form-addbysku {
4450
.actions-toolbar {
4551
margin-bottom: @indent__base;
52+
4653
.primary {
4754
text-align: left;
55+
4856
.action {
4957
width: auto;
5058
}
5159
}
60+
5261
.secondary {
5362
float: none;
5463
text-align: left;
5564
}
5665
}
5766
}
67+
5868
.action {
5969
&.add {
6070
.lib-button-icon(
@@ -66,14 +76,17 @@
6676
padding: 2px 0;
6777
width: auto;
6878
}
79+
6980
&.links {
7081
display: inline-block;
7182
margin: @indent__base 0 0;
7283
}
84+
7385
&.reset {
7486
margin: @indent__s 0;
7587
display: block;
7688
}
89+
7790
&.remove {
7891
.lib-button-icon(
7992
@_icon-font-content: @icon-remove,

app/design/frontend/Magento/blank/Magento_Banner/web/css/source/_widgets.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
.banner-item-content {
2525
.lib-css(margin-bottom, @indent__base);
26+
2627
img {
2728
display: block;
2829
margin: 0 auto;

app/design/frontend/Magento/blank/Magento_Bundle/web/css/source/_module.less

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,11 @@
6262

6363
.bundle-summary {
6464
margin-top: @indent__l;
65+
6566
&.empty {
6667
display: none;
6768
}
69+
6870
> .subtitle {
6971
.lib-heading(h3);
7072
display: block;
@@ -73,6 +75,7 @@
7375

7476
.bundle.items {
7577
&:extend(.abs-reset-list all);
78+
7679
> li {
7780
margin-bottom: @indent__s;
7881
}
@@ -83,10 +86,12 @@
8386
display: inline-block;
8487
margin-bottom: @indent__s;
8588
}
89+
8690
.action.primary {
8791
&:extend(.abs-button-l all);
8892
}
8993
}
94+
9095
.product-addto-links {
9196
> .action {
9297
&:extend(.abs-action-addto-product all);
@@ -101,9 +106,11 @@
101106
.lib-css(margin, 0 0 @indent__xs);
102107
display: inline-block;
103108
}
109+
104110
.lib-css(margin-top, @form-field__vertical-indent);
105111
}
106112
}
113+
107114
p.required {
108115
.lib-css(color, @form-field-label-asterisk__color);
109116
}
@@ -123,16 +130,19 @@
123130
.legend.title {
124131
&:extend(.abs-reset-left-margin-desktop all);
125132
}
133+
126134
.bundle-options-wrapper,
127135
.product-options-wrapper {
128136
float: left;
129137
width: 57%;
130138
}
139+
131140
.block-bundle-summary {
132141
float: right;
133142
position: relative;
134143
width: 40%;
135144
}
145+
136146
.bundle-options-wrapper,
137147
.block-bundle-summary {
138148
.page-layout-2columns-left &,

0 commit comments

Comments
 (0)