feat: Adicionado o estilo do frete

This commit is contained in:
Savio Carvalho Moraes 2023-02-10 10:13:51 -03:00
parent 8a5c9887e4
commit 92789c1daa
4 changed files with 183 additions and 9 deletions

View File

@ -9,16 +9,12 @@
/* Media Query M3 */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap");
/* Grid breakpoints */
.flexRow {
margin: 0 40px;
}
:global(.vtex-stack-layout-0-x-stackItem) .flexRow {
margin: 0;
}
.flexRowContent {
margin: 8px 0 0 0;
margin: 8px 0 0 0px;
padding: 0;
}

View File

@ -10,7 +10,7 @@
/* Grid breakpoints */
.container {
max-width: 100%;
margin: 0 0 0 0 !important;
margin: 0 40px 0 40px !important;
}
.productImageTag {
@ -161,6 +161,99 @@
top: 8px;
}
.shippingTableRadioBtn {
display: none;
}
.shippingTableHead {
display: grid;
position: relative;
right: 60px;
}
.shippingTable {
border: none;
grid-template-columns: none !important;
}
.shippingTableRow {
display: grid;
grid-template-columns: 200px 200px 200px;
}
.shippingTableCellDeliveryName {
order: 0;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
display: flex;
align-items: center;
color: #afafaf;
}
.shippingTableCellDeliveryPrice {
order: 1;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
display: flex;
align-items: center;
color: #afafaf;
}
.shippingTableCellDeliveryEstimate {
order: 2;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
display: flex;
align-items: center;
color: #afafaf;
}
.shippingTableHeadDeliveryName {
order: 0;
font-family: "Open Sans";
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #202020;
text-transform: uppercase;
}
.shippingTableHeadDeliveryPrice {
order: 1;
font-size: 0;
}
.shippingTableHeadDeliveryPrice::before {
content: "FRETE";
font-family: "Open Sans";
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #202020;
text-transform: uppercase;
}
.shippingTableHeadDeliveryEstimate {
order: 2;
font-family: "Open Sans";
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #202020;
text-transform: uppercase;
}
.productDescriptionContainer .productDescriptionTitle {
font-family: "Open Sans";
font-style: normal;

View File

@ -1,13 +1,13 @@
.flexRow {
margin: 0 40px;
}
:global(.vtex-stack-layout-0-x-stackItem) {
.flexRow {
margin: 0;
}
}
.flexRowContent {
margin: 8px 0 0 0;
margin: 8px 0 0 0px;
padding: 0;
}
.flexRowContent--cart {

View File

@ -1,6 +1,6 @@
.container {
max-width: 100%;
margin: 0 0 0 0 !important;
margin: 0 40px 0 40px !important;
}
.productImageTag {
max-height: none !important;
@ -161,7 +161,92 @@
top: 8px;
}
}
.shippingTableRadioBtn {
display: none;
}
.shippingTableHead {
display: grid;
position: relative;
right: 60px;
}
.shippingTable {
//display: grid;
border: none;
//flex-direction: column;
grid-template-columns: none !important;
}
.shippingTableRow {
display: grid;
grid-template-columns: 200px 200px 200px;
}
.shippingTableCellDeliveryName {
order: 0;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
display: flex;
align-items: center;
color: #afafaf;
}
.shippingTableCellDeliveryPrice {
order: 1;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
display: flex;
align-items: center;
color: #afafaf;
}
.shippingTableCellDeliveryEstimate {
order: 2;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
display: flex;
align-items: center;
color: #afafaf;
}
.shippingTableHeadDeliveryName {
order: 0;
font-family: "Open Sans";
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #202020;
text-transform: uppercase;
}
.shippingTableHeadDeliveryPrice {
order: 1;
font-size: 0;
&::before {
content: "FRETE";
font-family: "Open Sans";
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #202020;
text-transform: uppercase;
}
}
.shippingTableHeadDeliveryEstimate {
order: 2;
font-family: "Open Sans";
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #202020;
text-transform: uppercase;
}
//Estilização da descrição do produto
.productDescriptionContainer {
.productDescriptionTitle {