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

324 lines
8.7 KiB
CSS
Raw Normal View History

@charset "UTF-8";
/*
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;
}
.subscriberContainer {
max-width: 399px;
}
@media (max-width: 1024px) {
.subscriberContainer {
max-width: 765px;
}
}
.subscriberContainer :global(.vtex-store-components-3-x-title) {
font-size: 0;
margin: 0;
}
.subscriberContainer :global(.vtex-store-components-3-x-title)::after {
content: "Produto indisponível";
font-family: "Open Sans";
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
/* or 136% */
display: flex;
align-items: center;
color: #868686;
}
.subscriberContainer :global(.vtex-store-components-3-x-subscribeLabel) {
font-size: 0;
}
.subscriberContainer :global(.vtex-store-components-3-x-subscribeLabel)::after {
content: "Deseja saber quando estiver disponível?";
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
/* or 136% */
display: flex;
align-items: center;
color: #868686;
}
.subscriberContainer .form {
width: 100%;
margin: 0;
padding: 0;
}
.subscriberContainer .form .content {
display: grid;
grid-template-areas: "nome email" "submit submit";
justify-content: inherit;
gap: 16px 8px;
width: 100%;
max-width: none;
}
.subscriberContainer .form .content .inputName {
grid-area: nome;
}
.subscriberContainer .form .content .inputName,
.subscriberContainer .form .content .inputEmail {
margin: 0;
max-width: 195.5px;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
display: flex;
align-items: center;
height: 40px;
margin: 0;
}
@media (max-width: 1024px) {
.subscriberContainer .form .content .inputName,
.subscriberContainer .form .content .inputEmail {
max-width: 378.5px;
}
}
.subscriberContainer .form .content .inputName :global(.vtex-input-prefix__group),
.subscriberContainer .form .content .inputEmail :global(.vtex-input-prefix__group) {
height: 40px;
border: 1px solid #989898;
border-radius: 0;
}
.subscriberContainer .form .content .inputName :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input),
.subscriberContainer .form .content .inputEmail :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input) {
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: #989898;
border-radius: 0;
}
.subscriberContainer .form .content .inputName :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input)::placeholder,
.subscriberContainer .form .content .inputEmail :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input)::placeholder {
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: #989898;
}
.subscriberContainer .form .content .submit {
width: 100%;
grid-area: submit;
margin: 0;
}
.subscriberContainer .form .content .submit :global(.vtex-button) {
width: 100%;
height: 49px;
border: none;
border-radius: 0;
background: #000;
}
.subscriberContainer .form .content .submit :global(.vtex-button) :global(.vtex-button__label) {
font-size: 0;
}
.subscriberContainer .form .content .submit :global(.vtex-button) :global(.vtex-button__label)::after {
content: "avise-me";
font-family: "Open Sans";
font-style: normal;
font-weight: 600;
font-size: 14px;
line-height: 19px;
text-transform: uppercase;
display: flex;
align-items: center;
color: #ffffff;
}
@media (min-width: 1920px) {
.subscriberContainer .form .content .submit :global(.vtex-button) :global(.vtex-button__label)::after {
font-weight: 600;
font-size: 18px;
line-height: 25px;
}
}
.carouselGaleryThumbs {
margin: 16px 0 32px;
max-height: 90px;
}
@media (max-width: 1024px) {
.carouselGaleryThumbs {
display: block;
}
}
.carouselThumbBorder,
.thumbImg {
width: 100%;
height: 100%;
max-width: 90px;
height: 90px;
border-radius: 8px;
}
.productImagesThumb {
margin-right: 16px !important;
max-height: 90px !important;
width: 90px !important;
}
.figure,
.productImagesThumb {
width: 90px !important;
}
.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;
}
}