forked from M3-Academy/challenge-vtex-io
95 lines
1.9 KiB
CSS
95 lines
1.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 */
|
|
@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: 100%;
|
|
}
|
|
|
|
.sliderLeftArrow--shelf {
|
|
visibility: hidden;
|
|
margin-left: 10px;
|
|
}
|
|
.sliderLeftArrow--shelf::after {
|
|
visibility: visible;
|
|
content: url("https://agenciamagma.vtexassets.com/arquivos/rafaelSampaioLeftArrow.png");
|
|
}
|
|
|
|
.sliderRightArrow--shelf {
|
|
visibility: hidden;
|
|
margin-right: 8px;
|
|
}
|
|
.sliderRightArrow--shelf::before {
|
|
visibility: visible;
|
|
content: url("https://agenciamagma.vtexassets.com/arquivos/rafaelSampaioRightArrow.png");
|
|
}
|
|
|
|
@media (min-width: 1921px) {
|
|
.sliderLayoutContainer--shelf {
|
|
max-width: 1840px;
|
|
padding: 0 !important;
|
|
}
|
|
.sliderTrackContainer--shelf {
|
|
width: 100%;
|
|
max-width: 1840px;
|
|
}
|
|
.sliderLeftArrow--shelf {
|
|
margin-left: -55px;
|
|
}
|
|
.sliderRightArrow--shelf {
|
|
margin-right: -55px;
|
|
}
|
|
}
|
|
@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;
|
|
}
|
|
} |