@zat-design/sisyphus-react 3.2.1-beta.7 → 3.2.2-beta.1
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/dist/index.esm.css +38 -32
- package/es/ProDrawerForm/style/index.less +59 -59
- package/es/ProForm/components/combination/FormList/style/index.less +15 -22
- package/es/ProForm/components/render/RenderFields.js +4 -3
- package/es/ProLayout/components/ProFooter/style/index.less +8 -7
- package/es/ProLayout/components/ProHeader/index.js +1 -0
- package/es/ProLayout/components/ProHeader/style/index.less +6 -0
- package/es/ProTabs/style/index.less +15 -16
- package/es/ProThemeTools/component/PrdTools/index.js +21 -20
- package/es/ProThemeTools/index.js +2 -1
- package/es/ProTree/components/Tree.js +42 -41
- package/es/locale/en_US.d.ts +14 -1
- package/es/locale/en_US.js +16 -3
- package/es/locale/zh_CN.d.ts +14 -1
- package/es/locale/zh_CN.js +14 -1
- package/es/style/theme/antd.less +122 -118
- package/lib/ProDrawerForm/style/index.less +59 -59
- package/lib/ProForm/components/combination/FormList/style/index.less +15 -22
- package/lib/ProForm/components/render/RenderFields.js +4 -3
- package/lib/ProLayout/components/ProFooter/style/index.less +8 -7
- package/lib/ProLayout/components/ProHeader/index.js +1 -0
- package/lib/ProLayout/components/ProHeader/style/index.less +6 -0
- package/lib/ProTabs/style/index.less +15 -16
- package/lib/ProThemeTools/component/PrdTools/index.js +21 -20
- package/lib/ProThemeTools/index.js +2 -1
- package/lib/ProTree/components/Tree.js +41 -40
- package/lib/locale/en_US.d.ts +14 -1
- package/lib/locale/en_US.js +16 -3
- package/lib/locale/zh_CN.d.ts +14 -1
- package/lib/locale/zh_CN.js +14 -1
- package/lib/style/theme/antd.less +122 -118
- package/package.json +1 -1
package/lib/locale/en_US.d.ts
CHANGED
|
@@ -38,7 +38,6 @@ declare const _default: {
|
|
|
38
38
|
errorMessage: string;
|
|
39
39
|
defaultTitle: string;
|
|
40
40
|
};
|
|
41
|
-
ProWaterMark: {};
|
|
42
41
|
ProTable: {
|
|
43
42
|
noData: string;
|
|
44
43
|
resetColumnWidth: string;
|
|
@@ -135,5 +134,19 @@ declare const _default: {
|
|
|
135
134
|
ProTimeLimit: {
|
|
136
135
|
foreverText: string;
|
|
137
136
|
};
|
|
137
|
+
ProThemeTools: {
|
|
138
|
+
title: string;
|
|
139
|
+
copySuccess: string;
|
|
140
|
+
layout: string;
|
|
141
|
+
layoutMode: string[];
|
|
142
|
+
themeColor: string;
|
|
143
|
+
formLabel: string;
|
|
144
|
+
bigText: string;
|
|
145
|
+
flex: string[];
|
|
146
|
+
switchText: string[];
|
|
147
|
+
tableBorder: string;
|
|
148
|
+
tableStripe: string;
|
|
149
|
+
reset: string;
|
|
150
|
+
};
|
|
138
151
|
};
|
|
139
152
|
export default _default;
|
package/lib/locale/en_US.js
CHANGED
|
@@ -44,7 +44,6 @@ var _default = exports.default = {
|
|
|
44
44
|
errorMessage: 'The configuration config for ProAction must be data',
|
|
45
45
|
defaultTitle: 'Are you sure delete it?'
|
|
46
46
|
},
|
|
47
|
-
ProWaterMark: {},
|
|
48
47
|
ProTable: {
|
|
49
48
|
noData: 'No data',
|
|
50
49
|
resetColumnWidth: 'Reset column width',
|
|
@@ -127,12 +126,12 @@ var _default = exports.default = {
|
|
|
127
126
|
ProTreeModal: {
|
|
128
127
|
checkMsg: 'Please check first',
|
|
129
128
|
select: 'Please select',
|
|
130
|
-
input: '
|
|
129
|
+
input: 'Please enter',
|
|
131
130
|
errorArrayMessage: 'Please return a valid array',
|
|
132
131
|
selectMin: 'Select at least {min}',
|
|
133
132
|
selectMax: 'Select at most {max} items',
|
|
134
133
|
noCheck: 'None selected yet',
|
|
135
|
-
checkAll: '
|
|
134
|
+
checkAll: 'Select all',
|
|
136
135
|
check: 'selected',
|
|
137
136
|
clearAll: 'Clear all',
|
|
138
137
|
checkNumber: '{num} items selected',
|
|
@@ -140,5 +139,19 @@ var _default = exports.default = {
|
|
|
140
139
|
},
|
|
141
140
|
ProTimeLimit: {
|
|
142
141
|
foreverText: 'long term'
|
|
142
|
+
},
|
|
143
|
+
ProThemeTools: {
|
|
144
|
+
title: 'Global style customization ',
|
|
145
|
+
copySuccess: 'Copy success! ',
|
|
146
|
+
layout: 'Layout',
|
|
147
|
+
layoutMode: ['Compact ', 'Regular', 'Loose'],
|
|
148
|
+
themeColor: 'Theme color',
|
|
149
|
+
formLabel: 'Form label',
|
|
150
|
+
bigText: 'Large text mode',
|
|
151
|
+
flex: ['Left align ', 'Right align'],
|
|
152
|
+
switchText: ['on', 'off'],
|
|
153
|
+
tableBorder: 'Table border',
|
|
154
|
+
tableStripe: 'Table zebra',
|
|
155
|
+
reset: 'Reset'
|
|
143
156
|
}
|
|
144
157
|
};
|
package/lib/locale/zh_CN.d.ts
CHANGED
|
@@ -38,7 +38,6 @@ declare const _default: {
|
|
|
38
38
|
errorMessage: string;
|
|
39
39
|
defaultTitle: string;
|
|
40
40
|
};
|
|
41
|
-
ProWaterMark: {};
|
|
42
41
|
ProTable: {
|
|
43
42
|
noData: string;
|
|
44
43
|
resetColumnWidth: string;
|
|
@@ -134,5 +133,19 @@ declare const _default: {
|
|
|
134
133
|
ProTimeLimit: {
|
|
135
134
|
foreverText: string;
|
|
136
135
|
};
|
|
136
|
+
ProThemeTools: {
|
|
137
|
+
title: string;
|
|
138
|
+
copySuccess: string;
|
|
139
|
+
layout: string;
|
|
140
|
+
layoutMode: string[];
|
|
141
|
+
themeColor: string;
|
|
142
|
+
formLabel: string;
|
|
143
|
+
bigText: string;
|
|
144
|
+
flex: string[];
|
|
145
|
+
switchText: string[];
|
|
146
|
+
tableBorder: string;
|
|
147
|
+
tableStripe: string;
|
|
148
|
+
reset: string;
|
|
149
|
+
};
|
|
137
150
|
};
|
|
138
151
|
export default _default;
|
package/lib/locale/zh_CN.js
CHANGED
|
@@ -44,7 +44,6 @@ var _default = exports.default = {
|
|
|
44
44
|
errorMessage: 'ProAction 配置 config 必须为数据',
|
|
45
45
|
defaultTitle: '确认删除吗?'
|
|
46
46
|
},
|
|
47
|
-
ProWaterMark: {},
|
|
48
47
|
ProTable: {
|
|
49
48
|
noData: '暂无数据',
|
|
50
49
|
resetColumnWidth: '重置列宽',
|
|
@@ -139,5 +138,19 @@ var _default = exports.default = {
|
|
|
139
138
|
},
|
|
140
139
|
ProTimeLimit: {
|
|
141
140
|
foreverText: '长期'
|
|
141
|
+
},
|
|
142
|
+
ProThemeTools: {
|
|
143
|
+
title: '全局样式自定义',
|
|
144
|
+
copySuccess: '复制成功!',
|
|
145
|
+
layout: '布局',
|
|
146
|
+
layoutMode: ['紧凑', '常规', '宽松'],
|
|
147
|
+
themeColor: '主题色',
|
|
148
|
+
formLabel: '表单标题',
|
|
149
|
+
bigText: '大字号模式',
|
|
150
|
+
flex: ['左对齐', '右对齐'],
|
|
151
|
+
switchText: ['开', '关'],
|
|
152
|
+
tableBorder: '表格边框',
|
|
153
|
+
tableStripe: '表格斑马纹',
|
|
154
|
+
reset: '重置'
|
|
142
155
|
}
|
|
143
156
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import './index';
|
|
2
2
|
|
|
3
|
-
@zat-disabled-color
|
|
3
|
+
@zat-disabled-color: #bcbcbc;
|
|
4
4
|
|
|
5
5
|
/* antd 默认样式重置 */
|
|
6
6
|
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
|
|
22
22
|
// label 超过130px换行
|
|
23
23
|
.ant-form-item-label {
|
|
24
|
-
flex
|
|
25
|
-
overflow : initial;
|
|
26
|
-
line-height : 1;
|
|
27
|
-
text-align : @zaui-form-align;
|
|
28
|
-
white-space : pre-wrap;
|
|
24
|
+
flex: 0 0 @zaui-form-label-width;
|
|
29
25
|
padding-right: @zaui-space-size-sm;
|
|
26
|
+
overflow: initial;
|
|
27
|
+
line-height: 1;
|
|
28
|
+
white-space: pre-wrap;
|
|
29
|
+
text-align: @zaui-form-align;
|
|
30
30
|
|
|
31
31
|
.ant-form-item-required {
|
|
32
32
|
&::after {
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
& > label {
|
|
38
38
|
word-break: break-word;
|
|
39
39
|
|
|
40
40
|
&::after {
|
|
41
|
-
margin : 0;
|
|
42
41
|
display: none;
|
|
42
|
+
margin: 0;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
@@ -48,21 +48,21 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
&.ant-form-item-label-left {
|
|
51
|
-
|
|
51
|
+
& > .ant-form-item-required::before {
|
|
52
52
|
display: none;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
margin-top
|
|
57
|
-
color
|
|
58
|
-
font-size
|
|
55
|
+
& > .ant-form-item-required::after {
|
|
56
|
+
margin-top: 1px;
|
|
57
|
+
color: #ff4d4f;
|
|
58
|
+
font-size: var(--zaui-font-size, 14px);
|
|
59
59
|
line-height: 1;
|
|
60
|
-
content
|
|
60
|
+
content: '*';
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
&:not(.ant-form-item-label-left) {
|
|
65
|
-
|
|
65
|
+
& > .ant-form-item-required::after {
|
|
66
66
|
display: none;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
// 字体颜色
|
|
77
|
-
.ant-form-item-label>label,
|
|
78
|
-
.ant-picker-input>input,
|
|
77
|
+
.ant-form-item-label > label,
|
|
78
|
+
.ant-picker-input > input,
|
|
79
79
|
.ant-input,
|
|
80
80
|
.ant-input-number,
|
|
81
81
|
.ant-select,
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
.ant-select-disabled,
|
|
94
94
|
.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector,
|
|
95
95
|
.ant-input-number-disabled,
|
|
96
|
-
.ant-picker-input>input[disabled],
|
|
96
|
+
.ant-picker-input > input[disabled],
|
|
97
97
|
.ant-select-disabled.ant-select-multiple .ant-select-selection-item {
|
|
98
98
|
.set-disabled-color();
|
|
99
99
|
}
|
|
@@ -126,19 +126,19 @@
|
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
.ant-table-thead>tr>th {
|
|
130
|
-
background
|
|
129
|
+
.ant-table-thead > tr > th {
|
|
130
|
+
background: @zaui-table-header-bg;
|
|
131
131
|
border-bottom: none;
|
|
132
132
|
|
|
133
133
|
.ant-dropdown-trigger {
|
|
134
134
|
.anticon-down {
|
|
135
|
-
width
|
|
136
|
-
height
|
|
137
|
-
margin
|
|
138
|
-
border-top
|
|
135
|
+
width: 0;
|
|
136
|
+
height: 0;
|
|
137
|
+
margin: 0 0 1px 4px;
|
|
138
|
+
border-top: 6px solid #909090;
|
|
139
139
|
border-right: 5px solid transparent;
|
|
140
|
-
border-left
|
|
141
|
-
transition
|
|
140
|
+
border-left: 5px solid transparent;
|
|
141
|
+
transition: transform 0.8s;
|
|
142
142
|
|
|
143
143
|
svg {
|
|
144
144
|
display: none;
|
|
@@ -153,15 +153,15 @@
|
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
tr.ant-table-row:hover td {
|
|
156
|
-
background-color: @zaui-table-hover-bg
|
|
156
|
+
background-color: @zaui-table-hover-bg !important;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
|
|
159
|
+
& > tr > td {
|
|
160
160
|
border-bottom: none;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
tr.ant-table-row-selected {
|
|
164
|
-
&:hover>td {
|
|
164
|
+
&:hover > td {
|
|
165
165
|
background: @zaui-table-selected-hover-bg;
|
|
166
166
|
}
|
|
167
167
|
|
|
@@ -171,13 +171,13 @@
|
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
.ant-table-thead>tr>th,
|
|
174
|
+
.ant-table-thead > tr > th,
|
|
175
175
|
.ant-table-footer {
|
|
176
176
|
.set-text-color();
|
|
177
177
|
.set-text-size();
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
.ant-table-tbody>tr>td {
|
|
180
|
+
.ant-table-tbody > tr > td {
|
|
181
181
|
.set-text-size();
|
|
182
182
|
|
|
183
183
|
.ant-btn {
|
|
@@ -206,12 +206,20 @@
|
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
|
|
209
|
+
& table {
|
|
210
|
+
.ant-table-thead > tr > th,
|
|
211
|
+
.ant-table-tbody > tr > td,
|
|
212
|
+
.ant-table tfoot > tr > th,
|
|
213
|
+
.ant-table tfoot > tr > td {
|
|
214
|
+
padding: calc(5px + var(--zaui-size) * 8px) 16px;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
210
217
|
|
|
211
|
-
|
|
212
|
-
.ant-table-
|
|
213
|
-
.ant-table
|
|
214
|
-
.ant-table tfoot>tr>
|
|
218
|
+
&.ant-table-scroll-horizontal table {
|
|
219
|
+
.ant-table-thead > tr > th,
|
|
220
|
+
.ant-table-tbody > tr > td,
|
|
221
|
+
.ant-table tfoot > tr > th,
|
|
222
|
+
.ant-table tfoot > tr > td {
|
|
215
223
|
padding: calc(5px + var(--zaui-size) * 8px) 16px;
|
|
216
224
|
}
|
|
217
225
|
|
|
@@ -226,17 +234,17 @@
|
|
|
226
234
|
}
|
|
227
235
|
}
|
|
228
236
|
|
|
229
|
-
.ant-table-row:hover>td {
|
|
237
|
+
.ant-table-row:hover > td {
|
|
230
238
|
background-color: @zaui-table-strip-bg;
|
|
231
239
|
}
|
|
232
240
|
|
|
233
241
|
tr.ant-table-row-selected {
|
|
234
|
-
&:hover>td {
|
|
235
|
-
background: @zaui-table-selected-bg
|
|
242
|
+
&:hover > td {
|
|
243
|
+
background: @zaui-table-selected-bg !important;
|
|
236
244
|
}
|
|
237
245
|
|
|
238
246
|
td {
|
|
239
|
-
background: @zaui-table-selected-bg
|
|
247
|
+
background: @zaui-table-selected-bg !important;
|
|
240
248
|
}
|
|
241
249
|
}
|
|
242
250
|
|
|
@@ -258,7 +266,7 @@
|
|
|
258
266
|
& td,
|
|
259
267
|
& td.ant-table-cell-fix-right,
|
|
260
268
|
& td.ant-table-cell-fix-left {
|
|
261
|
-
background-color: #fff;
|
|
269
|
+
background-color: #fff !important;
|
|
262
270
|
}
|
|
263
271
|
|
|
264
272
|
& td {
|
|
@@ -267,10 +275,10 @@
|
|
|
267
275
|
}
|
|
268
276
|
|
|
269
277
|
.ant-table-row:nth-child(odd) {
|
|
270
|
-
background-color: @zaui-table-strip-bg;
|
|
278
|
+
background-color: @zaui-table-strip-bg !important;
|
|
271
279
|
|
|
272
280
|
& td {
|
|
273
|
-
background-color: @zaui-table-strip-bg;
|
|
281
|
+
background-color: @zaui-table-strip-bg !important;
|
|
274
282
|
}
|
|
275
283
|
}
|
|
276
284
|
}
|
|
@@ -279,21 +287,20 @@
|
|
|
279
287
|
|
|
280
288
|
.ant-table-cell {
|
|
281
289
|
.ant-btn-link {
|
|
282
|
-
|
|
283
|
-
|
|
290
|
+
height: auto;
|
|
291
|
+
padding: 0;
|
|
284
292
|
user-select: text;
|
|
285
293
|
}
|
|
286
294
|
|
|
287
295
|
a {
|
|
296
|
+
color: var(--zaui-brand, #006aff);
|
|
288
297
|
user-select: text;
|
|
289
|
-
color : var(--zaui-brand, #006aFF);
|
|
290
298
|
}
|
|
291
299
|
}
|
|
292
300
|
|
|
293
301
|
&.ant-table-fixed-header {
|
|
294
302
|
.ant-table-tbody {
|
|
295
303
|
.ant-table-row:nth-child(even) {
|
|
296
|
-
|
|
297
304
|
td {
|
|
298
305
|
background: #ffffff !important;
|
|
299
306
|
}
|
|
@@ -318,15 +325,15 @@
|
|
|
318
325
|
.ant-tabs-nav-list {
|
|
319
326
|
&.ant-tabs-card {
|
|
320
327
|
.ant-tabs-tab {
|
|
321
|
-
padding : 8px var(--zaui-space-size-md, 16px);
|
|
322
328
|
margin-right: 10px;
|
|
329
|
+
padding: 8px var(--zaui-space-size-md, 16px);
|
|
323
330
|
}
|
|
324
331
|
}
|
|
325
332
|
|
|
326
333
|
.ant-tabs-tab {
|
|
327
334
|
.set-text-size();
|
|
328
|
-
padding : 12px var(--zaui-space-size-md, 16px);
|
|
329
335
|
margin-left: 0;
|
|
336
|
+
padding: 12px var(--zaui-space-size-md, 16px);
|
|
330
337
|
}
|
|
331
338
|
}
|
|
332
339
|
|
|
@@ -340,8 +347,8 @@
|
|
|
340
347
|
|
|
341
348
|
&.ant-tabs-card {
|
|
342
349
|
.ant-tabs-tab {
|
|
343
|
-
padding : 8px calc(var(--zaui-space-size-md, 16px)*var(--zaui-size, 1)) !important;
|
|
344
350
|
margin-right: 10px !important;
|
|
351
|
+
padding: 8px calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1)) !important;
|
|
345
352
|
}
|
|
346
353
|
|
|
347
354
|
.ant-tabs-nav .ant-tabs-tab-btn {
|
|
@@ -356,8 +363,8 @@
|
|
|
356
363
|
font-size: @zaui-font-size;
|
|
357
364
|
|
|
358
365
|
.ant-btn-primary {
|
|
359
|
-
color
|
|
360
|
-
background
|
|
366
|
+
color: #fff;
|
|
367
|
+
background: @zaui-brand;
|
|
361
368
|
border-color: @zaui-brand;
|
|
362
369
|
}
|
|
363
370
|
|
|
@@ -365,24 +372,24 @@
|
|
|
365
372
|
&.ant-btn-primary[disabled]:hover,
|
|
366
373
|
&.ant-btn-primary[disabled]:focus,
|
|
367
374
|
&.ant-btn-primary[disabled]:active {
|
|
368
|
-
color
|
|
369
|
-
text-shadow
|
|
370
|
-
background
|
|
375
|
+
color: #fff;
|
|
376
|
+
text-shadow: none;
|
|
377
|
+
background: @zaui-brand;
|
|
371
378
|
border-color: @zaui-brand;
|
|
372
|
-
box-shadow
|
|
373
|
-
opacity
|
|
379
|
+
box-shadow: none;
|
|
380
|
+
opacity: 0.6;
|
|
374
381
|
}
|
|
375
382
|
|
|
376
383
|
&.ant-btn-link[disabled],
|
|
377
384
|
&.ant-btn-link[disabled]:hover,
|
|
378
385
|
&.ant-btn-link[disabled]:focus,
|
|
379
386
|
&.ant-btn-link[disabled]:active {
|
|
380
|
-
color
|
|
381
|
-
text-shadow
|
|
382
|
-
background
|
|
387
|
+
color: @zat-disabled-color;
|
|
388
|
+
text-shadow: none;
|
|
389
|
+
background: none;
|
|
383
390
|
border-color: none;
|
|
384
|
-
box-shadow
|
|
385
|
-
opacity
|
|
391
|
+
box-shadow: none;
|
|
392
|
+
opacity: 0.6;
|
|
386
393
|
}
|
|
387
394
|
|
|
388
395
|
&.ant-btn-link {
|
|
@@ -409,22 +416,22 @@
|
|
|
409
416
|
|
|
410
417
|
// 分页
|
|
411
418
|
.ant-pagination {
|
|
412
|
-
color
|
|
413
|
-
font-size: @zaui-font-size
|
|
419
|
+
color: @zaui-text !important;
|
|
420
|
+
font-size: @zaui-font-size !important;
|
|
414
421
|
|
|
415
422
|
&.ant-table-pagination {
|
|
416
423
|
margin: @zaui-height-size-md 0;
|
|
417
424
|
}
|
|
418
425
|
|
|
419
426
|
.ant-pagination-item {
|
|
420
|
-
min-width
|
|
421
|
-
height
|
|
422
|
-
margin-right
|
|
423
|
-
font-size
|
|
424
|
-
line-height
|
|
427
|
+
min-width: 32px;
|
|
428
|
+
height: 32px;
|
|
429
|
+
margin-right: 8px;
|
|
430
|
+
font-size: @zaui-font-size;
|
|
431
|
+
line-height: 32px;
|
|
425
432
|
background-color: #f7f9fa;
|
|
426
|
-
border
|
|
427
|
-
border-radius
|
|
433
|
+
border: 0;
|
|
434
|
+
border-radius: @zaui-border-radius;
|
|
428
435
|
|
|
429
436
|
a {
|
|
430
437
|
.set-text-color();
|
|
@@ -440,8 +447,8 @@
|
|
|
440
447
|
}
|
|
441
448
|
|
|
442
449
|
.ant-pagination-item-active a {
|
|
443
|
-
color
|
|
444
|
-
background
|
|
450
|
+
color: #fff;
|
|
451
|
+
background: @zaui-brand;
|
|
445
452
|
border-radius: @zaui-border-radius;
|
|
446
453
|
}
|
|
447
454
|
|
|
@@ -454,12 +461,12 @@
|
|
|
454
461
|
.ant-pagination-next,
|
|
455
462
|
.ant-pagination-jump-prev,
|
|
456
463
|
.ant-pagination-jump-next {
|
|
457
|
-
min-width
|
|
458
|
-
height
|
|
459
|
-
line-height
|
|
464
|
+
min-width: 32px;
|
|
465
|
+
height: 32px;
|
|
466
|
+
line-height: 30px;
|
|
460
467
|
background-color: #f7f9fa;
|
|
461
|
-
border
|
|
462
|
-
border-radius
|
|
468
|
+
border: 0;
|
|
469
|
+
border-radius: @zaui-border-radius;
|
|
463
470
|
}
|
|
464
471
|
|
|
465
472
|
.ant-pagination-prev,
|
|
@@ -478,27 +485,27 @@
|
|
|
478
485
|
|
|
479
486
|
.ant-pagination-prev .ant-pagination-item-link,
|
|
480
487
|
.ant-pagination-next .ant-pagination-item-link {
|
|
481
|
-
min-width
|
|
482
|
-
height
|
|
483
|
-
line-height
|
|
488
|
+
min-width: 32px;
|
|
489
|
+
height: 32px;
|
|
490
|
+
line-height: 32px;
|
|
484
491
|
background-color: #fafafa;
|
|
485
|
-
border
|
|
486
|
-
border-radius
|
|
492
|
+
border: 0;
|
|
493
|
+
border-radius: @zaui-border-radius;
|
|
487
494
|
}
|
|
488
495
|
|
|
489
496
|
.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
|
|
490
497
|
.set-text-color();
|
|
491
498
|
.set-text-size();
|
|
492
|
-
width
|
|
493
|
-
height
|
|
499
|
+
width: 100%;
|
|
500
|
+
height: 32px;
|
|
494
501
|
padding: 0 12px;
|
|
495
502
|
}
|
|
496
503
|
|
|
497
504
|
.ant-select:not(.ant-select-customize-input) .ant-select-selector {
|
|
498
|
-
position
|
|
505
|
+
position: relative;
|
|
499
506
|
background-color: #fafafa;
|
|
500
|
-
border
|
|
501
|
-
border-radius
|
|
507
|
+
border: 0;
|
|
508
|
+
border-radius: @zaui-border-radius;
|
|
502
509
|
}
|
|
503
510
|
|
|
504
511
|
.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon,
|
|
@@ -509,7 +516,6 @@
|
|
|
509
516
|
|
|
510
517
|
// ant-descriptions
|
|
511
518
|
.ant-descriptions {
|
|
512
|
-
|
|
513
519
|
.ant-descriptions-item-label,
|
|
514
520
|
.ant-descriptions-item-content {
|
|
515
521
|
.set-text-color();
|
|
@@ -528,8 +534,8 @@
|
|
|
528
534
|
|
|
529
535
|
// ant-menu
|
|
530
536
|
.ant-menu {
|
|
531
|
-
color
|
|
532
|
-
font-size: @zaui-font-size
|
|
537
|
+
color: @zaui-text !important;
|
|
538
|
+
font-size: @zaui-font-size !important;
|
|
533
539
|
|
|
534
540
|
.ant-menu-item a {
|
|
535
541
|
.set-text-color();
|
|
@@ -549,13 +555,13 @@
|
|
|
549
555
|
.ant-select {
|
|
550
556
|
.ant-select-arrow {
|
|
551
557
|
.anticon-down {
|
|
552
|
-
width
|
|
553
|
-
height
|
|
558
|
+
width: 0;
|
|
559
|
+
height: 0;
|
|
554
560
|
vertical-align: middle;
|
|
555
|
-
border-top
|
|
556
|
-
border-right
|
|
557
|
-
border-left
|
|
558
|
-
transition
|
|
561
|
+
border-top: 6px solid #909090;
|
|
562
|
+
border-right: 5px solid transparent;
|
|
563
|
+
border-left: 5px solid transparent;
|
|
564
|
+
transition: transform 0.3s;
|
|
559
565
|
|
|
560
566
|
svg {
|
|
561
567
|
display: none;
|
|
@@ -566,22 +572,22 @@
|
|
|
566
572
|
// 多选样式重置
|
|
567
573
|
&.ant-select-multiple {
|
|
568
574
|
.ant-select-selection-item {
|
|
569
|
-
align-items
|
|
575
|
+
align-items: center;
|
|
570
576
|
padding-right: 7px;
|
|
571
|
-
background
|
|
577
|
+
background: #f2f3f5;
|
|
572
578
|
|
|
573
579
|
.ant-select-selection-item-remove {
|
|
574
|
-
display
|
|
575
|
-
align-items
|
|
580
|
+
display: flex;
|
|
581
|
+
align-items: center;
|
|
576
582
|
justify-content: center;
|
|
577
|
-
width
|
|
578
|
-
height
|
|
579
|
-
background
|
|
580
|
-
border-radius
|
|
583
|
+
width: 14px;
|
|
584
|
+
height: 14px;
|
|
585
|
+
background: #e0e1e7;
|
|
586
|
+
border-radius: 100%;
|
|
581
587
|
|
|
582
588
|
.anticon-close {
|
|
583
589
|
margin-top: 2px;
|
|
584
|
-
color
|
|
590
|
+
color: #4e5969;
|
|
585
591
|
}
|
|
586
592
|
}
|
|
587
593
|
}
|
|
@@ -624,7 +630,6 @@
|
|
|
624
630
|
padding-bottom: 20px;
|
|
625
631
|
}
|
|
626
632
|
|
|
627
|
-
|
|
628
633
|
&.ant-input-textarea-show-count.ant-input-textarea-in-form-item {
|
|
629
634
|
&::after {
|
|
630
635
|
background: transparent;
|
|
@@ -637,13 +642,13 @@
|
|
|
637
642
|
}
|
|
638
643
|
|
|
639
644
|
&::after {
|
|
640
|
-
position
|
|
641
|
-
right
|
|
642
|
-
bottom
|
|
645
|
+
position: absolute;
|
|
646
|
+
right: 16px;
|
|
647
|
+
bottom: 1px;
|
|
648
|
+
width: calc(100% - 18px);
|
|
643
649
|
margin-bottom: 0;
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
text-align : right;
|
|
650
|
+
text-align: right;
|
|
651
|
+
background: #fff;
|
|
647
652
|
}
|
|
648
653
|
}
|
|
649
654
|
}
|
|
@@ -652,28 +657,27 @@
|
|
|
652
657
|
.ant-space {
|
|
653
658
|
&.ant-space-vertical {
|
|
654
659
|
display: flex;
|
|
655
|
-
width
|
|
660
|
+
width: 100%;
|
|
656
661
|
}
|
|
657
662
|
}
|
|
658
663
|
|
|
659
664
|
// Cascader级联选择
|
|
660
665
|
.ant-cascader {
|
|
661
666
|
.ant-cascader-menu {
|
|
662
|
-
height
|
|
667
|
+
height: auto;
|
|
663
668
|
max-height: 326px;
|
|
664
669
|
}
|
|
665
670
|
}
|
|
666
671
|
|
|
667
672
|
.ant-select-dropdown {
|
|
668
|
-
|
|
669
673
|
// tree select 样式重置
|
|
670
674
|
.ant-select-tree .ant-select-tree-node-content-wrapper {
|
|
671
|
-
min-height
|
|
675
|
+
min-height: 0px;
|
|
672
676
|
line-height: initial;
|
|
673
677
|
}
|
|
674
678
|
|
|
675
679
|
.ant-select-tree .ant-select-tree-treenode {
|
|
676
|
-
padding-top
|
|
680
|
+
padding-top: 4px;
|
|
677
681
|
padding-bottom: 4px;
|
|
678
682
|
}
|
|
679
683
|
|