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

238 lines
8.1 KiB
SCSS
Raw Normal View History

//Slider
.sliderLayoutContainer--carousel {
background: unset;
width: 94.435%;
margin: 0 auto 113px;
@media (max-width: 2561px) and (min-width: 1920px) {
width: 71.858%;
min-height: 543.4px;
}
@media (max-width: 1025px) and (min-width: 768px) {
width: 92.166%;
margin: 0 auto 105px;
min-height: 383.2px;
}
@media (max-width: 768px) and (min-width: 375px) {
width: 78.616%;
margin: 0 auto 32px;
}
.sliderTrackContainer {
width: 96%;
margin: 0 auto;
@media (max-width: 2561px) and (min-width: 1920px) {
width: 97.012%;
}
@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: 2561px) and (min-width: 1920px) {
width: 5.4036% !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: 2561px) and (min-width: 1920px) {
min-height: 543.4px;
}
@media (max-width: 1025px) and (min-width: 768px) {
min-height: 383.2px;
}
@media (max-width: 768px) and (min-width: 375px) {
min-height: 254.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: $black;
display: inline-block;
vertical-align: text-top;
padding: 0 16px;
min-height: 19px;
@media (max-width: 1025px) and (min-width: 768px) {
font-size: 14px;
line-height: 19px;
padding: 0 8px;
}
@media (max-width: 768px) and (min-width: 375px) {
padding: 0 8px;
font-size: 14px;
line-height: 19px;
}
}
}
}
:global(.vtex-product-summary-2-x-imageContainer) {
width: 100%;
height: 314.4px;
@media (max-width: 2561px) and (min-width: 1920px) {
height: 434.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;
@media (max-width: 2561px) and (min-width: 1920px) {
height: 60px;
}
@media (max-width: 1025px) and (min-width: 768px) {
height: 49px;
}
@media (max-width: 768px) and (min-width: 375px) {
height: 49px;
}
:global(.vtex-store-components-3-x-listPrice) {
padding: 0;
text-align: center;
:global(.vtex-store-components-3-x-listPriceLabel) {
display: none;
}
:global(.vtex-store-components-3-x-listPriceValue) {
padding: 0;
:global(.vtex-product-summary-2-x-currencyContainer) {
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-decoration-line: line-through;
color: $BABABA;
@media (max-width: 1025px) and (min-width: 768px) {
font-size: 12px;
line-height: 16px;
}
@media (max-width: 768px) and (min-width: 375px) {
font-size: 12px;
line-height: 16px;
}
&::before {
content: "de ";
}
&::after {
content: " por";
}
}
}
}
: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: $black;
@media (max-width: 1025px) and (min-width: 768px) {
font-size: 18px;
line-height: 25px;
}
@media (max-width: 768px) and (min-width: 375px) {
font-size: 18px;
line-height: 25px
}
}
}
}
}
}
}
}
}
}
}
}
.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: "";
background: 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: $black;
width: 10px !important;
height: 10px !important;
}
.paginationDot--isActive {
background-color: $white;
border: 0.5px solid $black;
width: 17px !important;
height: 17px !important;
}
}
}