@vortex-ui/env-puzzle 2.0.0-beta.5 → 2.0.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/create-modal/index.d.ts +1 -0
- package/lib/create-modal/index.js +2 -0
- package/lib/create-modal/index.js.map +1 -1
- package/lib/global.css +0 -257
- package/lib/global.less +1 -260
- package/lib/style/css.js +13 -0
- package/lib/style/css.js.map +1 -0
- package/lib/style/darkGreen.css +631 -0
- package/lib/style/darkGreen.less +370 -0
- package/lib/style/index.d.ts +2 -0
- package/lib/style/index.js +13 -0
- package/lib/style/index.js.map +1 -0
- package/lib/template/index.d.ts +1 -0
- package/lib/template/index.js +2 -0
- package/lib/template/index.js.map +1 -1
- package/lib/view-modal/index.d.ts +1 -0
- package/lib/view-modal/index.js +2 -0
- package/lib/view-modal/index.js.map +1 -1
- package/lib/view-modal/view-modal.js +9 -1
- package/lib/view-modal/view-modal.js.map +1 -1
- package/package.json +1 -1
- package/lib/va.css +0 -0
- package/lib/va.less +0 -6
|
@@ -7,6 +7,8 @@ exports["default"] = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _createModal = _interopRequireDefault(require("./create-modal"));
|
|
9
9
|
|
|
10
|
+
require("../style/index");
|
|
11
|
+
|
|
10
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
13
|
|
|
12
14
|
var _default = _createModal["default"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["CreateModal"],"sources":["create-modal/index.js"],"sourcesContent":["import CreateModal from './create-modal';\nexport default CreateModal;\n"],"mappings":";;;;;;;AAAA;;;;eACeA,uB"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["CreateModal"],"sources":["create-modal/index.js"],"sourcesContent":["import CreateModal from './create-modal';\nimport '../style/index';\nexport default CreateModal;\n"],"mappings":";;;;;;;AAAA;;AACA;;;;eACeA,uB"}
|
package/lib/global.css
CHANGED
|
@@ -1,260 +1,3 @@
|
|
|
1
1
|
.__dumi-default-mobile-demo-layout {
|
|
2
2
|
padding: 0;
|
|
3
3
|
}
|
|
4
|
-
.ant-form {
|
|
5
|
-
padding: 0;
|
|
6
|
-
position: relative;
|
|
7
|
-
}
|
|
8
|
-
.ant-form::after {
|
|
9
|
-
content: '';
|
|
10
|
-
position: absolute;
|
|
11
|
-
right: 0;
|
|
12
|
-
top: 0;
|
|
13
|
-
bottom: 0;
|
|
14
|
-
width: 1px;
|
|
15
|
-
background: #e5e9f2;
|
|
16
|
-
}
|
|
17
|
-
.ant-form .vtx-form-layout {
|
|
18
|
-
position: relative;
|
|
19
|
-
padding: 0;
|
|
20
|
-
border-left: 1px solid #e5e9f2;
|
|
21
|
-
border-bottom: 1px solid #e5e9f2;
|
|
22
|
-
}
|
|
23
|
-
.ant-form .vtx-form-layout > .vtx-form-layout {
|
|
24
|
-
border: none;
|
|
25
|
-
}
|
|
26
|
-
.ant-form .vtx-form-layout > .vtx-form-pane:nth-child(1) {
|
|
27
|
-
border-top: 1px solid #e5e9f2;
|
|
28
|
-
}
|
|
29
|
-
.ant-form .vtx-form-layout > .vtx-form-pane:nth-child(1) .vtx-form-pane-title {
|
|
30
|
-
padding-top: 16px;
|
|
31
|
-
}
|
|
32
|
-
.ant-form .vtx-form-layout .vtx-form-item-col {
|
|
33
|
-
position: relative;
|
|
34
|
-
z-index: 9;
|
|
35
|
-
margin-bottom: 0;
|
|
36
|
-
border-right: 1px solid #e5e9f2;
|
|
37
|
-
border-top: 1px solid #e5e9f2;
|
|
38
|
-
min-height: 60px;
|
|
39
|
-
}
|
|
40
|
-
.ant-form .vtx-form-layout .vtx-form-item-col .ant-select-focused,
|
|
41
|
-
.ant-form .vtx-form-layout .vtx-form-item-col .ant-input-number-focused,
|
|
42
|
-
.ant-form .vtx-form-layout .vtx-form-item-col .ant-input-affix-wrapper,
|
|
43
|
-
.ant-form .vtx-form-layout .vtx-form-item-col input:focus,
|
|
44
|
-
.ant-form .vtx-form-layout .vtx-form-item-col textarea:focus {
|
|
45
|
-
outline: none;
|
|
46
|
-
position: relative;
|
|
47
|
-
z-index: 199;
|
|
48
|
-
height: calc(100% - 1px);
|
|
49
|
-
}
|
|
50
|
-
.ant-form .vtx-form-layout .ant-col-8.vtx-form-item-col,
|
|
51
|
-
.ant-form .vtx-form-layout .ant-col-12.vtx-form-item-col,
|
|
52
|
-
.ant-form .vtx-form-layout .ant-col-24.vtx-form-item-col {
|
|
53
|
-
border-bottom: 1px solid #e5e9f2;
|
|
54
|
-
margin-bottom: -1px;
|
|
55
|
-
}
|
|
56
|
-
.ant-form .vtx-form-layout .vtx-form-card {
|
|
57
|
-
border: none;
|
|
58
|
-
}
|
|
59
|
-
.ant-form .vtx-form-layout .vtx-form-pane .ant-divider {
|
|
60
|
-
height: 0;
|
|
61
|
-
border: none;
|
|
62
|
-
}
|
|
63
|
-
.ant-form .vtx-form-layout .ant-card:not(:nth-last-child(1)) .vtx-form-card-content {
|
|
64
|
-
border-bottom: 1px solid #e5e9f2;
|
|
65
|
-
}
|
|
66
|
-
.ant-form .vtx-form-layout .vtx-form-card-content {
|
|
67
|
-
padding: 20px 0 0 0;
|
|
68
|
-
}
|
|
69
|
-
.ant-form .vtx-form-layout .ant-card.vtx-form-card {
|
|
70
|
-
border-bottom: none;
|
|
71
|
-
}
|
|
72
|
-
.ant-form .vtx-form-layout .ant-tabs-tabpane .ant-divider {
|
|
73
|
-
height: 0;
|
|
74
|
-
border: none;
|
|
75
|
-
}
|
|
76
|
-
.ant-form .vtx-form-layout .ant-card-head {
|
|
77
|
-
background: #f2f2f2;
|
|
78
|
-
}
|
|
79
|
-
.ant-form .vtx-form-layout .ant-card-head .ant-card-head-title {
|
|
80
|
-
font-weight: normal;
|
|
81
|
-
color: #333;
|
|
82
|
-
}
|
|
83
|
-
.ant-form .vtx-form-layout .ant-card-head .ant-card-extra span {
|
|
84
|
-
color: #666;
|
|
85
|
-
}
|
|
86
|
-
.ant-form .ant-form-item {
|
|
87
|
-
height: 100%;
|
|
88
|
-
margin-bottom: 0 !important;
|
|
89
|
-
margin-right: 0;
|
|
90
|
-
}
|
|
91
|
-
.ant-form .ant-form-item .ant-form-item-row {
|
|
92
|
-
height: 100%;
|
|
93
|
-
-webkit-box-align: center;
|
|
94
|
-
-ms-flex-align: center;
|
|
95
|
-
align-items: center;
|
|
96
|
-
}
|
|
97
|
-
.ant-form .ant-form-item .ant-form-item-row .ant-form-item-control {
|
|
98
|
-
height: 100%;
|
|
99
|
-
background: #fff;
|
|
100
|
-
}
|
|
101
|
-
.ant-form .ant-form-item .ant-form-item-row .ant-form-item-control > *:only-child {
|
|
102
|
-
height: 100%;
|
|
103
|
-
}
|
|
104
|
-
.ant-form .ant-form-item .ant-form-item-row .ant-form-item-control .ant-form-item-control-input {
|
|
105
|
-
height: 100%;
|
|
106
|
-
}
|
|
107
|
-
.ant-form .ant-form-item .ant-form-item-row .ant-form-item-control .ant-form-item-explain {
|
|
108
|
-
position: absolute;
|
|
109
|
-
bottom: 0;
|
|
110
|
-
left: 5px;
|
|
111
|
-
right: 0;
|
|
112
|
-
}
|
|
113
|
-
.ant-form .ant-form-item .ant-form-item-label {
|
|
114
|
-
background: #f2f2f2;
|
|
115
|
-
height: 100%;
|
|
116
|
-
min-height: 58px;
|
|
117
|
-
display: -webkit-box;
|
|
118
|
-
display: -ms-flexbox;
|
|
119
|
-
display: flex;
|
|
120
|
-
-webkit-box-align: center;
|
|
121
|
-
-ms-flex-align: center;
|
|
122
|
-
align-items: center;
|
|
123
|
-
-webkit-box-pack: end;
|
|
124
|
-
-ms-flex-pack: end;
|
|
125
|
-
justify-content: flex-end;
|
|
126
|
-
}
|
|
127
|
-
.ant-form .ant-form-item .ant-form-item-control-input-content {
|
|
128
|
-
height: 100%;
|
|
129
|
-
display: -webkit-box;
|
|
130
|
-
display: -ms-flexbox;
|
|
131
|
-
display: flex;
|
|
132
|
-
-webkit-box-align: center;
|
|
133
|
-
-ms-flex-align: center;
|
|
134
|
-
align-items: center;
|
|
135
|
-
}
|
|
136
|
-
.ant-form .ant-form-item .ant-form-item-control-input-content > *:nth-child(1):not(.ant-select):not(.vtx-multi-select):not(.vtx-select):not(.vtx-input-textarea) {
|
|
137
|
-
padding-left: 10px;
|
|
138
|
-
}
|
|
139
|
-
.ant-form .ant-form-item .ant-form-item-control-input-content input {
|
|
140
|
-
height: 100%;
|
|
141
|
-
border: none;
|
|
142
|
-
}
|
|
143
|
-
.ant-form .ant-form-item .ant-input-number-disabled {
|
|
144
|
-
height: 100%;
|
|
145
|
-
border: none;
|
|
146
|
-
}
|
|
147
|
-
.ant-form .ant-form-item .ant-input-affix-wrapper {
|
|
148
|
-
height: 100%;
|
|
149
|
-
border: none;
|
|
150
|
-
}
|
|
151
|
-
.ant-form .ant-form-item .ant-checkbox input {
|
|
152
|
-
display: none;
|
|
153
|
-
}
|
|
154
|
-
.ant-form .ant-form-item .vtx-multi-select {
|
|
155
|
-
height: 100%;
|
|
156
|
-
}
|
|
157
|
-
.ant-form .ant-form-item .vtx-multi-select .ant-select {
|
|
158
|
-
height: 100%;
|
|
159
|
-
}
|
|
160
|
-
.ant-form .ant-form-item .vtx-multi-select .ant-select .ant-select-selector {
|
|
161
|
-
height: 100%;
|
|
162
|
-
}
|
|
163
|
-
.ant-form .ant-form-item .vtx-multi-select .ant-select-selector {
|
|
164
|
-
border: none;
|
|
165
|
-
border-right: 1px solid #e5e9f2;
|
|
166
|
-
}
|
|
167
|
-
.ant-form .ant-form-item .vtx-multi-select .ant-btn {
|
|
168
|
-
height: 100%;
|
|
169
|
-
border: none;
|
|
170
|
-
}
|
|
171
|
-
.ant-form .ant-form-item .vtx-input-textarea {
|
|
172
|
-
width: 100%;
|
|
173
|
-
height: 100%;
|
|
174
|
-
}
|
|
175
|
-
.ant-form .ant-form-item input {
|
|
176
|
-
padding-left: 0;
|
|
177
|
-
min-height: 56px;
|
|
178
|
-
}
|
|
179
|
-
.ant-form .ant-form-item textarea,
|
|
180
|
-
.ant-form .ant-form-item .ant-select,
|
|
181
|
-
.ant-form .ant-form-item .ant-input-number,
|
|
182
|
-
.ant-form .ant-form-item .ant-picker {
|
|
183
|
-
height: 100%;
|
|
184
|
-
border: none;
|
|
185
|
-
}
|
|
186
|
-
.ant-form .ant-form-item textarea .ant-input-number-input-wrap,
|
|
187
|
-
.ant-form .ant-form-item .ant-select .ant-input-number-input-wrap,
|
|
188
|
-
.ant-form .ant-form-item .ant-input-number .ant-input-number-input-wrap,
|
|
189
|
-
.ant-form .ant-form-item .ant-picker .ant-input-number-input-wrap {
|
|
190
|
-
height: 100%;
|
|
191
|
-
}
|
|
192
|
-
.ant-form .ant-form-item .ant-select {
|
|
193
|
-
display: -webkit-box;
|
|
194
|
-
display: -ms-flexbox;
|
|
195
|
-
display: flex;
|
|
196
|
-
-webkit-box-align: center;
|
|
197
|
-
-ms-flex-align: center;
|
|
198
|
-
align-items: center;
|
|
199
|
-
}
|
|
200
|
-
.ant-form .ant-form-item .ant-select .ant-select-selector {
|
|
201
|
-
height: 100%;
|
|
202
|
-
width: 100%;
|
|
203
|
-
border: none;
|
|
204
|
-
}
|
|
205
|
-
.ant-form .ant-form-item .ant-select .ant-select-selector input {
|
|
206
|
-
height: 100%;
|
|
207
|
-
overflow: visible;
|
|
208
|
-
}
|
|
209
|
-
.ant-form .ant-form-item .ant-select .ant-select-selection-placeholder,
|
|
210
|
-
.ant-form .ant-form-item .ant-select .ant-select-selection-item {
|
|
211
|
-
height: 100%;
|
|
212
|
-
display: -webkit-box;
|
|
213
|
-
display: -ms-flexbox;
|
|
214
|
-
display: flex;
|
|
215
|
-
-webkit-box-align: center;
|
|
216
|
-
-ms-flex-align: center;
|
|
217
|
-
align-items: center;
|
|
218
|
-
}
|
|
219
|
-
.ant-form .ant-form-item .ant-upload-picture-card-wrapper {
|
|
220
|
-
padding-top: 10px;
|
|
221
|
-
}
|
|
222
|
-
.ant-form .ant-row {
|
|
223
|
-
width: 100%;
|
|
224
|
-
}
|
|
225
|
-
.ant-form .vtx-form-pane-title {
|
|
226
|
-
padding-left: 24px;
|
|
227
|
-
margin-bottom: 0;
|
|
228
|
-
padding-bottom: 24px;
|
|
229
|
-
border-right: 1px solid #e5e9f2;
|
|
230
|
-
}
|
|
231
|
-
.ant-form .ant-col:not(.ant-col-8):not(.ant-col-12):not(.ant-col-24):not(.ant-col-4).ant-form-item-label {
|
|
232
|
-
width: 150px;
|
|
233
|
-
}
|
|
234
|
-
.ant-form .text-node {
|
|
235
|
-
-webkit-box-sizing: border-box;
|
|
236
|
-
box-sizing: border-box;
|
|
237
|
-
padding-left: 10px;
|
|
238
|
-
}
|
|
239
|
-
.ant-form .ant-col:not(:nth-child(1)) .ant-row .ant-col.vtx-form-item-col {
|
|
240
|
-
border-top: none;
|
|
241
|
-
}
|
|
242
|
-
.ant-form .ant-form-item-with-help {
|
|
243
|
-
margin-bottom: 0 !important;
|
|
244
|
-
}
|
|
245
|
-
.ant-tabs-nav-wrap {
|
|
246
|
-
background: #f7f8fa;
|
|
247
|
-
height: 42px;
|
|
248
|
-
}
|
|
249
|
-
.ant-tabs-nav-wrap .ant-tabs-tab-active {
|
|
250
|
-
background: #fff;
|
|
251
|
-
}
|
|
252
|
-
.ant-tabs-nav-wrap .ant-tabs-tab {
|
|
253
|
-
height: 42px;
|
|
254
|
-
padding-left: 18px !important;
|
|
255
|
-
padding-right: 18px !important;
|
|
256
|
-
margin-left: 0;
|
|
257
|
-
}
|
|
258
|
-
.ant-tabs-nav-wrap .ant-tabs-ink-bar.ant-tabs-ink-bar-animated {
|
|
259
|
-
top: 0;
|
|
260
|
-
}
|
package/lib/global.less
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
|
|
3
3
|
.__dumi-default-mobile-demo-layout {
|
|
4
4
|
padding: 0;
|
|
@@ -7,264 +7,5 @@
|
|
|
7
7
|
.__dumi-default-previewer-demo {
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.ant-form {
|
|
11
|
-
padding: 0;
|
|
12
|
-
position: relative;
|
|
13
|
-
&::after {
|
|
14
|
-
content: '';
|
|
15
|
-
position: absolute;
|
|
16
|
-
right: 0;
|
|
17
|
-
top: 0;
|
|
18
|
-
bottom: 0;
|
|
19
|
-
width: 1px;
|
|
20
|
-
background: @border-color;
|
|
21
|
-
}
|
|
22
|
-
.vtx-form-layout {
|
|
23
|
-
> .vtx-form-layout {
|
|
24
|
-
border: none;
|
|
25
|
-
}
|
|
26
|
-
> .vtx-form-pane:nth-child(1) {
|
|
27
|
-
border-top: 1px solid @border-color;
|
|
28
|
-
.vtx-form-pane-title {
|
|
29
|
-
padding-top: 16px;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
position: relative;
|
|
33
|
-
padding: 0;
|
|
34
|
-
border-left: 1px solid @border-color;
|
|
35
|
-
border-bottom: 1px solid @border-color;
|
|
36
|
-
.vtx-form-item-col {
|
|
37
|
-
position: relative;
|
|
38
|
-
z-index: 9;
|
|
39
|
-
margin-bottom: 0;
|
|
40
|
-
//border-bottom: 1px solid @border-color;
|
|
41
|
-
border-right: 1px solid @border-color;
|
|
42
|
-
border-top: 1px solid @border-color;
|
|
43
|
-
min-height: 60px;
|
|
44
|
-
.ant-select-focused,
|
|
45
|
-
.ant-input-number-focused,
|
|
46
|
-
.ant-input-affix-wrapper,
|
|
47
|
-
input:focus,
|
|
48
|
-
textarea:focus {
|
|
49
|
-
outline: none;
|
|
50
|
-
position: relative;
|
|
51
|
-
z-index: 199;
|
|
52
|
-
//width: calc(~'100% - 1px');
|
|
53
|
-
height: calc(~'100% - 1px');
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
.ant-col-8, .ant-col-12, .ant-col-24 {
|
|
57
|
-
&.vtx-form-item-col {
|
|
58
|
-
border-bottom: 1px solid @border-color;
|
|
59
|
-
margin-bottom: -1px;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
.vtx-form-card {
|
|
63
|
-
border: none;
|
|
64
|
-
}
|
|
65
|
-
.vtx-form-pane {
|
|
66
|
-
.ant-divider {
|
|
67
|
-
height: 0;
|
|
68
|
-
border: none;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
.vtx-form-pane-content {
|
|
72
|
-
//border-left: 1px solid @border-color;
|
|
73
|
-
}
|
|
74
|
-
.ant-card:not(:nth-last-child(1)) {
|
|
75
|
-
.vtx-form-card-content {
|
|
76
|
-
border-bottom: 1px solid @border-color;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
.vtx-form-card-content {
|
|
80
|
-
padding: 20px 0 0 0;
|
|
81
|
-
}
|
|
82
|
-
.ant-card.vtx-form-card {
|
|
83
|
-
border-bottom: none;
|
|
84
|
-
}
|
|
85
|
-
.ant-tabs-tabpane {
|
|
86
|
-
.ant-divider {
|
|
87
|
-
height: 0;
|
|
88
|
-
border: none;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
.ant-card-head {
|
|
92
|
-
background: @normal-item-bg-color;
|
|
93
|
-
.ant-card-head-title {
|
|
94
|
-
font-weight: normal;
|
|
95
|
-
color: @text-color;
|
|
96
|
-
}
|
|
97
|
-
.ant-card-extra {
|
|
98
|
-
span {
|
|
99
|
-
color: @middle-font-color;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
.ant-form-item {
|
|
105
|
-
height: 100%;
|
|
106
|
-
margin-bottom: 0 !important;
|
|
107
|
-
margin-right: 0;
|
|
108
|
-
.ant-form-item-row {
|
|
109
|
-
height: 100%;
|
|
110
|
-
align-items: center;
|
|
111
|
-
.ant-form-item-control {
|
|
112
|
-
height: 100%;
|
|
113
|
-
background: @bg-color;
|
|
114
|
-
> *:only-child {
|
|
115
|
-
height: 100%;
|
|
116
|
-
}
|
|
117
|
-
.ant-form-item-control-input {
|
|
118
|
-
height: 100%;
|
|
119
|
-
}
|
|
120
|
-
.ant-form-item-explain {
|
|
121
|
-
position: absolute;
|
|
122
|
-
bottom: 0;
|
|
123
|
-
left: 5px;
|
|
124
|
-
right: 0;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
.ant-form-item-label {
|
|
129
|
-
background: @normal-item-bg-color;
|
|
130
|
-
height: 100%;
|
|
131
|
-
min-height: 58px;
|
|
132
|
-
display: flex;
|
|
133
|
-
align-items: center;
|
|
134
|
-
justify-content: flex-end;
|
|
135
|
-
}
|
|
136
|
-
// 各个表单样式控制
|
|
137
|
-
.ant-form-item-control-input-content {
|
|
138
|
-
> *:nth-child(1):not(.ant-select):not(.vtx-multi-select):not(.vtx-select):not(.vtx-input-textarea) {
|
|
139
|
-
padding-left: 10px;
|
|
140
|
-
}
|
|
141
|
-
height: 100%;
|
|
142
|
-
display: flex;
|
|
143
|
-
align-items: center;
|
|
144
|
-
input {
|
|
145
|
-
height: 100%;
|
|
146
|
-
border: none;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
.ant-input-number-disabled {
|
|
150
|
-
height: 100%;
|
|
151
|
-
border: none;
|
|
152
|
-
}
|
|
153
|
-
.ant-input-affix-wrapper {
|
|
154
|
-
height: 100%;
|
|
155
|
-
border: none;
|
|
156
|
-
}
|
|
157
|
-
.ant-checkbox {
|
|
158
|
-
input {
|
|
159
|
-
display: none;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
.vtx-multi-select {
|
|
163
|
-
height: 100%;
|
|
164
|
-
.ant-select {
|
|
165
|
-
height: 100%;
|
|
166
|
-
.ant-select-selector {
|
|
167
|
-
height: 100%;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
.ant-select-selector {
|
|
171
|
-
border: none;
|
|
172
|
-
border-right: 1px solid @border-color;
|
|
173
|
-
}
|
|
174
|
-
.ant-btn {
|
|
175
|
-
height: 100%;
|
|
176
|
-
border: none;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
.vtx-input-textarea {
|
|
180
|
-
width: 100%;
|
|
181
|
-
height: 100%;
|
|
182
|
-
}
|
|
183
|
-
input {
|
|
184
|
-
padding-left: 0;
|
|
185
|
-
min-height: 56px;
|
|
186
|
-
}
|
|
187
|
-
textarea,
|
|
188
|
-
.ant-select,
|
|
189
|
-
.ant-input-number,
|
|
190
|
-
.ant-picker {
|
|
191
|
-
height: 100%;
|
|
192
|
-
border: none;
|
|
193
|
-
.ant-input-number-input-wrap {
|
|
194
|
-
height: 100%;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
.ant-select {
|
|
198
|
-
display: flex;
|
|
199
|
-
align-items: center;
|
|
200
|
-
.ant-select-selector {
|
|
201
|
-
//height: calc(~'100% - 1px');
|
|
202
|
-
height: 100%;
|
|
203
|
-
width: 100%;
|
|
204
|
-
border: none;
|
|
205
|
-
input {
|
|
206
|
-
height: 100%;
|
|
207
|
-
overflow: visible;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
.ant-select-selection-placeholder, .ant-select-selection-item {
|
|
211
|
-
height: 100%;
|
|
212
|
-
display: flex;
|
|
213
|
-
align-items: center;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
.ant-upload-picture-card-wrapper {
|
|
217
|
-
padding-top: 10px;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
.ant-row {
|
|
221
|
-
width: 100%;
|
|
222
|
-
}
|
|
223
|
-
.vtx-form-pane-title {
|
|
224
|
-
padding-left: 24px;
|
|
225
|
-
margin-bottom: 0;
|
|
226
|
-
padding-bottom: 24px;
|
|
227
|
-
border-right: 1px solid @border-color;
|
|
228
|
-
}
|
|
229
|
-
.ant-col:not(.ant-col-8):not(.ant-col-12):not(.ant-col-24):not(.ant-col-4) {
|
|
230
|
-
&.ant-form-item-label {
|
|
231
|
-
width: 150px;
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
.text-node {
|
|
235
|
-
box-sizing: border-box;
|
|
236
|
-
padding-left: 10px;
|
|
237
|
-
}
|
|
238
|
-
.ant-col:not(:nth-child(1)) {
|
|
239
|
-
.ant-row {
|
|
240
|
-
.ant-col.vtx-form-item-col {
|
|
241
|
-
border-top: none;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
.ant-form-item-with-help {
|
|
246
|
-
margin-bottom: 0 !important;
|
|
247
|
-
}
|
|
248
|
-
//.ant-col{
|
|
249
|
-
// max-height: 62px ;
|
|
250
|
-
// overflow: hidden;
|
|
251
|
-
//}
|
|
252
|
-
}
|
|
253
10
|
|
|
254
|
-
.ant-tabs-nav-wrap {
|
|
255
|
-
background: @table-header-bg;
|
|
256
|
-
height: 42px;
|
|
257
|
-
.ant-tabs-tab-active {
|
|
258
|
-
background: #fff;
|
|
259
|
-
}
|
|
260
|
-
.ant-tabs-tab {
|
|
261
|
-
height: 42px;
|
|
262
|
-
padding-left: 18px !important;
|
|
263
|
-
padding-right: 18px !important;
|
|
264
|
-
margin-left: 0;
|
|
265
|
-
}
|
|
266
|
-
.ant-tabs-ink-bar.ant-tabs-ink-bar-animated {
|
|
267
|
-
top: 0;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
11
|
|
package/lib/style/css.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
// todo: 这里可以使用环境变量等更优雅的方法
|
|
4
|
+
var iframeEnv = 'darkGreen';
|
|
5
|
+
var themeList = ['darkGreen'];
|
|
6
|
+
themeList.forEach(function (item) {
|
|
7
|
+
if (iframeEnv === item) {
|
|
8
|
+
document.body.className = 'darkGreen';
|
|
9
|
+
|
|
10
|
+
require('./darkGreen.css');
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css.js","names":["iframeEnv","themeList","forEach","item","document","body","className","require"],"sources":["style/index.js"],"sourcesContent":["// todo: 这里可以使用环境变量等更优雅的方法\nconst iframeEnv = 'darkGreen';\nconst themeList = ['darkGreen'];\nthemeList.forEach((item) => {\n if (iframeEnv === item) {\n document.body.className = 'darkGreen';\n require('./darkGreen.less');\n }\n});\n"],"mappings":";;AAAA;AACA,IAAMA,SAAS,GAAG,WAAlB;AACA,IAAMC,SAAS,GAAG,CAAC,WAAD,CAAlB;AACAA,SAAS,CAACC,OAAV,CAAkB,UAACC,IAAD,EAAU;EACxB,IAAIH,SAAS,KAAKG,IAAlB,EAAwB;IACpBC,QAAQ,CAACC,IAAT,CAAcC,SAAd,GAA0B,WAA1B;;IACAC,OAAO,CAAC,kBAAD,CAAP;EACH;AACJ,CALD"}
|