@zat-design/sisyphus-react 4.2.0-beta.3 → 4.2.0-beta.5
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 +16 -5
- package/dist/index.esm.css +1 -1
- package/dist/less.esm.css +1 -1
- package/es/ProAction/index.less +0 -1
- package/es/ProDownload/style/index.less +0 -1
- package/es/ProDrawerForm/style/index.less +2 -1
- package/es/ProEditLabel/style/index.less +0 -1
- package/es/ProEditTable/components/Summary/index.d.ts +1 -1
- package/es/ProEditTable/style/index.less +150 -114
- package/es/ProEditTable/utils/config.d.ts +2 -2
- package/es/ProEditTable/utils/tools.d.ts +1 -1
- package/es/ProEditTable/utils/useEditTableError.d.ts +1 -1
- package/es/ProEnum/hooks/useEnum.js +22 -71
- package/es/ProEnum/hooks/useEnumRequest.js +9 -10
- package/es/ProEnum/hooks/useFrequentEnumRequest.js +2 -1
- package/es/ProEnum/index.d.ts +2 -0
- package/es/ProEnum/index.js +4 -2
- package/es/ProEnum/style/index.less +0 -1
- package/es/ProEnum/utils/frequentEnum.d.ts +1 -2
- package/es/ProEnum/utils/frequentEnum.js +2 -2
- package/es/ProEnum/utils/getEnum.d.ts +47 -0
- package/es/ProEnum/utils/getEnum.js +151 -0
- package/es/ProEnum/utils/index.d.ts +13 -3
- package/es/ProEnum/utils/index.js +44 -10
- package/es/ProForm/components/base/SwitchCheckbox/style/index.less +4 -5
- package/es/ProForm/components/base/TimePicker/style/index.less +0 -1
- package/es/ProForm/components/combination/Container/style/index.less +18 -19
- package/es/ProForm/components/combination/FormList/style/index.less +4 -4
- package/es/ProForm/components/combination/Group/style/index.less +43 -50
- package/es/ProForm/components/combination/Group/utils/index.d.ts +20 -20
- package/es/ProForm/components/combination/ProModalSelect/style/index.less +20 -16
- package/es/ProForm/components/combination/ProNumberRange/style/index.less +3 -3
- package/es/ProForm/components/combination/ProTimeLimit/style/index.less +1 -1
- package/es/ProForm/style/index.less +39 -44
- package/es/ProLayout/components/Layout/Header/style/index.less +224 -222
- package/es/ProLayout/components/Layout/Icon/style/index.less +1 -1
- package/es/ProLayout/components/Layout/Menu/FoldMenu/style/index.less +4 -1
- package/es/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +9 -7
- package/es/ProLayout/components/Layout/Menu/SideMenu/style/index.less +3 -5
- package/es/ProLayout/components/Layout/Menu/style/index.less +9 -5
- package/es/ProLayout/components/Layout/index.less +4 -4
- package/es/ProLayout/components/ProCollapse/PropTypes.d.ts +45 -45
- package/es/ProLayout/components/ProCollapse/style/index.less +30 -32
- package/es/ProLayout/components/ProFooter/style/index.less +0 -1
- package/es/ProLayout/components/ProHeader/PropTypes.d.ts +31 -31
- package/es/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +7 -7
- package/es/ProLayout/components/ProHeader/style/index.less +8 -9
- package/es/ProLayout/components/TabsManager/style/index.less +9 -11
- package/es/ProLayout/style/index.less +197 -201
- package/es/ProLayout/utils/index.d.ts +1 -1
- package/es/ProSelect/style/index.less +0 -1
- package/es/ProSelect/utils/index.d.ts +1 -1
- package/es/ProStep/components/Item/index.js +1 -1
- package/es/ProStep/components/LazyLoad/index.d.ts +19 -0
- package/es/ProStep/components/LazyLoad/index.js +55 -0
- package/es/ProStep/components/Listener/index.js +1 -1
- package/es/ProStep/index.d.ts +1 -1
- package/es/ProStep/propsType.d.ts +1 -1
- package/es/ProStep/style/index.less +7 -9
- package/es/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/index.d.ts +1 -1
- package/es/ProTable/propsType.d.ts +1 -1
- package/es/ProTable/style/index.less +24 -22
- package/es/ProTooltip/style/index.less +0 -1
- package/es/ProTree/components/ProTreeSelect/style/index.less +102 -99
- package/es/ProTree/style/index.less +108 -109
- package/es/ProTreeModal/style/index.less +10 -9
- package/es/ProUpload/style/index.less +20 -22
- package/es/global.less +1 -1
- package/es/index.d.ts +2 -2
- package/es/style/core/normalize.less +11 -2
- package/es/style/index.less +2 -2
- package/es/style/less.less +2 -2
- package/es/style/theme/antd.less +19 -23
- package/es/style/theme/base.less +81 -81
- package/es/style/theme/tokens.less +13 -14
- package/es/style/variables.less +1 -1
- package/package.json +37 -20
|
@@ -1,277 +1,279 @@
|
|
|
1
1
|
@import '../../../../../style/variables.less';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
3
|
+
/** 顶部 */
|
|
4
|
+
.pro-layout-header {
|
|
5
|
+
position: fixed;
|
|
6
|
+
top: 0;
|
|
7
|
+
z-index: 98;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: row;
|
|
10
|
+
align-items: center;
|
|
11
|
+
justify-content: space-between;
|
|
12
|
+
width: 100%;
|
|
13
|
+
height: 64px;
|
|
14
|
+
padding: 0 32px 0px 0px;
|
|
15
|
+
line-height: 64px;
|
|
16
|
+
background:
|
|
17
|
+
var(--header-bg-image) no-repeat top center / 100% auto,
|
|
18
|
+
#f7f9fd;
|
|
19
|
+
box-shadow: none;
|
|
20
|
+
overflow: visible;
|
|
21
|
+
|
|
22
|
+
.pro-layout-header-actions {
|
|
23
|
+
.@{ant-prefix}-avatar {
|
|
24
|
+
background: var(--zaui-brand, #006aff);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.pro-layout-header-apps-trigger {
|
|
29
|
+
position: absolute;
|
|
30
|
+
left: 0;
|
|
31
|
+
top: 0;
|
|
32
|
+
width: 48px;
|
|
33
|
+
height: 64px;
|
|
34
|
+
display: inline-flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
z-index: 2;
|
|
38
|
+
|
|
39
|
+
.pro-icon {
|
|
40
|
+
width: 20px;
|
|
41
|
+
height: 20px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// 当存在 apps 图标时,logo 需要更多左侧间距
|
|
45
|
+
~ .pro-layout-header-logo {
|
|
46
|
+
margin-left: 64px;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.pro-layout-header-logo {
|
|
51
|
+
position: relative;
|
|
52
|
+
display: flex;
|
|
53
|
+
flex: 200px;
|
|
54
|
+
align-items: center;
|
|
55
|
+
width: auto;
|
|
56
|
+
padding: 0;
|
|
57
|
+
margin-left: 48px;
|
|
58
|
+
background: transparent;
|
|
59
|
+
gap: 24px;
|
|
60
|
+
z-index: 1;
|
|
61
|
+
|
|
62
|
+
> span:first-child {
|
|
63
|
+
display: flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
justify-content: flex-start;
|
|
66
|
+
width: auto;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.default-logo {
|
|
70
|
+
display: inline-block;
|
|
71
|
+
width: 120px;
|
|
72
|
+
height: auto;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
h4 {
|
|
76
|
+
font-size: var(--zaui-font-size-lg, 16px);
|
|
77
|
+
font-weight: 600;
|
|
78
|
+
color: #1d2129;
|
|
79
|
+
padding-left: var(--zaui-space-size-md, 16px);
|
|
80
|
+
position: relative;
|
|
81
|
+
margin: 0;
|
|
82
|
+
|
|
83
|
+
&::before {
|
|
84
|
+
content: '';
|
|
85
|
+
width: 1px;
|
|
86
|
+
height: 19px;
|
|
87
|
+
background: #dee0e3;
|
|
88
|
+
position: absolute;
|
|
89
|
+
left: 0;
|
|
90
|
+
top: 50%;
|
|
91
|
+
transform: translateY(-50%);
|
|
23
92
|
}
|
|
24
93
|
}
|
|
25
94
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
95
|
+
a {
|
|
96
|
+
color: rgba(0, 0, 0, 0.85);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.pro-layout-icon {
|
|
100
|
+
width: 200px;
|
|
31
101
|
height: 64px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.pro-layout-header-apps-trigger {
|
|
32
105
|
display: inline-flex;
|
|
33
106
|
align-items: center;
|
|
34
107
|
justify-content: center;
|
|
35
|
-
|
|
108
|
+
width: 24px;
|
|
109
|
+
height: 24px;
|
|
110
|
+
cursor: pointer;
|
|
111
|
+
transition: all 0.3s;
|
|
36
112
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
height: 20px;
|
|
113
|
+
&:hover {
|
|
114
|
+
opacity: 0.8;
|
|
40
115
|
}
|
|
41
116
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
117
|
+
.pro-icon {
|
|
118
|
+
width: 24px;
|
|
119
|
+
height: 24px;
|
|
45
120
|
}
|
|
46
121
|
}
|
|
122
|
+
}
|
|
47
123
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
padding : 0;
|
|
55
|
-
margin-left: 48px;
|
|
56
|
-
background : transparent;
|
|
57
|
-
gap : 24px;
|
|
58
|
-
z-index : 1;
|
|
59
|
-
|
|
60
|
-
> span:first-child {
|
|
61
|
-
display : flex;
|
|
62
|
-
align-items : center;
|
|
63
|
-
justify-content: flex-start;
|
|
64
|
-
width : auto;
|
|
65
|
-
}
|
|
124
|
+
&-logo {
|
|
125
|
+
height: 64px;
|
|
126
|
+
padding: 5px 0;
|
|
127
|
+
text-align: center;
|
|
128
|
+
background-color: #081838;
|
|
129
|
+
transition: width 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
|
|
66
130
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
131
|
+
> a {
|
|
132
|
+
display: flex;
|
|
133
|
+
align-items: center;
|
|
134
|
+
text-decoration: none;
|
|
72
135
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
color : #1D2129;
|
|
77
|
-
padding-left: var(--zaui-space-size-md, 16px);
|
|
78
|
-
position : relative;
|
|
79
|
-
margin : 0;
|
|
80
|
-
|
|
81
|
-
&::before {
|
|
82
|
-
content : '';
|
|
83
|
-
width : 1px;
|
|
84
|
-
height : 19px;
|
|
85
|
-
background: #DEE0E3;
|
|
86
|
-
position : absolute;
|
|
87
|
-
left : 0;
|
|
88
|
-
top : 50%;
|
|
89
|
-
transform : translateY(-50%);
|
|
90
|
-
}
|
|
136
|
+
&:hover,
|
|
137
|
+
&:visited {
|
|
138
|
+
text-decoration: none !important;
|
|
91
139
|
}
|
|
140
|
+
}
|
|
92
141
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
142
|
+
img {
|
|
143
|
+
height: 33px;
|
|
144
|
+
}
|
|
96
145
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
146
|
+
h1 {
|
|
147
|
+
margin: 0.67em 0;
|
|
148
|
+
padding-left: 12px;
|
|
149
|
+
color: var(--zaui-text, #343434);
|
|
150
|
+
font-size: var(--zaui-font-size-xl, 18px);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
101
153
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
height: 24px;
|
|
108
|
-
cursor: pointer;
|
|
109
|
-
transition: all 0.3s;
|
|
154
|
+
&-content {
|
|
155
|
+
position: relative;
|
|
156
|
+
flex: auto;
|
|
157
|
+
z-index: 1;
|
|
158
|
+
}
|
|
110
159
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
160
|
+
&-actions {
|
|
161
|
+
position: relative;
|
|
162
|
+
display: flex;
|
|
163
|
+
align-items: center;
|
|
164
|
+
float: right;
|
|
165
|
+
z-index: 1;
|
|
166
|
+
|
|
167
|
+
> .pro-layout-icon {
|
|
168
|
+
width: 26px;
|
|
169
|
+
height: 26px;
|
|
170
|
+
margin-right: 30px;
|
|
171
|
+
color: var(--zaui-text, #343434);
|
|
172
|
+
cursor: pointer;
|
|
173
|
+
transition: width 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
|
|
114
174
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
height: 24px;
|
|
118
|
-
}
|
|
175
|
+
&:hover {
|
|
176
|
+
color: var(--zaui-text, #343434);
|
|
119
177
|
}
|
|
120
178
|
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
121
181
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
>a {
|
|
130
|
-
display : flex;
|
|
131
|
-
align-items : center;
|
|
132
|
-
text-decoration: none;
|
|
133
|
-
|
|
134
|
-
&:hover,
|
|
135
|
-
&:visited {
|
|
136
|
-
text-decoration: none !important;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
182
|
+
// apps Popover 样式
|
|
183
|
+
.pro-layout-header-apps-popover {
|
|
184
|
+
// 隐藏 Popover 箭头
|
|
185
|
+
.@{ant-prefix}-popover-arrow {
|
|
186
|
+
display: none;
|
|
187
|
+
}
|
|
139
188
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
189
|
+
.@{ant-prefix}-popover-inner {
|
|
190
|
+
padding: var(--zaui-space-size-md, 16px);
|
|
191
|
+
min-width: 300px;
|
|
192
|
+
border-radius: var(--zaui-border-radius, 8px);
|
|
193
|
+
}
|
|
143
194
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
}
|
|
195
|
+
// 扁平模式 - 网格布局
|
|
196
|
+
.pro-layout-header-apps-list {
|
|
197
|
+
display: flex;
|
|
198
|
+
flex-direction: column;
|
|
199
|
+
gap: 0;
|
|
200
|
+
}
|
|
151
201
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
202
|
+
.pro-layout-header-apps-item {
|
|
203
|
+
display: flex;
|
|
204
|
+
align-items: center;
|
|
205
|
+
gap: var(--zaui-space-size-sm, 8px);
|
|
206
|
+
padding: var(--zaui-space-size-sm, 8px) var(--zaui-space-size-md, 16px);
|
|
207
|
+
cursor: pointer;
|
|
208
|
+
transition: all 0.3s;
|
|
209
|
+
white-space: nowrap;
|
|
210
|
+
border-radius: var(--zaui-border-radius, 8px);
|
|
211
|
+
|
|
212
|
+
&:hover {
|
|
213
|
+
background-color: rgba(0, 106, 255, 0.08);
|
|
156
214
|
}
|
|
157
215
|
|
|
158
|
-
&-
|
|
159
|
-
|
|
160
|
-
display : flex;
|
|
216
|
+
&-icon {
|
|
217
|
+
display: inline-flex;
|
|
161
218
|
align-items: center;
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
width : 26px;
|
|
167
|
-
height : 26px;
|
|
168
|
-
margin-right: 30px;
|
|
169
|
-
color : var(--zaui-text, #343434);
|
|
170
|
-
cursor : pointer;
|
|
171
|
-
transition : width 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
|
|
172
|
-
|
|
173
|
-
&:hover {
|
|
174
|
-
color: var(--zaui-text, #343434);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
219
|
+
justify-content: center;
|
|
220
|
+
width: 20px;
|
|
221
|
+
height: 20px;
|
|
222
|
+
flex-shrink: 0;
|
|
177
223
|
}
|
|
178
|
-
}
|
|
179
224
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
225
|
+
&-label {
|
|
226
|
+
font-size: var(--zaui-font-size-base, 14px);
|
|
227
|
+
color: var(--zaui-text, #343434);
|
|
228
|
+
line-height: 22px;
|
|
229
|
+
overflow: hidden;
|
|
230
|
+
text-overflow: ellipsis;
|
|
185
231
|
}
|
|
232
|
+
}
|
|
186
233
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
234
|
+
// 分组模式 - 4列网格布局
|
|
235
|
+
.pro-layout-header-apps-groups {
|
|
236
|
+
display: flex;
|
|
237
|
+
flex-direction: column;
|
|
238
|
+
gap: 16px;
|
|
192
239
|
|
|
193
|
-
// 扁平模式 - 网格布局
|
|
194
240
|
.pro-layout-header-apps-list {
|
|
195
|
-
display:
|
|
196
|
-
|
|
197
|
-
gap:
|
|
241
|
+
display: grid;
|
|
242
|
+
grid-template-columns: repeat(4, 1fr);
|
|
243
|
+
column-gap: 4px;
|
|
244
|
+
row-gap: 4px;
|
|
198
245
|
}
|
|
199
246
|
|
|
200
247
|
.pro-layout-header-apps-item {
|
|
201
248
|
display: flex;
|
|
249
|
+
flex-direction: column;
|
|
202
250
|
align-items: center;
|
|
203
251
|
gap: var(--zaui-space-size-sm, 8px);
|
|
204
|
-
padding: var(--zaui-space-size-sm, 8px)
|
|
205
|
-
cursor: pointer;
|
|
206
|
-
transition: all 0.3s;
|
|
207
|
-
white-space: nowrap;
|
|
252
|
+
padding: var(--zaui-space-size-sm, 8px);
|
|
208
253
|
border-radius: var(--zaui-border-radius, 8px);
|
|
209
254
|
|
|
210
|
-
&:hover {
|
|
211
|
-
background-color: rgba(0, 106, 255, 0.08);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
255
|
&-icon {
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
width: 20px;
|
|
219
|
-
height: 20px;
|
|
220
|
-
flex-shrink: 0;
|
|
256
|
+
width: 32px;
|
|
257
|
+
height: 32px;
|
|
258
|
+
font-size: 32px;
|
|
221
259
|
}
|
|
222
260
|
|
|
223
261
|
&-label {
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
line-height:
|
|
227
|
-
|
|
228
|
-
text-overflow: ellipsis;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
// 分组模式 - 4列网格布局
|
|
233
|
-
.pro-layout-header-apps-groups {
|
|
234
|
-
display: flex;
|
|
235
|
-
flex-direction: column;
|
|
236
|
-
gap: 16px;
|
|
237
|
-
|
|
238
|
-
.pro-layout-header-apps-list {
|
|
239
|
-
display: grid;
|
|
240
|
-
grid-template-columns: repeat(4, 1fr);
|
|
241
|
-
column-gap: 4px;
|
|
242
|
-
row-gap: 4px;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.pro-layout-header-apps-item {
|
|
246
|
-
display: flex;
|
|
247
|
-
flex-direction: column;
|
|
248
|
-
align-items: center;
|
|
249
|
-
gap: var(--zaui-space-size-sm, 8px);
|
|
250
|
-
padding: var(--zaui-space-size-sm, 8px);
|
|
251
|
-
border-radius: var(--zaui-border-radius, 8px);
|
|
252
|
-
|
|
253
|
-
&-icon {
|
|
254
|
-
width: 32px;
|
|
255
|
-
height: 32px;
|
|
256
|
-
font-size: 32px;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
&-label {
|
|
260
|
-
text-align: center;
|
|
261
|
-
font-size: 13px;
|
|
262
|
-
line-height: 18px;
|
|
263
|
-
white-space: nowrap;
|
|
264
|
-
}
|
|
262
|
+
text-align: center;
|
|
263
|
+
font-size: 13px;
|
|
264
|
+
line-height: 18px;
|
|
265
|
+
white-space: nowrap;
|
|
265
266
|
}
|
|
266
267
|
}
|
|
268
|
+
}
|
|
267
269
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
}
|
|
270
|
+
.pro-layout-header-apps-group {
|
|
271
|
+
&-title {
|
|
272
|
+
padding: 0 0 var(--zaui-space-size-sm, 8px) 0;
|
|
273
|
+
font-weight: 600;
|
|
274
|
+
font-size: var(--zaui-font-size-base, 14px);
|
|
275
|
+
color: var(--zaui-text, #343434);
|
|
276
|
+
line-height: 22px;
|
|
276
277
|
}
|
|
277
278
|
}
|
|
279
|
+
}
|
|
@@ -30,7 +30,10 @@
|
|
|
30
30
|
flex-grow: 1;
|
|
31
31
|
margin-bottom: 0;
|
|
32
32
|
opacity: 1;
|
|
33
|
-
transition:
|
|
33
|
+
transition:
|
|
34
|
+
opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1),
|
|
35
|
+
margin 0.3s,
|
|
36
|
+
color 0.3s;
|
|
34
37
|
}
|
|
35
38
|
}
|
|
36
39
|
|
|
@@ -68,7 +68,6 @@
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
|
|
72
71
|
.@{ant-prefix}-menu-item-selected {
|
|
73
72
|
background: transparent !important;
|
|
74
73
|
|
|
@@ -110,7 +109,10 @@
|
|
|
110
109
|
font-size: var(--zaui-font-size-md, 14px);
|
|
111
110
|
opacity: 1;
|
|
112
111
|
// 修改:添加 150ms 的 opacity 淡入动画,消除"突然出现"的卡顿感
|
|
113
|
-
transition:
|
|
112
|
+
transition:
|
|
113
|
+
opacity 0.15s ease-out,
|
|
114
|
+
margin 0.3s,
|
|
115
|
+
color 0.3s;
|
|
114
116
|
}
|
|
115
117
|
}
|
|
116
118
|
}
|
|
@@ -149,13 +151,13 @@
|
|
|
149
151
|
color: var(--zaui-text, #343434);
|
|
150
152
|
}
|
|
151
153
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
154
|
+
.@{ant-prefix}-menu-item-selected {
|
|
155
|
+
.@{ant-prefix}-menu-title-content {
|
|
156
|
+
h2 {
|
|
157
|
+
font-weight: bold !important;
|
|
158
|
+
}
|
|
156
159
|
}
|
|
157
160
|
}
|
|
158
|
-
}
|
|
159
161
|
|
|
160
162
|
// 父级菜单不展示选中态,仅最后一级菜单显示选中高亮
|
|
161
163
|
.@{ant-prefix}-menu-submenu-selected {
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.@{ant-prefix}-menu {
|
|
35
|
-
.@{ant-prefix}-menu-item-only-child{
|
|
36
|
-
.@{ant-prefix}-menu-title-content
|
|
35
|
+
.@{ant-prefix}-menu-item-only-child {
|
|
36
|
+
.@{ant-prefix}-menu-title-content .pro-layout-open-menu-lv1 h2 {
|
|
37
37
|
padding-right: 0;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
|
|
68
68
|
.pro-layout-icon {
|
|
69
69
|
color: var(--zaui-text, #343434) !important;
|
|
70
|
-
fill:
|
|
70
|
+
fill: currentcolor;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
&.@{ant-prefix}-menu-sub {
|
|
@@ -107,8 +107,6 @@
|
|
|
107
107
|
color: #909090;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
|
|
111
|
-
|
|
112
110
|
.@{ant-prefix}-menu-submenu-title,
|
|
113
111
|
&.@{ant-prefix}-menu-root > .@{ant-prefix}-menu-item-only-child,
|
|
114
112
|
&.@{ant-prefix}-menu-sub.@{ant-prefix}-menu-inline > .@{ant-prefix}-menu-item {
|
|
@@ -44,7 +44,9 @@
|
|
|
44
44
|
display: inline-block;
|
|
45
45
|
white-space: nowrap;
|
|
46
46
|
opacity: 0;
|
|
47
|
-
transition:
|
|
47
|
+
transition:
|
|
48
|
+
opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1),
|
|
49
|
+
color 0.3s;
|
|
48
50
|
}
|
|
49
51
|
}
|
|
50
52
|
}
|
|
@@ -88,12 +90,14 @@
|
|
|
88
90
|
padding: 0;
|
|
89
91
|
overflow-x: hidden;
|
|
90
92
|
overflow-y: auto;
|
|
91
|
-
background-color: #
|
|
92
|
-
transition:
|
|
93
|
+
background-color: #f7f9fd;
|
|
94
|
+
transition:
|
|
95
|
+
background 0.3s,
|
|
96
|
+
width 0.3s cubic-bezier(0.2, 0, 0, 1) 0s;
|
|
93
97
|
|
|
94
98
|
&.pro-layout-menu-open {
|
|
95
99
|
width: 220px;
|
|
96
|
-
background-color: #
|
|
100
|
+
background-color: #f7f9fd;
|
|
97
101
|
}
|
|
98
102
|
}
|
|
99
103
|
|
|
@@ -116,7 +120,7 @@
|
|
|
116
120
|
justify-content: center;
|
|
117
121
|
width: 48px;
|
|
118
122
|
height: 48px;
|
|
119
|
-
background: #
|
|
123
|
+
background: #f7f9fd;
|
|
120
124
|
transition: all 0.3s ease;
|
|
121
125
|
}
|
|
122
126
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import
|
|
2
|
-
@import
|
|
3
|
-
@import
|
|
4
|
-
@import
|
|
1
|
+
@import './Header/style/index.less';
|
|
2
|
+
@import './Icon/style/index.less';
|
|
3
|
+
@import './Menu/style/index.less';
|
|
4
|
+
@import './Notice/style/index.less';
|