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