challenge-vtex-io-emmanuelv.../styles/css/vtex.store-components.css

162 lines
4.8 KiB
CSS

/*
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 */
.newsletter {
background: #000000;
color: #ffffff;
margin: 64px 0;
}
@media (max-width: 1024px) {
.newsletter {
margin: 32px 0;
}
}
.newsletter :global(.vtex-store-components-3-x-container) {
padding: 0;
}
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) {
padding: 32px 0 13px;
width: 100%;
max-width: 774px;
position: relative;
}
@media (max-width: 1024px) {
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) {
max-width: 100%;
padding: 64px 0 32px;
padding-left: 16px;
padding-right: 16px;
}
}
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) .label {
display: flex;
flex-direction: column;
font-size: 0;
}
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) .label::before {
font-family: "Open Sans";
content: "Assine nossa newsletter";
font-weight: 400;
font-size: 24px;
line-height: 38px;
text-align: center;
color: #ffffff;
padding-bottom: 4px;
}
@media (max-width: 1920px) {
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) .label::before {
padding-bottom: 10px;
}
}
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) .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;
}
@media (max-width: 1024px) {
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) .label::after {
font-size: 16px;
line-height: 22px;
}
}
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-inputGroup) {
border-bottom: 1px solid #929292;
}
@media (max-width: 1024px) {
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-inputGroup) {
display: flex;
}
}
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-inputGroup) :global(.vtex-input) :global(.vtex-input-prefix__group) {
border: none;
}
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-inputGroup) :global(.vtex-input) :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input) {
background: transparent;
color: #929292;
}
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-inputGroup) :global(.vtex-input) :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input)::placeholder {
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #929292;
}
@media (max-width: 1024px) {
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-inputGroup) :global(.vtex-input) :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input)::placeholder {
font-size: 12px;
line-height: 16px;
}
}
@media (max-width: 1024px) {
.newsletter .buttonContainer {
width: auto;
}
}
.newsletter .buttonContainer :global(.vtex-button) {
background: none;
border: none;
border-radius: 0;
width: 100%;
max-width: 84px;
height: 32px;
border-bottom: 3px solid #BFBFBF;
}
.productDescriptionContainer .productDescriptionTitle {
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 32px;
color: #575757;
}
.productDescriptionContainer .content {
text-align: justify;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 22px;
color: #929292;
max-width: 632px;
}
@media (min-width: 1920px) {
.productDescriptionContainer .content {
max-width: 872px !important;
font-size: 18px;
line-height: 25px;
}
}
@media (max-width: 1024px) {
.productDescriptionContainer .content {
font-size: 14px;
line-height: 19px;
max-width: none;
}
}
.productImageTag--imageDescription--main {
max-height: 632px !important;
}
@media (min-width: 1920px) {
.productImageTag--imageDescription--main {
max-height: 872px !important;
}
}
@media (max-width: 1024px) {
.productImageTag--imageDescription--main {
max-height: unset !important;
}
}