challenge-vtex-io-Gustavo-R.../styles/css/vtex.product-price.css

155 lines
2.8 KiB
CSS
Raw 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 */
/* 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;
}
:global(.vtex-shelf-1-x-slide) .listPrice {
text-align: center;
margin-bottom: 16px;
}
.savings, .listPriceValue {
display: none;
}
.installments {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-size: 16px;
line-height: 22px;
color: #929292;
}
.installments .installmentsNumber, .installments .installmentValue {
font-weight: 700;
}
.installments .installmentsNumber::after {
content: "x";
}
.sellingPriceValue--summary-pdp {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 700;
font-size: 24px;
line-height: 33px;
text-align: center;
color: #000000;
}
@media screen and (max-width: 1024px) {
.sellingPriceValue--summary-pdp {
font-size: 18px;
line-height: 25px;
}
}
.sellingPrice--desconto {
display: flex;
justify-content: center;
gap: 5px;
text-decoration-line: line-through;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
color: #BABABA;
margin-bottom: 8px;
}
@media screen and (max-width: 1024px) {
.sellingPrice--desconto {
font-size: 12px;
line-height: 16px;
}
}
.sellingPrice--desconto .sellingPriceValue--desconto {
font-size: 14px;
line-height: 19px;
}
@media screen and (max-width: 1024px) {
.sellingPrice--desconto .sellingPriceValue--desconto {
font-size: 12px;
line-height: 16px;
}
}