style: aplicando estilo na parte de preço e parcelamento do produto

This commit is contained in:
Ana Carolina Duarte Cavalcante 2023-01-24 21:09:01 -03:00
parent e38207246d
commit 8e91580553
4 changed files with 49 additions and 77 deletions

View File

@ -32,3 +32,14 @@
grid-template-columns: 48.819% 48.819%; grid-template-columns: 48.819% 48.819%;
} }
} }
.flexColChild .PriceContent {
margin: 0;
font-weight: 400;
font-size: 16px;
line-height: 22px;
color: #929292;
}
.flexColChild .PriceContent :nth-child(1n) {
font-weight: 700;
}

View File

@ -1,79 +1,15 @@
.listPrice { /*
color: #727273; 0 - 600PX: Phone
margin-bottom: .25rem; 600 - 900px: Table portrait
font-size: 1rem; 900 - 1200px: Tablet landscape
} [1200 - 1800] is where our nortal styles apply
1800px + : Big desktop
*/
/* Media Query M3 */
/* Grid breakpoints */
.sellingPrice { .sellingPrice {
color: #3f3f40;
font-size: 1.25rem;
}
.sellingPriceValue {
font-size: 2.25rem;
font-weight: 700; font-weight: 700;
} font-size: 25px;
line-height: 38px;
.installments { color: #000000;
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: .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;
} }

View File

@ -1,3 +1,5 @@
//product-images
.flexRowContent { .flexRowContent {
padding: 0; padding: 0;
margin: 0; margin: 0;
@ -21,3 +23,18 @@
grid-template-columns: 48.819% 48.819%; grid-template-columns: 48.819% 48.819%;
} }
} }
// dados produto
.flexColChild {
.PriceContent {
margin: 0;
font-weight: 400;
font-size: 16px;
line-height: 22px;
color: #929292;
& :nth-child(1n) {
font-weight: 700;
}
}
}

View File

@ -0,0 +1,8 @@
//dados produto
.sellingPrice {
font-weight: 700;
font-size: 25px;
line-height: 38px;
color: #000000;
}