@zat-design/sisyphus-react 3.2.2 → 3.3.0
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 +82 -37
- 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/index.js +1 -15
- package/es/ProDrawerForm/style/index.less +76 -73
- package/es/ProEditLabel/style/index.less +12 -9
- package/es/ProEditTable/index.js +8 -4
- package/es/ProEditTable/style/index.less +57 -47
- 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 +6 -3
- package/es/ProForm/components/combination/FormList/style/index.less +20 -24
- package/es/ProForm/components/combination/Group/style/index.less +18 -15
- package/es/ProForm/components/combination/ProAddressBar/style/index.less +6 -3
- package/es/ProForm/components/combination/ProCombination/style/index.less +5 -2
- package/es/ProForm/components/combination/ProModalSelect/hooks/useRequestList.js +6 -1
- package/es/ProForm/components/combination/ProModalSelect/style/index.less +32 -11
- package/es/ProForm/components/combination/ProNumberRange/style/index.less +13 -10
- package/es/ProForm/components/combination/ProTimeLimit/style/index.less +9 -6
- package/es/ProForm/components/render/RenderFields.js +4 -5
- 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 +10 -7
- package/es/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +31 -28
- package/es/ProLayout/components/Layout/Menu/SideMenu/style/index.less +14 -11
- package/es/ProLayout/components/Layout/Menu/style/index.less +2 -0
- package/es/ProLayout/components/Layout/Notice/style/index.less +3 -0
- package/es/ProLayout/components/ProCollapse/style/index.less +27 -24
- package/es/ProLayout/components/ProFooter/style/index.less +11 -7
- package/es/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +4 -1
- package/es/ProLayout/components/ProHeader/style/index.less +12 -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 +15 -7
- package/es/ProTable/style/index.less +76 -54
- package/es/ProTable/utils.d.ts +1 -1
- package/es/ProTable/utils.js +38 -19
- package/es/ProTabs/style/index.less +25 -23
- 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/components/ProTree.js +27 -11
- package/es/ProTree/components/Tree.js +1 -1
- package/es/ProTree/propsType.d.ts +2 -2
- package/es/ProTree/style/index.less +29 -26
- package/es/ProTree/utils.d.ts +6 -0
- package/es/ProTree/utils.js +11 -0
- 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 +38 -6
- package/es/ProTreeModal/propsType.d.ts +5 -2
- package/es/ProTreeModal/style/index.less +11 -8
- package/es/ProTreeSelect/index.js +6 -4
- package/es/ProTreeSelect/propsType.d.ts +2 -0
- package/es/ProTreeSelect/style/index.less +25 -22
- package/es/ProUpload/components/DragRender.js +7 -4
- package/es/ProUpload/components/ImageRender.js +5 -1
- package/es/ProUpload/index.js +11 -7
- package/es/ProUpload/style/index.less +13 -4
- package/es/ProViewer/index.js +3 -1
- package/es/ProViewer/style/index.less +6 -3
- package/es/locale/en_US.d.ts +4 -0
- package/es/locale/en_US.js +5 -1
- package/es/locale/zh_CN.d.ts +4 -0
- package/es/locale/zh_CN.js +6 -2
- package/es/style/core/compatible.less +6 -6
- package/es/style/theme/antd.less +272 -253
- 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/index.js +0 -14
- package/lib/ProDrawerForm/style/index.less +76 -73
- package/lib/ProEditLabel/style/index.less +12 -9
- package/lib/ProEditTable/index.js +6 -2
- package/lib/ProEditTable/style/index.less +57 -47
- 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 +6 -3
- package/lib/ProForm/components/combination/FormList/style/index.less +20 -24
- package/lib/ProForm/components/combination/Group/style/index.less +18 -15
- package/lib/ProForm/components/combination/ProAddressBar/style/index.less +6 -3
- package/lib/ProForm/components/combination/ProCombination/style/index.less +5 -2
- package/lib/ProForm/components/combination/ProModalSelect/hooks/useRequestList.js +7 -1
- package/lib/ProForm/components/combination/ProModalSelect/style/index.less +32 -11
- package/lib/ProForm/components/combination/ProNumberRange/style/index.less +13 -10
- package/lib/ProForm/components/combination/ProTimeLimit/style/index.less +9 -6
- package/lib/ProForm/components/render/RenderFields.js +4 -5
- 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 +10 -7
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +31 -28
- package/lib/ProLayout/components/Layout/Menu/SideMenu/style/index.less +14 -11
- package/lib/ProLayout/components/Layout/Menu/style/index.less +2 -0
- package/lib/ProLayout/components/Layout/Notice/style/index.less +3 -0
- package/lib/ProLayout/components/ProCollapse/style/index.less +27 -24
- package/lib/ProLayout/components/ProFooter/style/index.less +11 -7
- package/lib/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +4 -1
- package/lib/ProLayout/components/ProHeader/style/index.less +12 -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 +14 -6
- package/lib/ProTable/style/index.less +76 -54
- package/lib/ProTable/utils.d.ts +1 -1
- package/lib/ProTable/utils.js +38 -19
- package/lib/ProTabs/style/index.less +25 -23
- 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/components/ProTree.js +26 -10
- package/lib/ProTree/components/Tree.js +1 -1
- package/lib/ProTree/propsType.d.ts +2 -2
- package/lib/ProTree/style/index.less +29 -26
- package/lib/ProTree/utils.d.ts +6 -0
- package/lib/ProTree/utils.js +12 -0
- 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 +38 -6
- package/lib/ProTreeModal/propsType.d.ts +5 -2
- package/lib/ProTreeModal/style/index.less +11 -8
- package/lib/ProTreeSelect/index.js +6 -4
- package/lib/ProTreeSelect/propsType.d.ts +2 -0
- package/lib/ProTreeSelect/style/index.less +25 -22
- package/lib/ProUpload/components/DragRender.js +7 -4
- package/lib/ProUpload/components/ImageRender.js +5 -1
- package/lib/ProUpload/index.js +11 -7
- package/lib/ProUpload/style/index.less +13 -4
- package/lib/ProViewer/index.js +4 -3
- package/lib/ProViewer/style/index.less +6 -3
- package/lib/locale/en_US.d.ts +4 -0
- package/lib/locale/en_US.js +5 -1
- package/lib/locale/zh_CN.d.ts +4 -0
- package/lib/locale/zh_CN.js +6 -2
- package/lib/style/core/compatible.less +6 -6
- package/lib/style/theme/antd.less +272 -253
- package/package.json +1 -1
- package/typings.d.ts +0 -6
package/es/style/theme/antd.less
CHANGED
|
@@ -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
|
|
5
|
+
@zat-disabled-color: #bcbcbc;
|
|
4
6
|
|
|
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
|
-
|
|
24
|
-
flex
|
|
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
|
-
|
|
33
|
+
.@{ant-prefix}-form-item-required {
|
|
32
34
|
&::after {
|
|
33
35
|
display: block;
|
|
34
36
|
}
|
|
35
37
|
}
|
|
36
38
|
|
|
37
|
-
|
|
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
|
-
&
|
|
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
|
-
|
|
56
|
-
margin-top
|
|
57
|
-
color
|
|
58
|
-
font-size
|
|
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(
|
|
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,27 +123,27 @@
|
|
|
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
|
-
|
|
130
|
-
background
|
|
134
|
+
.@{ant-prefix}-table-thead > tr > th {
|
|
135
|
+
background: @zaui-table-header-bg;
|
|
131
136
|
border-bottom: none;
|
|
132
137
|
|
|
133
|
-
|
|
138
|
+
.@{ant-prefix}-dropdown-trigger {
|
|
134
139
|
.anticon-down {
|
|
135
|
-
width
|
|
136
|
-
height
|
|
137
|
-
margin
|
|
138
|
-
border-top
|
|
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
|
|
141
|
-
transition
|
|
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
|
-
|
|
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
|
|
156
|
-
background-color: @zaui-table-hover-bg
|
|
160
|
+
tr.@{ant-prefix}-table-row:hover td {
|
|
161
|
+
background-color: @zaui-table-hover-bg !important;
|
|
157
162
|
}
|
|
158
163
|
|
|
159
|
-
|
|
164
|
+
& > tr > td {
|
|
160
165
|
border-bottom: none;
|
|
161
166
|
}
|
|
162
167
|
|
|
163
|
-
tr
|
|
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
|
-
|
|
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 {
|
|
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
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
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
|
-
|
|
220
|
-
|
|
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
|
|
224
|
-
& td
|
|
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
|
-
|
|
252
|
+
.@{ant-prefix}-table-row:hover > td {
|
|
230
253
|
background-color: @zaui-table-strip-bg;
|
|
231
254
|
}
|
|
232
255
|
|
|
233
|
-
tr
|
|
234
|
-
&:hover>td {
|
|
235
|
-
background: @zaui-table-selected-bg
|
|
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
|
|
262
|
+
background: @zaui-table-selected-bg !important;
|
|
240
263
|
}
|
|
241
264
|
}
|
|
242
265
|
|
|
@@ -247,17 +270,17 @@
|
|
|
247
270
|
}
|
|
248
271
|
|
|
249
272
|
// 开启scroll时,会新增一行tr影响偶数行底色
|
|
250
|
-
|
|
273
|
+
&.@{ant-prefix}-table-scroll-horizontal {
|
|
251
274
|
table {
|
|
252
|
-
|
|
253
|
-
|
|
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
|
|
260
|
-
& td
|
|
282
|
+
& td.@{ant-prefix}-table-cell-fix-right,
|
|
283
|
+
& td.@{ant-prefix}-table-cell-fix-left {
|
|
261
284
|
background-color: #fff !important;
|
|
262
285
|
}
|
|
263
286
|
|
|
@@ -266,8 +289,8 @@
|
|
|
266
289
|
}
|
|
267
290
|
}
|
|
268
291
|
|
|
269
|
-
|
|
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
296
|
background-color: @zaui-table-strip-bg !important;
|
|
@@ -277,29 +300,28 @@
|
|
|
277
300
|
}
|
|
278
301
|
}
|
|
279
302
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
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
|
-
|
|
294
|
-
|
|
295
|
-
|
|
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
|
-
|
|
324
|
+
.@{ant-prefix}-table-row:nth-child(odd) {
|
|
303
325
|
background-color: @zaui-table-strip-bg;
|
|
304
326
|
|
|
305
327
|
td {
|
|
@@ -311,95 +333,95 @@
|
|
|
311
333
|
}
|
|
312
334
|
|
|
313
335
|
// ant-tabs
|
|
314
|
-
|
|
336
|
+
.@{ant-prefix}-tabs {
|
|
315
337
|
overflow: inherit !important;
|
|
316
338
|
.set-text-color();
|
|
317
339
|
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
342
|
-
|
|
343
|
-
padding : 8px calc(var(--zaui-space-size-md, 16px)*var(--zaui-size, 1)) !important;
|
|
363
|
+
&.@{ant-prefix}-tabs-card {
|
|
364
|
+
.@{ant-prefix}-tabs-tab {
|
|
344
365
|
margin-right: 10px !important;
|
|
366
|
+
padding: 8px calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1)) !important;
|
|
345
367
|
}
|
|
346
368
|
|
|
347
|
-
|
|
369
|
+
.@{ant-prefix}-tabs-nav .@{ant-prefix}-tabs-tab-btn {
|
|
348
370
|
font-size: var(--zaui-font-size, 14px);
|
|
349
371
|
}
|
|
350
372
|
}
|
|
351
373
|
}
|
|
352
374
|
|
|
353
375
|
// 按钮
|
|
354
|
-
|
|
376
|
+
.@{ant-prefix}-btn {
|
|
355
377
|
.set-text-color();
|
|
356
378
|
font-size: @zaui-font-size;
|
|
357
379
|
|
|
358
|
-
|
|
359
|
-
color
|
|
360
|
-
background
|
|
380
|
+
.@{ant-prefix}-btn-primary {
|
|
381
|
+
color: #fff;
|
|
382
|
+
background: @zaui-brand;
|
|
361
383
|
border-color: @zaui-brand;
|
|
362
384
|
}
|
|
363
385
|
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
color
|
|
369
|
-
text-shadow
|
|
370
|
-
background
|
|
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;
|
|
371
393
|
border-color: @zaui-brand;
|
|
372
|
-
box-shadow
|
|
373
|
-
opacity
|
|
394
|
+
box-shadow: none;
|
|
395
|
+
opacity: 0.6;
|
|
374
396
|
}
|
|
375
397
|
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
color
|
|
381
|
-
text-shadow
|
|
382
|
-
background
|
|
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;
|
|
383
405
|
border-color: none;
|
|
384
|
-
box-shadow
|
|
385
|
-
opacity
|
|
406
|
+
box-shadow: none;
|
|
407
|
+
opacity: 0.6;
|
|
386
408
|
}
|
|
387
409
|
|
|
388
|
-
|
|
410
|
+
&.@{ant-prefix}-btn-link {
|
|
389
411
|
.set-brand-color();
|
|
390
412
|
}
|
|
391
413
|
}
|
|
392
414
|
|
|
393
415
|
// 分割线
|
|
394
|
-
|
|
395
|
-
|
|
416
|
+
.@{ant-prefix}-divider {
|
|
417
|
+
.@{ant-prefix}-divider-inner-text {
|
|
396
418
|
.set-text-color();
|
|
397
419
|
.set-text-size();
|
|
398
420
|
}
|
|
399
421
|
}
|
|
400
422
|
|
|
401
423
|
// 卡片
|
|
402
|
-
|
|
424
|
+
.@{ant-prefix}-card {
|
|
403
425
|
margin-bottom: @zaui-space-size-md;
|
|
404
426
|
|
|
405
427
|
&:last-child {
|
|
@@ -408,23 +430,23 @@
|
|
|
408
430
|
}
|
|
409
431
|
|
|
410
432
|
// 分页
|
|
411
|
-
|
|
412
|
-
color
|
|
413
|
-
font-size: @zaui-font-size
|
|
433
|
+
.@{ant-prefix}-pagination {
|
|
434
|
+
color: @zaui-text !important;
|
|
435
|
+
font-size: @zaui-font-size !important;
|
|
414
436
|
|
|
415
|
-
|
|
437
|
+
&.@{ant-prefix}-table-pagination {
|
|
416
438
|
margin: @zaui-height-size-md 0;
|
|
417
439
|
}
|
|
418
440
|
|
|
419
|
-
|
|
420
|
-
min-width
|
|
421
|
-
height
|
|
422
|
-
margin-right
|
|
423
|
-
font-size
|
|
424
|
-
line-height
|
|
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;
|
|
425
447
|
background-color: #f7f9fa;
|
|
426
|
-
border
|
|
427
|
-
border-radius
|
|
448
|
+
border: 0;
|
|
449
|
+
border-radius: @zaui-border-radius;
|
|
428
450
|
|
|
429
451
|
a {
|
|
430
452
|
.set-text-color();
|
|
@@ -435,35 +457,35 @@
|
|
|
435
457
|
}
|
|
436
458
|
}
|
|
437
459
|
|
|
438
|
-
|
|
460
|
+
.@{ant-prefix}-pagination-options-size-changer.@{ant-prefix}-select-show-arrow {
|
|
439
461
|
margin-right: 5px;
|
|
440
462
|
}
|
|
441
463
|
|
|
442
|
-
|
|
443
|
-
color
|
|
444
|
-
background
|
|
464
|
+
.@{ant-prefix}-pagination-item-active a {
|
|
465
|
+
color: #fff;
|
|
466
|
+
background: @zaui-brand;
|
|
445
467
|
border-radius: @zaui-border-radius;
|
|
446
468
|
}
|
|
447
469
|
|
|
448
|
-
|
|
449
|
-
|
|
470
|
+
.@{ant-prefix}-pagination-item-active:focus-visible a,
|
|
471
|
+
.@{ant-prefix}-pagination-item-active:hover a {
|
|
450
472
|
color: #fff;
|
|
451
473
|
}
|
|
452
474
|
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
min-width
|
|
458
|
-
height
|
|
459
|
-
line-height
|
|
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;
|
|
460
482
|
background-color: #f7f9fa;
|
|
461
|
-
border
|
|
462
|
-
border-radius
|
|
483
|
+
border: 0;
|
|
484
|
+
border-radius: @zaui-border-radius;
|
|
463
485
|
}
|
|
464
486
|
|
|
465
|
-
|
|
466
|
-
|
|
487
|
+
.@{ant-prefix}-pagination-prev,
|
|
488
|
+
.@{ant-prefix}-pagination-next {
|
|
467
489
|
svg {
|
|
468
490
|
.set-text-color();
|
|
469
491
|
.set-text-size();
|
|
@@ -476,86 +498,85 @@
|
|
|
476
498
|
}
|
|
477
499
|
}
|
|
478
500
|
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
min-width
|
|
482
|
-
height
|
|
483
|
-
line-height
|
|
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;
|
|
484
506
|
background-color: #fafafa;
|
|
485
|
-
border
|
|
486
|
-
border-radius
|
|
507
|
+
border: 0;
|
|
508
|
+
border-radius: @zaui-border-radius;
|
|
487
509
|
}
|
|
488
510
|
|
|
489
|
-
|
|
511
|
+
.@{ant-prefix}-select-single:not(.@{ant-prefix}-select-customize-input) .@{ant-prefix}-select-selector {
|
|
490
512
|
.set-text-color();
|
|
491
513
|
.set-text-size();
|
|
492
|
-
width
|
|
493
|
-
height
|
|
514
|
+
width: 100%;
|
|
515
|
+
height: 32px;
|
|
494
516
|
padding: 0 12px;
|
|
495
517
|
}
|
|
496
518
|
|
|
497
|
-
|
|
498
|
-
position
|
|
519
|
+
.@{ant-prefix}-select:not(.@{ant-prefix}-select-customize-input) .@{ant-prefix}-select-selector {
|
|
520
|
+
position: relative;
|
|
499
521
|
background-color: #fafafa;
|
|
500
|
-
border
|
|
501
|
-
border-radius
|
|
522
|
+
border: 0;
|
|
523
|
+
border-radius: @zaui-border-radius;
|
|
502
524
|
}
|
|
503
525
|
|
|
504
|
-
|
|
505
|
-
|
|
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 {
|
|
506
528
|
color: @zaui-brand;
|
|
507
529
|
}
|
|
508
530
|
}
|
|
509
531
|
|
|
510
532
|
// ant-descriptions
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
.ant-descriptions-item-content {
|
|
533
|
+
.@{ant-prefix}-descriptions {
|
|
534
|
+
.@{ant-prefix}-descriptions-item-label,
|
|
535
|
+
.@{ant-prefix}-descriptions-item-content {
|
|
515
536
|
.set-text-color();
|
|
516
537
|
.set-text-size();
|
|
517
538
|
}
|
|
518
539
|
}
|
|
519
540
|
|
|
520
541
|
// ant-breadcrumb
|
|
521
|
-
|
|
542
|
+
.@{ant-prefix}-breadcrumb {
|
|
522
543
|
.set-text-size();
|
|
523
544
|
|
|
524
|
-
|
|
545
|
+
.@{ant-prefix}-breadcrumb-link {
|
|
525
546
|
.set-lg-text-size();
|
|
526
547
|
}
|
|
527
548
|
}
|
|
528
549
|
|
|
529
550
|
// ant-menu
|
|
530
|
-
|
|
531
|
-
color
|
|
532
|
-
font-size: @zaui-font-size
|
|
551
|
+
.@{ant-prefix}-menu {
|
|
552
|
+
color: @zaui-text !important;
|
|
553
|
+
font-size: @zaui-font-size !important;
|
|
533
554
|
|
|
534
|
-
|
|
555
|
+
.@{ant-prefix}-menu-item a {
|
|
535
556
|
.set-text-color();
|
|
536
557
|
}
|
|
537
558
|
|
|
538
|
-
|
|
539
|
-
|
|
559
|
+
.@{ant-prefix}-menu-item-selected a,
|
|
560
|
+
.@{ant-prefix}-menu-item-selected a:hover {
|
|
540
561
|
.set-brand-color();
|
|
541
562
|
}
|
|
542
563
|
}
|
|
543
564
|
|
|
544
|
-
|
|
565
|
+
.@{ant-prefix}-btn-primary {
|
|
545
566
|
color: #fff;
|
|
546
567
|
}
|
|
547
568
|
|
|
548
569
|
// 下拉框三角样式替换
|
|
549
|
-
|
|
550
|
-
|
|
570
|
+
.@{ant-prefix}-select {
|
|
571
|
+
.@{ant-prefix}-select-arrow {
|
|
551
572
|
.anticon-down {
|
|
552
|
-
width
|
|
553
|
-
height
|
|
573
|
+
width: 0;
|
|
574
|
+
height: 0;
|
|
554
575
|
vertical-align: middle;
|
|
555
|
-
border-top
|
|
556
|
-
border-right
|
|
557
|
-
border-left
|
|
558
|
-
transition
|
|
576
|
+
border-top: 6px solid #909090;
|
|
577
|
+
border-right: 5px solid transparent;
|
|
578
|
+
border-left: 5px solid transparent;
|
|
579
|
+
transition: transform 0.3s;
|
|
559
580
|
|
|
560
581
|
svg {
|
|
561
582
|
display: none;
|
|
@@ -564,24 +585,24 @@
|
|
|
564
585
|
}
|
|
565
586
|
|
|
566
587
|
// 多选样式重置
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
align-items
|
|
588
|
+
&.@{ant-prefix}-select-multiple {
|
|
589
|
+
.@{ant-prefix}-select-selection-item {
|
|
590
|
+
align-items: center;
|
|
570
591
|
padding-right: 7px;
|
|
571
|
-
background
|
|
592
|
+
background: #f2f3f5;
|
|
572
593
|
|
|
573
|
-
|
|
574
|
-
display
|
|
575
|
-
align-items
|
|
594
|
+
.@{ant-prefix}-select-selection-item-remove {
|
|
595
|
+
display: flex;
|
|
596
|
+
align-items: center;
|
|
576
597
|
justify-content: center;
|
|
577
|
-
width
|
|
578
|
-
height
|
|
579
|
-
background
|
|
580
|
-
border-radius
|
|
598
|
+
width: 14px;
|
|
599
|
+
height: 14px;
|
|
600
|
+
background: #e0e1e7;
|
|
601
|
+
border-radius: 100%;
|
|
581
602
|
|
|
582
603
|
.anticon-close {
|
|
583
604
|
margin-top: 2px;
|
|
584
|
-
color
|
|
605
|
+
color: #4e5969;
|
|
585
606
|
}
|
|
586
607
|
}
|
|
587
608
|
}
|
|
@@ -589,43 +610,42 @@
|
|
|
589
610
|
}
|
|
590
611
|
|
|
591
612
|
// 表格样式重置
|
|
592
|
-
|
|
613
|
+
.@{ant-prefix}-form {
|
|
593
614
|
.pro-form-control {
|
|
594
|
-
|
|
615
|
+
.@{ant-prefix}-btn-primary {
|
|
595
616
|
margin-right: @zaui-height-size-md;
|
|
596
617
|
}
|
|
597
618
|
|
|
598
|
-
|
|
619
|
+
.@{ant-prefix}-btn-default {
|
|
599
620
|
margin-left: 0;
|
|
600
621
|
}
|
|
601
622
|
}
|
|
602
623
|
}
|
|
603
624
|
|
|
604
625
|
// 弹窗
|
|
605
|
-
|
|
606
|
-
|
|
626
|
+
.@{ant-prefix}-modal {
|
|
627
|
+
.@{ant-prefix}-modal-header {
|
|
607
628
|
border-bottom: none;
|
|
608
629
|
}
|
|
609
630
|
|
|
610
|
-
|
|
631
|
+
.@{ant-prefix}-modal-footer {
|
|
611
632
|
border-top: none;
|
|
612
633
|
}
|
|
613
634
|
}
|
|
614
635
|
|
|
615
636
|
// 数字输入框
|
|
616
|
-
|
|
637
|
+
.@{ant-prefix}-input-number {
|
|
617
638
|
width: 100%;
|
|
618
639
|
}
|
|
619
640
|
|
|
620
|
-
|
|
641
|
+
.@{ant-prefix}-input-textarea {
|
|
621
642
|
position: relative;
|
|
622
643
|
|
|
623
|
-
textarea
|
|
644
|
+
textarea.@{ant-prefix}-input {
|
|
624
645
|
padding-bottom: 20px;
|
|
625
646
|
}
|
|
626
647
|
|
|
627
|
-
|
|
628
|
-
&.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 {
|
|
629
649
|
&::after {
|
|
630
650
|
background: transparent;
|
|
631
651
|
}
|
|
@@ -637,52 +657,51 @@
|
|
|
637
657
|
}
|
|
638
658
|
|
|
639
659
|
&::after {
|
|
640
|
-
position
|
|
641
|
-
right
|
|
642
|
-
bottom
|
|
660
|
+
position: absolute;
|
|
661
|
+
right: 16px;
|
|
662
|
+
bottom: 1px;
|
|
663
|
+
width: calc(100% - 18px);
|
|
643
664
|
margin-bottom: 0;
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
text-align : right;
|
|
665
|
+
text-align: right;
|
|
666
|
+
background: #fff;
|
|
647
667
|
}
|
|
648
668
|
}
|
|
649
669
|
}
|
|
650
670
|
|
|
651
671
|
// 间隔
|
|
652
|
-
|
|
653
|
-
|
|
672
|
+
.@{ant-prefix}-space {
|
|
673
|
+
&.@{ant-prefix}-space-vertical {
|
|
654
674
|
display: flex;
|
|
655
|
-
width
|
|
675
|
+
width: 100%;
|
|
656
676
|
}
|
|
657
677
|
}
|
|
658
678
|
|
|
659
679
|
// Cascader级联选择
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
height
|
|
680
|
+
.@{ant-prefix}-cascader {
|
|
681
|
+
.@{ant-prefix}-cascader-menu {
|
|
682
|
+
height: auto;
|
|
663
683
|
max-height: 326px;
|
|
664
684
|
}
|
|
665
685
|
}
|
|
666
686
|
|
|
667
|
-
|
|
668
|
-
|
|
687
|
+
.@{ant-prefix}-select-dropdown {
|
|
669
688
|
// tree select 样式重置
|
|
670
|
-
|
|
671
|
-
min-height
|
|
689
|
+
.@{ant-prefix}-select-tree .@{ant-prefix}-select-tree-node-content-wrapper {
|
|
690
|
+
min-height: 0px;
|
|
672
691
|
line-height: initial;
|
|
673
692
|
}
|
|
674
693
|
|
|
675
|
-
|
|
676
|
-
padding-top
|
|
694
|
+
.@{ant-prefix}-select-tree .@{ant-prefix}-select-tree-treenode {
|
|
695
|
+
padding-top: 4px;
|
|
677
696
|
padding-bottom: 4px;
|
|
678
697
|
}
|
|
679
698
|
|
|
680
|
-
|
|
699
|
+
.@{ant-prefix}-select-tree .@{ant-prefix}-select-tree-treenode {
|
|
681
700
|
align-items: center;
|
|
682
701
|
}
|
|
683
702
|
}
|
|
684
703
|
|
|
685
704
|
// 气泡框样式
|
|
686
|
-
|
|
705
|
+
.@{ant-prefix}-popover {
|
|
687
706
|
width: max-content;
|
|
688
707
|
}
|