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

145 lines
3.1 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 (max-width: 590px) {
.sliderLayoutContainer--m3-carousel-products {
padding: 0 40px;
min-width: 296px;
}
}
.sliderTrackContainer--m3-carousel-products {
width: 100%;
padding: 0 40px;
}
@media (max-width: 590px) {
.sliderTrackContainer--m3-carousel-products {
min-width: 296px;
max-width: 100%;
margin: 0 auto;
padding: 0;
}
}
.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;
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;
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;
}
@media (max-width: 1024px) {
.paginationDotsContainer--m3-carousel-products {
bottom: -24px;
}
}
@media (max-width: 768px) {
.paginationDotsContainer--m3-carousel-products {
bottom: -40px;
}
}
.paginationDotsContainer--m3-carousel-products .paginationDot--m3-carousel-products {
background-color: #000000;
}
.paginationDotsContainer--m3-carousel-products .paginationDot--isActive {
height: 1.063rem !important;
width: 1.0635rem !important;
background: transparent;
border: 1px solid;
}