Skip to content

Commit 40b2525

Browse files
author
Oleg Zinoviev
committed
MAGETWO-32302: Create New Order
- QA updates
1 parent 3dfeae0 commit 40b2525

File tree

2 files changed

+39
-29
lines changed

2 files changed

+39
-29
lines changed

app/design/adminhtml/Magento/backend/Magento_Sales/web/css/source/module/_order-create-table.less

Lines changed: 38 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// ---------------------------------------------
99

1010
@page-order-table__border-color: @table-td__border-color;
11+
@page-order-sku__background: @admin__page-nav__background-color;
12+
@page-order-sku__padding: @indent__base;
1113

1214
//
1315

@@ -90,9 +92,16 @@
9092
// ---------------------------------------------
9193

9294
.add-by-sku {
95+
background: @page-order-sku__background;
9396
clear: both;
97+
padding: @page-order-sku__padding;
98+
99+
.table-info {
100+
color: @page-order-sidebar__color;
101+
}
102+
94103
.admin__field-note {
95-
margin: 1rem 0;
104+
margin: 1.4rem 0;
96105
}
97106
.table-info {
98107
th {
@@ -105,35 +114,36 @@
105114
}
106115
}
107116
}
108-
.col-actions {
109-
.action-default {
110-
&:extend(.abs-action-reset all);
111-
&:extend(.abs-icon all);
112-
display: inline-block;
113-
font-size: @page-order-sidebar__font-size + 0.1rem;
114-
padding-top: @page-order-sidebar__margin-small;
115-
vertical-align: middle;
117+
.action-reset,
118+
.action-delete {
119+
&:extend(.abs-action-reset all);
120+
&:extend(.abs-icon all);
121+
display: inline-block;
122+
font-size: @page-order-sidebar__font-size + 0.1rem;
123+
margin-left: 1.2rem;
124+
padding-top: @page-order-sidebar__margin-small + 0.2rem;
125+
vertical-align: middle;
126+
&:after {
127+
color: @page-order-sidebar__color;
128+
content: @page-order-icon-remove__content;
129+
}
130+
&:hover {
116131
&:after {
117-
color: @page-order-sidebar__color;
118-
}
119-
> span {
120-
&:extend(.abs-visually-hidden all);
121-
}
122-
&.add {
123-
&:after {
124-
content: @page-order-icon-plus__content;
125-
}
126-
}
127-
&.delete {
128-
&:after {
129-
content: @page-order-icon-remove__content;
130-
}
131-
}
132-
&:hover {
133-
&:after {
134-
color: @page-order-icon-plus__hover__color;
135-
}
132+
color: @page-order-icon-plus__hover__color;
136133
}
137134
}
135+
> span {
136+
&:extend(.abs-visually-hidden all);
137+
}
138+
}
139+
.action-reset {
140+
padding-top: 0;
141+
margin-top: -.4rem;
142+
}
143+
144+
.col-qty {
145+
.admin__control-text {
146+
&:extend(.abs-control-qty all);
147+
}
138148
}
139149
}

app/design/adminhtml/Magento/backend/Magento_Sales/web/css/source/module/_order-create.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@
204204
.action-default {
205205
&:extend(.action-tertiary all);
206206
font-weight: @font-weight__regular;
207-
padding: 0;
208207
margin-top: @indent__s;
208+
padding: 0;
209209
}
210210
}
211211

0 commit comments

Comments
 (0)