challenge-vtex-io-emmanuelv.../styles/sass/pages/product/vtex.slider-layout.scss

131 lines
2.3 KiB
SCSS
Raw Normal View History

.sliderLayoutContainer--m3-carousel-products {
@media (min-width:2000px) {
max-width: 1920px;
margin: 0 auto;
}
}
.sliderTrackContainer--m3-carousel-products {
max-width: 94.712%;
// margin: 0 auto;
margin: 0 40px;
@media (max-width:590px) {
max-width: 78.933333333333333333333333333333%;
}
}
// card
.slide--m3-carousel-products {
margin: 0 8px;
@media (min-width:1920px) {
max-width: 434.4px !important;
}
@media(max-width:1440px) {
max-width: 314.4px !important;
}
@media (max-width:1024px) {
max-width: 291.2px !important;
}
@media (max-width:375px) {
width: 124.8px !important;
}
}
// IMAGENS
:global(.vtex-product-summary-2-x-containerNormal) {
max-width: unset !important;
}
:global(.vtex-product-summary-2-x-imageNormal) {
max-height: unset !important;
border-radius: 0;
}
:global(.vtex-product-summary-2-x-imageStackContainer) {
display: flex;
}
// ARROW
.sliderLeftArrow--m3-carousel-products {
visibility: hidden;
&::after {
position: relative;
visibility: visible;
content: url("https://agenciamagma.vtexassets.com/arquivos/emmanuelvitor-arrow-left.svg");
width: 12px;
left: 16px;
@media (min-width:2000px) {
left: -8px !important;
}
@media (min-width:1025px) {
left: 0 !important;
}
@media (max-width:1024px) {
left: -8px;
bottom: 3px;
}
}
}
.sliderRightArrow--m3-carousel-products {
visibility: hidden;
&::before {
position: relative !important;
visibility: visible;
content: url("https://agenciamagma.vtexassets.com/arquivos/emmanuelvitor-arrow-right.svg");
width: 12px;
right: 16px !important;
@media (min-width:2000px) {
left: 8px !important;
}
@media (min-width:1025px) {
left: 0 !important;
}
@media (max-width:1024px) {
left: 8px !important;
bottom: 3px;
}
}
}
// DOTS
.paginationDotsContainer--m3-carousel-products {
display: flex;
align-items: center;
column-gap: 12px;
bottom: -16px;
@media (max-width:1024px) {
bottom: -24px;
}
@media (max-width:768px) {
bottom: -40px;
}
.paginationDot--m3-carousel-products {
background-color: $color-black;
}
.paginationDot--isActive {
height: 1.063rem !important;
width: 1.0635rem !important;
background: transparent;
border: 1px solid;
}
}