dashersupply/src/components/carousel-swiper.css

127 lines
3.2 KiB
CSS

/* :root {
} */
/* .swiper-scrollbar.swiper-scrollbar-horizontal {
bottom: 0;
height: 40px;
}
.swiper-scrollbar-drag {
background: none;
}
.swiper-scrollbar-drag:after {
content: "";
background: rgba(210, 20, 4, 0.5);
position: absolute;
top: 0;
left: 50%;
margin: 0 0 0 -20px;
} */
.swiper-scrollbar {
/* background: #23262D; */
/* width: 40px;
height: 40px;
border-radius: 50%; */
--swiper-scrollbar-bg-color: rgba(35, 38, 45, 0.5);
mix-blend-mode: hard-light;
}
.swiper-scrollbar-drag {
background: rgba(210, 20, 4, 1);
}
.carousel-swiper {
border-radius: 7px;
--swiper-navigation-color: rgba(225, 20, 4, 0.8);
background-color: #fff;
/* background-color: coral; */
}
.carousel-swiper .swiper-wrapper {
align-items: center !important;
}
.carousel-swiper .swiper-slide {
align-self: center !important;
}
.carousel-swiper .swiper-wrapper::selection, .carousel-swiper .overlay::selection, .carousel-swiper .swiper-slide::selection, .carousel-swiper .carousel-img::selection {
background-color: transparent;
color: transparent;
}
.carousel-swiper .overlay {
z-index: -1000;
position: absolute;
height: 100vmax;
width: 100%;
/* background-color: yellow; */
}
.carousel-swiper .carousel-img {
width: 100%;
object-fit: cover;
justify-items: center;
align-items: center;
vertical-align: middle;
}
.carousel-swiper .swiper-pagination-bullet {
/* background-color: rgba(210, 20, 4, 0.8); */
background-color: rgba(35, 38, 45, 0.8);
/* filter: invert(1); */
mix-blend-mode: hard-light;
height: 0.7em;
width: 0.7em;
vertical-align: middle;
}
.carousel-swiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
background-color: rgba(225, 20, 4, 0.8);
mix-blend-mode: hard-light;
padding: 0.75rem;
}
.carousel-swiper .swiper-button-next, .carousel-swiper .swiper-button-prev {
mix-blend-mode: hard-light;
}
/* .carousel-swiper .swiper-button-next {
margin: 0;
}
.carousel-swiper .swiper-button-next {
position: absolute;
right: 0;
top: 0;
bottom: 0;
width: 3rem;
text-align: center;
} */
/* .carousel-swiper .swiper-button-next::after, .carousel-swiper .swiper-button-prev::after {
position: absolute;
left: 0%;
top: 0;
bottom: 0;
height: 10vmax;
width: 100%;
padding: 0;
margin: 0;
background: transparent;
background-color: #23262d;
}
.carousel-swiper .swiper-button-next:is(:hover, :focus-within)::before, .carousel-swiper .swiper-button-prev:is(:hover, :focus-within)::before,
.carousel-swiper .swiper-button-next:is(:hover, :focus-within)::after, .carousel-swiper .swiper-button-prev:is(:hover, :focus-within)::after {
background-color: #23262d;
background-image: none;
background-size: 400%;
background-position: 100%;
transition: background-position 0.6s cubic-bezier(0.22, 1, 0.36, 1);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
background-position: 0;
background-image: var(--accent-gradient);
background-size: 400%;
transition: background-position 0.6s cubic-bezier(0.22, 1, 0.36, 1);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
filter: invert(1);
mix-blend-mode: hue;
}
*/