challenge-vtex-io-josecarlo.../styles/sass/pages/product/vtex.product-summary.scss

192 lines
3.9 KiB
SCSS

.containerNormal--container-product-summary-related-products-pdp{
max-width: 100% !important;
.element--container-product-summary-related-products-pdp{
padding: 0;
.imageStackContainer{
display: flex;
.imageNormal{
max-height: 100% !important;
}
}
.nameContainer{
padding: 16px 0 8px 0;
.productBrand{
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #000000;
}
}
.priceContainer{
padding: 0;
.listPriceLabel{
display: none;
}
.listPriceContainer{
padding: 0;
}
.listPrice{
&::before{
content: "de ";
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: center;
text-decoration-line: line-through;
color: #BABABA;
}
&::after{
content: " por";
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: center;
text-decoration-line: line-through;
color: #BABABA;
}
.currencyContainer{
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: center;
text-decoration-line: line-through;
color: #BABABA;
}
}
.sellingPriceContainer{
padding: 0;
margin-top: 8px;
.sellingPriceLabel{
display: none;
}
.currencyContainer{
font-weight: 700;
font-size: 24px;
line-height: 33px;
color: #000000;
}
}
.installmentContainer{
display: none;
}
}
}
:global(.vtex-product-price-1-x-listPrice){
display: flex;
align-items: center;
justify-content: center;
:global(.vtex-product-price-1-x-listPriceValue){
text-decoration: none;
padding: 8px 0;
&::before{
content: "de ";
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: center;
text-decoration-line: line-through;
color: #BABABA;
}
&::after{
content: " por";
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: center;
text-decoration-line: line-through;
color: #BABABA;
}
}
:global(.vtex-product-price-1-x-currencyContainer){
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: center;
text-decoration-line: line-through;
color: #BABABA;
}
}
}
@media screen and (max-width: 1024px) {
.containerNormal--container-product-summary-related-products-pdp{
.element--container-product-summary-related-products-pdp{
.nameContainer{
.productBrand{
font-size: 14px;
line-height: 19px;
}
}
.priceContainer{
.listPrice{
&::before{
font-size: 12px;
line-height: 16px;
}
&::after{
font-size: 12px;
line-height: 16px;
}
.currencyContainer{
font-size: 12px;
line-height: 16px;
}
}
.sellingPriceContainer{
.currencyContainer{
font-size: 18px;
line-height: 25px;
}
}
}
}
:global(.vtex-product-price-1-x-listPrice){
display: flex;
align-items: center;
justify-content: center;
:global(.vtex-product-price-1-x-listPriceValue){
text-decoration: none;
padding: 8px 0;
&::before{
font-size: 12px;
line-height: 16px;
}
&::after{
font-size: 12px;
line-height: 16px;
}
}
:global(.vtex-product-price-1-x-currencyContainer){
font-size: 18px;
line-height: 25px;
}
}
}
}