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

112 lines
2.8 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");
/* Grid breakpoints */
.sliderLayoutContainer--prateleira {
padding-left: 40px;
padding-right: 40px;
justify-content: center;
}
@media screen and (min-width: 1921px) {
.sliderLayoutContainer--prateleira {
padding-left: 360px;
padding-right: 360px;
}
}
.sliderLayoutContainer--prateleira .sliderTrackContainer--prateleira {
width: 96.91521%;
}
@media screen and (min-width: 1921px) {
.sliderLayoutContainer--prateleira .sliderTrackContainer--prateleira {
width: 97.72%;
}
}
@media screen and (max-width: 1024px) {
.sliderLayoutContainer--prateleira .sliderTrackContainer--prateleira {
width: 96.12%;
}
}
@media screen and (max-width: 768px) {
.sliderLayoutContainer--prateleira .sliderTrackContainer--prateleira {
width: 89.34%;
}
}
.sliderTrack--prateleira {
gap: 16px;
margin-bottom: 32px;
}
@media screen and (max-width: 1024px) {
.sliderTrack--prateleira {
gap: 12px;
}
}
@media screen and (max-width: 768px) {
.sliderTrack--prateleira {
gap: 8px;
}
}
.paginationDotsContainer--prateleira {
align-items: center;
}
.paginationDotsContainer--prateleira .paginationDot--prateleira {
background-color: #000000;
margin-left: 6px;
margin-right: 6px;
}
.paginationDotsContainer--prateleira .paginationDot--prateleira--isActive {
background-color: #fff;
border: 0.5px solid #000000;
width: 17px !important;
height: 17px !important;
}
.sliderArrows--prateleira {
margin: 30px;
}
@media screen and (min-width: 1921px) {
.sliderArrows--prateleira {
margin: 350px;
}
}
@media screen and (max-width: 1024px) {
.sliderArrows--prateleira {
margin: 30px;
}
}
@media screen and (max-width: 768px) {
.sliderArrows--prateleira {
margin: 34px;
}
}
.sliderLayoutContainer .sliderRightArrow--prateleira {
visibility: hidden;
}
.sliderLayoutContainer .sliderRightArrow--prateleira::after {
visibility: visible;
content: url(https://agenciamagma.vtexassets.com/arquivos/arrow-right-caina.png);
}
.sliderLayoutContainer .sliderLeftArrow--prateleira {
visibility: hidden;
}
.sliderLayoutContainer .sliderLeftArrow--prateleira::before {
visibility: visible;
content: url(https://agenciamagma.vtexassets.com/arquivos/arrow-left-caina.png);
}
.sliderLayoutContainer :global(.vtex-product-summary-2-x-containerNormal) {
max-width: unset !important;
}
.sliderLayoutContainer :global(.vtex-product-summary-2-x-imageNormal) {
max-height: unset !important;
}
.sliderLayoutContainer :global(.vtex-product-summary-2-x-imageStackContainer) {
display: flex;
}