Entrega do Desafio #1

Merged
anacarolinaduartecavalcante merged 93 commits from feature/challenge-vtex-io into develop 2023-02-03 17:14:03 +00:00
2 changed files with 116 additions and 0 deletions
Showing only changes of commit ae3d9b1137 - Show all commits

View File

@ -216,4 +216,59 @@
margin: 0 auto;
width: 48px;
height: 48px;
}
.shippingContainer {
display: flex;
align-items: center;
}
.shippingContainer :global(.vtex-address-form__postalCode) {
padding-bottom: 0;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input)::before {
content: "CALCULAR FRETE:";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) :global(.vtex-input__label) {
display: none;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) :global(.vtex-input-prefix__group) {
margin-top: 8px;
height: 49px;
border-radius: 0;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) :last-child {
text-decoration-line: underline;
color: #000000;
font-weight: 400;
font-size: 12px;
line-height: 16px;
padding-top: 0;
position: relative;
left: 312px;
bottom: 45px;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) :last-child :last-child {
display: none;
}
.shippingContainer :global(.vtex-button) {
width: 49px;
height: 49px;
background: #000000;
border-radius: 0;
border: none;
bottom: 1px;
}
.shippingContainer :global(.vtex-button) :global(.vtex-button__label) {
display: none;
}
.shippingContainer :global(.vtex-button)::after {
content: "OK";
color: #ffffff;
font-weight: 600;
font-size: 14px;
line-height: 19px;
}

View File

@ -217,3 +217,64 @@
}
}
}
// Calculadora de Frete
.shippingContainer {
display: flex;
align-items: center;
:global(.vtex-address-form__postalCode) {
padding-bottom: 0;
:global(.vtex-input)::before {
content: "CALCULAR FRETE:";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
:global(.vtex-input) {
:global(.vtex-input__label) {
display: none;
}
:global(.vtex-input-prefix__group) {
margin-top: 8px;
height: 49px;
border-radius: 0;
}
}
:global(.vtex-address-form__postalCode-forgottenURL) {
:last-child {
text-decoration-line: underline;
color: #000000;
font-weight: 400;
font-size: 12px;
line-height: 16px;
padding-top: 0;
position: relative;
left: 312px;
bottom: 45px;
:last-child {
display: none;
}
}
}
}
:global(.vtex-button) {
width: 49px;
height: 49px;
background: #000000;
border-radius: 0;
border: none;
bottom: 1px;
:global(.vtex-button__label) {
display: none;
}
}
:global(.vtex-button)::after {
content: "OK";
color: #ffffff;
font-weight: 600;
font-size: 14px;
line-height: 19px;
}
}