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

193 lines
5.8 KiB
SCSS

.sliderLayoutContainer {
padding: 0 40px 32px;
margin: 0 auto 32px;
max-width: 96rem;
.sliderLeftArrow {
left: 36px;
margin: 0;
padding: 0;
@media (max-width: 500px) {
left: 33px;
}
@media (max-width: 374px) {
left: 24px;
}
}
.sliderRightArrow {
right: 36px;
margin: 0;
padding: 0;
@media (max-width: 500px) {
right: 33px;
}
@media (max-width: 374px) {
right: 24px;
}
}
.sliderTrackContainer {
margin: 0 auto;
width: 94%;
.sliderTrack {
gap: 2px;
@media (min-width: 300px) {
gap: 8px;
}
@media (min-width: 500px) {
gap: 16px;
}
.slide {
.slideChildrenContainer {
:global(.vtex-product-summary-2-x-container) {
margin: 0;
:global(.vtex-product-summary-2-x-element) {
padding: 0;
:global(.vtex-product-summary-2-x-imageContainer) {
display: flex;
:global(.vtex-store-components-3-x-discountContainer) {
:global(.vtex-store-components-3-x-discountInsideContainer) {
display: none;
}
:global(.vtex-product-summary-2-x-imageContainer) {
:global(.vtex-product-summary-2-x-imageNormal) {
width: 100%;
min-height: 94px;
height: 100%;
}
}
}
}
:global(.vtex-product-summary-2-x-nameContainer) {
display: flex;
padding: 0;
justify-content: center;
:global(.vtex-product-summary-2-x-productBrand) {
display: flex;
max-width: 282.4px;
height: 132px;
align-items: center;
font-family: 'Open Sans', sans-serif;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
text-align: center;
color: #000;
@media (min-width: 500px) {
height: 50px;
}
@media (max-width: 300px) {
font-size: 16px;
}
}
}
:global(.vtex-product-price-1-x-listPrice) {
display: flex;
justify-content: center;
align-items: center;
margin: 0;
@media (max-width: 374px) {
height: 38px;
}
:global(.vtex-product-price-1-x-listPriceValue) {
font-family: 'Open Sans', sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: center;
color: #bababa;
padding: 0;
}
:global(.vtex-product-price-1-x-currencyContainer) {
position: relative;
font-family: 'Open Sans', sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: center;
color: #bababa;
padding: 0;
&::before {
content: '';
position: absolute;
background: #bababa;
height: 1px;
width: 8px;
bottom: 7px;
left: -8px;
}
&::after {
content: '';
position: absolute;
background: #bababa;
height: 1px;
width: 8px;
bottom: 7px;
}
}
}
:global(.vtex-product-price-1-x-listPriceValue)::before {
content: 'de';
font-family: 'Open Sans', sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: center;
color: #bababa;
padding-right: 8px;
}
:global(.vtex-product-price-1-x-listPriceValue)::after {
content: 'por';
font-family: 'Open Sans', sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: center;
color: #bababa;
padding-left: 8px;
}
:global(.vtex-product-price-1-x-sellingPrice) {
display: flex;
padding: 0;
justify-content: center;
:global(.vtex-product-price-1-x-sellingPriceValue) {
font-family: 'Open Sans', sans-serif;
font-style: normal;
font-weight: 700;
font-size: 24px;
line-height: 33px;
text-align: center;
color: #000;
@media (max-width: 349px) {
font-size: 18px;
}
}
}
}
}
}
}
}
}
.paginationDotsContainer {
align-items: center;
.paginationDot {
width: 10px;
height: 10px;
background-color: #000;
}
.paginationDot--isActive {
background-color: #fff;
width: 17px !important;
height: 17px !important;
border: 0.5px solid #000;
}
}
}