@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.
Files changed (126) hide show
  1. package/dist/index.esm.css +41 -5
  2. package/es/ProAction/index.less +3 -0
  3. package/es/ProDownload/style/index.less +5 -2
  4. package/es/ProDrawerForm/style/index.less +17 -14
  5. package/es/ProEditLabel/style/index.less +12 -9
  6. package/es/ProEditTable/index.js +8 -4
  7. package/es/ProEditTable/style/index.less +50 -42
  8. package/es/ProEditTable/utils/config.d.ts +1 -1
  9. package/es/ProEditTable/utils/config.js +3 -3
  10. package/es/ProEnum/style/index.less +3 -0
  11. package/es/ProForm/components/base/TextArea/index.less +1 -1
  12. package/es/ProForm/components/base/TimePicker/style/index.less +1 -1
  13. package/es/ProForm/components/combination/Container/style/index.less +3 -3
  14. package/es/ProForm/components/combination/FormList/style/index.less +3 -3
  15. package/es/ProForm/components/combination/Group/style/index.less +15 -15
  16. package/es/ProForm/components/combination/ProAddressBar/style/index.less +3 -3
  17. package/es/ProForm/components/combination/ProCombination/style/index.less +2 -2
  18. package/es/ProForm/components/combination/ProModalSelect/style/index.less +29 -11
  19. package/es/ProForm/components/combination/ProNumberRange/style/index.less +10 -10
  20. package/es/ProForm/components/combination/ProTimeLimit/style/index.less +6 -6
  21. package/es/ProForm/style/index.less +46 -44
  22. package/es/ProIcon/style/index.less +4 -1
  23. package/es/ProLayout/components/Layout/Header/style/index.less +1 -1
  24. package/es/ProLayout/components/Layout/Menu/FoldMenu/style/index.less +7 -7
  25. package/es/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +28 -28
  26. package/es/ProLayout/components/Layout/Menu/SideMenu/style/index.less +11 -11
  27. package/es/ProLayout/components/ProCollapse/style/index.less +24 -24
  28. package/es/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +1 -1
  29. package/es/ProLayout/components/ProHeader/style/index.less +10 -11
  30. package/es/ProLayout/style/index.less +10 -7
  31. package/es/ProSelect/index.less +3 -0
  32. package/es/ProStep/style/index.less +3 -0
  33. package/es/ProTable/index.js +3 -3
  34. package/es/ProTable/style/index.less +68 -54
  35. package/es/ProTabs/style/index.less +14 -11
  36. package/es/ProThemeTools/component/PrdTools/index.d.ts +1 -1
  37. package/es/ProThemeTools/component/PrdTools/index.js +7 -6
  38. package/es/ProThemeTools/component/PrdTools/style/index.less +6 -6
  39. package/es/ProThemeTools/index.d.ts +1 -1
  40. package/es/ProThemeTools/index.js +7 -2
  41. package/es/ProThemeTools/propsType.d.ts +4 -0
  42. package/es/ProThemeTools/style/index.less +6 -3
  43. package/es/ProThemeTools/utils/index.d.ts +1 -1
  44. package/es/ProThemeTools/utils/index.js +2 -1
  45. package/es/ProTooltip/style/index.less +3 -0
  46. package/es/ProTree/components/CloseIcon.js +2 -4
  47. package/es/ProTree/style/index.less +29 -26
  48. package/es/ProTreeModal/components/CloseIcon.js +2 -4
  49. package/es/ProTreeModal/components/Trigger.d.ts +3 -0
  50. package/es/ProTreeModal/components/Trigger.js +79 -19
  51. package/es/ProTreeModal/index.js +24 -3
  52. package/es/ProTreeModal/propsType.d.ts +5 -2
  53. package/es/ProTreeModal/style/index.less +11 -8
  54. package/es/ProTreeSelect/style/index.less +25 -22
  55. package/es/ProUpload/style/index.less +7 -4
  56. package/es/ProViewer/index.js +3 -1
  57. package/es/ProViewer/style/index.less +6 -3
  58. package/es/locale/en_US.d.ts +3 -0
  59. package/es/locale/en_US.js +3 -0
  60. package/es/locale/zh_CN.d.ts +3 -0
  61. package/es/locale/zh_CN.js +3 -0
  62. package/es/style/core/compatible.less +6 -6
  63. package/es/style/theme/antd.less +170 -158
  64. package/lib/ProAction/index.less +3 -0
  65. package/lib/ProDownload/style/index.less +5 -2
  66. package/lib/ProDrawerForm/style/index.less +17 -14
  67. package/lib/ProEditLabel/style/index.less +12 -9
  68. package/lib/ProEditTable/index.js +6 -2
  69. package/lib/ProEditTable/style/index.less +50 -42
  70. package/lib/ProEditTable/utils/config.d.ts +1 -1
  71. package/lib/ProEditTable/utils/config.js +3 -3
  72. package/lib/ProEnum/style/index.less +3 -0
  73. package/lib/ProForm/components/base/TextArea/index.less +1 -1
  74. package/lib/ProForm/components/base/TimePicker/style/index.less +1 -1
  75. package/lib/ProForm/components/combination/Container/style/index.less +3 -3
  76. package/lib/ProForm/components/combination/FormList/style/index.less +3 -3
  77. package/lib/ProForm/components/combination/Group/style/index.less +15 -15
  78. package/lib/ProForm/components/combination/ProAddressBar/style/index.less +3 -3
  79. package/lib/ProForm/components/combination/ProCombination/style/index.less +2 -2
  80. package/lib/ProForm/components/combination/ProModalSelect/style/index.less +29 -11
  81. package/lib/ProForm/components/combination/ProNumberRange/style/index.less +10 -10
  82. package/lib/ProForm/components/combination/ProTimeLimit/style/index.less +6 -6
  83. package/lib/ProForm/style/index.less +46 -44
  84. package/lib/ProIcon/style/index.less +4 -1
  85. package/lib/ProLayout/components/Layout/Header/style/index.less +1 -1
  86. package/lib/ProLayout/components/Layout/Menu/FoldMenu/style/index.less +7 -7
  87. package/lib/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +28 -28
  88. package/lib/ProLayout/components/Layout/Menu/SideMenu/style/index.less +11 -11
  89. package/lib/ProLayout/components/ProCollapse/style/index.less +24 -24
  90. package/lib/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +1 -1
  91. package/lib/ProLayout/components/ProHeader/style/index.less +10 -11
  92. package/lib/ProLayout/style/index.less +10 -7
  93. package/lib/ProSelect/index.less +3 -0
  94. package/lib/ProStep/style/index.less +3 -0
  95. package/lib/ProTable/index.js +3 -3
  96. package/lib/ProTable/style/index.less +68 -54
  97. package/lib/ProTabs/style/index.less +14 -11
  98. package/lib/ProThemeTools/component/PrdTools/index.d.ts +1 -1
  99. package/lib/ProThemeTools/component/PrdTools/index.js +7 -6
  100. package/lib/ProThemeTools/component/PrdTools/style/index.less +6 -6
  101. package/lib/ProThemeTools/index.d.ts +1 -1
  102. package/lib/ProThemeTools/index.js +7 -2
  103. package/lib/ProThemeTools/propsType.d.ts +4 -0
  104. package/lib/ProThemeTools/style/index.less +6 -3
  105. package/lib/ProThemeTools/utils/index.d.ts +1 -1
  106. package/lib/ProThemeTools/utils/index.js +2 -1
  107. package/lib/ProTooltip/style/index.less +3 -0
  108. package/lib/ProTree/components/CloseIcon.js +2 -4
  109. package/lib/ProTree/style/index.less +29 -26
  110. package/lib/ProTreeModal/components/CloseIcon.js +2 -4
  111. package/lib/ProTreeModal/components/Trigger.d.ts +3 -0
  112. package/lib/ProTreeModal/components/Trigger.js +74 -18
  113. package/lib/ProTreeModal/index.js +24 -3
  114. package/lib/ProTreeModal/propsType.d.ts +5 -2
  115. package/lib/ProTreeModal/style/index.less +11 -8
  116. package/lib/ProTreeSelect/style/index.less +25 -22
  117. package/lib/ProUpload/style/index.less +7 -4
  118. package/lib/ProViewer/index.js +4 -3
  119. package/lib/ProViewer/style/index.less +6 -3
  120. package/lib/locale/en_US.d.ts +3 -0
  121. package/lib/locale/en_US.js +3 -0
  122. package/lib/locale/zh_CN.d.ts +3 -0
  123. package/lib/locale/zh_CN.js +3 -0
  124. package/lib/style/core/compatible.less +6 -6
  125. package/lib/style/theme/antd.less +170 -158
  126. 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
