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

174 lines
5.5 KiB
SCSS

//Slider
.sliderLayoutContainer--carousel {
background: unset;
min-height: 448.4px;
width: 94.435%;
margin: 0 auto 64px;
@media (max-width: 1025px) and (min-width: 768px) {
width: 92.166%;
}
@media (max-width: 768px) and (min-width: 375px) {
width: 78.616%;
margin: 0 auto 32px;
min-height: 273.8px;
}
.sliderTrackContainer {
width: 96%;
margin: 0 auto;
@media (max-width: 1025px) and (min-width: 768px) {
width: 95.085%;
}
@media (max-width: 768px) and (min-width: 375px) {
width: 87.03%;
}
.sliderTrack {
.slide--carousel {
width: 5.3515% !important;
@media (max-width: 1025px) and (min-width: 768px) {
width: 6.0831% !important;
}
@media (max-width: 768px) and (min-width: 375px) {
width: 6.921% !important;
}
.slideChildrenContainer--carousel {
width: 100%;
:global(.vtex-product-summary-2-x-containerNormal) {
max-width: 100% !important;
border-radius: 0;
:global(.vtex-product-summary-2-x-clearLink) {
min-height: 448.4px;
@media (max-width: 1025px) and (min-width: 768px) {
min-height: 402.2px;
}
@media (max-width: 768px) and (min-width: 375px) {
min-height: 273.8px;
}
:global(.vtex-product-summary-2-x-element) {
padding: 0;
:global(.vtex-product-summary-2-x-nameContainer) {
padding: 16px 0 8px;
display: flex;
justify-content: center;
:global(.vtex-product-summary-2-x-productNameContainer) {
:global(.vtex-product-summary-2-x-productBrand) {
font-weight: 400;
font-size: 18px;
line-height: 25px;
text-align: center;
color: #000000;
display: inline-block;
vertical-align: text-top;
min-height: 50px;
}
}
}
:global(.vtex-product-summary-2-x-imageContainer) {
width: 100%;
height: 314.4px;
@media (max-width: 1025px) and (min-width: 768px) {
height: 291.2px;
}
@media (max-width: 768px) and (min-width: 375px) {
height: 124.8px;
}
:global(.vtex-product-summary-2-x-imageContainer) {
:global(.vtex-product-summary-2-x-imageNormal) {
border-radius: 0;
@media (max-width: 1920px) and (min-width: 1024px) {
min-width: 100%;
}
}
}
}
:global(.vtex-product-summary-2-x-priceContainer) {
padding: 0;
:global(.vtex-store-components-3-x-priceContainer) {
row-gap: 8px;
:global(.vtex-store-components-3-x-listPrice) {
padding: 0;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: center;
text-decoration-line: line-through;
color: #bababa;
:global(.vtex-store-components-3-x-listPriceLabel) {
text-transform: lowercase;
}
}
:global(.vtex-store-components-3-x-sellingPrice) {
padding: 0;
display: flex;
justify-content: center;
:global(.vtex-store-components-3-x-sellingPriceLabel) {
display: none;
}
:global(.vtex-store-components-3-x-sellingPrice) {
font-weight: 700;
font-size: 24px;
line-height: 33px;
text-align: center;
color: #000000;
}
}
}
}
}
}
}
}
}
}
}
.sliderArrows {
padding: 0;
margin: 0;
}
.sliderLeftArrow {
visibility: hidden;
width: 11.2px;
height: 29.6px;
}
.sliderLeftArrow::before {
content: "";
background: url("https://agenciamagma.vteximg.com.br/arquivos/sliderLeftArrow-m3academy-anacarolinaduartecavalcante.svg");
visibility: visible;
width: 11.2px;
height: 29.6px;
left: 0;
position: absolute;
}
.sliderRightArrow {
visibility: hidden;
width: 11.2px;
height: 29.6px;
}
.sliderRightArrow::before {
content: url(https://agenciamagma.vteximg.com.br/arquivos/sliderRightArrow-m3academy-anacarolinaduartecavalcante.svg);
visibility: visible;
width: 11.2px;
height: 29.6px;
right: 0;
position: absolute;
}
.paginationDotsContainer {
display: flex;
align-items: center;
bottom: -32px;
.paginationDot {
background-color: #000000;
width: 10px !important;
height: 10px !important;
}
.paginationDot--isActive {
background-color: #ffffff;
border: 0.5px solid #000000;
width: 17px !important;
height: 17px !important;
}
}
}