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

View File

@ -10,7 +10,7 @@
/* Grid breakpoints */ /* Grid breakpoints */
.container { .container {
max-width: 100%; max-width: 100%;
margin: 0 0 0 0 !important; margin: 0 40px 0 40px !important;
} }
.productImageTag { .productImageTag {
@ -161,6 +161,99 @@
top: 8px; 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 { .productDescriptionContainer .productDescriptionTitle {
font-family: "Open Sans"; font-family: "Open Sans";
font-style: normal; font-style: normal;

View File

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

View File

@ -1,6 +1,6 @@
.container { .container {
max-width: 100%; max-width: 100%;
margin: 0 0 0 0 !important; margin: 0 40px 0 40px !important;
} }
.productImageTag { .productImageTag {
max-height: none !important; max-height: none !important;
@ -161,7 +161,92 @@
top: 8px; 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 //Estilização da descrição do produto
.productDescriptionContainer { .productDescriptionContainer {
.productDescriptionTitle { .productDescriptionTitle {