Skip to content

Commit 58f3ca2

Browse files
author
Natalia Momotenko
committed
Merge remote-tracking branch 'origin/MAGETWO-37722' into PR
2 parents 6451425 + 070a15c commit 58f3ca2

File tree

3 files changed

+40
-17
lines changed

3 files changed

+40
-17
lines changed

app/design/frontend/Magento/blank/web/css/source/_tables.less

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ table {
2323
@_table_border-width: @table__border-width
2424
);
2525
tfoot {
26-
> tr:first-child {
27-
th,
28-
td {
29-
border-top: @table__border-width @table__border-style @table__border-color;
30-
padding-top: @indent__base;
26+
> tr {
27+
&:first-child {
28+
th,
29+
td {
30+
border-top: @table__border-width @table__border-style @table__border-color;
31+
padding-top: @indent__base;
32+
}
3133
}
3234
}
3335
.mark {
@@ -85,6 +87,19 @@ table {
8587
width: 30%;
8688
}
8789
}
90+
&.additional-attributes {
91+
tbody {
92+
th {
93+
&:extend(.abs-no-display-s all);
94+
}
95+
td {
96+
&:last-child {
97+
border: none;
98+
padding: 0 0 @indent__xs;
99+
}
100+
}
101+
}
102+
}
88103
}
89104
}
90105
}

app/design/frontend/Magento/luma/Magento_Catalog/web/css/source/_module.less

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -524,13 +524,6 @@
524524
.additional-attributes-wrapper {
525525
&:extend(.abs-no-border-top all);
526526
}
527-
.additional-attributes {
528-
tbody {
529-
th {
530-
&:extend(.abs-no-display-s all);
531-
}
532-
}
533-
}
534527
}
535528
}
536529

app/design/frontend/Magento/luma/web/css/source/_tables.less

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ table {
2020
.table {
2121
tfoot {
2222
.css(background, @sidebar__background-color);
23-
> tr:first-child {
24-
th,
25-
td {
26-
border-top: @table__border-width @table__border-style @table__border-color;
27-
padding-top: @indent__base;
23+
> tr {
24+
&:first-child {
25+
th,
26+
td {
27+
border-top: @table__border-width @table__border-style @table__border-color;
28+
padding-top: @indent__base;
29+
}
2830
}
2931
}
3032
th,
@@ -95,6 +97,19 @@ table {
9597
}
9698
}
9799
}
100+
&.additional-attributes {
101+
tbody {
102+
th {
103+
&:extend(.abs-no-display-s all);
104+
}
105+
td {
106+
&:last-child {
107+
border: none;
108+
padding: 0 0 @indent__xs;
109+
}
110+
}
111+
}
112+
}
98113
}
99114
}
100115
}

0 commit comments

Comments
 (0)