challenge-vtex-io-amanda-al.../styles/css/vtex.product-price.css

135 lines
2.4 KiB
CSS

/*
0 - 600PX: Phone
600 - 900px: Table portrait
900 - 1200px: Tablet landscape
[1200 - 1800] is where our nortal styles apply
1800px + : Big desktop
*/
/* Media Query M3 */
/* Grid breakpoints */
.currencyContainer--price-total {
font-weight: 700;
font-size: 25px;
line-height: 38px;
text-decoration: none;
color: #000000;
}
.installments--custom-installments {
font-weight: 700;
font-size: 16px;
line-height: 22px;
color: #929292;
margin-bottom: 8px;
}
.installments-discount--custom-installments {
font-weight: 300;
}
.interestRate {
font-weight: 400;
}
.savings {
font-weight: 500;
color: #79b03a;
}
.sellingPriceValue--summary {
font-size: 1.25rem;
font-weight: 600;
color: #2e2e2e;
}
.savings--summary {
background: #8bc34a;
border-radius: 1000px;
align-items: center;
display: flex;
padding-left: 0.5rem;
padding-right: 0.5rem;
font-size: 0.875rem;
font-weight: 600;
vertical-align: baseline;
color: #ffffff;
}
.savings-discount--summary {
font-size: 0.875rem;
font-weight: 600;
vertical-align: baseline;
color: #ffffff;
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.listPrice--summary {
margin-bottom: 0.25rem;
font-size: 0.875rem;
}
.installments--summary {
margin-bottom: 2rem;
font-size: 0.875rem;
}
.savings--summaryPercentage {
background: #0f3e99;
border-radius: 1000px;
align-items: center;
display: flex;
}
.savingsPercentage--summaryPercentage {
font-size: 0.875rem;
font-weight: 600;
vertical-align: baseline;
color: #ffffff;
padding: 0.25rem 0.5rem 0.25rem 0.5rem;
}
.listPrice--prateleira {
font-size: 14px;
line-height: 19px;
text-align: center;
text-decoration-line: line-through;
color: #BABABA;
}
.sellingPrice--prateleira {
font-weight: 700;
font-size: 24px;
line-height: 33px;
text-align: center;
color: #000000;
}
@media screen and (min-width: 1920px) {
.currencyContainer--price-total {
font-size: 25px;
line-height: 38px;
}
.installments--custom-installments {
font-size: 16px;
line-height: 22px;
}
.listPrice--prateleira {
font-size: 14px;
line-height: 19px;
}
.sellingPrice--prateleira {
font-size: 24px;
line-height: 33px;
}
}
@media screen and (max-width: 1024px) {
.listPrice--prateleira {
font-size: 12px;
line-height: 16px;
}
.sellingPrice--prateleira {
font-size: 18px;
line-height: 25px;
}
}