challenge-vtex-io-caina/styles/sass/pages/product/vtex.slider-layout.scss

97 lines
1.9 KiB
SCSS

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