challenge-vtex-io-andrea-ma.../styles/css/vtex.flex-layout.css

55 lines
1.4 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 */
/* ----- PRODUCT-MAIN ----- */
.flexRowContent--productMain {
padding: 0 40px;
gap: 32px;
justify-content: center;
}
@media only screen and (min-width: 1920px) {
.flexRowContent--productMain {
padding: 0 360px;
}
}
@media only screen and (max-width: 1024px) {
.flexRowContent--productMain {
flex-direction: column;
}
.flexRowContent--productMain .stretchChildrenWidth {
width: 100% !important;
}
}
/* ----- RIGHT-COL ----- */
.flexCol--right-col .flexRowContent--product-name,
.flexCol--info-availability .flexRowContent--product-name {
text-align: right;
}
@media only screen and (max-width: 1024px) {
.flexCol--right-col .flexRowContent--product-name,
.flexCol--info-availability .flexRowContent--product-name {
text-align: left;
}
.flexCol--right-col .flexRowContent--product-name .stretchChildrenWidth,
.flexCol--info-availability .flexRowContent--product-name .stretchChildrenWidth {
margin: 0;
}
}
@media only screen and (max-width: 639px) {
.flexCol--right-col,
.flexCol--info-availability {
margin-top: 32px;
}
}
/* ----- RIGHT-COL-AVAILABILITY ----- */
.flexColChild--info-availability :global(.vtex-store-components-3-x-skuSelectorSubcontainer--cor) {
margin-bottom: 0 !important;
}