challenge-vtex-io-emersonfully/styles/sass/pages/product/vtex.product-price.scss
2023-02-09 12:32:27 -03:00

119 lines
1.8 KiB
SCSS

.listPrice {
display: none;
}
.savings {
display: none;
}
.sellingPrice {
font-family: $font-family;
color: $color-black;
font-size: 1.25rem;
margin-bottom: -12px;
}
.sellingPriceValue {
font-size: 2.25rem;
font-weight: 700;
}
.installments {
color: #929292;
margin-bottom: 8px;
font-size: 0px;
}
.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;
}
.installmentsNumber {
font-family: $font-family;
font-weight: bold;
font-size: 16px;
margin-right: 6px;
&::after {
content: "x";
font-size: 16px;
margin-left: 4px;
}
}
.installmentValue {
font-family: $font-family;
font-size: 16px;
font-weight: bold;
margin-right: 6px;
&::before {
content: "de";
font-size: 16px;
font-weight: normal;
margin-right: 6px;
}
}
.interestRate {
&::after {
font-family: $font-family;
content: "sem juros";
font-size: 16px;
font-weight: normal;
}
}