Template_test / styles /swiperOnButton.css
itramb's picture
Upload 57 files
50e8e86 verified
.swiper-on-button__container {
display: flex;
justify-content: center;
flex-direction: column;
text-align: center;
}
.swiper-buttons {
display: flex;
padding: 30px 0;
}
.swiper-button {
align-items: center;
text-align: center;
font-size: 16px;
font-weight: 500;
width: 140px;
height: 40px;
margin: 10px;
border-radius: 30px;
color: black;
border: none;
cursor: pointer;
transition: all 0.3s ease;
}
.swiper-button:hover {
transform: scale(1.05);
color: white;
background-color: #35d0be;
}
.swiper-button.active {
color: white;
background-color: #2fbead;
transform: scale(1.1);
}
.my-swiper-on-button {
height: 400px !important;
}
.swiper {
border: 1px solid #ececec;
border-radius: 15px;
color: white;
width: 100%;
height: 315px;
}
.swiper-slide {
text-align: center;
font-size: 18px;
display: flex;
justify-content: center;
object-fit: cover;
align-items: center;
}
.myChart-slide {
height: 100% !important;
width: auto !important;
margin: 0 auto;
padding: 20px;
transition: all 0.3s ease;
}
@media (max-width: 800px) {
.swiper-on-button__container {
width: 90vw;
margin-left: auto;
margin-right: auto;
}
.myChart-slide {
padding: 5px;
}
.my-swiper-on-button {
width: 100% !important;
height: 45vw !important;
}
.swiper-buttons {
padding: 5px 0;
}
.swiper-button {
width: 25vw;
height: 5vw;
font-size: 12px;
}
}
@media (max-width: 600px) {
.swiper-button {
width: 30vw;
height: 7vw;
font-size: 12px;
margin: 5px;
}
}
@media (max-width: 400px) {
.swiper-button {
width: 30vw;
height: 10vw;
font-size: 12px;
}
}