forked from M3-Academy/challenge-vtex-io
style: adicionando estilo da calculadora de frete
This commit is contained in:
parent
f1be791e87
commit
ae3d9b1137
@ -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;
|
||||||
|
}
|
@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user