forked from M3-Academy/challenge-vtex-io
feat: Adicionando estilo no Cep
This commit is contained in:
parent
0abdeaba4f
commit
e73bc62040
13
styles/css/vtex.address-form.css
Normal file
13
styles/css/vtex.address-form.css
Normal file
@ -0,0 +1,13 @@
|
||||
/*
|
||||
0 - 600PX: Phone
|
||||
600 - 900px: Table portrait
|
||||
900 - 1200px: Tablet landscape
|
||||
[1200 - 1800] is where our nortal styles apply
|
||||
1800px + : Big desktop
|
||||
*/
|
||||
/* Media Query M3 */
|
||||
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap");
|
||||
/* Grid breakpoints */
|
||||
.input::placeholder {
|
||||
content: "Digite seu CEP";
|
||||
}
|
@ -113,8 +113,12 @@
|
||||
}
|
||||
.shippingContainer :global(.vtex-button) :global(.vtex-button__label)::after {
|
||||
content: "Ok";
|
||||
color: white;
|
||||
font-size: 10px;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.shippingContainer :global(.vtex-input) :global(.vtex-input__label) {
|
||||
@ -138,8 +142,19 @@
|
||||
}
|
||||
.shippingContainer :global(.vtex-button) {
|
||||
position: relative;
|
||||
right: 49px;
|
||||
right: 127px;
|
||||
top: 27px;
|
||||
width: 49px;
|
||||
height: 49px;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
|
||||
position: relative;
|
||||
left: 70px;
|
||||
top: 8px;
|
||||
}
|
5
styles/sass/pages/product/vtex.address-form.scss
Normal file
5
styles/sass/pages/product/vtex.address-form.scss
Normal file
@ -0,0 +1,5 @@
|
||||
.input {
|
||||
&::placeholder {
|
||||
content: "Digite seu CEP";
|
||||
}
|
||||
}
|
@ -107,8 +107,12 @@
|
||||
font-size: 0;
|
||||
&::after {
|
||||
content: "Ok";
|
||||
color: white;
|
||||
font-size: 10px;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -138,9 +142,20 @@
|
||||
|
||||
:global(.vtex-button) {
|
||||
position: relative;
|
||||
right: 49px;
|
||||
right: 127px;
|
||||
top: 27px;
|
||||
width: 49px;
|
||||
height: 49px;
|
||||
}
|
||||
:global(.vtex-address-form__postalCode) {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
:global(.vtex-address-form__postalCode-forgottenURL) {
|
||||
position: relative;
|
||||
left: 70px;
|
||||
top: 8px;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user