forked from M3-Academy/challenge-vtex-io
Entrega do Desafio #1
@ -220,7 +220,7 @@
|
||||
|
||||
.shippingContainer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-items: flex-end;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) {
|
||||
padding-bottom: 0;
|
||||
@ -240,6 +240,10 @@
|
||||
height: 49px;
|
||||
border-radius: 0;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) {
|
||||
height: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) :last-child {
|
||||
text-decoration-line: underline;
|
||||
color: #000000;
|
||||
@ -249,7 +253,7 @@
|
||||
padding-top: 0;
|
||||
position: relative;
|
||||
left: 312px;
|
||||
bottom: 45px;
|
||||
bottom: 35px;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) :last-child :last-child {
|
||||
display: none;
|
||||
@ -271,4 +275,61 @@
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
}
|
||||
|
||||
.shippingTable {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.shippingTable .shippingTableHead {
|
||||
display: block;
|
||||
}
|
||||
.shippingTable .shippingTableHead .shippingTableRow {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 16.36%);
|
||||
}
|
||||
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryName,
|
||||
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryEstimate,
|
||||
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #202020;
|
||||
text-transform: uppercase;
|
||||
padding: 0;
|
||||
}
|
||||
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryName {
|
||||
text-align: left;
|
||||
}
|
||||
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice {
|
||||
text-align: right;
|
||||
}
|
||||
.shippingTable .shippingTableBody .shippingTableRow {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 16.36%);
|
||||
grid-template-areas: "A B C";
|
||||
column-gap: 32px;
|
||||
margin-top: 15px;
|
||||
}
|
||||
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryName {
|
||||
grid-area: A;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryEstimate {
|
||||
white-space: nowrap;
|
||||
grid-area: C;
|
||||
}
|
||||
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryPrice {
|
||||
grid-area: B;
|
||||
}
|
||||
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCell {
|
||||
padding-left: 0;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
color: #afafaf;
|
||||
padding: 0;
|
||||
}
|
||||
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCell .shippingTableLabel .shippingTableRadioBtn {
|
||||
display: none;
|
||||
}
|
@ -222,7 +222,7 @@
|
||||
|
||||
.shippingContainer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-items: flex-end;
|
||||
:global(.vtex-address-form__postalCode) {
|
||||
padding-bottom: 0;
|
||||
:global(.vtex-input)::before {
|
||||
@ -243,6 +243,8 @@
|
||||
}
|
||||
}
|
||||
:global(.vtex-address-form__postalCode-forgottenURL) {
|
||||
height: 0;
|
||||
padding: 0;
|
||||
:last-child {
|
||||
text-decoration-line: underline;
|
||||
color: #000000;
|
||||
@ -252,7 +254,7 @@
|
||||
padding-top: 0;
|
||||
position: relative;
|
||||
left: 312px;
|
||||
bottom: 45px;
|
||||
bottom: 35px;
|
||||
:last-child {
|
||||
display: none;
|
||||
}
|
||||
@ -278,3 +280,66 @@
|
||||
line-height: 19px;
|
||||
}
|
||||
}
|
||||
|
||||
//Resultado Frete
|
||||
|
||||
.shippingTable {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
.shippingTableHead {
|
||||
display: block;
|
||||
.shippingTableRow {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 16.36%);
|
||||
.shippingTableHeadDeliveryName,
|
||||
.shippingTableHeadDeliveryEstimate,
|
||||
.shippingTableHeadDeliveryPrice {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #202020;
|
||||
text-transform: uppercase;
|
||||
padding: 0;
|
||||
}
|
||||
.shippingTableHeadDeliveryName {
|
||||
text-align: left;
|
||||
}
|
||||
.shippingTableHeadDeliveryPrice {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
.shippingTableBody {
|
||||
.shippingTableRow {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 16.36%);
|
||||
grid-template-areas: "A B C";
|
||||
column-gap: 32px;
|
||||
margin-top: 15px;
|
||||
.shippingTableCellDeliveryName {
|
||||
grid-area: A;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
.shippingTableCellDeliveryEstimate {
|
||||
white-space: nowrap;
|
||||
grid-area: C;
|
||||
}
|
||||
.shippingTableCellDeliveryPrice {
|
||||
grid-area: B;
|
||||
}
|
||||
.shippingTableCell {
|
||||
padding-left: 0;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
color: #afafaf;
|
||||
padding: 0;
|
||||
.shippingTableLabel {
|
||||
.shippingTableRadioBtn {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user