|
490 | 490 | background: rgba(0, 114, 206, 0.55); |
491 | 491 | } |
492 | 492 |
|
493 | | -.mds-horizontal-scroll { |
494 | | - position: sticky; |
495 | | - bottom: 1.25rem; |
496 | | - z-index: 60; |
497 | | - width: 100%; |
498 | | - max-width: 100%; |
499 | | - overflow-x: auto; |
500 | | - overflow-y: hidden; |
501 | | - border-radius: 999px; |
502 | | - border: 1px solid rgba(0, 114, 206, 0.18); |
503 | | - background: rgba(243, 247, 251, 0.94); |
504 | | - box-shadow: 0 14px 34px rgba(15, 39, 64, 0.14); |
505 | | - --mds-floating-scrollbar-thickness: 20px; |
506 | | - min-height: var(--mds-floating-scrollbar-thickness); |
507 | | - height: var(--mds-floating-scrollbar-thickness); |
508 | | - box-sizing: border-box; |
509 | | - padding: 0 6px; |
510 | | - scrollbar-width: auto; |
511 | | - scrollbar-color: rgba(0, 114, 206, 0.45) rgba(243, 247, 251, 0.7); |
512 | | - opacity: 0; |
513 | | - pointer-events: none; |
514 | | - transition: opacity 0.2s ease, box-shadow 0.2s ease; |
515 | | -} |
516 | | - |
517 | | -.mds-horizontal-scroll.is-floating { |
518 | | - position: fixed; |
519 | | - left: 0; |
520 | | - right: auto; |
521 | | - width: auto; |
522 | | - max-width: none; |
523 | | -} |
524 | | - |
525 | | -.mds-horizontal-scroll.is-ready { |
526 | | - opacity: 1; |
527 | | - pointer-events: auto; |
528 | | -} |
529 | | - |
530 | | -.mds-horizontal-scroll.is-overflowing { |
531 | | - box-shadow: 0 16px 40px rgba(15, 39, 64, 0.18); |
532 | | -} |
533 | | - |
534 | | -.mds-horizontal-scroll::-webkit-scrollbar { |
535 | | - height: var(--mds-floating-scrollbar-thickness); |
536 | | -} |
537 | | - |
538 | | -.mds-horizontal-scroll::-webkit-scrollbar-track { |
539 | | - background: rgba(243, 247, 251, 0.86); |
540 | | - border-radius: 999px; |
541 | | -} |
542 | | - |
543 | | -.mds-horizontal-scroll::-webkit-scrollbar-thumb { |
544 | | - background: rgba(0, 114, 206, 0.45); |
545 | | - border-radius: 999px; |
546 | | -} |
547 | | - |
548 | | -.mds-horizontal-scroll::-webkit-scrollbar-thumb:hover { |
549 | | - background: rgba(0, 114, 206, 0.6); |
550 | | -} |
551 | | - |
552 | | -.mds-horizontal-scroll__content { |
553 | | - height: 100%; |
554 | | - min-height: 100%; |
555 | | -} |
556 | | - |
557 | | - |
558 | 493 | .mds-scroll-top { |
559 | 494 | position: fixed; |
560 | 495 | top: 0.75rem; |
|
0 commit comments