challenge-vtex-io-thiago-br.../styles/css/vtex.flex-layout.css

118 lines
3.0 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 */
/* PREÇO PRINCIPAL DO PRODUTO */
.flexRowContent--selling-price {
margin: 0;
}
/* EMBRULHO DA IMAGEM E INFORMAÇÕES DE PREÇOS, VALORES, PARCELAMENTO ETC..*/
@media only screen and (max-width: 1024px) {
.flexRowContent--main {
display: block;
}
}
@media only screen and (max-width: 1024px) {
.flexRowContent--main .stretchChildrenWidth {
width: 100% !important;
}
}
.flexRowContent--main .stretchChildrenWidth .flexCol--stack {
padding-left: 40px;
}
@media only screen and (max-width: 1024px) {
.flexRowContent--main .stretchChildrenWidth .flexCol--stack {
padding: 0 40px;
width: 100%;
}
}
.flexRowContent--main .stretchChildrenWidth .flexCol--right-col {
padding-right: 40px;
margin-left: 16px;
}
@media only screen and (max-width: 1024px) {
.flexRowContent--main .stretchChildrenWidth .flexCol--right-col {
padding: 0 40px;
margin-left: 0;
}
}
/* ASSINANTE DE PRODUTO INDISPONIVEL */
.flexRowContent--product-availability {
padding: 0;
margin: 0;
padding: 0 40px;
}
@media only screen and (max-width: 1024px) {
.flexRowContent--product-availability {
display: block;
}
}
.flexRowContent--product-availability :global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
padding: 0;
display: flex;
}
@media only screen and (max-width: 1024px) {
.flexRowContent--product-availability :global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
width: 100% !important;
}
}
.flexRowContent--product-availability .flexCol--info-availability {
margin-left: 16px;
}
@media only screen and (max-width: 1024px) {
.flexRowContent--product-availability .flexCol--info-availability {
margin: 0;
}
}
.flexRowContent--product-availability .flexCol--info-availability .flexRowContent--message-availability {
width: 375px;
}
@media only screen and (max-width: 1024px) {
.flexRowContent--product-availability .flexCol--info-availability .flexRowContent--message-availability {
width: 100%;
}
}
/* DESCRIÇÃO DO PRODUTO */
@media only screen and (max-width: 1024px) {
.flexRowContent--product-description {
display: block;
}
}
@media only screen and (max-width: 1024px) {
.flexRowContent--product-description .stretchChildrenWidth {
width: 100% !important;
}
}
/* NEWSLETTER */
.flexRow--newsletter-container {
display: flex;
align-items: center;
width: 100%;
background-color: #000000;
}
.flexRow--newsletter-container .flexRowContent--newsletter-container {
display: flex;
flex-direction: column;
}
.flexRow--newsletter-container .flexRowContent--newsletter-container .stretchChildrenWidth {
width: 100% !important;
}
.flexRow--newsletter-container .flexRowContent--newsletter-container .flexRowContent--text-newsletter {
display: flex;
flex-direction: column;
}
/* CORREÇÃO BUG SCROLL DA PAG */
:global(.vtex-store-footer) {
margin: 0 !important;
}