challenge-vtex-io-rafael-sa.../styles/css/vtex.slider-layout.css

79 lines
1.6 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 */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap%27");
/* Grid breakpoints */
.paginationDotsContainer--shelf {
display: flex;
justify-content: center;
align-items: center;
}
.paginationDot--shelf {
background: #000000;
width: 10px !important;
height: 10px !important;
}
.paginationDot--shelf--isActive {
width: 17px !important;
height: 17px !important;
border: 0.5px solid #000000;
background: transparent;
}
.sliderTrack--shelf {
display: flex;
gap: 16px;
}
.sliderLayoutContainer--shelf {
padding-left: 40px !important;
padding-right: 40px !important;
display: flex;
justify-content: center;
}
.sliderTrackContainer--shelf {
width: 95.883%;
}
.sliderLeftArrow--shelf {
visibility: hidden;
margin-left: 17px;
}
.sliderLeftArrow--shelf::after {
visibility: visible;
content: url("https://agenciamagma.vtexassets.com/arquivos/rafaelSampaioLeftArrow.png");
}
.sliderRightArrow--shelf {
visibility: hidden;
margin-right: 17px;
}
.sliderRightArrow--shelf::before {
visibility: visible;
content: url("https://agenciamagma.vtexassets.com/arquivos/rafaelSampaioRightArrow.png");
}
@media (max-width: 1024px) {
.sliderTrack--shelf {
gap: 12px !important;
}
}
@media (min-width: 375px) and (max-width: 755px) {
.sliderLeftArrow--shelf {
margin-left: 0;
}
.sliderRightArrow--shelf {
margin-right: 0;
}
.sliderTrack--shelf {
gap: 8px !important;
}
}