Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit c870f0d

Browse files
Fixed #18918 Removed Asterisk sign.
1 parent 7365f5f commit c870f0d

File tree

1 file changed

+15
-24
lines changed
  • app/design/adminhtml/Magento/backend/web/css/source/forms

1 file changed

+15
-24
lines changed

app/design/adminhtml/Magento/backend/web/css/source/forms/_fields.less

Lines changed: 15 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,7 @@
5959
}
6060

6161
.abs-field-no-label {
62-
/**
63-
* @codingStandardsIgnoreStart
64-
*/
6562
#mix-grid .return_length(@field-label-grid__column, @field-grid__columns, '+');
66-
//@codingStandardsIgnoreEnd
6763
margin-left: @_length;
6864
}
6965

@@ -170,13 +166,6 @@
170166
.admin__control-text,
171167
.admin__control-textarea {
172168
width: 100%;
173-
&.disabled {
174-
background-color: #e9e9e9;
175-
border-color: #adadad;
176-
color: #303030;
177-
cursor: not-allowed;
178-
opacity: .5;
179-
}
180169
}
181170
}
182171

@@ -194,13 +183,10 @@
194183

195184
.admin__field-label {
196185
color: @field-label__color;
186+
cursor: pointer;
197187
margin: 0;
198188
text-align: right;
199189

200-
label {
201-
cursor: pointer;
202-
}
203-
204190
+ br {
205191
display: none;
206192
}
@@ -221,7 +207,7 @@
221207
overflow: hidden;
222208
}
223209

224-
label {
210+
span {
225211
display: inline-block;
226212
line-height: @field-label__line-height;
227213
vertical-align: top;
@@ -239,7 +225,7 @@
239225

240226
.required > &, // ToDo UI: change classes 'required' to '_required'.
241227
._required > & {
242-
> label {
228+
> span {
243229
&:after {
244230
color: @validation__color;
245231
content: '*';
@@ -249,12 +235,9 @@
249235
line-height: 1;
250236
margin-left: 10px;
251237
margin-top: .2rem;
252-
position: inherit;
238+
position: absolute;
253239
z-index: 1;
254-
margin-left: -10px;
255-
right: -17px;
256-
top: 3px;
257-
240+
258241
}
259242
}
260243
}
@@ -300,6 +283,14 @@
300283
opacity: 1;
301284
}
302285
}
286+
287+
legend.admin__field-label{
288+
span {
289+
&:after {
290+
display: none;
291+
}
292+
}
293+
}
303294

304295
// ToDo UI: Scope Labels must be moved from right side of each control to the place under the label of the control.
305296
// This code must be removed after Scope Labels are moved completely.
@@ -530,7 +521,7 @@
530521
position: absolute;
531522
top: 0;
532523

533-
label {
524+
span {
534525
&:before {
535526
display: block;
536527
}
@@ -545,7 +536,7 @@
545536
}
546537

547538
& > .admin__field-label {
548-
label {
539+
span {
549540
&:before {
550541
display: none;
551542
}

0 commit comments

Comments
 (0)