File tree Expand file tree Collapse file tree 3 files changed +109
-2
lines changed
code/Magento/CatalogWidget/view/adminhtml/templates/product/widget
design/adminhtml/Magento/backend/web/css Expand file tree Collapse file tree 3 files changed +109
-2
lines changed Original file line number Diff line number Diff line change 10
10
<?php
11
11
$ element = $ block ->getElement ();
12
12
$ fieldId = ($ element ->getHtmlContainerId ()) ? ' id=" ' . $ element ->getHtmlContainerId () . '" ' : '' ;
13
- $ fieldClass = "field field- {$ element ->getId ()} {$ element ->getCssClass ()}" ;
13
+ $ fieldClass = "field admin__field field- {$ element ->getId ()} {$ element ->getCssClass ()}" ;
14
14
$ fieldClass .= ($ element ->getRequired ()) ? ' required ' : '' ;
15
15
$ fieldAttributes = $ fieldId . ' class=" ' . $ fieldClass . '" ' . $ block ->getUiId ('form-field ' , $ element ->getId ());
16
16
?>
17
17
18
18
<div<?php /* @escapeNotVerified */ echo $ fieldAttributes ?> >
19
19
<?php echo $ element ->getLabelHtml () ?>
20
- <div class="control">
20
+ <div class="control admin__field-control ">
21
21
<div class="rule-tree">
22
22
<div class="rule-tree-wrapper">
23
23
<?php echo $ block ->getInputHtml () ?>
Original file line number Diff line number Diff line change
1
+ // /**
2
+ // * Copyright © 2015 Magento. All rights reserved.
3
+ // * See COPYING.txt for license details.
4
+ // */
5
+
6
+ //
7
+ // Rule tree component
8
+ // _____________________________________________
9
+
10
+ .rule-tree-wrapper {
11
+ line-height : 28px ;
12
+ }
13
+
14
+ .rule-tree {
15
+ .admin__field-control & {
16
+ padding-top : .3rem ;
17
+ }
18
+ ul {
19
+ list-style : none ;
20
+ padding-left : 16px ;
21
+ border-left : dotted 1px #888 ;
22
+ }
23
+ li {
24
+ margin : 0 0 10px ;
25
+ }
26
+ .x-tree ul {
27
+ padding-left : 0 !important ;
28
+ border-left : none !important ;
29
+ }
30
+ }
31
+
32
+ .rule-tree .fieldset {
33
+ min-width : 0 ; // Fixed Chrome fieldset issue
34
+ }
35
+
36
+ @-moz-document url- prefix() { // Fixed Firefox fieldset issue
37
+ .rule-tree .fieldset {
38
+ display : table-cell ;
39
+ }
40
+ }
41
+
42
+ .rule-param .label {
43
+ color : #000 ;
44
+ float : none ;
45
+ text-align : left ;
46
+ padding : 0 ;
47
+ vertical-align : baseline ;
48
+ width : auto ;
49
+ }
50
+
51
+ .rule-param .label-disabled {
52
+ color : #eee ;
53
+ cursor : default ;
54
+ text-decoration : none ;
55
+ }
56
+
57
+ .rule-chooser ,
58
+ .rule-param .element ,
59
+ .rule-param-edit .label {
60
+ display : none ;
61
+ }
62
+
63
+ .rule-chooser .field-row {
64
+ .lib-clearfix ();
65
+ display : block ;
66
+ margin-bottom : 17px ;
67
+ .input-text {
68
+ margin-top : 5px ;
69
+ }
70
+ .ui-datepicker-trigger {
71
+ margin-left : 5px ;
72
+ margin-top :-2px ;
73
+ }
74
+ }
75
+
76
+ .rule-param input ,
77
+ .rule-param select {
78
+ width : auto !important ;
79
+ margin : 0 ;
80
+ min-width : 170px ;
81
+ }
82
+
83
+ .rule-param-edit .element {
84
+ display : inline ;
85
+ }
86
+
87
+ .rule-param-edit .element .addafter {
88
+ padding-left : 5px ;
89
+ }
90
+
91
+ [class^= " rule-param-" ] img ,
92
+ .rule-chooser-trigger img {
93
+ vertical-align : middle ;
94
+ }
95
+
96
+ .rule-chooser {
97
+ border : solid 1px #CCC ;
98
+ margin : 20px ;
99
+ padding : 15px 10px 5px ;
100
+ overflow : auto ;
101
+ }
102
+
103
+ .rule-param-wait {
104
+ background : url(../mui/images/ajax-loader-small.gif ) no-repeat left center ;
105
+ padding-left : 20px ;
106
+ }
Original file line number Diff line number Diff line change 50
50
51
51
// ToDo UI: Temporary. Should be changed
52
52
@import ' source/components/_calendar-temp.less' ;
53
+ @import ' source/components/_rules-temp.less' ;
53
54
54
55
//
55
56
// Media queries collector
You can’t perform that action at this time.
0 commit comments