Files
gsap-carousel/src/widgets/TimeFrameSlider/ui/EventsCarousel/EventsCarousel.module.scss
2025-11-24 12:22:02 +03:00

51 lines
719 B
SCSS

.container {
position: relative;
opacity: 0;
}
.prevButtonWrapper {
position: absolute;
top: 50%;
left: -60px;
z-index: 10;
transform: translateY(-50%);
transition: opacity 0.3s ease;
}
.nextButtonWrapper {
position: absolute;
top: 50%;
right: -60px;
z-index: 10;
transform: translateY(-50%) rotate(180deg);
transition: opacity 0.3s ease;
}
.hidden {
opacity: 0;
pointer-events: none;
}
:global(.swiper) {
@container timeframe-slider (width <= 768px) {
padding: 0 40px;
}
}
:global(.swiper-slide-visible) {
transition: opacity 0.3s ease;
@container timeframe-slider (width < 768px) {
opacity: 0.4;
}
}
:global(.swiper-slide-fully-visible) {
opacity: 1;
}