@zat-design/sisyphus-react 3.2.1 → 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 +63 -35
- package/es/ProDrawerForm/style/index.less +59 -59
- package/es/ProEditTable/components/RenderField/index.js +66 -21
- package/es/ProEditTable/index.js +11 -4
- package/es/ProEditTable/propsType.d.ts +11 -1
- package/es/ProForm/components/base/Checkbox/index.d.ts +1 -0
- package/es/ProForm/components/base/Checkbox/index.js +5 -3
- package/es/ProForm/components/base/DatePicker/index.js +3 -2
- package/es/ProForm/components/base/Input/index.js +4 -2
- package/es/ProForm/components/base/Input/propsType.d.ts +1 -0
- package/es/ProForm/components/base/InputNumber/index.d.ts +1 -0
- package/es/ProForm/components/base/InputNumber/index.js +5 -3
- package/es/ProForm/components/base/ProCascader/index.js +6 -6
- package/es/ProForm/components/base/Radio/index.d.ts +1 -0
- package/es/ProForm/components/base/Radio/index.js +4 -2
- package/es/ProForm/components/base/RangePicker/index.d.ts +1 -0
- package/es/ProForm/components/base/RangePicker/index.js +5 -3
- package/es/ProForm/components/base/Select/index.d.ts +1 -0
- package/es/ProForm/components/base/Select/index.js +4 -2
- package/es/ProForm/components/base/Switch/index.d.ts +1 -0
- package/es/ProForm/components/base/Switch/index.js +4 -2
- package/es/ProForm/components/base/SwitchCheckbox/index.d.ts +1 -0
- package/es/ProForm/components/base/SwitchCheckbox/index.js +4 -2
- package/es/ProForm/components/base/TextArea/index.d.ts +1 -0
- package/es/ProForm/components/base/TextArea/index.js +4 -3
- package/es/ProForm/components/base/TimePicker/index.d.ts +1 -0
- package/es/ProForm/components/base/TimePicker/index.js +4 -2
- package/es/ProForm/components/combination/Container/index.js +7 -5
- package/es/ProForm/components/combination/FormList/index.js +6 -5
- package/es/ProForm/components/combination/FormList/style/index.less +15 -22
- package/es/ProForm/components/combination/Group/index.js +6 -3
- package/es/ProForm/components/combination/ProAddressBar/index.js +29 -30
- package/es/ProForm/components/combination/ProCombination/index.js +11 -11
- package/es/ProForm/components/combination/ProModalSelect/index.js +4 -5
- package/es/ProForm/components/combination/ProModalSelect/style/index.less +1 -1
- package/es/ProForm/components/combination/ProNumberRange/index.d.ts +1 -1
- package/es/ProForm/components/combination/ProNumberRange/index.js +7 -7
- package/es/ProForm/components/combination/ProRangeLimit/index.d.ts +1 -0
- package/es/ProForm/components/combination/ProRangeLimit/index.js +4 -2
- package/es/ProForm/components/combination/ProTimeLimit/index.d.ts +1 -0
- package/es/ProForm/components/combination/ProTimeLimit/index.js +4 -2
- package/es/ProForm/components/render/Render.js +54 -20
- package/es/ProForm/components/render/RenderFields.d.ts +1 -0
- package/es/ProForm/components/render/RenderFields.js +12 -11
- package/es/ProForm/index.js +5 -2
- package/es/ProForm/propsType.d.ts +1 -0
- package/es/ProForm/style/index.less +49 -42
- package/es/ProForm/utils/contrastOriginal.d.ts +10 -1
- package/es/ProForm/utils/contrastOriginal.js +15 -18
- package/es/ProForm/utils/useChanged.d.ts +15 -1
- package/es/ProForm/utils/useChanged.js +27 -8
- 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 +7 -0
- package/es/ProSelect/index.js +6 -3
- package/es/ProStep/components/Item/index.js +1 -4
- package/es/ProTable/components/RenderColumn/index.js +1 -1
- package/es/ProTable/style/index.less +6 -0
- package/es/ProTabs/style/index.less +16 -17
- package/es/ProThemeTools/component/PrdTools/index.js +21 -20
- package/es/ProThemeTools/index.js +2 -1
- package/es/ProTree/components/Tree.js +43 -42
- package/es/ProTree/style/index.less +0 -6
- package/es/ProTreeModal/index.js +14 -3
- package/es/ProTreeSelect/index.js +3 -2
- package/es/locale/en_US.d.ts +15 -1
- package/es/locale/en_US.js +17 -3
- package/es/locale/zh_CN.d.ts +15 -1
- package/es/locale/zh_CN.js +15 -1
- package/es/style/theme/antd.less +126 -117
- package/lib/ProDrawerForm/style/index.less +59 -59
- package/lib/ProEditTable/components/RenderField/index.js +61 -20
- package/lib/ProEditTable/index.js +12 -4
- package/lib/ProEditTable/propsType.d.ts +11 -1
- package/lib/ProForm/components/base/Checkbox/index.d.ts +1 -0
- package/lib/ProForm/components/base/Checkbox/index.js +5 -3
- package/lib/ProForm/components/base/DatePicker/index.js +3 -2
- package/lib/ProForm/components/base/Input/index.js +4 -2
- package/lib/ProForm/components/base/Input/propsType.d.ts +1 -0
- package/lib/ProForm/components/base/InputNumber/index.d.ts +1 -0
- package/lib/ProForm/components/base/InputNumber/index.js +5 -3
- package/lib/ProForm/components/base/ProCascader/index.js +6 -6
- package/lib/ProForm/components/base/Radio/index.d.ts +1 -0
- package/lib/ProForm/components/base/Radio/index.js +4 -2
- package/lib/ProForm/components/base/RangePicker/index.d.ts +1 -0
- package/lib/ProForm/components/base/RangePicker/index.js +5 -3
- package/lib/ProForm/components/base/Select/index.d.ts +1 -0
- package/lib/ProForm/components/base/Select/index.js +4 -2
- package/lib/ProForm/components/base/Switch/index.d.ts +1 -0
- package/lib/ProForm/components/base/Switch/index.js +4 -2
- package/lib/ProForm/components/base/SwitchCheckbox/index.d.ts +1 -0
- package/lib/ProForm/components/base/SwitchCheckbox/index.js +4 -2
- package/lib/ProForm/components/base/TextArea/index.d.ts +1 -0
- package/lib/ProForm/components/base/TextArea/index.js +4 -3
- package/lib/ProForm/components/base/TimePicker/index.d.ts +1 -0
- package/lib/ProForm/components/base/TimePicker/index.js +4 -2
- package/lib/ProForm/components/combination/Container/index.js +7 -5
- package/lib/ProForm/components/combination/FormList/index.js +6 -5
- package/lib/ProForm/components/combination/FormList/style/index.less +15 -22
- package/lib/ProForm/components/combination/Group/index.js +6 -3
- package/lib/ProForm/components/combination/ProAddressBar/index.js +29 -30
- package/lib/ProForm/components/combination/ProCombination/index.js +11 -11
- package/lib/ProForm/components/combination/ProModalSelect/index.js +4 -5
- package/lib/ProForm/components/combination/ProModalSelect/style/index.less +1 -1
- package/lib/ProForm/components/combination/ProNumberRange/index.d.ts +1 -1
- package/lib/ProForm/components/combination/ProNumberRange/index.js +7 -7
- package/lib/ProForm/components/combination/ProRangeLimit/index.d.ts +1 -0
- package/lib/ProForm/components/combination/ProRangeLimit/index.js +4 -2
- package/lib/ProForm/components/combination/ProTimeLimit/index.d.ts +1 -0
- package/lib/ProForm/components/combination/ProTimeLimit/index.js +4 -2
- package/lib/ProForm/components/render/Render.js +53 -21
- package/lib/ProForm/components/render/RenderFields.d.ts +1 -0
- package/lib/ProForm/components/render/RenderFields.js +12 -11
- package/lib/ProForm/index.js +5 -2
- package/lib/ProForm/propsType.d.ts +1 -0
- package/lib/ProForm/style/index.less +49 -42
- package/lib/ProForm/utils/contrastOriginal.d.ts +10 -1
- package/lib/ProForm/utils/contrastOriginal.js +14 -17
- package/lib/ProForm/utils/useChanged.d.ts +15 -1
- package/lib/ProForm/utils/useChanged.js +27 -8
- 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 +7 -0
- package/lib/ProSelect/index.js +6 -3
- package/lib/ProStep/components/Item/index.js +1 -4
- package/lib/ProTable/components/RenderColumn/index.js +1 -1
- package/lib/ProTable/style/index.less +6 -0
- package/lib/ProTabs/style/index.less +16 -17
- package/lib/ProThemeTools/component/PrdTools/index.js +21 -20
- package/lib/ProThemeTools/index.js +2 -1
- package/lib/ProTree/components/Tree.js +42 -41
- package/lib/ProTree/style/index.less +0 -6
- package/lib/ProTreeModal/index.js +14 -3
- package/lib/ProTreeSelect/index.js +3 -2
- package/lib/locale/en_US.d.ts +15 -1
- package/lib/locale/en_US.js +17 -3
- package/lib/locale/zh_CN.d.ts +15 -1
- package/lib/locale/zh_CN.js +15 -1
- package/lib/style/theme/antd.less +126 -117
- package/package.json +1 -1
package/es/style/theme/antd.less
CHANGED
|
@@ -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
|
|
|
@@ -339,6 +346,11 @@
|
|
|
339
346
|
}
|
|
340
347
|
|
|
341
348
|
&.ant-tabs-card {
|
|
349
|
+
.ant-tabs-tab {
|
|
350
|
+
margin-right: 10px !important;
|
|
351
|
+
padding: 8px calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1)) !important;
|
|
352
|
+
}
|
|
353
|
+
|
|
342
354
|
.ant-tabs-nav .ant-tabs-tab-btn {
|
|
343
355
|
font-size: var(--zaui-font-size, 14px);
|
|
344
356
|
}
|
|
@@ -351,8 +363,8 @@
|
|
|
351
363
|
font-size: @zaui-font-size;
|
|
352
364
|
|
|
353
365
|
.ant-btn-primary {
|
|
354
|
-
color
|
|
355
|
-
background
|
|
366
|
+
color: #fff;
|
|
367
|
+
background: @zaui-brand;
|
|
356
368
|
border-color: @zaui-brand;
|
|
357
369
|
}
|
|
358
370
|
|
|
@@ -360,24 +372,24 @@
|
|
|
360
372
|
&.ant-btn-primary[disabled]:hover,
|
|
361
373
|
&.ant-btn-primary[disabled]:focus,
|
|
362
374
|
&.ant-btn-primary[disabled]:active {
|
|
363
|
-
color
|
|
364
|
-
text-shadow
|
|
365
|
-
background
|
|
375
|
+
color: #fff;
|
|
376
|
+
text-shadow: none;
|
|
377
|
+
background: @zaui-brand;
|
|
366
378
|
border-color: @zaui-brand;
|
|
367
|
-
box-shadow
|
|
368
|
-
opacity
|
|
379
|
+
box-shadow: none;
|
|
380
|
+
opacity: 0.6;
|
|
369
381
|
}
|
|
370
382
|
|
|
371
383
|
&.ant-btn-link[disabled],
|
|
372
384
|
&.ant-btn-link[disabled]:hover,
|
|
373
385
|
&.ant-btn-link[disabled]:focus,
|
|
374
386
|
&.ant-btn-link[disabled]:active {
|
|
375
|
-
color
|
|
376
|
-
text-shadow
|
|
377
|
-
background
|
|
387
|
+
color: @zat-disabled-color;
|
|
388
|
+
text-shadow: none;
|
|
389
|
+
background: none;
|
|
378
390
|
border-color: none;
|
|
379
|
-
box-shadow
|
|
380
|
-
opacity
|
|
391
|
+
box-shadow: none;
|
|
392
|
+
opacity: 0.6;
|
|
381
393
|
}
|
|
382
394
|
|
|
383
395
|
&.ant-btn-link {
|
|
@@ -404,22 +416,22 @@
|
|
|
404
416
|
|
|
405
417
|
// 分页
|
|
406
418
|
.ant-pagination {
|
|
407
|
-
color
|
|
408
|
-
font-size: @zaui-font-size
|
|
419
|
+
color: @zaui-text !important;
|
|
420
|
+
font-size: @zaui-font-size !important;
|
|
409
421
|
|
|
410
422
|
&.ant-table-pagination {
|
|
411
423
|
margin: @zaui-height-size-md 0;
|
|
412
424
|
}
|
|
413
425
|
|
|
414
426
|
.ant-pagination-item {
|
|
415
|
-
min-width
|
|
416
|
-
height
|
|
417
|
-
margin-right
|
|
418
|
-
font-size
|
|
419
|
-
line-height
|
|
427
|
+
min-width: 32px;
|
|
428
|
+
height: 32px;
|
|
429
|
+
margin-right: 8px;
|
|
430
|
+
font-size: @zaui-font-size;
|
|
431
|
+
line-height: 32px;
|
|
420
432
|
background-color: #f7f9fa;
|
|
421
|
-
border
|
|
422
|
-
border-radius
|
|
433
|
+
border: 0;
|
|
434
|
+
border-radius: @zaui-border-radius;
|
|
423
435
|
|
|
424
436
|
a {
|
|
425
437
|
.set-text-color();
|
|
@@ -435,8 +447,8 @@
|
|
|
435
447
|
}
|
|
436
448
|
|
|
437
449
|
.ant-pagination-item-active a {
|
|
438
|
-
color
|
|
439
|
-
background
|
|
450
|
+
color: #fff;
|
|
451
|
+
background: @zaui-brand;
|
|
440
452
|
border-radius: @zaui-border-radius;
|
|
441
453
|
}
|
|
442
454
|
|
|
@@ -449,12 +461,12 @@
|
|
|
449
461
|
.ant-pagination-next,
|
|
450
462
|
.ant-pagination-jump-prev,
|
|
451
463
|
.ant-pagination-jump-next {
|
|
452
|
-
min-width
|
|
453
|
-
height
|
|
454
|
-
line-height
|
|
464
|
+
min-width: 32px;
|
|
465
|
+
height: 32px;
|
|
466
|
+
line-height: 30px;
|
|
455
467
|
background-color: #f7f9fa;
|
|
456
|
-
border
|
|
457
|
-
border-radius
|
|
468
|
+
border: 0;
|
|
469
|
+
border-radius: @zaui-border-radius;
|
|
458
470
|
}
|
|
459
471
|
|
|
460
472
|
.ant-pagination-prev,
|
|
@@ -473,27 +485,27 @@
|
|
|
473
485
|
|
|
474
486
|
.ant-pagination-prev .ant-pagination-item-link,
|
|
475
487
|
.ant-pagination-next .ant-pagination-item-link {
|
|
476
|
-
min-width
|
|
477
|
-
height
|
|
478
|
-
line-height
|
|
488
|
+
min-width: 32px;
|
|
489
|
+
height: 32px;
|
|
490
|
+
line-height: 32px;
|
|
479
491
|
background-color: #fafafa;
|
|
480
|
-
border
|
|
481
|
-
border-radius
|
|
492
|
+
border: 0;
|
|
493
|
+
border-radius: @zaui-border-radius;
|
|
482
494
|
}
|
|
483
495
|
|
|
484
496
|
.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
|
|
485
497
|
.set-text-color();
|
|
486
498
|
.set-text-size();
|
|
487
|
-
width
|
|
488
|
-
height
|
|
499
|
+
width: 100%;
|
|
500
|
+
height: 32px;
|
|
489
501
|
padding: 0 12px;
|
|
490
502
|
}
|
|
491
503
|
|
|
492
504
|
.ant-select:not(.ant-select-customize-input) .ant-select-selector {
|
|
493
|
-
position
|
|
505
|
+
position: relative;
|
|
494
506
|
background-color: #fafafa;
|
|
495
|
-
border
|
|
496
|
-
border-radius
|
|
507
|
+
border: 0;
|
|
508
|
+
border-radius: @zaui-border-radius;
|
|
497
509
|
}
|
|
498
510
|
|
|
499
511
|
.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon,
|
|
@@ -504,7 +516,6 @@
|
|
|
504
516
|
|
|
505
517
|
// ant-descriptions
|
|
506
518
|
.ant-descriptions {
|
|
507
|
-
|
|
508
519
|
.ant-descriptions-item-label,
|
|
509
520
|
.ant-descriptions-item-content {
|
|
510
521
|
.set-text-color();
|
|
@@ -523,8 +534,8 @@
|
|
|
523
534
|
|
|
524
535
|
// ant-menu
|
|
525
536
|
.ant-menu {
|
|
526
|
-
color
|
|
527
|
-
font-size: @zaui-font-size
|
|
537
|
+
color: @zaui-text !important;
|
|
538
|
+
font-size: @zaui-font-size !important;
|
|
528
539
|
|
|
529
540
|
.ant-menu-item a {
|
|
530
541
|
.set-text-color();
|
|
@@ -544,13 +555,13 @@
|
|
|
544
555
|
.ant-select {
|
|
545
556
|
.ant-select-arrow {
|
|
546
557
|
.anticon-down {
|
|
547
|
-
width
|
|
548
|
-
height
|
|
558
|
+
width: 0;
|
|
559
|
+
height: 0;
|
|
549
560
|
vertical-align: middle;
|
|
550
|
-
border-top
|
|
551
|
-
border-right
|
|
552
|
-
border-left
|
|
553
|
-
transition
|
|
561
|
+
border-top: 6px solid #909090;
|
|
562
|
+
border-right: 5px solid transparent;
|
|
563
|
+
border-left: 5px solid transparent;
|
|
564
|
+
transition: transform 0.3s;
|
|
554
565
|
|
|
555
566
|
svg {
|
|
556
567
|
display: none;
|
|
@@ -561,22 +572,22 @@
|
|
|
561
572
|
// 多选样式重置
|
|
562
573
|
&.ant-select-multiple {
|
|
563
574
|
.ant-select-selection-item {
|
|
564
|
-
align-items
|
|
575
|
+
align-items: center;
|
|
565
576
|
padding-right: 7px;
|
|
566
|
-
background
|
|
577
|
+
background: #f2f3f5;
|
|
567
578
|
|
|
568
579
|
.ant-select-selection-item-remove {
|
|
569
|
-
display
|
|
570
|
-
align-items
|
|
580
|
+
display: flex;
|
|
581
|
+
align-items: center;
|
|
571
582
|
justify-content: center;
|
|
572
|
-
width
|
|
573
|
-
height
|
|
574
|
-
background
|
|
575
|
-
border-radius
|
|
583
|
+
width: 14px;
|
|
584
|
+
height: 14px;
|
|
585
|
+
background: #e0e1e7;
|
|
586
|
+
border-radius: 100%;
|
|
576
587
|
|
|
577
588
|
.anticon-close {
|
|
578
589
|
margin-top: 2px;
|
|
579
|
-
color
|
|
590
|
+
color: #4e5969;
|
|
580
591
|
}
|
|
581
592
|
}
|
|
582
593
|
}
|
|
@@ -619,7 +630,6 @@
|
|
|
619
630
|
padding-bottom: 20px;
|
|
620
631
|
}
|
|
621
632
|
|
|
622
|
-
|
|
623
633
|
&.ant-input-textarea-show-count.ant-input-textarea-in-form-item {
|
|
624
634
|
&::after {
|
|
625
635
|
background: transparent;
|
|
@@ -632,13 +642,13 @@
|
|
|
632
642
|
}
|
|
633
643
|
|
|
634
644
|
&::after {
|
|
635
|
-
position
|
|
636
|
-
right
|
|
637
|
-
bottom
|
|
645
|
+
position: absolute;
|
|
646
|
+
right: 16px;
|
|
647
|
+
bottom: 1px;
|
|
648
|
+
width: calc(100% - 18px);
|
|
638
649
|
margin-bottom: 0;
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
text-align : right;
|
|
650
|
+
text-align: right;
|
|
651
|
+
background: #fff;
|
|
642
652
|
}
|
|
643
653
|
}
|
|
644
654
|
}
|
|
@@ -647,28 +657,27 @@
|
|
|
647
657
|
.ant-space {
|
|
648
658
|
&.ant-space-vertical {
|
|
649
659
|
display: flex;
|
|
650
|
-
width
|
|
660
|
+
width: 100%;
|
|
651
661
|
}
|
|
652
662
|
}
|
|
653
663
|
|
|
654
664
|
// Cascader级联选择
|
|
655
665
|
.ant-cascader {
|
|
656
666
|
.ant-cascader-menu {
|
|
657
|
-
height
|
|
667
|
+
height: auto;
|
|
658
668
|
max-height: 326px;
|
|
659
669
|
}
|
|
660
670
|
}
|
|
661
671
|
|
|
662
672
|
.ant-select-dropdown {
|
|
663
|
-
|
|
664
673
|
// tree select 样式重置
|
|
665
674
|
.ant-select-tree .ant-select-tree-node-content-wrapper {
|
|
666
|
-
min-height
|
|
675
|
+
min-height: 0px;
|
|
667
676
|
line-height: initial;
|
|
668
677
|
}
|
|
669
678
|
|
|
670
679
|
.ant-select-tree .ant-select-tree-treenode {
|
|
671
|
-
padding-top
|
|
680
|
+
padding-top: 4px;
|
|
672
681
|
padding-bottom: 4px;
|
|
673
682
|
}
|
|
674
683
|
|