This repository was archived by the owner on Apr 29, 2019. It is now read-only.
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 Original file line number Diff line number Diff line change 59
59
}
60
60
61
61
.abs-field-no-label {
62
- /* *
63
- * @codingStandardsIgnoreStart
64
- */
65
62
#mix-grid .return_length (@field-label-grid__column , @field-grid__columns , ' +' );
66
- // @codingStandardsIgnoreEnd
67
63
margin-left : @_length ;
68
64
}
69
65
170
166
.admin__control-text ,
171
167
.admin__control-textarea {
172
168
width : 100% ;
173
- & .disabled {
174
- background-color : #e9e9e9 ;
175
- border-color : #adadad ;
176
- color : #303030 ;
177
- cursor : not-allowed ;
178
- opacity : .5 ;
179
- }
180
169
}
181
170
}
182
171
194
183
195
184
.admin__field-label {
196
185
color : @field-label__color ;
186
+ cursor : pointer ;
197
187
margin : 0 ;
198
188
text-align : right ;
199
189
200
- label {
201
- cursor : pointer ;
202
- }
203
-
204
190
+ br {
205
191
display : none ;
206
192
}
221
207
overflow : hidden ;
222
208
}
223
209
224
- label {
210
+ span {
225
211
display : inline-block ;
226
212
line-height : @field-label__line-height ;
227
213
vertical-align : top ;
239
225
240
226
.required > & , // ToDo UI: change classes 'required' to '_required'.
241
227
._required > & {
242
- > label {
228
+ > span {
243
229
& :after {
244
230
color : @validation__color ;
245
231
content : ' *' ;
249
235
line-height : 1 ;
250
236
margin-left : 10px ;
251
237
margin-top : .2rem ;
252
- position : inherit ;
238
+ position : absolute ;
253
239
z-index : 1 ;
254
- margin-left : -10px ;
255
- right : -17px ;
256
- top : 3px ;
257
-
240
+
258
241
}
259
242
}
260
243
}
300
283
opacity : 1 ;
301
284
}
302
285
}
286
+
287
+ legend .admin__field-label {
288
+ span {
289
+ & :after {
290
+ display : none ;
291
+ }
292
+ }
293
+ }
303
294
304
295
// ToDo UI: Scope Labels must be moved from right side of each control to the place under the label of the control.
305
296
// This code must be removed after Scope Labels are moved completely.
530
521
position : absolute ;
531
522
top : 0 ;
532
523
533
- label {
524
+ span {
534
525
& :before {
535
526
display : block ;
536
527
}
545
536
}
546
537
547
538
& > .admin__field-label {
548
- label {
539
+ span {
549
540
& :before {
550
541
display : none ;
551
542
}
You can’t perform that action at this time.
0 commit comments