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