challenge-vtex-io-rafael-sa.../styles/css/vtex.product-price.css

164 lines
2.9 KiB
CSS
Raw Permalink Normal View History

/*
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 */
2023-01-29 18:04:57 +00:00
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap%27");
/* Grid breakpoints */
.listPrice {
color: #727273;
margin-bottom: 0.25rem;
font-size: 1rem;
}
.sellingPrice {
color: #3f3f40;
font-size: 1.25rem;
}
.sellingPriceValue {
font-size: 2.25rem;
font-weight: 700;
}
.installments {
color: #727273;
margin-bottom: 1rem;
}
.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;
}
.installments--m3-custom-installments {
font-style: normal;
font-size: 16px;
line-height: 22px;
color: #929292;
}
.installmentsNumber--m3-custom-installments--36,
.installments-discount--m3-custom-installments,
.currencyCode--m3-custom-installments,
.currencyInteger--m3-custom-installments,
.currencyDecimal--m3-custom-installments,
.currencyFraction--m3-custom-installments {
font-weight: 700;
}
.currencyCode--summary,
.currencyInteger--summary,
.currencyDecimal--summary,
.currencyFraction--summary {
font-style: normal;
font-weight: 700;
font-size: 25px;
line-height: 38px;
color: #000000;
2023-02-06 19:05:32 +00:00
}
2023-02-06 19:44:16 +00:00
.listPriceValue--product-list-price {
text-decoration: none;
}
2023-02-06 19:05:32 +00:00
.listPrice {
margin-top: 8px;
}
.listPrice--product-list-price {
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #bababa;
text-decoration: line-through;
}
.listPriceValue {
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #bababa;
}
.sellingPriceValue {
font-style: normal;
font-weight: 700;
font-size: 24px;
line-height: 33px;
color: #000000;
}
.sellingPrice--hasListPrice {
margin-bottom: 32px;
}
@media (max-width: 1024px) {
.sellingPrice--hasListPrice {
margin-bottom: 24px;
}
.listPrice--product-list-price {
font-size: 12px;
}
.sellingPriceValue {
font-size: 18px;
}
}