@@ -414,22 +414,22 @@ blockquote {
414
414
}
415
415
416
416
@media (min-width : 901px ) and (max-width : 1024px ) {
417
- html . default .col-content {
417
+ html .col-content {
418
418
width : 72% ;
419
419
}
420
- html . default .col-menu {
420
+ html .col-menu {
421
421
width : 28% ;
422
422
}
423
- html . default .tsd-navigation {
423
+ html .tsd-navigation {
424
424
padding-left : 10px ;
425
425
}
426
426
}
427
427
@media (max-width : 900px ) {
428
- html . default .col-content {
428
+ html .col-content {
429
429
float : none;
430
430
width : 100% ;
431
431
}
432
- html . default .col-menu {
432
+ html .col-menu {
433
433
position : fixed !important ;
434
434
overflow : auto;
435
435
-webkit-overflow-scrolling : touch;
@@ -445,10 +445,10 @@ blockquote {
445
445
background-color : var (--color-panel );
446
446
transform : translate (100% , 0 );
447
447
}
448
- html . default .col-menu > * : last-child {
448
+ html .col-menu > * : last-child {
449
449
padding-bottom : 20px ;
450
450
}
451
- html . default .overlay {
451
+ html .overlay {
452
452
content : "" ;
453
453
display : block;
454
454
position : fixed;
@@ -460,6 +460,50 @@ blockquote {
460
460
background-color : rgba (0 , 0 , 0 , 0.75 );
461
461
visibility : hidden;
462
462
}
463
+
464
+ .to-has-menu .overlay {
465
+ animation : fade-in 0.4s ;
466
+ }
467
+
468
+ .to-has-menu : is (header , footer , .col-content ) {
469
+ animation : shift-to-left 0.4s ;
470
+ }
471
+
472
+ .to-has-menu .col-menu {
473
+ animation : pop-in-from-right 0.4s ;
474
+ }
475
+
476
+ .from-has-menu .overlay {
477
+ animation : fade-out 0.4s ;
478
+ }
479
+
480
+ .from-has-menu : is (header , footer , .col-content ) {
481
+ animation : unshift-to-left 0.4s ;
482
+ }
483
+
484
+ .from-has-menu .col-menu {
485
+ animation : pop-out-to-right 0.4s ;
486
+ }
487
+
488
+ .has-menu body {
489
+ overflow : hidden;
490
+ }
491
+ .has-menu .overlay {
492
+ visibility : visible;
493
+ }
494
+ .has-menu : is (header , footer , .col-content ) {
495
+ transform : translate (-25% , 0 );
496
+ }
497
+ .has-menu .col-menu {
498
+ visibility : visible;
499
+ transform : translate (0 , 0 );
500
+ display : grid;
501
+ grid-template-rows : auto 1fr ;
502
+ max-height : 100vh ;
503
+ }
504
+ .has-menu .tsd-navigation {
505
+ max-height : 100% ;
506
+ }
463
507
}
464
508
465
509
.tsd-page-title {
@@ -819,7 +863,6 @@ footer .tsd-legend {
819
863
.tsd-navigation .secondary {
820
864
max-height : calc (100vh - 1rem - 40px );
821
865
overflow : auto;
822
- position : -webkit-sticky;
823
866
position : sticky;
824
867
top : calc (0.5rem + 40px );
825
868
transition : 0.3s ;
0 commit comments