challenge-vtex-io-emersonfully/styles/css/vtex.product-price.css

120 lines
2.1 KiB
CSS
Raw Normal View History

2023-02-09 00:15:54 +00:00
/*
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 */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap");
2023-02-09 00:15:54 +00:00
/* Grid breakpoints */
.listPrice {
2023-02-10 20:06:46 +00:00
visibility: hidden;
2023-02-09 00:15:54 +00:00
}
.savings {
display: none;
}
.sellingPrice {
font-family: "Open Sans";
color: #000000;
font-size: 1.25rem;
2023-02-09 00:15:54 +00:00
margin-bottom: -12px;
}
.sellingPriceValue {
font-size: 2.25rem;
font-weight: 700;
}
.installments {
2023-02-09 00:15:54 +00:00
color: #929292;
margin-bottom: 8px;
font-size: 0px;
}
.sellingPriceValue--summary {
font-size: 1.25rem;
font-weight: 600;
2023-02-09 00:15:54 +00:00
color: #2e2e2e;
}
.savings--summary {
2023-02-09 00:15:54 +00:00
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;
2023-02-09 00:15:54 +00:00
color: #ffffff;
}
.savings-discount--summary {
font-size: 0.875rem;
font-weight: 600;
vertical-align: baseline;
2023-02-09 00:15:54 +00:00
color: #ffffff;
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.listPrice--summary {
margin-bottom: 0.25rem;
2023-02-09 00:15:54 +00:00
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;
2023-02-09 00:15:54 +00:00
color: #ffffff;
padding: 0.25rem 0.5rem 0.25rem 0.5rem;
}
2023-02-09 00:15:54 +00:00
.installmentsNumber {
font-family: "Open Sans";
2023-02-09 00:15:54 +00:00
font-weight: bold;
font-size: 16px;
margin-right: 6px;
}
.installmentsNumber::after {
content: "x";
font-size: 16px;
margin-left: 4px;
}
.installmentValue {
font-family: "Open Sans";
2023-02-09 00:15:54 +00:00
font-size: 16px;
font-weight: bold;
margin-right: 6px;
}
.installmentValue::before {
content: "de";
font-size: 16px;
font-weight: normal;
margin-right: 6px;
}
.interestRate::after {
font-family: "Open Sans";
2023-02-09 00:15:54 +00:00
content: "sem juros";
font-size: 16px;
font-weight: normal;
}