- .ant-form,
9
- .ant-drawer,
10
- .ant-modal {
11
- .ant-input-textarea-show-count.ant-input-textarea-in-form-item {
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
- .ant-form-item {
18
- &.ant-form-item-with-help {
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
- .ant-form-item-label {
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
- .ant-form-item-required {
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
- & .ant-form-item-required::before {
48
+ & .@{ant-prefix}-form-item-required::before {
47
49
  display: inline-block;
48
50
  }
49
51
 
50
- &.ant-form-item-label-left {
51
- & > .ant-form-item-required::before {
52
+ &.@{ant-prefix}-form-item-label-left {
53
+ & > .@{ant-prefix}-form-item-required::before {
52
54
  display: none;
53
55
  }
54
56
 
55
- & > .ant-form-item-required::after {
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(.ant-form-item-label-left) {
65
- & > .ant-form-item-required::after {
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
- .ant-form-item-explain-error {
73
+ .@{ant-prefix}-form-item-explain-error {
72
74
  .set-text-size();
73
75
  }
74
76
  }
75
77
 
76
78
  // 字体颜色
77
- .ant-form-item-label > label,
78
- .ant-picker-input > input,
79
- .ant-input,
80
- .ant-input-number,
81
- .ant-select,
82
- .ant-select-dropdown {
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
- .ant-form-item {
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
- .ant-input[disabled],
93
- .ant-select-disabled,
94
- .ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector,
95
- .ant-input-number-disabled,
96
- .ant-picker-input > input[disabled],
97
- .ant-select-disabled.ant-select-multiple .ant-select-selection-item {
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
- .ant-table {
103
- .ant-empty-normal {
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
- .ant-table-tbody {
108
- .ant-table-row {
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
- .ant-table-placeholder {
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
- .ant-table-thead {
125
- .ant-table-cell {
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
- .ant-table-thead > tr > th {
134
+ .@{ant-prefix}-table-thead > tr > th {
133
135
  background: @zaui-table-header-bg;
134
136
  border-bottom: none;
135
137
 
136
- .ant-dropdown-trigger {
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
- .ant-table-tbody {
154
- .ant-table-row:nth-child(even) {
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.ant-table-row:hover td {
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.ant-table-row-selected {
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
- .ant-table-thead > tr > th,
178
- .ant-table-footer {
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
- .ant-table-tbody > tr > td {
185
+ .@{ant-prefix}-table-tbody > tr > td {
184
186
  .set-text-size();
185
187
 
186
- .ant-btn {
188
+ .@{ant-prefix}-btn {
187
189
  .set-text-size();
188
190
  }
189
191
  }
190
192
 
191
193
  // 表格空显示-
192
- .ant-table-content {
193
- .ant-table-tbody {
194
- .ant-table-cell:empty:before {
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
- .ant-table-cell-fix-right {
200
- &.ant-table-cell:empty:before {
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
- &.ant-table-scroll-horizontal {
207
- table .ant-table-tbody .ant-table-row:nth-child(even) td {
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
- .ant-table-thead > tr > th,
214
- .ant-table-tbody > tr > td,
215
- .ant-table tfoot > tr > th,
216
- .ant-table tfoot > tr > td {
217
- padding: calc(5px + var(--zaui-size) * 8px) 16px;
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
- &.ant-table-scroll-horizontal table {
222
- .ant-table-thead > tr > th,
223
- .ant-table-tbody > tr > td,
224
- .ant-table tfoot > tr > th,
225
- .ant-table tfoot > tr > td {
226
- padding: calc(5px + var(--zaui-size) * 8px) 16px;
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
- .ant-table-tbody {
231
- .ant-table-row:nth-child(even) {
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.ant-table-cell-fix-right,
235
- & td.ant-table-cell-fix-left {
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
- .ant-table-row:hover > td {
252
+ .@{ant-prefix}-table-row:hover > td {
241
253
  background-color: @zaui-table-strip-bg;
242
254
  }
243
255
 
244
- tr.ant-table-row-selected {
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
- &.ant-table-scroll-horizontal {
273
+ &.@{ant-prefix}-table-scroll-horizontal {
262
274
  table {
263
- .ant-table-tbody {
264
- .ant-table-row:nth-child(even) {
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.ant-table-cell-fix-right,
271
- & td.ant-table-cell-fix-left {
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
- .ant-table-row:nth-child(odd) {
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
- .ant-table-cell {
292
- .ant-btn-link {
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
- &.ant-table-fixed-header {
305
- .ant-table-tbody {
306
- .ant-table-row:nth-child(even) {
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
- .ant-table-row:nth-child(odd) {
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
- .ant-tabs {
336
+ .@{ant-prefix}-tabs {
325
337
  overflow: inherit !important;
326
338
  .set-text-color();
327
339
 
328
- .ant-tabs-nav-list {
329
- &.ant-tabs-card {
330
- .ant-tabs-tab {
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
- .ant-tabs-tab {
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
- .ant-tabs-nav {
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
- .ant-tabs-nav .ant-tabs-tab-btn {
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
- &.ant-tabs-card {
352
- .ant-tabs-tab {
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
- .ant-tabs-nav .ant-tabs-tab-btn {
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
- .ant-btn {
376
+ .@{ant-prefix}-btn {
365
377
  .set-text-color();
366
378
  font-size: @zaui-font-size;
367
379
 
368
- .ant-btn-primary {
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
- &.ant-btn-primary[disabled],
375
- &.ant-btn-primary[disabled]:hover,
376
- &.ant-btn-primary[disabled]:focus,
377
- &.ant-btn-primary[disabled]:active {
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
- &.ant-btn-link[disabled],
387
- &.ant-btn-link[disabled]:hover,
388
- &.ant-btn-link[disabled]:focus,
389
- &.ant-btn-link[disabled]:active {
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
- &.ant-btn-link {
410
+ &.@{ant-prefix}-btn-link {
399
411
  .set-brand-color();
400
412
  }
401
413
  }
402
414
 
403
415
  // 分割线
404
- .ant-divider {
405
- .ant-divider-inner-text {
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
- .ant-card {
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
- .ant-pagination {
433
+ .@{ant-prefix}-pagination {
422
434
  color: @zaui-text !important;
423
435
  font-size: @zaui-font-size !important;
424
436
 
425
- &.ant-table-pagination {
437
+ &.@{ant-prefix}-table-pagination {
426
438
  margin: @zaui-height-size-md 0;
427
439
  }
428
440
 
429
- .ant-pagination-item {
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
- .ant-pagination-options-size-changer.ant-select-show-arrow {
460
+ .@{ant-prefix}-pagination-options-size-changer.@{ant-prefix}-select-show-arrow {
449
461
  margin-right: 5px;
450
462
  }
451
463
 
452
- .ant-pagination-item-active a {
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
- .ant-pagination-item-active:focus-visible a,
459
- .ant-pagination-item-active:hover a {
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
- .ant-pagination-prev,
464
- .ant-pagination-next,
465
- .ant-pagination-jump-prev,
466
- .ant-pagination-jump-next {
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
- .ant-pagination-prev,
476
- .ant-pagination-next {
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
- .ant-pagination-prev .ant-pagination-item-link,
490
- .ant-pagination-next .ant-pagination-item-link {
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
- .ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
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
- .ant-select:not(.ant-select-customize-input) .ant-select-selector {
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
- .ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon,
515
- .ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon {
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
- .ant-descriptions {
522
- .ant-descriptions-item-label,
523
- .ant-descriptions-item-content {
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
- .ant-breadcrumb {
542
+ .@{ant-prefix}-breadcrumb {
531
543
  .set-text-size();
532
544
 
533
- .ant-breadcrumb-link {
545
+ .@{ant-prefix}-breadcrumb-link {
534
546
  .set-lg-text-size();
535
547
  }
536
548
  }
537
549
 
538
550
  // ant-menu
539
- .ant-menu {
551
+ .@{ant-prefix}-menu {
540
552
  color: @zaui-text !important;
541
553
  font-size: @zaui-font-size !important;
542
554
 
543
- .ant-menu-item a {
555
+ .@{ant-prefix}-menu-item a {
544
556
  .set-text-color();
545
557
  }
546
558
 
547
- .ant-menu-item-selected a,
548
- .ant-menu-item-selected a:hover {
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
- .ant-btn-primary {
565
+ .@{ant-prefix}-btn-primary {
554
566
  color: #fff;
555
567
  }
556
568
 
557
569
  // 下拉框三角样式替换
558
- .ant-select {
559
- .ant-select-arrow {
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
- &.ant-select-multiple {
577
- .ant-select-selection-item {
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
- .ant-select-selection-item-remove {
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
- .ant-form {
613
+ .@{ant-prefix}-form {
602
614
  .pro-form-control {
603
- .ant-btn-primary {
615
+ .@{ant-prefix}-btn-primary {
604
616
  margin-right: @zaui-height-size-md;
605
617
  }
606
618
 
607
- .ant-btn-default {
619
+ .@{ant-prefix}-btn-default {
608
620
  margin-left: 0;
609
621
  }
610
622
  }
611
623
  }
612
624
 
613
625
  // 弹窗
614
- .ant-modal {
615
- .ant-modal-header {
626
+ .@{ant-prefix}-modal {
627
+ .@{ant-prefix}-modal-header {
616
628
  border-bottom: none;
617
629
  }
618
630
 
619
- .ant-modal-footer {
631
+ .@{ant-prefix}-modal-footer {
620
632
  border-top: none;
621
633
  }
622
634
  }
623
635
 
624
636
  // 数字输入框
625
- .ant-input-number {
637
+ .@{ant-prefix}-input-number {
626
638
  width: 100%;
627
639
  }
628
640
 
629
- .ant-input-textarea {
641
+ .@{ant-prefix}-input-textarea {
630
642
  position: relative;
631
643
 
632
- textarea.ant-input {
644
+ textarea.@{ant-prefix}-input {
633
645
  padding-bottom: 20px;
634
646
  }
635
647
 
636
- &.ant-input-textarea-show-count.ant-input-textarea-in-form-item {
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
- .ant-space {
661
- &.ant-space-vertical {
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
- .ant-cascader {
669
- .ant-cascader-menu {
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
- .ant-select-dropdown {
687
+ .@{ant-prefix}-select-dropdown {
676
688
  // tree select 样式重置
677
- .ant-select-tree .ant-select-tree-node-content-wrapper {
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
- .ant-select-tree .ant-select-tree-treenode {
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
- .ant-select-tree .ant-select-tree-treenode {
699
+ .@{ant-prefix}-select-tree .@{ant-prefix}-select-tree-treenode {
688
700
  align-items: center;
689
701
  }
690
702
  }
691
703
 
692
704
  // 气泡框样式
693
- .ant-popover {
705
+ .@{ant-prefix}-popover {
694
706
  width: max-content;
695
707
  }