challenge-vtex-io-thiago-br.../styles/css/vtex.store-newsletter.css

96 lines
2.3 KiB
CSS
Raw Normal View History

/*
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 */
/* Grid breakpoints */
.newsletterForm--container-newsletter {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #000000;
position: relative;
}
.emailInputContainer {
border-bottom: 1px solid #929292;
width: 100%;
position: relative;
height: 32px;
}
.emailInputContainer :global(.vtex-input) {
display: flex;
width: 100%;
height: 32px;
}
.emailInputContainer :global(.vtex-input) :global(.vtex-input__error) {
position: absolute;
right: 0;
margin-right: 16px;
}
@media only screen and (max-width: 768px) {
.emailInputContainer :global(.vtex-input) :global(.vtex-input__error) {
font-size: 12px;
line-height: 16px;
font-weight: 400;
}
}
.emailInputContainer :global(.vtex-input) :global(.vtex-input-prefix__group) {
border: none;
height: 32px;
width: 100%;
}
.emailInputContainer :global(.vtex-input) :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input) {
background-color: transparent;
padding: 0 0 7px 0;
color: #fff;
font-weight: 400;
font-size: 18px;
line-height: 25px;
}
@media only screen and (max-width: 1024px) {
.emailInputContainer :global(.vtex-input) :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input) {
padding: 0 0 16px 16px;
}
}
@media only screen and (max-width: 768px) {
.emailInputContainer :global(.vtex-input) :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input) {
padding: 0 0 16px 16px;
font-weight: 400;
font-size: 12px;
line-height: 16px;
}
}
.formSubmitContainer {
height: 32px;
border-bottom: 3px solid #bfbfbf;
}
@media only screen and (max-width: 1024px) {
.formSubmitContainer {
right: 40px;
}
}
.formSubmitContainer :global(.vtex-button) {
background-color: transparent;
border: none;
display: flex;
}
.formSubmitContainer :global(.vtex-button) :global(.vtex-button__label) {
font-weight: 700;
font-size: 14px;
line-height: 19px;
padding: 0 16px 13px 16px;
padding-top: 0 !important;
padding-bottom: 0 !important;
}
.defaultSuccessMessage {
color: white;
margin: 0 0 16px 0;
text-align: center;
}