cfel-base-components 2.5.47 → 2.5.48
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/demo/src/index.jsx +41 -80
- package/package.json +1 -1
- package/src/.umi/core/helmet.ts +1 -1
- package/src/components/layout/index.scss +387 -211
- package/src/components/layout/index.tsx +237 -103
- package/src/components/{layout → layout-console}/index-console.scss +208 -84
- package/src/components/layout-console/index.tsx +712 -0
- package/src/components/layout-console/user-card/index.scss +180 -0
- package/src/components/layout-console/user-card/index.tsx +162 -0
- package/src/global.d.ts +2 -0
- package/src/index.tsx +25 -27
- package/.vscode/settings.json +0 -3
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
$menuPrefixCls: rc-menu;
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
.ant-layout {
|
|
4
|
+
background: linear-gradient(223deg, #fef8ff 0%, #eceefe 29%, #fff9fe 100%) !important;
|
|
5
|
+
box-shadow: inset 0px -1px 0px 0px #edeefd !important;
|
|
6
|
+
}
|
|
4
7
|
|
|
5
8
|
ul {
|
|
6
9
|
list-style: none;
|
|
@@ -8,17 +11,90 @@ ul {
|
|
|
8
11
|
margin: 0;
|
|
9
12
|
}
|
|
10
13
|
|
|
11
|
-
.layout-menu {
|
|
12
|
-
|
|
14
|
+
.layout-menu-console {
|
|
15
|
+
border-radius: 16px;
|
|
16
|
+
height: calc(100% - 107px);
|
|
13
17
|
overflow-y: scroll;
|
|
14
18
|
|
|
15
|
-
.menu {
|
|
16
|
-
|
|
19
|
+
.menu-console {
|
|
17
20
|
padding: 0;
|
|
18
21
|
margin: 0;
|
|
19
22
|
list-style: none;
|
|
20
23
|
cursor: pointer;
|
|
21
24
|
|
|
25
|
+
> li {
|
|
26
|
+
&:hover {
|
|
27
|
+
> .menu-item-content {
|
|
28
|
+
.menu-item-icon,
|
|
29
|
+
.menu-item-label {
|
|
30
|
+
color: #fff;
|
|
31
|
+
font-weight: 500;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.rc-menu-submenu {
|
|
38
|
+
&:hover {
|
|
39
|
+
> .rc-menu-submenu-title {
|
|
40
|
+
.menu-item-icon,
|
|
41
|
+
.menu-item-label {
|
|
42
|
+
color: #fff;
|
|
43
|
+
font-weight: 500;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.#{$menuPrefixCls}-submenu-arrow {
|
|
47
|
+
&::before,
|
|
48
|
+
&::after {
|
|
49
|
+
background: #fff;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.rc-menu-submenu {
|
|
57
|
+
.rc-menu-submenu-title {
|
|
58
|
+
position: relative;
|
|
59
|
+
|
|
60
|
+
.menu-item-content {
|
|
61
|
+
.menu-item-icon,
|
|
62
|
+
.menu-item-label {
|
|
63
|
+
transition: all 0.3s ease-in-out;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&:hover {
|
|
68
|
+
.menu-item-content {
|
|
69
|
+
.menu-item-icon,
|
|
70
|
+
.menu-item-label {
|
|
71
|
+
color: #fff;
|
|
72
|
+
font-weight: 500;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.#{$menuPrefixCls}-submenu-arrow {
|
|
77
|
+
&::before,
|
|
78
|
+
&::after {
|
|
79
|
+
background: #fff;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.rc-menu-item {
|
|
86
|
+
&:hover {
|
|
87
|
+
.menu-item-content {
|
|
88
|
+
.menu-item-icon,
|
|
89
|
+
.menu-item-label {
|
|
90
|
+
color: #fff;
|
|
91
|
+
font-weight: 500;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
22
98
|
.rc-menu-submenu-title {
|
|
23
99
|
position: relative;
|
|
24
100
|
}
|
|
@@ -67,7 +143,7 @@ ul {
|
|
|
67
143
|
content: '';
|
|
68
144
|
position: absolute;
|
|
69
145
|
left: 31px;
|
|
70
|
-
top:
|
|
146
|
+
top: 24px;
|
|
71
147
|
width: 5px;
|
|
72
148
|
height: 5px;
|
|
73
149
|
background: #8f9cec;
|
|
@@ -82,7 +158,7 @@ ul {
|
|
|
82
158
|
top: 0 !important;
|
|
83
159
|
width: 1px;
|
|
84
160
|
height: 100%;
|
|
85
|
-
background:
|
|
161
|
+
background: #929df7;
|
|
86
162
|
z-index: 0;
|
|
87
163
|
}
|
|
88
164
|
|
|
@@ -95,7 +171,7 @@ ul {
|
|
|
95
171
|
}
|
|
96
172
|
|
|
97
173
|
&:first-child::after {
|
|
98
|
-
top:
|
|
174
|
+
top: 24px !important;
|
|
99
175
|
}
|
|
100
176
|
|
|
101
177
|
&.rc-menu-submenu-selected {
|
|
@@ -117,7 +193,7 @@ ul {
|
|
|
117
193
|
box-shadow: 0px 0px 30px 0px transparent;
|
|
118
194
|
|
|
119
195
|
&.rc-menu-item-selected {
|
|
120
|
-
.menu-item-content{
|
|
196
|
+
.menu-item-content {
|
|
121
197
|
width: 100%;
|
|
122
198
|
padding-right: 24px;
|
|
123
199
|
}
|
|
@@ -142,18 +218,24 @@ ul {
|
|
|
142
218
|
}
|
|
143
219
|
|
|
144
220
|
.grand-li {
|
|
145
|
-
background: #
|
|
221
|
+
background: #206abd;
|
|
146
222
|
position: relative;
|
|
147
223
|
z-index: 9;
|
|
148
224
|
line-height: 52px;
|
|
149
225
|
display: flex;
|
|
150
226
|
align-items: center;
|
|
227
|
+
margin-left: 2px;
|
|
228
|
+
width: 252px;
|
|
229
|
+
|
|
230
|
+
&:last-child {
|
|
231
|
+
box-shadow: inset 0px -1px 0px 0px rgba(0, 0, 0, 0.05);
|
|
232
|
+
}
|
|
151
233
|
|
|
152
234
|
&::before {
|
|
153
235
|
content: '';
|
|
154
236
|
position: absolute;
|
|
155
237
|
left: 49px;
|
|
156
|
-
top:
|
|
238
|
+
top: 50%;
|
|
157
239
|
width: 5px;
|
|
158
240
|
height: 5px;
|
|
159
241
|
background: #8f9cec;
|
|
@@ -169,7 +251,7 @@ ul {
|
|
|
169
251
|
top: 0;
|
|
170
252
|
width: 1px;
|
|
171
253
|
height: 100%;
|
|
172
|
-
background:
|
|
254
|
+
background: #929df7;
|
|
173
255
|
z-index: 1;
|
|
174
256
|
}
|
|
175
257
|
|
|
@@ -182,11 +264,11 @@ ul {
|
|
|
182
264
|
}
|
|
183
265
|
|
|
184
266
|
&:first-child::after {
|
|
185
|
-
top:
|
|
267
|
+
top: 50% !important;
|
|
186
268
|
}
|
|
187
269
|
|
|
188
270
|
&.rc-menu-item-selected {
|
|
189
|
-
.menu-item-content{
|
|
271
|
+
.menu-item-content {
|
|
190
272
|
width: 100%;
|
|
191
273
|
padding-right: 24px;
|
|
192
274
|
height: 52px;
|
|
@@ -211,10 +293,20 @@ ul {
|
|
|
211
293
|
background: rgba(255, 255, 255);
|
|
212
294
|
}
|
|
213
295
|
}
|
|
296
|
+
|
|
297
|
+
&:hover {
|
|
298
|
+
> .menu-item-content {
|
|
299
|
+
.menu-item-icon,
|
|
300
|
+
.iconfont,
|
|
301
|
+
.menu-item-label {
|
|
302
|
+
color: #fff;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
}
|
|
214
306
|
}
|
|
215
307
|
}
|
|
216
308
|
|
|
217
|
-
.menu-collapsed {
|
|
309
|
+
.menu-collapsed-console {
|
|
218
310
|
display: flex;
|
|
219
311
|
flex-direction: column;
|
|
220
312
|
align-items: center;
|
|
@@ -244,7 +336,7 @@ body {
|
|
|
244
336
|
overflow: hidden;
|
|
245
337
|
}
|
|
246
338
|
|
|
247
|
-
.layout-warps {
|
|
339
|
+
.layout-warps-console {
|
|
248
340
|
display: flex;
|
|
249
341
|
padding: 12px;
|
|
250
342
|
background-color: #f3f6fd;
|
|
@@ -253,21 +345,21 @@ body {
|
|
|
253
345
|
display: none;
|
|
254
346
|
}
|
|
255
347
|
|
|
256
|
-
.trigger {
|
|
348
|
+
.trigger-console {
|
|
257
349
|
margin-right: 16px;
|
|
258
350
|
width: 30px;
|
|
259
351
|
height: 30px;
|
|
260
|
-
background: rgba(255,255,255,0.05);
|
|
261
|
-
box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.05);
|
|
352
|
+
background: rgba(255, 255, 255, 0.05);
|
|
353
|
+
box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.05);
|
|
262
354
|
border-radius: 4px;
|
|
263
|
-
border: 1px solid rgba(255,255,255,0.1);
|
|
355
|
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
264
356
|
backdrop-filter: blur(10px);
|
|
265
357
|
display: flex;
|
|
266
358
|
justify-content: center;
|
|
267
359
|
align-items: center;
|
|
268
360
|
}
|
|
269
361
|
|
|
270
|
-
.close-trigger {
|
|
362
|
+
.close-trigger-console {
|
|
271
363
|
margin-top: 24px;
|
|
272
364
|
width: 30px;
|
|
273
365
|
height: 30px;
|
|
@@ -281,17 +373,35 @@ body {
|
|
|
281
373
|
align-items: center;
|
|
282
374
|
}
|
|
283
375
|
|
|
284
|
-
.search {
|
|
376
|
+
.search-console {
|
|
377
|
+
position: relative;
|
|
378
|
+
z-index: 99;
|
|
285
379
|
height: 40px;
|
|
286
380
|
color: #fff;
|
|
287
|
-
background: #
|
|
288
|
-
box-shadow:
|
|
381
|
+
background: #5b6ecf;
|
|
382
|
+
box-shadow:
|
|
383
|
+
inset 0px 2px 1px 0px rgba(0, 0, 0, 0.05),
|
|
384
|
+
inset 0px -2px 0px 0px #ffffff22;
|
|
289
385
|
border-radius: 10px;
|
|
290
|
-
background: url('https://cfel-front.oss-cn-hangzhou.aliyuncs.com/logo/base-component/menu-search-bg-console.png') no-repeat;
|
|
291
386
|
background-size: 50%;
|
|
292
387
|
background-position-x: right;
|
|
293
|
-
position: relative;
|
|
294
388
|
|
|
389
|
+
&:hover {
|
|
390
|
+
background: rgba(0, 0, 0, 0.05);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.search-bg-mask {
|
|
394
|
+
position: absolute;
|
|
395
|
+
top: 0;
|
|
396
|
+
right: 0;
|
|
397
|
+
width: 93px;
|
|
398
|
+
height: 38px;
|
|
399
|
+
|
|
400
|
+
img {
|
|
401
|
+
width: 93px;
|
|
402
|
+
height: 37px;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
295
405
|
|
|
296
406
|
.search-input {
|
|
297
407
|
width: 100%;
|
|
@@ -304,9 +414,8 @@ body {
|
|
|
304
414
|
font-size: 14px;
|
|
305
415
|
color: #ffffff;
|
|
306
416
|
|
|
307
|
-
|
|
308
417
|
&::placeholder {
|
|
309
|
-
color: rgba(255, 255, 255, 0.
|
|
418
|
+
color: rgba(255, 255, 255, 0.65);
|
|
310
419
|
}
|
|
311
420
|
|
|
312
421
|
// 为了兼容不同浏览器
|
|
@@ -328,13 +437,12 @@ body {
|
|
|
328
437
|
.search-command {
|
|
329
438
|
position: absolute;
|
|
330
439
|
right: 4px;
|
|
331
|
-
top:
|
|
332
|
-
transform: translateY(-50%);
|
|
440
|
+
top: 4px;
|
|
333
441
|
width: 40px;
|
|
334
442
|
height: 30px;
|
|
335
|
-
background: #
|
|
443
|
+
background: #5b6ed0;
|
|
336
444
|
border-radius: 8px;
|
|
337
|
-
border: 1px solid #
|
|
445
|
+
border: 1px solid #6d7cd5;
|
|
338
446
|
backdrop-filter: blur(10px);
|
|
339
447
|
display: flex;
|
|
340
448
|
justify-content: center;
|
|
@@ -345,7 +453,7 @@ body {
|
|
|
345
453
|
}
|
|
346
454
|
}
|
|
347
455
|
|
|
348
|
-
.search-mobile {
|
|
456
|
+
.search-mobile-console {
|
|
349
457
|
width: 40px;
|
|
350
458
|
height: 40px;
|
|
351
459
|
background: #f8f8fb;
|
|
@@ -356,13 +464,12 @@ body {
|
|
|
356
464
|
backdrop-filter: blur(10px);
|
|
357
465
|
padding-top: 11px;
|
|
358
466
|
cursor: pointer;
|
|
359
|
-
|
|
360
|
-
|
|
361
467
|
}
|
|
362
468
|
}
|
|
363
469
|
|
|
364
|
-
.layout-side-
|
|
365
|
-
background: linear-gradient(227deg, #
|
|
470
|
+
.layout-side-mask2-console {
|
|
471
|
+
background: linear-gradient(227deg, #7856e6 0%, #6a6ed2 0%, #0271c3 100%) !important;
|
|
472
|
+
border: 2px solid #ffffff;
|
|
366
473
|
position: absolute;
|
|
367
474
|
top: 0;
|
|
368
475
|
left: 0;
|
|
@@ -371,8 +478,7 @@ body {
|
|
|
371
478
|
border-radius: 16px;
|
|
372
479
|
}
|
|
373
480
|
|
|
374
|
-
|
|
375
|
-
.layout-side {
|
|
481
|
+
.layout-side-console {
|
|
376
482
|
background: transparent !important;
|
|
377
483
|
height: calc(100vh - 24px) !important;
|
|
378
484
|
user-select: none;
|
|
@@ -380,32 +486,62 @@ body {
|
|
|
380
486
|
border-radius: 16px;
|
|
381
487
|
padding-top: 24px;
|
|
382
488
|
|
|
383
|
-
.header-logo {
|
|
489
|
+
.header-logo-console {
|
|
384
490
|
padding-left: 16px;
|
|
385
491
|
display: flex;
|
|
386
492
|
justify-content: space-between;
|
|
387
493
|
cursor: pointer;
|
|
388
494
|
height: 30px;
|
|
495
|
+
position: relative;
|
|
496
|
+
z-index: 99;
|
|
389
497
|
|
|
390
|
-
|
|
391
|
-
.logo-sub{
|
|
498
|
+
.logo-sub {
|
|
392
499
|
width: 31px;
|
|
393
500
|
height: 30px;
|
|
394
501
|
}
|
|
395
502
|
|
|
396
|
-
|
|
397
503
|
.logo-base {
|
|
398
504
|
height: 30px;
|
|
399
505
|
width: 105px;
|
|
400
506
|
}
|
|
507
|
+
}
|
|
401
508
|
}
|
|
402
|
-
}
|
|
403
509
|
|
|
404
|
-
.layout-header {
|
|
510
|
+
.layout-header-console {
|
|
511
|
+
.down {
|
|
512
|
+
transform: rotate(0deg);
|
|
513
|
+
animation: downanimation 0.3s ease-in-out;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
@keyframes downanimation {
|
|
517
|
+
from {
|
|
518
|
+
transform: rotate(180deg);
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
to {
|
|
522
|
+
transform: rotate(0deg);
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
//---
|
|
527
|
+
.up {
|
|
528
|
+
transform: rotate(180deg);
|
|
529
|
+
animation: upanimation 0.3s ease-in-out;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
@keyframes upanimation {
|
|
533
|
+
from {
|
|
534
|
+
transform: rotate(0deg);
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
to {
|
|
538
|
+
transform: rotate(180deg);
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
|
|
405
542
|
z-index: 1;
|
|
406
543
|
height: $header-height;
|
|
407
|
-
background: linear-gradient(
|
|
408
|
-
box-shadow: inset 0px -1px 0px 0px #edeefd;
|
|
544
|
+
background: linear-gradient(223deg, #faf8ff 0%, #eeecfe 29%, #ffffff 100%);
|
|
409
545
|
border-radius: 16px;
|
|
410
546
|
border: 1px solid #ffffff;
|
|
411
547
|
position: relative;
|
|
@@ -419,39 +555,35 @@ body {
|
|
|
419
555
|
color: rgba(0, 0, 0, 0.65);
|
|
420
556
|
}
|
|
421
557
|
|
|
422
|
-
.layout-header-fill {
|
|
558
|
+
.layout-header-fill-console {
|
|
423
559
|
flex: 1;
|
|
424
560
|
}
|
|
425
561
|
|
|
426
|
-
.layout-header-actions {
|
|
562
|
+
.layout-header-actions-console {
|
|
563
|
+
cursor: pointer;
|
|
427
564
|
display: flex;
|
|
428
565
|
justify-content: flex-start;
|
|
429
566
|
align-items: center;
|
|
430
567
|
height: 100%;
|
|
431
568
|
max-width: 400px;
|
|
432
569
|
z-index: 2;
|
|
570
|
+
gap: 24px;
|
|
433
571
|
|
|
434
572
|
.actions-item {
|
|
435
|
-
height:
|
|
436
|
-
|
|
437
|
-
transition: all 0.3s;
|
|
573
|
+
line-height: 22px;
|
|
574
|
+
font-size: 14px;
|
|
438
575
|
cursor: pointer;
|
|
439
|
-
margin: 0 4px;
|
|
440
|
-
padding: 0 4px;
|
|
441
576
|
|
|
442
577
|
display: flex;
|
|
443
578
|
justify-content: center;
|
|
444
579
|
align-items: center;
|
|
445
|
-
|
|
446
|
-
&:hover {
|
|
447
|
-
background: rgba(0, 0, 0, 0.06);
|
|
448
|
-
}
|
|
449
580
|
}
|
|
450
581
|
}
|
|
451
582
|
|
|
452
|
-
.layout-header-user {
|
|
583
|
+
.layout-header-user-console {
|
|
453
584
|
height: 48px;
|
|
454
585
|
display: flex;
|
|
586
|
+
font-size: 14px;
|
|
455
587
|
justify-content: flex-start;
|
|
456
588
|
align-items: center;
|
|
457
589
|
z-index: 2;
|
|
@@ -474,14 +606,14 @@ body {
|
|
|
474
606
|
}
|
|
475
607
|
}
|
|
476
608
|
|
|
477
|
-
.layout-main {
|
|
609
|
+
.layout-main-console {
|
|
478
610
|
flex: 1;
|
|
479
611
|
height: 100%;
|
|
480
612
|
padding-left: 12px;
|
|
481
613
|
overflow: auto;
|
|
482
614
|
}
|
|
483
615
|
|
|
484
|
-
.layout-content {
|
|
616
|
+
.layout-content-console {
|
|
485
617
|
width: 100%;
|
|
486
618
|
height: calc(100vh - #{$header-height} - 12px - 24px);
|
|
487
619
|
overflow: auto;
|
|
@@ -499,25 +631,21 @@ body {
|
|
|
499
631
|
overflow: hidden;
|
|
500
632
|
}
|
|
501
633
|
|
|
502
|
-
.lists {
|
|
634
|
+
.lists-console {
|
|
503
635
|
position: absolute;
|
|
504
636
|
z-index: 1000;
|
|
505
637
|
width: 88%;
|
|
506
|
-
background: linear-gradient(
|
|
507
|
-
227deg,
|
|
508
|
-
rgba(128, 93, 245, 0.98) 0%,
|
|
509
|
-
rgba(117, 126, 246, 0.95) 100%
|
|
510
|
-
);
|
|
638
|
+
background: linear-gradient(227deg, #556ec611 0%, #556ec6aa 100%);
|
|
511
639
|
color: #fff;
|
|
512
640
|
border-radius: 16px;
|
|
513
|
-
box-shadow:
|
|
641
|
+
box-shadow:
|
|
514
642
|
0 8px 20px rgba(0, 0, 0, 0.1),
|
|
515
643
|
inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
|
516
644
|
backdrop-filter: blur(10px);
|
|
517
645
|
padding: 16px;
|
|
518
646
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
519
647
|
animation: dropDown 0.2s ease-out;
|
|
520
|
-
|
|
648
|
+
|
|
521
649
|
.ant-list-header {
|
|
522
650
|
padding: 0 0 12px;
|
|
523
651
|
font-weight: 500;
|
|
@@ -539,7 +667,7 @@ body {
|
|
|
539
667
|
align-items: center;
|
|
540
668
|
gap: 12px;
|
|
541
669
|
font-size: 14px;
|
|
542
|
-
|
|
670
|
+
|
|
543
671
|
&:hover {
|
|
544
672
|
background: rgba(255, 255, 255, 0.08);
|
|
545
673
|
transform: translateX(2px);
|
|
@@ -549,16 +677,16 @@ body {
|
|
|
549
677
|
color: rgba(255, 255, 255, 0.9);
|
|
550
678
|
font-size: 16px;
|
|
551
679
|
}
|
|
552
|
-
|
|
680
|
+
|
|
553
681
|
.search-item-content {
|
|
554
682
|
flex: 1;
|
|
555
683
|
}
|
|
556
|
-
|
|
684
|
+
|
|
557
685
|
.search-item-title {
|
|
558
686
|
font-size: 14px;
|
|
559
687
|
color: rgba(255, 255, 255, 0.95);
|
|
560
688
|
}
|
|
561
|
-
|
|
689
|
+
|
|
562
690
|
.search-item-description {
|
|
563
691
|
font-size: 12px;
|
|
564
692
|
color: rgba(255, 255, 255, 0.6);
|
|
@@ -586,17 +714,15 @@ body {
|
|
|
586
714
|
}
|
|
587
715
|
}
|
|
588
716
|
|
|
589
|
-
|
|
590
717
|
.#{$menuPrefixCls}-submenu-arrow {
|
|
591
718
|
display: inline-block;
|
|
592
719
|
position: absolute;
|
|
593
720
|
top: 52%;
|
|
594
721
|
right: 16px;
|
|
595
|
-
width:
|
|
596
|
-
height:
|
|
722
|
+
width: 16px;
|
|
723
|
+
height: 16px;
|
|
597
724
|
transform: translateY(0);
|
|
598
725
|
transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
599
|
-
|
|
600
726
|
// 当菜单收起时隐藏箭头
|
|
601
727
|
.ant-layout-sider-collapsed & {
|
|
602
728
|
display: none;
|
|
@@ -605,13 +731,12 @@ body {
|
|
|
605
731
|
&::before,
|
|
606
732
|
&::after {
|
|
607
733
|
position: absolute;
|
|
608
|
-
width:
|
|
609
|
-
height: 1.
|
|
610
|
-
|
|
734
|
+
width: 6px;
|
|
735
|
+
height: 1.25px;
|
|
736
|
+
scale: 1.25;
|
|
737
|
+
background: rgba(255, 255, 255, 0.65);
|
|
611
738
|
border-radius: 2px;
|
|
612
|
-
transition:
|
|
613
|
-
background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1),
|
|
614
|
-
transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
739
|
+
transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
615
740
|
content: '';
|
|
616
741
|
}
|
|
617
742
|
|
|
@@ -707,4 +832,3 @@ body {
|
|
|
707
832
|
}
|
|
708
833
|
}
|
|
709
834
|
}
|
|
710
|
-
|