@zat-design/sisyphus-react 3.2.2-beta.7 → 3.2.2-beta.9
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 +41 -5
- package/es/ProAction/index.less +3 -0
- package/es/ProDownload/style/index.less +5 -2
- package/es/ProDrawerForm/style/index.less +17 -14
- package/es/ProEditLabel/style/index.less +12 -9
- package/es/ProEditTable/index.js +8 -4
- package/es/ProEditTable/style/index.less +50 -42
- package/es/ProEditTable/utils/config.d.ts +1 -1
- package/es/ProEditTable/utils/config.js +3 -3
- package/es/ProEnum/style/index.less +3 -0
- package/es/ProForm/components/base/TextArea/index.less +1 -1
- package/es/ProForm/components/base/TimePicker/style/index.less +1 -1
- package/es/ProForm/components/combination/Container/style/index.less +3 -3
- package/es/ProForm/components/combination/FormList/style/index.less +3 -3
- package/es/ProForm/components/combination/Group/style/index.less +15 -15
- package/es/ProForm/components/combination/ProAddressBar/style/index.less +3 -3
- package/es/ProForm/components/combination/ProCombination/style/index.less +2 -2
- package/es/ProForm/components/combination/ProModalSelect/style/index.less +29 -11
- package/es/ProForm/components/combination/ProNumberRange/style/index.less +10 -10
- package/es/ProForm/components/combination/ProTimeLimit/style/index.less +6 -6
- package/es/ProForm/style/index.less +46 -44
- package/es/ProIcon/style/index.less +4 -1
- package/es/ProLayout/components/Layout/Header/style/index.less +1 -1
- package/es/ProLayout/components/Layout/Menu/FoldMenu/style/index.less +7 -7
- package/es/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +28 -28
- package/es/ProLayout/components/Layout/Menu/SideMenu/style/index.less +11 -11
- package/es/ProLayout/components/ProCollapse/style/index.less +24 -24
- package/es/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +1 -1
- package/es/ProLayout/components/ProHeader/style/index.less +10 -11
- package/es/ProLayout/style/index.less +10 -7
- package/es/ProSelect/index.less +3 -0
- package/es/ProStep/style/index.less +3 -0
- package/es/ProTable/index.js +3 -3
- package/es/ProTable/style/index.less +68 -54
- package/es/ProTabs/style/index.less +14 -11
- package/es/ProThemeTools/component/PrdTools/index.d.ts +1 -1
- package/es/ProThemeTools/component/PrdTools/index.js +7 -6
- package/es/ProThemeTools/component/PrdTools/style/index.less +6 -6
- package/es/ProThemeTools/index.d.ts +1 -1
- package/es/ProThemeTools/index.js +7 -2
- package/es/ProThemeTools/propsType.d.ts +4 -0
- package/es/ProThemeTools/style/index.less +6 -3
- package/es/ProThemeTools/utils/index.d.ts +1 -1
- package/es/ProThemeTools/utils/index.js +2 -1
- package/es/ProTooltip/style/index.less +3 -0
- package/es/ProTree/components/CloseIcon.js +2 -4
- package/es/ProTree/style/index.less +29 -26
- package/es/ProTreeModal/components/CloseIcon.js +2 -4
- package/es/ProTreeModal/components/Trigger.d.ts +3 -0
- package/es/ProTreeModal/components/Trigger.js +79 -19
- package/es/ProTreeModal/index.js +24 -3
- package/es/ProTreeModal/propsType.d.ts +5 -2
- package/es/ProTreeModal/style/index.less +11 -8
- package/es/ProTreeSelect/style/index.less +25 -22
- package/es/ProUpload/style/index.less +7 -4
- package/es/ProViewer/index.js +3 -1
- package/es/ProViewer/style/index.less +6 -3
- package/es/locale/en_US.d.ts +3 -0
- package/es/locale/en_US.js +3 -0
- package/es/locale/zh_CN.d.ts +3 -0
- package/es/locale/zh_CN.js +3 -0
- package/es/style/core/compatible.less +6 -6
- package/es/style/theme/antd.less +170 -158
- package/lib/ProAction/index.less +3 -0
- package/lib/ProDownload/style/index.less +5 -2
- package/lib/ProDrawerForm/style/index.less +17 -14
- package/lib/ProEditLabel/style/index.less +12 -9
- package/lib/ProEditTable/index.js +6 -2
- package/lib/ProEditTable/style/index.less +50 -42
- package/lib/ProEditTable/utils/config.d.ts +1 -1
- package/lib/ProEditTable/utils/config.js +3 -3
- package/lib/ProEnum/style/index.less +3 -0
- package/lib/ProForm/components/base/TextArea/index.less +1 -1
- package/lib/ProForm/components/base/TimePicker/style/index.less +1 -1
- package/lib/ProForm/components/combination/Container/style/index.less +3 -3
- package/lib/ProForm/components/combination/FormList/style/index.less +3 -3
- package/lib/ProForm/components/combination/Group/style/index.less +15 -15
- package/lib/ProForm/components/combination/ProAddressBar/style/index.less +3 -3
- package/lib/ProForm/components/combination/ProCombination/style/index.less +2 -2
- package/lib/ProForm/components/combination/ProModalSelect/style/index.less +29 -11
- package/lib/ProForm/components/combination/ProNumberRange/style/index.less +10 -10
- package/lib/ProForm/components/combination/ProTimeLimit/style/index.less +6 -6
- package/lib/ProForm/style/index.less +46 -44
- package/lib/ProIcon/style/index.less +4 -1
- package/lib/ProLayout/components/Layout/Header/style/index.less +1 -1
- package/lib/ProLayout/components/Layout/Menu/FoldMenu/style/index.less +7 -7
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +28 -28
- package/lib/ProLayout/components/Layout/Menu/SideMenu/style/index.less +11 -11
- package/lib/ProLayout/components/ProCollapse/style/index.less +24 -24
- package/lib/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +1 -1
- package/lib/ProLayout/components/ProHeader/style/index.less +10 -11
- package/lib/ProLayout/style/index.less +10 -7
- package/lib/ProSelect/index.less +3 -0
- package/lib/ProStep/style/index.less +3 -0
- package/lib/ProTable/index.js +3 -3
- package/lib/ProTable/style/index.less +68 -54
- package/lib/ProTabs/style/index.less +14 -11
- package/lib/ProThemeTools/component/PrdTools/index.d.ts +1 -1
- package/lib/ProThemeTools/component/PrdTools/index.js +7 -6
- package/lib/ProThemeTools/component/PrdTools/style/index.less +6 -6
- package/lib/ProThemeTools/index.d.ts +1 -1
- package/lib/ProThemeTools/index.js +7 -2
- package/lib/ProThemeTools/propsType.d.ts +4 -0
- package/lib/ProThemeTools/style/index.less +6 -3
- package/lib/ProThemeTools/utils/index.d.ts +1 -1
- package/lib/ProThemeTools/utils/index.js +2 -1
- package/lib/ProTooltip/style/index.less +3 -0
- package/lib/ProTree/components/CloseIcon.js +2 -4
- package/lib/ProTree/style/index.less +29 -26
- package/lib/ProTreeModal/components/CloseIcon.js +2 -4
- package/lib/ProTreeModal/components/Trigger.d.ts +3 -0
- package/lib/ProTreeModal/components/Trigger.js +74 -18
- package/lib/ProTreeModal/index.js +24 -3
- package/lib/ProTreeModal/propsType.d.ts +5 -2
- package/lib/ProTreeModal/style/index.less +11 -8
- package/lib/ProTreeSelect/style/index.less +25 -22
- package/lib/ProUpload/style/index.less +7 -4
- package/lib/ProViewer/index.js +4 -3
- package/lib/ProViewer/style/index.less +6 -3
- package/lib/locale/en_US.d.ts +3 -0
- package/lib/locale/en_US.js +3 -0
- package/lib/locale/zh_CN.d.ts +3 -0
- package/lib/locale/zh_CN.js +3 -0
- package/lib/style/core/compatible.less +6 -6
- package/lib/style/theme/antd.less +170 -158
- package/package.json +1 -1
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@root-entry-name: 'default';
|
|
2
|
+
@import (reference) '~antd/es/style/themes/index.less';
|
|
1
3
|
@import './index';
|
|
2
4
|
|
|
3
5
|
@zat-disabled-color: #bcbcbc;
|
|
@@ -5,22 +7,22 @@
|
|
|
5
7
|
/* antd 默认样式重置 */
|
|
6
8
|
|
|
7
9
|
// 表单
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
.@{ant-prefix}-form,
|
|
11
|
+
.@{ant-prefix}-drawer,
|
|
12
|
+
.@{ant-prefix}-modal {
|
|
13
|
+
.@{ant-prefix}-input-textarea-show-count.@{ant-prefix}-input-textarea-in-form-item {
|
|
12
14
|
&::after {
|
|
13
15
|
background: transparent;
|
|
14
16
|
}
|
|
15
17
|
}
|
|
16
18
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
.@{ant-prefix}-form-item {
|
|
20
|
+
&.@{ant-prefix}-form-item-with-help {
|
|
19
21
|
transition: none;
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
// label 超过130px换行
|
|
23
|
-
|
|
25
|
+
.@{ant-prefix}-form-item-label {
|
|
24
26
|
flex: 0 0 @zaui-form-label-width;
|
|
25
27
|
padding-right: @zaui-space-size-sm;
|
|
26
28
|
overflow: initial;
|
|
@@ -28,7 +30,7 @@
|
|
|
28
30
|
white-space: pre-wrap;
|
|
29
31
|
text-align: @zaui-form-align;
|
|
30
32
|
|
|
31
|
-
|
|
33
|
+
.@{ant-prefix}-form-item-required {
|
|
32
34
|
&::after {
|
|
33
35
|
display: block;
|
|
34
36
|
}
|
|
@@ -43,16 +45,16 @@
|
|
|
43
45
|
}
|
|
44
46
|
}
|
|
45
47
|
|
|
46
|
-
&
|
|
48
|
+
& .@{ant-prefix}-form-item-required::before {
|
|
47
49
|
display: inline-block;
|
|
48
50
|
}
|
|
49
51
|
|
|
50
|
-
|
|
51
|
-
& >
|
|
52
|
+
&.@{ant-prefix}-form-item-label-left {
|
|
53
|
+
& > .@{ant-prefix}-form-item-required::before {
|
|
52
54
|
display: none;
|
|
53
55
|
}
|
|
54
56
|
|
|
55
|
-
& >
|
|
57
|
+
& > .@{ant-prefix}-form-item-required::after {
|
|
56
58
|
margin-top: 1px;
|
|
57
59
|
color: #ff4d4f;
|
|
58
60
|
font-size: var(--zaui-font-size, 14px);
|
|
@@ -61,58 +63,58 @@
|
|
|
61
63
|
}
|
|
62
64
|
}
|
|
63
65
|
|
|
64
|
-
&:not(
|
|
65
|
-
& >
|
|
66
|
+
&:not(.@{ant-prefix}-form-item-label-left) {
|
|
67
|
+
& > .@{ant-prefix}-form-item-required::after {
|
|
66
68
|
display: none;
|
|
67
69
|
}
|
|
68
70
|
}
|
|
69
71
|
}
|
|
70
72
|
|
|
71
|
-
|
|
73
|
+
.@{ant-prefix}-form-item-explain-error {
|
|
72
74
|
.set-text-size();
|
|
73
75
|
}
|
|
74
76
|
}
|
|
75
77
|
|
|
76
78
|
// 字体颜色
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
79
|
+
.@{ant-prefix}-form-item-label > label,
|
|
80
|
+
.@{ant-prefix}-picker-input > input,
|
|
81
|
+
.@{ant-prefix}-input,
|
|
82
|
+
.@{ant-prefix}-input-number,
|
|
83
|
+
.@{ant-prefix}-select,
|
|
84
|
+
.@{ant-prefix}-select-dropdown {
|
|
83
85
|
.set-text-color();
|
|
84
86
|
.set-text-size();
|
|
85
87
|
}
|
|
86
88
|
|
|
87
|
-
|
|
89
|
+
.@{ant-prefix}-form-item {
|
|
88
90
|
margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1)) !important;
|
|
89
91
|
}
|
|
90
92
|
}
|
|
91
93
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
94
|
+
.@{ant-prefix}-input[disabled],
|
|
95
|
+
.@{ant-prefix}-select-disabled,
|
|
96
|
+
.@{ant-prefix}-select-disabled.@{ant-prefix}-select:not(.@{ant-prefix}-select-customize-input) .@{ant-prefix}-select-selector,
|
|
97
|
+
.@{ant-prefix}-input-number-disabled,
|
|
98
|
+
.@{ant-prefix}-picker-input > input[disabled],
|
|
99
|
+
.@{ant-prefix}-select-disabled.@{ant-prefix}-select-multiple .@{ant-prefix}-select-selection-item {
|
|
98
100
|
.set-disabled-color();
|
|
99
101
|
}
|
|
100
102
|
|
|
101
103
|
// ant-table
|
|
102
|
-
|
|
103
|
-
|
|
104
|
+
.@{ant-prefix}-table {
|
|
105
|
+
.@{ant-prefix}-empty-normal {
|
|
104
106
|
margin: calc(var(--zaui-space-size-lg; 32px) * var(--zaui-size; 1)) 0;
|
|
105
107
|
}
|
|
106
108
|
&.pro-table-no-stripe {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
+
.@{ant-prefix}-table-tbody {
|
|
110
|
+
.@{ant-prefix}-table-row {
|
|
109
111
|
background: #fff !important;
|
|
110
112
|
}
|
|
111
113
|
}
|
|
112
114
|
}
|
|
113
115
|
|
|
114
116
|
// 空态图白色
|
|
115
|
-
|
|
117
|
+
.@{ant-prefix}-table-placeholder {
|
|
116
118
|
td {
|
|
117
119
|
background: #ffffff !important;
|
|
118
120
|
}
|
|
@@ -121,19 +123,19 @@
|
|
|
121
123
|
.set-text-size();
|
|
122
124
|
color: @zaui-text;
|
|
123
125
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
+
.@{ant-prefix}-table-thead {
|
|
127
|
+
.@{ant-prefix}-table-cell {
|
|
126
128
|
&::before {
|
|
127
129
|
display: none;
|
|
128
130
|
}
|
|
129
131
|
}
|
|
130
132
|
}
|
|
131
133
|
|
|
132
|
-
|
|
134
|
+
.@{ant-prefix}-table-thead > tr > th {
|
|
133
135
|
background: @zaui-table-header-bg;
|
|
134
136
|
border-bottom: none;
|
|
135
137
|
|
|
136
|
-
|
|
138
|
+
.@{ant-prefix}-dropdown-trigger {
|
|
137
139
|
.anticon-down {
|
|
138
140
|
width: 0;
|
|
139
141
|
height: 0;
|
|
@@ -150,12 +152,12 @@
|
|
|
150
152
|
}
|
|
151
153
|
}
|
|
152
154
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
+
.@{ant-prefix}-table-tbody {
|
|
156
|
+
.@{ant-prefix}-table-row:nth-child(even) {
|
|
155
157
|
background-color: @zaui-table-strip-bg;
|
|
156
158
|
}
|
|
157
159
|
|
|
158
|
-
tr
|
|
160
|
+
tr.@{ant-prefix}-table-row:hover td {
|
|
159
161
|
background-color: @zaui-table-hover-bg !important;
|
|
160
162
|
}
|
|
161
163
|
|
|
@@ -163,7 +165,7 @@
|
|
|
163
165
|
border-bottom: none;
|
|
164
166
|
}
|
|
165
167
|
|
|
166
|
-
tr
|
|
168
|
+
tr.@{ant-prefix}-table-row-selected {
|
|
167
169
|
&:hover > td {
|
|
168
170
|
background: @zaui-table-selected-hover-bg;
|
|
169
171
|
}
|
|
@@ -174,74 +176,84 @@
|
|
|
174
176
|
}
|
|
175
177
|
}
|
|
176
178
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
+
.@{ant-prefix}-table-thead > tr > th,
|
|
180
|
+
.@{ant-prefix}-table-footer {
|
|
179
181
|
.set-text-color();
|
|
180
182
|
.set-text-size();
|
|
181
183
|
}
|
|
182
184
|
|
|
183
|
-
|
|
185
|
+
.@{ant-prefix}-table-tbody > tr > td {
|
|
184
186
|
.set-text-size();
|
|
185
187
|
|
|
186
|
-
|
|
188
|
+
.@{ant-prefix}-btn {
|
|
187
189
|
.set-text-size();
|
|
188
190
|
}
|
|
189
191
|
}
|
|
190
192
|
|
|
191
193
|
// 表格空显示-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
194
|
+
.@{ant-prefix}-table-content {
|
|
195
|
+
.@{ant-prefix}-table-tbody {
|
|
196
|
+
.@{ant-prefix}-table-cell:empty:before {
|
|
195
197
|
content: '-';
|
|
196
198
|
}
|
|
197
199
|
}
|
|
198
200
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
+
.@{ant-prefix}-table-cell-fix-right {
|
|
202
|
+
&.@{ant-prefix}-table-cell:empty:before {
|
|
201
203
|
content: none;
|
|
202
204
|
}
|
|
203
205
|
}
|
|
204
206
|
}
|
|
205
207
|
|
|
206
|
-
|
|
207
|
-
table
|
|
208
|
+
&.@{ant-prefix}-table-scroll-horizontal {
|
|
209
|
+
table .@{ant-prefix}-table-tbody .@{ant-prefix}-table-row:nth-child(even) td {
|
|
208
210
|
background: @zaui-table-strip-bg;
|
|
209
211
|
}
|
|
210
212
|
}
|
|
211
213
|
|
|
212
214
|
& table {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
padding: calc(
|
|
215
|
+
.@{ant-prefix}-table-thead > tr > th,
|
|
216
|
+
.@{ant-prefix}-table-tbody > tr > td,
|
|
217
|
+
.@{ant-prefix}-table tfoot > tr > th,
|
|
218
|
+
.@{ant-prefix}-table tfoot > tr > td {
|
|
219
|
+
padding: calc(4px + var(--zaui-size) * 8px);
|
|
220
|
+
}
|
|
221
|
+
.@{ant-prefix}-table-tbody > tr > td > .@{ant-prefix}-table-wrapper:only-child .@{ant-prefix}-table,
|
|
222
|
+
.@{ant-prefix}-table-tbody
|
|
223
|
+
> tr
|
|
224
|
+
> td
|
|
225
|
+
> .@{ant-prefix}-table-expanded-row-fixed
|
|
226
|
+
> .@{ant-prefix}-table-wrapper:only-child
|
|
227
|
+
.@{ant-prefix}-table {
|
|
228
|
+
margin-top: calc(var(--zaui-size) * -16px);
|
|
229
|
+
margin-bottom: calc(var(--zaui-size) * -16px);
|
|
218
230
|
}
|
|
219
231
|
}
|
|
220
232
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
padding: calc(
|
|
233
|
+
&.@{ant-prefix}-table-scroll-horizontal table {
|
|
234
|
+
.@{ant-prefix}-table-thead > tr > th,
|
|
235
|
+
.@{ant-prefix}-table-tbody > tr > td,
|
|
236
|
+
.@{ant-prefix}-table tfoot > tr > th,
|
|
237
|
+
.@{ant-prefix}-table tfoot > tr > td {
|
|
238
|
+
padding: calc(4px + var(--zaui-size) * 8px);
|
|
227
239
|
}
|
|
228
240
|
|
|
229
241
|
// 偶数行背景色设置
|
|
230
|
-
|
|
231
|
-
|
|
242
|
+
.@{ant-prefix}-table-tbody {
|
|
243
|
+
.@{ant-prefix}-table-row:nth-child(even) {
|
|
232
244
|
background-color: @zaui-table-strip-bg;
|
|
233
245
|
|
|
234
|
-
& td
|
|
235
|
-
& td
|
|
246
|
+
& td.@{ant-prefix}-table-cell-fix-right,
|
|
247
|
+
& td.@{ant-prefix}-table-cell-fix-left {
|
|
236
248
|
background-color: @zaui-table-strip-bg;
|
|
237
249
|
}
|
|
238
250
|
}
|
|
239
251
|
|
|
240
|
-
|
|
252
|
+
.@{ant-prefix}-table-row:hover > td {
|
|
241
253
|
background-color: @zaui-table-strip-bg;
|
|
242
254
|
}
|
|
243
255
|
|
|
244
|
-
tr
|
|
256
|
+
tr.@{ant-prefix}-table-row-selected {
|
|
245
257
|
&:hover > td {
|
|
246
258
|
background: @zaui-table-selected-bg !important;
|
|
247
259
|
}
|
|
@@ -258,17 +270,17 @@
|
|
|
258
270
|
}
|
|
259
271
|
|
|
260
272
|
// 开启scroll时,会新增一行tr影响偶数行底色
|
|
261
|
-
|
|
273
|
+
&.@{ant-prefix}-table-scroll-horizontal {
|
|
262
274
|
table {
|
|
263
|
-
|
|
264
|
-
|
|
275
|
+
.@{ant-prefix}-table-tbody {
|
|
276
|
+
.@{ant-prefix}-table-row:nth-child(even) {
|
|
265
277
|
&:hover td {
|
|
266
278
|
background-color: @zaui-table-hover-bg;
|
|
267
279
|
}
|
|
268
280
|
|
|
269
281
|
& td,
|
|
270
|
-
& td
|
|
271
|
-
& td
|
|
282
|
+
& td.@{ant-prefix}-table-cell-fix-right,
|
|
283
|
+
& td.@{ant-prefix}-table-cell-fix-left {
|
|
272
284
|
background-color: #fff !important;
|
|
273
285
|
}
|
|
274
286
|
|
|
@@ -277,7 +289,7 @@
|
|
|
277
289
|
}
|
|
278
290
|
}
|
|
279
291
|
|
|
280
|
-
|
|
292
|
+
.@{ant-prefix}-table-row:nth-child(odd) {
|
|
281
293
|
background-color: @zaui-table-strip-bg !important;
|
|
282
294
|
|
|
283
295
|
& td {
|
|
@@ -288,8 +300,8 @@
|
|
|
288
300
|
}
|
|
289
301
|
}
|
|
290
302
|
|
|
291
|
-
|
|
292
|
-
|
|
303
|
+
.@{ant-prefix}-table-cell {
|
|
304
|
+
.@{ant-prefix}-btn-link {
|
|
293
305
|
height: auto;
|
|
294
306
|
padding: 0;
|
|
295
307
|
user-select: text;
|
|
@@ -301,15 +313,15 @@
|
|
|
301
313
|
}
|
|
302
314
|
}
|
|
303
315
|
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
316
|
+
&.@{ant-prefix}-table-fixed-header {
|
|
317
|
+
.@{ant-prefix}-table-tbody {
|
|
318
|
+
.@{ant-prefix}-table-row:nth-child(even) {
|
|
307
319
|
td {
|
|
308
320
|
background: #ffffff !important;
|
|
309
321
|
}
|
|
310
322
|
}
|
|
311
323
|
|
|
312
|
-
|
|
324
|
+
.@{ant-prefix}-table-row:nth-child(odd) {
|
|
313
325
|
background-color: @zaui-table-strip-bg;
|
|
314
326
|
|
|
315
327
|
td {
|
|
@@ -321,60 +333,60 @@
|
|
|
321
333
|
}
|
|
322
334
|
|
|
323
335
|
// ant-tabs
|
|
324
|
-
|
|
336
|
+
.@{ant-prefix}-tabs {
|
|
325
337
|
overflow: inherit !important;
|
|
326
338
|
.set-text-color();
|
|
327
339
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
340
|
+
.@{ant-prefix}-tabs-nav-list {
|
|
341
|
+
&.@{ant-prefix}-tabs-card {
|
|
342
|
+
.@{ant-prefix}-tabs-tab {
|
|
331
343
|
margin-right: 10px;
|
|
332
344
|
padding: 8px var(--zaui-space-size-md, 16px);
|
|
333
345
|
}
|
|
334
346
|
}
|
|
335
347
|
|
|
336
|
-
|
|
348
|
+
.@{ant-prefix}-tabs-tab {
|
|
337
349
|
.set-text-size();
|
|
338
350
|
margin-left: 0;
|
|
339
351
|
padding: 12px var(--zaui-space-size-md, 16px);
|
|
340
352
|
}
|
|
341
353
|
}
|
|
342
354
|
|
|
343
|
-
|
|
355
|
+
.@{ant-prefix}-tabs-nav {
|
|
344
356
|
margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
|
|
345
357
|
}
|
|
346
358
|
|
|
347
|
-
|
|
359
|
+
.@{ant-prefix}-tabs-nav .@{ant-prefix}-tabs-tab-btn {
|
|
348
360
|
font-size: var(--zaui-font-size-lg, 16px);
|
|
349
361
|
}
|
|
350
362
|
|
|
351
|
-
|
|
352
|
-
|
|
363
|
+
&.@{ant-prefix}-tabs-card {
|
|
364
|
+
.@{ant-prefix}-tabs-tab {
|
|
353
365
|
margin-right: 10px !important;
|
|
354
366
|
padding: 8px calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1)) !important;
|
|
355
367
|
}
|
|
356
368
|
|
|
357
|
-
|
|
369
|
+
.@{ant-prefix}-tabs-nav .@{ant-prefix}-tabs-tab-btn {
|
|
358
370
|
font-size: var(--zaui-font-size, 14px);
|
|
359
371
|
}
|
|
360
372
|
}
|
|
361
373
|
}
|
|
362
374
|
|
|
363
375
|
// 按钮
|
|
364
|
-
|
|
376
|
+
.@{ant-prefix}-btn {
|
|
365
377
|
.set-text-color();
|
|
366
378
|
font-size: @zaui-font-size;
|
|
367
379
|
|
|
368
|
-
|
|
380
|
+
.@{ant-prefix}-btn-primary {
|
|
369
381
|
color: #fff;
|
|
370
382
|
background: @zaui-brand;
|
|
371
383
|
border-color: @zaui-brand;
|
|
372
384
|
}
|
|
373
385
|
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
386
|
+
&.@{ant-prefix}-btn-primary[disabled],
|
|
387
|
+
&.@{ant-prefix}-btn-primary[disabled]:hover,
|
|
388
|
+
&.@{ant-prefix}-btn-primary[disabled]:focus,
|
|
389
|
+
&.@{ant-prefix}-btn-primary[disabled]:active {
|
|
378
390
|
color: #fff;
|
|
379
391
|
text-shadow: none;
|
|
380
392
|
background: @zaui-brand;
|
|
@@ -383,10 +395,10 @@
|
|
|
383
395
|
opacity: 0.6;
|
|
384
396
|
}
|
|
385
397
|
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
398
|
+
&.@{ant-prefix}-btn-link[disabled],
|
|
399
|
+
&.@{ant-prefix}-btn-link[disabled]:hover,
|
|
400
|
+
&.@{ant-prefix}-btn-link[disabled]:focus,
|
|
401
|
+
&.@{ant-prefix}-btn-link[disabled]:active {
|
|
390
402
|
color: @zat-disabled-color;
|
|
391
403
|
text-shadow: none;
|
|
392
404
|
background: none;
|
|
@@ -395,21 +407,21 @@
|
|
|
395
407
|
opacity: 0.6;
|
|
396
408
|
}
|
|
397
409
|
|
|
398
|
-
|
|
410
|
+
&.@{ant-prefix}-btn-link {
|
|
399
411
|
.set-brand-color();
|
|
400
412
|
}
|
|
401
413
|
}
|
|
402
414
|
|
|
403
415
|
// 分割线
|
|
404
|
-
|
|
405
|
-
|
|
416
|
+
.@{ant-prefix}-divider {
|
|
417
|
+
.@{ant-prefix}-divider-inner-text {
|
|
406
418
|
.set-text-color();
|
|
407
419
|
.set-text-size();
|
|
408
420
|
}
|
|
409
421
|
}
|
|
410
422
|
|
|
411
423
|
// 卡片
|
|
412
|
-
|
|
424
|
+
.@{ant-prefix}-card {
|
|
413
425
|
margin-bottom: @zaui-space-size-md;
|
|
414
426
|
|
|
415
427
|
&:last-child {
|
|
@@ -418,15 +430,15 @@
|
|
|
418
430
|
}
|
|
419
431
|
|
|
420
432
|
// 分页
|
|
421
|
-
|
|
433
|
+
.@{ant-prefix}-pagination {
|
|
422
434
|
color: @zaui-text !important;
|
|
423
435
|
font-size: @zaui-font-size !important;
|
|
424
436
|
|
|
425
|
-
|
|
437
|
+
&.@{ant-prefix}-table-pagination {
|
|
426
438
|
margin: @zaui-height-size-md 0;
|
|
427
439
|
}
|
|
428
440
|
|
|
429
|
-
|
|
441
|
+
.@{ant-prefix}-pagination-item {
|
|
430
442
|
min-width: 32px;
|
|
431
443
|
height: 32px;
|
|
432
444
|
margin-right: 8px;
|
|
@@ -445,25 +457,25 @@
|
|
|
445
457
|
}
|
|
446
458
|
}
|
|
447
459
|
|
|
448
|
-
|
|
460
|
+
.@{ant-prefix}-pagination-options-size-changer.@{ant-prefix}-select-show-arrow {
|
|
449
461
|
margin-right: 5px;
|
|
450
462
|
}
|
|
451
463
|
|
|
452
|
-
|
|
464
|
+
.@{ant-prefix}-pagination-item-active a {
|
|
453
465
|
color: #fff;
|
|
454
466
|
background: @zaui-brand;
|
|
455
467
|
border-radius: @zaui-border-radius;
|
|
456
468
|
}
|
|
457
469
|
|
|
458
|
-
|
|
459
|
-
|
|
470
|
+
.@{ant-prefix}-pagination-item-active:focus-visible a,
|
|
471
|
+
.@{ant-prefix}-pagination-item-active:hover a {
|
|
460
472
|
color: #fff;
|
|
461
473
|
}
|
|
462
474
|
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
475
|
+
.@{ant-prefix}-pagination-prev,
|
|
476
|
+
.@{ant-prefix}-pagination-next,
|
|
477
|
+
.@{ant-prefix}-pagination-jump-prev,
|
|
478
|
+
.@{ant-prefix}-pagination-jump-next {
|
|
467
479
|
min-width: 32px;
|
|
468
480
|
height: 32px;
|
|
469
481
|
line-height: 30px;
|
|
@@ -472,8 +484,8 @@
|
|
|
472
484
|
border-radius: @zaui-border-radius;
|
|
473
485
|
}
|
|
474
486
|
|
|
475
|
-
|
|
476
|
-
|
|
487
|
+
.@{ant-prefix}-pagination-prev,
|
|
488
|
+
.@{ant-prefix}-pagination-next {
|
|
477
489
|
svg {
|
|
478
490
|
.set-text-color();
|
|
479
491
|
.set-text-size();
|
|
@@ -486,8 +498,8 @@
|
|
|
486
498
|
}
|
|
487
499
|
}
|
|
488
500
|
|
|
489
|
-
|
|
490
|
-
|
|
501
|
+
.@{ant-prefix}-pagination-prev .@{ant-prefix}-pagination-item-link,
|
|
502
|
+
.@{ant-prefix}-pagination-next .@{ant-prefix}-pagination-item-link {
|
|
491
503
|
min-width: 32px;
|
|
492
504
|
height: 32px;
|
|
493
505
|
line-height: 32px;
|
|
@@ -496,7 +508,7 @@
|
|
|
496
508
|
border-radius: @zaui-border-radius;
|
|
497
509
|
}
|
|
498
510
|
|
|
499
|
-
|
|
511
|
+
.@{ant-prefix}-select-single:not(.@{ant-prefix}-select-customize-input) .@{ant-prefix}-select-selector {
|
|
500
512
|
.set-text-color();
|
|
501
513
|
.set-text-size();
|
|
502
514
|
width: 100%;
|
|
@@ -504,59 +516,59 @@
|
|
|
504
516
|
padding: 0 12px;
|
|
505
517
|
}
|
|
506
518
|
|
|
507
|
-
|
|
519
|
+
.@{ant-prefix}-select:not(.@{ant-prefix}-select-customize-input) .@{ant-prefix}-select-selector {
|
|
508
520
|
position: relative;
|
|
509
521
|
background-color: #fafafa;
|
|
510
522
|
border: 0;
|
|
511
523
|
border-radius: @zaui-border-radius;
|
|
512
524
|
}
|
|
513
525
|
|
|
514
|
-
|
|
515
|
-
|
|
526
|
+
.@{ant-prefix}-pagination-jump-prev .@{ant-prefix}-pagination-item-container .@{ant-prefix}-pagination-item-link-icon,
|
|
527
|
+
.@{ant-prefix}-pagination-jump-next .@{ant-prefix}-pagination-item-container .@{ant-prefix}-pagination-item-link-icon {
|
|
516
528
|
color: @zaui-brand;
|
|
517
529
|
}
|
|
518
530
|
}
|
|
519
531
|
|
|
520
532
|
// ant-descriptions
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
533
|
+
.@{ant-prefix}-descriptions {
|
|
534
|
+
.@{ant-prefix}-descriptions-item-label,
|
|
535
|
+
.@{ant-prefix}-descriptions-item-content {
|
|
524
536
|
.set-text-color();
|
|
525
537
|
.set-text-size();
|
|
526
538
|
}
|
|
527
539
|
}
|
|
528
540
|
|
|
529
541
|
// ant-breadcrumb
|
|
530
|
-
|
|
542
|
+
.@{ant-prefix}-breadcrumb {
|
|
531
543
|
.set-text-size();
|
|
532
544
|
|
|
533
|
-
|
|
545
|
+
.@{ant-prefix}-breadcrumb-link {
|
|
534
546
|
.set-lg-text-size();
|
|
535
547
|
}
|
|
536
548
|
}
|
|
537
549
|
|
|
538
550
|
// ant-menu
|
|
539
|
-
|
|
551
|
+
.@{ant-prefix}-menu {
|
|
540
552
|
color: @zaui-text !important;
|
|
541
553
|
font-size: @zaui-font-size !important;
|
|
542
554
|
|
|
543
|
-
|
|
555
|
+
.@{ant-prefix}-menu-item a {
|
|
544
556
|
.set-text-color();
|
|
545
557
|
}
|
|
546
558
|
|
|
547
|
-
|
|
548
|
-
|
|
559
|
+
.@{ant-prefix}-menu-item-selected a,
|
|
560
|
+
.@{ant-prefix}-menu-item-selected a:hover {
|
|
549
561
|
.set-brand-color();
|
|
550
562
|
}
|
|
551
563
|
}
|
|
552
564
|
|
|
553
|
-
|
|
565
|
+
.@{ant-prefix}-btn-primary {
|
|
554
566
|
color: #fff;
|
|
555
567
|
}
|
|
556
568
|
|
|
557
569
|
// 下拉框三角样式替换
|
|
558
|
-
|
|
559
|
-
|
|
570
|
+
.@{ant-prefix}-select {
|
|
571
|
+
.@{ant-prefix}-select-arrow {
|
|
560
572
|
.anticon-down {
|
|
561
573
|
width: 0;
|
|
562
574
|
height: 0;
|
|
@@ -573,13 +585,13 @@
|
|
|
573
585
|
}
|
|
574
586
|
|
|
575
587
|
// 多选样式重置
|
|
576
|
-
|
|
577
|
-
|
|
588
|
+
&.@{ant-prefix}-select-multiple {
|
|
589
|
+
.@{ant-prefix}-select-selection-item {
|
|
578
590
|
align-items: center;
|
|
579
591
|
padding-right: 7px;
|
|
580
592
|
background: #f2f3f5;
|
|
581
593
|
|
|
582
|
-
|
|
594
|
+
.@{ant-prefix}-select-selection-item-remove {
|
|
583
595
|
display: flex;
|
|
584
596
|
align-items: center;
|
|
585
597
|
justify-content: center;
|
|
@@ -598,42 +610,42 @@
|
|
|
598
610
|
}
|
|
599
611
|
|
|
600
612
|
// 表格样式重置
|
|
601
|
-
|
|
613
|
+
.@{ant-prefix}-form {
|
|
602
614
|
.pro-form-control {
|
|
603
|
-
|
|
615
|
+
.@{ant-prefix}-btn-primary {
|
|
604
616
|
margin-right: @zaui-height-size-md;
|
|
605
617
|
}
|
|
606
618
|
|
|
607
|
-
|
|
619
|
+
.@{ant-prefix}-btn-default {
|
|
608
620
|
margin-left: 0;
|
|
609
621
|
}
|
|
610
622
|
}
|
|
611
623
|
}
|
|
612
624
|
|
|
613
625
|
// 弹窗
|
|
614
|
-
|
|
615
|
-
|
|
626
|
+
.@{ant-prefix}-modal {
|
|
627
|
+
.@{ant-prefix}-modal-header {
|
|
616
628
|
border-bottom: none;
|
|
617
629
|
}
|
|
618
630
|
|
|
619
|
-
|
|
631
|
+
.@{ant-prefix}-modal-footer {
|
|
620
632
|
border-top: none;
|
|
621
633
|
}
|
|
622
634
|
}
|
|
623
635
|
|
|
624
636
|
// 数字输入框
|
|
625
|
-
|
|
637
|
+
.@{ant-prefix}-input-number {
|
|
626
638
|
width: 100%;
|
|
627
639
|
}
|
|
628
640
|
|
|
629
|
-
|
|
641
|
+
.@{ant-prefix}-input-textarea {
|
|
630
642
|
position: relative;
|
|
631
643
|
|
|
632
|
-
textarea
|
|
644
|
+
textarea.@{ant-prefix}-input {
|
|
633
645
|
padding-bottom: 20px;
|
|
634
646
|
}
|
|
635
647
|
|
|
636
|
-
|
|
648
|
+
&.@{ant-prefix}-input-textarea-show-count.@{ant-prefix}-input-textarea-in-form-item {
|
|
637
649
|
&::after {
|
|
638
650
|
background: transparent;
|
|
639
651
|
}
|
|
@@ -657,39 +669,39 @@
|
|
|
657
669
|
}
|
|
658
670
|
|
|
659
671
|
// 间隔
|
|
660
|
-
|
|
661
|
-
|
|
672
|
+
.@{ant-prefix}-space {
|
|
673
|
+
&.@{ant-prefix}-space-vertical {
|
|
662
674
|
display: flex;
|
|
663
675
|
width: 100%;
|
|
664
676
|
}
|
|
665
677
|
}
|
|
666
678
|
|
|
667
679
|
// Cascader级联选择
|
|
668
|
-
|
|
669
|
-
|
|
680
|
+
.@{ant-prefix}-cascader {
|
|
681
|
+
.@{ant-prefix}-cascader-menu {
|
|
670
682
|
height: auto;
|
|
671
683
|
max-height: 326px;
|
|
672
684
|
}
|
|
673
685
|
}
|
|
674
686
|
|
|
675
|
-
|
|
687
|
+
.@{ant-prefix}-select-dropdown {
|
|
676
688
|
// tree select 样式重置
|
|
677
|
-
|
|
689
|
+
.@{ant-prefix}-select-tree .@{ant-prefix}-select-tree-node-content-wrapper {
|
|
678
690
|
min-height: 0px;
|
|
679
691
|
line-height: initial;
|
|
680
692
|
}
|
|
681
693
|
|
|
682
|
-
|
|
694
|
+
.@{ant-prefix}-select-tree .@{ant-prefix}-select-tree-treenode {
|
|
683
695
|
padding-top: 4px;
|
|
684
696
|
padding-bottom: 4px;
|
|
685
697
|
}
|
|
686
698
|
|
|
687
|
-
|
|
699
|
+
.@{ant-prefix}-select-tree .@{ant-prefix}-select-tree-treenode {
|
|
688
700
|
align-items: center;
|
|
689
701
|
}
|
|
690
702
|
}
|
|
691
703
|
|
|
692
704
|
// 气泡框样式
|
|
693
|
-
|
|
705
|
+
.@{ant-prefix}-popover {
|
|
694
706
|
width: max-content;
|
|
695
707
|
}
|