Skip to content

Commit 14df710

Browse files
author
Natalia Momotenko
committed
Merge remote-tracking branch 'origin/MAGETWO-35172' into UI
2 parents 7326564 + a5e5ae8 commit 14df710

File tree

4 files changed

+38
-52
lines changed

4 files changed

+38
-52
lines changed

app/design/adminhtml/Magento/backend/Magento_Catalog/web/css/source/module.less

Lines changed: 15 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -49,32 +49,32 @@
4949
}
5050

5151
.attribute-change-checkbox {
52+
background: #fff;
5253
display: block;
5354
margin-top: 5px;
5455
.label {
5556
float: none;
5657
padding: 0;
5758
width: auto;
5859
}
59-
.checkbox {
60-
margin-right: 5px;
61-
width: auto;
62-
}
6360
}
6461

6562
.field-price,
6663
.field-special_price,
6764
.field-gift_wrapping_price,
6865
.field-msrp,
66+
.field-cost,
6967
.field-gift_wrapping_price {
70-
.addon > input {
71-
padding-left: 23px;
72-
}
73-
.addafter {
74-
> strong {
75-
left: 5px;
76-
position: absolute;
77-
top: 3px;
68+
.control {
69+
.addon > input {
70+
padding-left: 23px;
71+
}
72+
.addafter {
73+
> strong {
74+
left: 5px;
75+
position: absolute;
76+
top: 3px;
77+
}
7878
}
7979
}
8080
}
@@ -108,31 +108,21 @@
108108
.addafter + .addafter {
109109
border-width: 1px 1px 1px 0;
110110
border-style: solid;
111-
height: 28px;
111+
height: 31px;
112112
right: 0;
113113
position: absolute;
114114
top: 0;
115115
}
116116
.addafter strong {
117-
line-height: 28px;
117+
line-height: 31px;
118118
}
119119
> input:focus + .addafter + .addafter {
120-
box-shadow: 0 0 8px rgba(82, 168, 236, .6);
120+
border-color: #007bdb;
121121
}
122122
}
123123
}
124124
}
125125

126-
.field-gift_message_available,
127-
.field-gift_wrapping_available {
128-
.addon {
129-
> input[type="checkbox"] {
130-
width: auto;
131-
margin-right: 5px;
132-
}
133-
}
134-
}
135-
136126
.fieldset > .addafter {
137127
display: none;
138128
}

app/design/adminhtml/Magento/backend/Magento_Ui/web/css/source/module.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@
612612
border-radius: 0 2px 2px 0;
613613
}
614614

615-
.field-price input {
615+
.field-price input[type="text"] {
616616
border-width: 1px 1px 1px 0;
617617
}
618618

app/design/adminhtml/Magento/backend/web/css/styles-old.less

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,16 +1318,16 @@ input.mage-error ~ .addafter {
13181318
// --------------------------------------
13191319

13201320
.addon {
1321-
input {
1322-
border-width: 1px 0 1px 1px;
1321+
input[type="text"] {
1322+
border-width: 1px 1px 1px 0;
13231323
~ .addafter strong {
13241324
.field-price & {
13251325
font-size: 18px;
13261326
}
13271327
display: inline-block;
13281328
background: #fff;
13291329
line-height: 24px;
1330-
margin: 0 3px 0 -2px;
1330+
margin: 0 3px 0 0;
13311331
padding-left: 4px;
13321332
padding-right: 4px;
13331333
position: relative;
@@ -1347,11 +1347,11 @@ input.mage-error ~ .addafter {
13471347
background: none;
13481348
color: #a6a6a6;
13491349
border-width: 1px 1px 1px 0;
1350-
border-radius: 2px 2px 0 0;
1350+
border-radius: 1px 1px 0 0;
13511351
padding: 0;
13521352
border-color: #ada89e;
13531353
}
1354-
input,
1354+
input[type="text"],
13551355
select {
13561356
&[disabled],
13571357
&[readonly] {
@@ -1366,6 +1366,14 @@ input.mage-error ~ .addafter {
13661366
}
13671367
}
13681368

1369+
.field-weight {
1370+
.addon {
1371+
input[type="text"] {
1372+
border-width: 1px 0 1px 1px;
1373+
}
1374+
}
1375+
}
1376+
13691377
.field.type-price .addon,
13701378
.field-price .addon,
13711379
.field-special_price .addon,
@@ -1385,21 +1393,14 @@ input.mage-error ~ .addafter {
13851393
.field-special_price .addon .addafter,
13861394
.field-msrp .addon .addafter {
13871395
border-width: 1px 0 1px 1px;
1388-
border-radius: 2px 0 0 2px;
1389-
}
1390-
1391-
.field.type-price .addon input:first-child,
1392-
.field-price .addon input:first-child,
1393-
.field-special_price .addon input:first-child,
1394-
.field-msrp .addon input:first-child {
1395-
border-radius: 0 2px 2px 0;
1396+
border-radius: 1px 0 0 1px;
13961397
}
13971398

1398-
.field.type-price input,
1399-
.field-price input,
1400-
.field-special_price input,
1401-
.field-msrp input {
1402-
border-width: 1px 1px 1px 0;
1399+
.field.type-price .addon input[type=text]:first-child,
1400+
.field-price .addon input[type=text]:first-child,
1401+
.field-special_price .addon input[type=text]:first-child,
1402+
.field-msrp .addon input[type=text]:first-child {
1403+
border-radius: 0 1px 1px 0;
14031404
}
14041405

14051406
.field.type-price input:focus,

app/design/adminhtml/Magento/backend/web/mui/mui_legacy.css

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,14 +1287,14 @@ span.required {
12871287

12881288
.addon textarea:first-child,
12891289
.addon select:first-child,
1290-
.addon input:first-child,
1290+
.addon input[type=text]:first-child,
12911291
.addon .addbefore:first-child {
12921292
border-radius: 0;
12931293
}
12941294

12951295
.addon textarea:last-child,
12961296
.addon select:last-child,
1297-
.addon input:last-child,
1297+
.addon input[type=text]:last-child,
12981298
.addon .addafter:last-child {
12991299
border-radius: 0;
13001300
}
@@ -1350,14 +1350,9 @@ span.required {
13501350

13511351
.field-price .addon .addafter {
13521352
border-width: 1px 0 1px 1px;
1353-
border-radius: 4px 0 0 4px;
1353+
border-radius: 1px 0 0 1px;
13541354
}
13551355

1356-
.field-price .addon textarea:first-child,
1357-
.field-price .addon select:first-child,
1358-
.field-price .addon input:first-child {
1359-
border-radius: 0 4px 4px 0;
1360-
}
13611356

13621357
/*
13631358
Form tooltip

0 commit comments

Comments
 (0)