challenge-vtex-io-Rhayllon-.../styles/css/vtex.flex-layout.css

210 lines
4.9 KiB
CSS

@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 */
.flexRow--productMainWrapper {
width: 95%;
margin: 0 auto;
}
@media screen and (max-width: 1024px) {
.flexRow--productMainWrapper {
width: 100%;
margin: 0;
padding: 0 40px;
}
}
@media screen and (max-width: 1024px) {
.flexRow--productMainWrapper :global(.vtex-store-components-3-x-container) {
padding: 0;
}
}
.flexRow--indisponivelWrapper {
width: 95%;
margin: 0 auto;
}
@media screen and (max-width: 1024px) {
.flexRow--indisponivelWrapper {
width: 100%;
margin: 0;
padding: 0 40px;
}
}
@media screen and (max-width: 1024px) {
.flexRow--indisponivelWrapper :global(.vtex-store-components-3-x-container) {
padding: 0;
}
}
.flexRow--buyButton {
display: flex;
align-items: center;
width: 100%;
margin-left: 10px;
}
@media screen and (max-width: 375px) {
.flexRow--buyButton {
margin-left: 0;
padding-top: 10px;
}
}
.flexRow--buyButton .flexRowContent--buyButton {
margin: 0;
height: 49px;
}
.flexRow--buyButton .flexRowContent--buyButton :global(.vtex-button) {
background-color: #000000;
color: #fff;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
border: none;
border-radius: 0;
height: 48px;
}
.flexRowContent--sellPrice {
font-family: "Open Sans";
font-style: normal;
font-weight: 700;
font-size: 25px;
line-height: 38px;
color: #000000;
margin: 0;
}
@media screen and (max-width: 1024px) {
.flexRow--descriptionRow :global(.vtex-store-components-3-x-container) {
padding: 0 !important;
}
}
.flexRowContent--productMainWrapper {
margin: 16px 0;
padding: 0;
}
@media screen and (max-width: 1024px) {
.flexRowContent--productMainWrapper {
flex-direction: column;
}
}
@media screen and (max-width: 1024px) {
.flexRowContent--productMainWrapper .stretchChildrenWidth {
width: 100% !important;
padding: 0;
}
}
.flexRowContent--indisponivelWrapper {
margin: 16px 0;
padding: 0;
}
@media screen and (max-width: 1024px) {
.flexRowContent--indisponivelWrapper {
flex-direction: column;
}
}
@media screen and (max-width: 1024px) {
.flexRowContent--indisponivelWrapper .stretchChildrenWidth {
width: 100% !important;
padding: 0;
}
}
@media screen and (max-width: 1024px) {
.flexRowContent--descriptionRow {
flex-direction: column;
}
}
@media screen and (max-width: 1024px) {
.flexRowContent--descriptionRow .stretchChildrenWidth {
width: 100% !important;
padding: 0;
}
}
.flexRowContent--descriptionRow .stretchChildrenWidth :global(.vtex-store-components-3-x-productImageTag--descriptionImg--main) {
object-fit: unset !important;
max-height: 994px !important;
margin-bottom: 16px;
}
.flexRow--message-availability :global(.vtex-store-components-3-x-title) {
font-size: 0;
margin: 0;
}
.flexRow--message-availability :global(.vtex-store-components-3-x-title)::before {
content: "Produto indisponivel";
font-family: "Open Sans";
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #868686;
}
.flexRow--message-availability :global(.vtex-store-components-3-x-subscribeLabel) {
font-size: 0;
}
.flexRow--message-availability :global(.vtex-store-components-3-x-subscribeLabel)::before {
content: "Deseja saber quando estiver disponível?";
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #868686;
}
.flexRow--message-availability :global(.vtex-store-components-3-x-content) {
display: grid;
grid-auto-flow: column;
max-width: 400px;
column-gap: 8px;
}
@media screen and (max-width: 1024px) {
.flexRow--message-availability :global(.vtex-store-components-3-x-content) {
width: 100%;
}
}
.flexRow--message-availability :global(.vtex-store-components-3-x-content) :last-child {
grid-area: 2/1/2/3;
}
.flexRow--message-availability :global(.vtex-store-components-3-x-content) :global(.vtex-store-components-3-x-inputEmail) {
margin: 0;
}
.flexRow--message-availability :global(.vtex-store-components-3-x-content) :global(.vtex-store-components-3-x-inputName) {
margin: 0;
margin-bottom: 15px;
}
.flexRow--message-availability :global(.vtex-button) {
width: 100%;
background-color: #000000;
font-size: 0;
height: 49px;
border-radius: 0;
align-items: center;
justify-content: center;
display: flex;
}
.flexRow--message-availability :global(.vtex-button)::before {
content: "Avise-me";
color: #fff;
font-family: "Open Sans";
font-style: normal;
font-weight: 600;
font-size: 18px;
line-height: 25px;
text-transform: uppercase;
}
.flexRow--message-availability :global(.vtex-button__label) {
display: none;
}
.flexRow--message-availability :global(.vtex-input-prefix__group) {
border-radius: 0;
border-color: #989898;
}