feat: Adicionado o estilo do newsletter #13

Merged
SavioCarvalhoMoraes merged 1 commits from feature/newsletter into development 2023-02-09 19:17:36 +00:00
3 changed files with 113 additions and 4 deletions

View File

@ -137,7 +137,7 @@
"props": { "props": {
"blockClass": "cart" "blockClass": "cart"
}, },
"children": ["product-quantity", "flex-layout.row#buy-button"] "children": ["product-quantity#qtd", "flex-layout.row#buy-button"]
}, },
"flex-layout.row#product-name": { "flex-layout.row#product-name": {
"props": { "props": {
@ -152,11 +152,20 @@
"showValueNameForImageVariation": true "showValueNameForImageVariation": true
} }
}, },
"product-quantity#qtd": {
"props": {
"width": "25%",
"size": "regular",
"blockClass": "buyQtd"
}
//"children": ["product-quantity"]
},
"flex-layout.row#buy-button": { "flex-layout.row#buy-button": {
"props": { "props": {
"width": "80%", "blockClass": "buyButton",
"blockClass": "buyButton" "marginTop": "4",
"marginBottom": "7",
"paddingRight": "0"
}, },
"children": ["add-to-cart-button"] "children": ["add-to-cart-button"]

View File

@ -175,3 +175,53 @@
line-height: 22px; line-height: 22px;
color: #929292; color: #929292;
} }
.newsletter {
margin-top: 64px;
}
.newsletter .container {
display: flex;
height: 175px;
padding: 0 0 0 0;
background: black;
align-items: center;
justify-content: center;
}
.newsletter .container .label {
display: flex;
flex-direction: column;
font-size: 0;
}
.newsletter .container .label::before {
content: "Assine nossa Newsletter";
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
text-align: center;
color: #ffffff;
}
.newsletter .container .label::after {
content: "Receba ofertas e novidades por e-mail";
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
text-align: center;
color: #929292;
}
.newsletter .container :global(.vtex-input-prefix__group) {
display: flex;
justify-content: center;
width: 774px;
border-top: none;
border-right: none;
border-left: none;
border-bottom: 1px solid #929292;
}
.newsletter .container :global(.vtex-styleguide-9-x-input) {
background: transparent;
padding: 0 0 0 0;
}

View File

@ -179,3 +179,53 @@
color: #929292; color: #929292;
} }
} }
.newsletter {
margin-top: 64px;
.container {
display: flex;
height: 175px;
padding: 0 0 0 0;
background: black;
align-items: center;
justify-content: center;
.label {
display: flex;
flex-direction: column;
font-size: 0;
&::before {
content: "Assine nossa Newsletter";
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
text-align: center;
color: #ffffff;
}
&::after {
content: "Receba ofertas e novidades por e-mail";
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
text-align: center;
color: #929292;
}
}
:global(.vtex-input-prefix__group) {
display: flex;
justify-content: center;
width: 774px;
border-top: none;
border-right: none;
border-left: none;
border-bottom: 1px solid #929292;
}
:global(.vtex-styleguide-9-x-input) {
background: transparent;
padding: 0 0 0 0;
}
}
}