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

95 lines
1.9 KiB
CSS
Raw Normal View History

2023-01-30 19:05:21 +00:00
/*
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;
2023-01-30 19:05:21 +00:00
align-items: center;
}
2023-01-30 19:05:21 +00:00
.paginationDot--shelf {
2023-01-31 18:58:34 +00:00
background: #000000;
2023-01-30 19:05:21 +00:00
width: 10px !important;
height: 10px !important;
}
2023-01-30 19:05:21 +00:00
.paginationDot--shelf--isActive {
width: 17px !important;
height: 17px !important;
2023-01-31 18:58:34 +00:00
border: 0.5px solid #000000;
2023-01-30 19:05:21 +00:00
background: transparent;
2023-01-31 18:58:34 +00:00
}
2023-02-02 18:43:33 +00:00
.sliderTrack--shelf {
display: flex;
gap: 16px;
}
2023-02-01 13:52:02 +00:00
.sliderLayoutContainer--shelf {
padding-left: 40px !important;
padding-right: 40px !important;
display: flex;
justify-content: center;
}
.sliderTrackContainer--shelf {
width: 100%;
2023-02-01 13:52:02 +00:00
}
2023-01-31 18:58:34 +00:00
.sliderLeftArrow--shelf {
visibility: hidden;
margin-left: 10px;
2023-01-31 18:58:34 +00:00
}
.sliderLeftArrow--shelf::after {
visibility: visible;
content: url("https://agenciamagma.vtexassets.com/arquivos/rafaelSampaioLeftArrow.png");
}
.sliderRightArrow--shelf {
visibility: hidden;
margin-right: 8px;
2023-01-31 18:58:34 +00:00
}
.sliderRightArrow--shelf::before {
visibility: visible;
content: url("https://agenciamagma.vtexassets.com/arquivos/rafaelSampaioRightArrow.png");
2023-02-02 18:43:33 +00:00
}
2023-02-03 11:21:49 +00:00
@media (min-width: 1921px) {
.sliderLayoutContainer--shelf {
max-width: 1840px;
padding: 0 !important;
2023-02-03 11:21:49 +00:00
}
.sliderTrackContainer--shelf {
width: 100%;
max-width: 1840px;
}
.sliderLeftArrow--shelf {
margin-left: -55px;
}
.sliderRightArrow--shelf {
margin-right: -55px;
}
2023-02-03 11:21:49 +00:00
}
2023-02-02 18:43:33 +00:00
@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;
}
2023-01-30 19:05:21 +00:00
}