123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224 |
- :root {
- --vc-clr-primary: #000;
- --vc-clr-secondary: #090f207f;
- --vc-clr-white: #ffffff;
- }
- :root {
- --vc-trk-height: auto;
- }
- .carousel {
- position: relative;
- text-align: center;
- box-sizing: border-box;
- touch-action: pan-y;
- overscroll-behavior: none;
- }
- .carousel.is-dragging {
- touch-action: none;
- }
- .carousel * {
- box-sizing: border-box;
- }
- .carousel__track {
- display: flex;
- padding: 0 !important;
- margin: 0 !important;
- position: relative;
- height: var(--vc-trk-height);
- }
- .carousel__viewport {
- overflow: hidden;
- }
- .carousel__sr-only {
- position: absolute;
- width: 1px;
- height: 1px;
- padding: 0;
- margin: -1px;
- overflow: hidden;
- clip: rect(0, 0, 0, 0);
- border: 0;
- }
- .carousel.is-ttb {
- .carousel__track {
- flex-direction: column;
- }
- }
- .carousel.is-btt {
- .carousel__track {
- flex-direction: column-reverse;
- }
- }
- :root {
- --vc-icn-width: 1.2em;
- }
- .carousel__icon {
- width: var(--vc-icn-width);
- height: var(--vc-icn-width);
- fill: currentColor;
- }
- :root {
- --vc-nav-width: 30px;
- --vc-nav-height: 30px;
- --vc-nav-border-radius: 0;
- --vc-nav-color: var(--vc-clr-primary);
- --vc-nav-color-hover: var(--vc-clr-secondary);
- --vc-nav-background: transparent;
- }
- .carousel__prev,
- .carousel__next {
- box-sizing: content-box;
- background: var(--vc-nav-background);
- border-radius: var(--vc-nav-border-radius);
- width: var(--vc-nav-width);
- height: var(--vc-nav-height);
- text-align: center;
- font-size: var(--vc-nav-height);
- padding: 0;
- color: var(--vc-nav-color);
- display: flex;
- justify-content: center;
- align-items: center;
- position: absolute;
- border: 0;
- cursor: pointer;
- margin: 0 10px;
- top: 50%;
- transform: translateY(-50%);
- }
- .carousel__next--disabled,
- .carousel__prev--disabled {
- cursor: not-allowed;
- opacity: 0.5;
- }
- .carousel__prev {
- left: 0;
- }
- .carousel__next {
- right: 0;
- }
- .carousel.is-rtl {
- .carousel__prev {
- left: auto;
- right: 0;
- }
- .carousel__next {
- right: auto;
- left: 0;
- }
- }
- .carousel.is-vertical {
- .carousel__prev,
- .carousel__next {
- left: auto;
- top: auto;
- right: 0;
- transform: translateY(0);
- }
- }
- .carousel.is-btt {
- .carousel__prev {
- bottom: 0;
- }
- .carousel__next {
- top: 0;
- }
- }
- .carousel.is-ttb {
- .carousel__prev {
- top: 0;
- }
- .carousel__next {
- bottom: 0;
- }
- }
- @media (hover: hover) {
- .carousel__prev:hover,
- .carousel__next:hover {
- color: var(--vc-nav-color-hover);
- }
- }
- :root {
- --vc-pgn-width: 12px;
- --vc-pgn-height: 4px;
- --vc-pgn-margin: 4px;
- --vc-pgn-border-radius: 0;
- --vc-pgn-background-color: var(--vc-clr-secondary);
- --vc-pgn-active-color: var(--vc-clr-primary);
- }
- .carousel__pagination {
- display: flex;
- justify-content: center;
- list-style: none !important;
- line-height: 0;
- padding: 0 !important;
- margin: 0 !important;
- position: absolute;
- bottom: 5px;
- left: 50%;
- transform: translateX(-50%);
- }
- .carousel__pagination-button {
- display: block;
- border: 0;
- margin: 0;
- cursor: pointer;
- padding: var(--vc-pgn-margin);
- background: transparent;
- }
- .carousel__pagination-button::after {
- display: block;
- content: '';
- width: var(--vc-pgn-width);
- height: var(--vc-pgn-height);
- border-radius: var(--vc-pgn-border-radius);
- background-color: var(--vc-pgn-background-color);
- }
- .carousel__pagination-button--active::after {
- background-color: var(--vc-pgn-active-color);
- }
- @media (hover: hover) {
- .carousel__pagination-button:hover::after {
- background-color: var(--vc-pgn-active-color);
- }
- }
- .carousel__slide {
- flex-shrink: 0;
- margin: 0;
- display: flex;
- justify-content: center;
- align-items: center;
- /* Fix iOS scrolling #22 */
- transform: translateZ(0);
- }
|