challenge-vtex-io-emmanuelv.../styles/css/vtex.slider-layout.css

132 lines
2.9 KiB
CSS

/*
0 - 600PX: Phone
600 - 900px: Table portrait
900 - 1200px: Tablet landscape
[1200 - 1800] is where our nortal styles apply
1800px + : Big desktop
*/
/* Media Query M3 */
/* Grid breakpoints */
@media (min-width: 2000px) {
.sliderLayoutContainer--m3-carousel-products {
max-width: 1920px;
margin: 0 auto;
}
}
.sliderTrackContainer--m3-carousel-products {
max-width: 94.712%;
margin: 0 auto;
}
@media (max-width: 590px) {
.sliderTrackContainer--m3-carousel-products {
max-width: 78.9333333333%;
}
}
.slide--m3-carousel-products {
margin: 0 8px;
}
@media (min-width: 1920px) {
.slide--m3-carousel-products {
max-width: 434.4px !important;
}
}
@media (max-width: 1440px) {
.slide--m3-carousel-products {
max-width: 314.4px !important;
}
}
@media (max-width: 1024px) {
.slide--m3-carousel-products {
max-width: 291.2px !important;
}
}
@media (max-width: 375px) {
.slide--m3-carousel-products {
width: 124.8px !important;
}
}
: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;
}
.sliderLeftArrow--m3-carousel-products {
visibility: hidden;
}
.sliderLeftArrow--m3-carousel-products::after {
position: relative !important;
visibility: visible;
content: url("https://agenciamagma.vtexassets.com/arquivos/emmanuelvitor-arrow-left.svg");
width: 12px;
left: 16px;
}
@media (min-width: 2000px) {
.sliderLeftArrow--m3-carousel-products::after {
left: -8px !important;
}
}
@media (min-width: 1025px) {
.sliderLeftArrow--m3-carousel-products::after {
left: 0 !important;
}
}
@media (max-width: 1024px) {
.sliderLeftArrow--m3-carousel-products::after {
left: -8px !important;
bottom: 3px;
}
}
.sliderRightArrow--m3-carousel-products {
visibility: hidden;
}
.sliderRightArrow--m3-carousel-products::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) {
.sliderRightArrow--m3-carousel-products::before {
left: 8px !important;
}
}
@media (min-width: 1025px) {
.sliderRightArrow--m3-carousel-products::before {
left: 0 !important;
}
}
@media (max-width: 1024px) {
.sliderRightArrow--m3-carousel-products::before {
left: 8px !important;
bottom: 3px;
}
}
.paginationDotsContainer--m3-carousel-products {
display: flex;
align-items: center;
column-gap: 12px;
bottom: -16px;
}
.paginationDotsContainer--m3-carousel-products .paginationDot--m3-carousel-products {
background-color: #000;
}
.paginationDotsContainer--m3-carousel-products .paginationDot--isActive {
height: 1.063rem !important;
width: 1.0635rem !important;
background: transparent;
border: 1px solid;
}