feat: Estiliza input de frete

This commit is contained in:
Eleonora Otz de Mendonça Soares 2023-01-25 22:22:18 -03:00
parent 34ca7b5142
commit d4f6624c34
2 changed files with 53 additions and 19 deletions

View File

@ -167,10 +167,16 @@
display: flex; display: flex;
align-items: center; align-items: center;
} }
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input__label) { .shippingContainer :global(.vtex-input-prefix__group) {
width: 280px;
height: 49px;
border-radius: 0;
border: 1px solid #cccccc;
}
.shippingContainer :global(.vtex-input__label) {
font-size: 0; font-size: 0;
} }
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input__label)::after { .shippingContainer :global(.vtex-input__label)::after {
content: "CALCULAR FRETE:"; content: "CALCULAR FRETE:";
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
@ -180,12 +186,13 @@
.shippingContainer :global(.vtex-button) { .shippingContainer :global(.vtex-button) {
font-size: 0; font-size: 0;
position: relative; position: relative;
top: -5px; top: 25px;
right: 148px; right: 148px;
width: 49px; width: 53px;
height: 49px; height: 53px;
margin-top: 27px; margin-top: 0;
background-color: #000000; background-color: #000000;
cursor: pointer;
} }
.shippingContainer :global(.vtex-button)::after { .shippingContainer :global(.vtex-button)::after {
content: "OK"; content: "OK";
@ -195,11 +202,20 @@
color: white; color: white;
} }
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) { .shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
padding: 0;
position: relative; position: relative;
left: 32px; left: 32px;
top: 10px;
} }
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) :last-child { .shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) :last-child {
color: #000000; color: #000000;
font-weight: 400;
font-size: 12px;
line-height: 16px;
text-decoration: underline;
}
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) :last-child :global(.vtex__icon-external-link) {
display: none;
} }
:global(.vtex-button__label) { :global(.vtex-button__label) {

View File

@ -184,29 +184,37 @@
:global(.vtex-address-form__postalCode) { :global(.vtex-address-form__postalCode) {
display: flex; display: flex;
align-items: center; align-items: center;
}
:global(.vtex-input__label) { :global(.vtex-input-prefix__group) {
font-size: 0; width: 280px;
height: 49px;
border-radius: 0;
border: 1px solid $gray-1000;
}
&::after { :global(.vtex-input__label) {
content: "CALCULAR FRETE:"; font-size: 0;
font-weight: 400;
font-size: 14px; &::after {
line-height: 19px; content: "CALCULAR FRETE:";
color: $gray-500; font-weight: 400;
} font-size: 14px;
line-height: 19px;
color: $gray-500;
} }
} }
:global(.vtex-button) { :global(.vtex-button) {
font-size: 0; font-size: 0;
position: relative; position: relative;
top: -5px; top: 25px;
right: 148px; right: 148px;
width: 49px; width: 53px;
height: 49px; height: 53px;
margin-top: 27px; margin-top: 0;
background-color: $black; background-color: $black;
cursor: pointer;
&::after { &::after {
content: "OK"; content: "OK";
@ -218,11 +226,21 @@
} }
:global(.vtex-address-form__postalCode-forgottenURL) { :global(.vtex-address-form__postalCode-forgottenURL) {
padding: 0;
position: relative; position: relative;
left: 32px; left: 32px;
top: 10px;
:last-child { :last-child {
color: $black; color: $black;
font-weight: 400;
font-size: 12px;
line-height: 16px;
text-decoration: underline;
:global(.vtex__icon-external-link) {
display: none;
}
} }
} }
} }