feat: estiliza o newsletter

This commit is contained in:
Leonardo Pereira Rocha 2023-02-05 19:30:36 -03:00
parent a87b99fa92
commit 501cc66eeb
3 changed files with 63 additions and 9 deletions

View File

@ -157,8 +157,54 @@
background: none; background: none;
} }
[class*="imageNormal"] { [class*="imageNormal"] {
max-width: 434.4px; max-width: 434.4px;
max-height: 434.4px; max-height: 434.4px;
} }
[class*="newsletter"] {
color: white;
}
[id*="newsletter-input"] {
color: white;
background: black;
border: none;
}
[class*="t-heading-3"] {
content: "Teste \n teste 2";
margin-bottom: 57px;
font-size: 0;
}
[class*="t-heading-3"]::after {
content: "Assine nossa newsletter";
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
position: relative;
bottom: 47px;
}
[class*="textNewsletter"] {
color: white;
position: relative;
top: 38px;
}
[class*="vtex-input-prefix__group"] {
border: none;
border-bottom: 1px solid white;
border-radius: 0;
}
[class*="buttonContainer"] :global(.vtex-button) {
border: none;
border-bottom: 2px solid white;
background-color: black;
border-radius: 0;
position: relative;
right: 12px;
}

View File

@ -6,17 +6,26 @@
"tab-layout#home", "tab-layout#home",
"rich-text#textproducts", "rich-text#textproducts",
"list-context.product-list#demo1", "list-context.product-list#demo1",
"rich-text#textnewsletter",
"newsletter", "newsletter",
"product-questions-and-answers" "product-questions-and-answers"
] ]
}, },
"newsletter-form": { "newsletter": {
"children": [ "props": {
"newsletter-input-email", "text": "Você também pode gostar:"
"newsletter-input-name", }
"newsletter-submit" },
]
"rich-text#textnewsletter": {
"props": {
"textAlignment": "CENTER",
"textPosition": "CENTER",
"text": "Receba ofertas e novidades por e-mail",
"id": "textNewsletter",
"blockClass": "textNewsletter"
}
}, },
"rich-text#textproducts": { "rich-text#textproducts": {

View File

@ -9,5 +9,4 @@
/* Grid breakpoints */ /* Grid breakpoints */
.newsletter { .newsletter {
background: black; background: black;
color: white;
} }