|
2 | 2 | Name: Tani |
3 | 3 | Description: A utility-first framework with rich component library |
4 | 4 | Author: Raymond Baghumian |
5 | | - Version: 1.10.0 |
| 5 | + Version: 1.10.1 |
6 | 6 | License: MIT |
7 | 7 | */ |
8 | 8 |
|
@@ -3516,230 +3516,6 @@ p { |
3516 | 3516 | box-shadow: none; |
3517 | 3517 | } |
3518 | 3518 |
|
3519 | | -/* ====================== |
3520 | | - Carousel |
3521 | | - ====================== */ |
3522 | | -.carousel { |
3523 | | - position: relative; |
3524 | | - overflow: hidden; |
3525 | | - border-radius: var(--border-radius); |
3526 | | -} |
3527 | | - |
3528 | | -.carousel-inner { |
3529 | | - position: relative; |
3530 | | - width: 100%; |
3531 | | - overflow: hidden; |
3532 | | -} |
3533 | | - |
3534 | | -.carousel-item { |
3535 | | - position: relative; |
3536 | | - display: none; |
3537 | | - width: 100%; |
3538 | | - transition: transform 0.6s ease-in-out; |
3539 | | -} |
3540 | | - |
3541 | | -.carousel-item.active { |
3542 | | - display: block; |
3543 | | -} |
3544 | | - |
3545 | | -.carousel-item img { |
3546 | | - width: 100%; |
3547 | | - height: auto; |
3548 | | - display: block; |
3549 | | -} |
3550 | | - |
3551 | | -/* Carousel controls */ |
3552 | | -.carousel-control-prev, |
3553 | | -.carousel-control-next { |
3554 | | - position: absolute; |
3555 | | - top: 50%; |
3556 | | - transform: translateY(-50%); |
3557 | | - z-index: 1; |
3558 | | - display: flex; |
3559 | | - align-items: center; |
3560 | | - justify-content: center; |
3561 | | - width: 3rem; |
3562 | | - height: 3rem; |
3563 | | - padding: 0; |
3564 | | - color: var(--white); |
3565 | | - text-align: center; |
3566 | | - background-color: rgba(0, 0, 0, 0.5); |
3567 | | - border: 0; |
3568 | | - border-radius: 50%; |
3569 | | - opacity: 0.7; |
3570 | | - transition: opacity 0.15s ease; |
3571 | | - cursor: pointer; |
3572 | | -} |
3573 | | - |
3574 | | -.carousel-control-prev:hover, |
3575 | | -.carousel-control-next:hover { |
3576 | | - opacity: 1; |
3577 | | -} |
3578 | | - |
3579 | | -.carousel-control-prev { |
3580 | | - left: 1rem; |
3581 | | -} |
3582 | | - |
3583 | | -.carousel-control-next { |
3584 | | - right: 1rem; |
3585 | | -} |
3586 | | - |
3587 | | -.carousel-control-prev-icon, |
3588 | | -.carousel-control-next-icon { |
3589 | | - display: inline-block; |
3590 | | - width: 1.5rem; |
3591 | | - height: 1.5rem; |
3592 | | - background-repeat: no-repeat; |
3593 | | - background-position: center; |
3594 | | - background-size: 100% 100%; |
3595 | | -} |
3596 | | - |
3597 | | -.carousel-control-prev-icon { |
3598 | | - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e"); |
3599 | | -} |
3600 | | - |
3601 | | -.carousel-control-next-icon { |
3602 | | - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); |
3603 | | -} |
3604 | | - |
3605 | | -/* Carousel indicators */ |
3606 | | -.carousel-indicators { |
3607 | | - position: absolute; |
3608 | | - right: 0; |
3609 | | - bottom: 1rem; |
3610 | | - left: 0; |
3611 | | - z-index: 2; |
3612 | | - display: flex; |
3613 | | - justify-content: center; |
3614 | | - padding: 0; |
3615 | | - margin: 0; |
3616 | | - list-style: none; |
3617 | | -} |
3618 | | - |
3619 | | -.carousel-indicators button { |
3620 | | - box-sizing: content-box; |
3621 | | - flex: 0 1 auto; |
3622 | | - width: 30px; |
3623 | | - height: 3px; |
3624 | | - padding: 0; |
3625 | | - margin-right: 3px; |
3626 | | - margin-left: 3px; |
3627 | | - text-indent: -999px; |
3628 | | - cursor: pointer; |
3629 | | - background-color: var(--white); |
3630 | | - background-clip: padding-box; |
3631 | | - border: 0; |
3632 | | - border-top: 10px solid transparent; |
3633 | | - border-bottom: 10px solid transparent; |
3634 | | - opacity: 0.5; |
3635 | | - transition: opacity 0.6s ease; |
3636 | | -} |
3637 | | - |
3638 | | -.carousel-indicators button.active { |
3639 | | - opacity: 1; |
3640 | | -} |
3641 | | - |
3642 | | -/* Carousel captions */ |
3643 | | -.carousel-caption { |
3644 | | - position: absolute; |
3645 | | - right: 15%; |
3646 | | - bottom: 1.25rem; |
3647 | | - left: 15%; |
3648 | | - padding-top: 1.25rem; |
3649 | | - padding-bottom: 1.25rem; |
3650 | | - color: var(--white); |
3651 | | - text-align: center; |
3652 | | - background-color: rgba(0, 0, 0, 0.5); |
3653 | | - border-radius: var(--border-radius); |
3654 | | -} |
3655 | | - |
3656 | | -.carousel-caption h5 { |
3657 | | - margin: 0 0 0.5rem 0; |
3658 | | - font-size: 1.25rem; |
3659 | | -} |
3660 | | - |
3661 | | -.carousel-caption p { |
3662 | | - margin: 0; |
3663 | | -} |
3664 | | - |
3665 | | -/* Carousel fade effect */ |
3666 | | -.carousel-fade .carousel-item { |
3667 | | - opacity: 0; |
3668 | | - transition: opacity 0.6s ease-in-out; |
3669 | | -} |
3670 | | - |
3671 | | -.carousel-fade .carousel-item.active { |
3672 | | - opacity: 1; |
3673 | | -} |
3674 | | - |
3675 | | -/* Carousel with thumbnails */ |
3676 | | -.carousel-thumbnails { |
3677 | | - display: flex; |
3678 | | - justify-content: center; |
3679 | | - gap: 0.5rem; |
3680 | | - margin-top: 1rem; |
3681 | | - flex-wrap: wrap; |
3682 | | -} |
3683 | | - |
3684 | | -.carousel-thumbnail { |
3685 | | - width: 80px; |
3686 | | - height: 60px; |
3687 | | - cursor: pointer; |
3688 | | - border: 2px solid transparent; |
3689 | | - border-radius: var(--radius-sm); |
3690 | | - overflow: hidden; |
3691 | | - opacity: 0.6; |
3692 | | - transition: opacity 0.3s ease, border-color 0.3s ease; |
3693 | | -} |
3694 | | - |
3695 | | -.carousel-thumbnail:hover { |
3696 | | - opacity: 0.8; |
3697 | | -} |
3698 | | - |
3699 | | -.carousel-thumbnail.active { |
3700 | | - opacity: 1; |
3701 | | - border-color: var(--primary); |
3702 | | -} |
3703 | | - |
3704 | | -.carousel-thumbnail img { |
3705 | | - width: 100%; |
3706 | | - height: 100%; |
3707 | | - object-fit: cover; |
3708 | | -} |
3709 | | - |
3710 | | -/* Carousel bordered */ |
3711 | | -.carousel-bordered { |
3712 | | - border: 2px solid var(--border-color); |
3713 | | -} |
3714 | | - |
3715 | | -/* Carousel shadow */ |
3716 | | -.carousel-shadow { |
3717 | | - box-shadow: var(--shadow-lg); |
3718 | | -} |
3719 | | - |
3720 | | -/* Carousel full height */ |
3721 | | -.carousel-full-height .carousel-item { |
3722 | | - height: 500px; |
3723 | | -} |
3724 | | - |
3725 | | -.carousel-full-height .carousel-item img { |
3726 | | - height: 100%; |
3727 | | - object-fit: cover; |
3728 | | -} |
3729 | | - |
3730 | | -/* Carousel autoplay indicator */ |
3731 | | -.carousel-autoplay-indicator { |
3732 | | - position: absolute; |
3733 | | - top: 1rem; |
3734 | | - right: 1rem; |
3735 | | - z-index: 3; |
3736 | | - padding: 0.25rem 0.5rem; |
3737 | | - background-color: rgba(0, 0, 0, 0.5); |
3738 | | - color: var(--white); |
3739 | | - border-radius: var(--radius-sm); |
3740 | | - font-size: 0.75rem; |
3741 | | -} |
3742 | | - |
3743 | 3519 | /* ====================== |
3744 | 3520 | Accessibility helpers |
3745 | 3521 | ====================== */ |
|
0 commit comments