style: adicionando estilo da calculadora de frete

This commit is contained in:
Ana Carolina Duarte Cavalcante 2023-01-26 14:23:04 -03:00
parent f1be791e87
commit ae3d9b1137
2 changed files with 116 additions and 0 deletions

View File

@ -217,3 +217,58 @@
width: 48px; width: 48px;
height: 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;
}
}