challenge-vtex-io-saulo-klein/styles/css/vtex.flex-layout.css

68 lines
1.7 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 */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;700&display=swap");
/* Grid breakpoints */
.flexRow .flexCol--info-availability, .flexRow .flexCol--rightCol {
position: relative;
}
.flexRow--shelf-product-row {
padding: 0 40px;
margin: 16px 0 0;
}
@media only screen and (min-width: 1920px) {
.flexRow--shelf-product-row {
padding: 0 360px;
}
}
.flexRow .flexRowContent--productPanel {
padding: 0 40px;
gap: 32px;
}
@media only screen and (min-width: 1920px) {
.flexRow .flexRowContent--productPanel {
margin: 16px 0px;
padding: 0 360px;
}
}
@media only screen and (max-width: 1024px) {
.flexRow .flexRowContent--productPanel {
flex-direction: column;
}
}
@media only screen and (max-width: 1024px) {
.flexRow .flexRowContent--productPanel .stretchChildrenWidth {
width: 100% !important;
}
}
.flexRow .flexRowContent--productPanel .stretchChildrenWidth:first-child {
padding: 0;
justify-content: normal;
}
@media only screen and (max-width: 1024px) {
.flexRow .flexRowContent--productPanel .flexCol--productShowcase {
padding: 0;
}
}
.flexRow .flexRowContent--quantityAndBuy {
margin: 0 0 16px;
}
.flexRow .flexRowContent--quantityAndBuy .stretchChildrenWidth {
width: auto !important;
}
.flexRow .flexRowContent--quantityAndBuy .stretchChildrenWidth:last-child {
flex: 1;
}
@media only screen and (max-width: 639px) {
.flexRow .flexRowContent--quantityAndBuy .stretchChildrenWidth:last-child {
margin: 10px 0 0;
}
}
.flexRow .flexRowContent--productName {
margin: 0;
}