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

52 lines
1.4 KiB
CSS
Raw Normal View History

/*
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 */
2023-02-03 00:37:40 +00:00
@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 .flexRowContent--productPanel {
2023-02-06 23:47:29 +00:00
margin: 16px 0;
padding: 0 40px;
}
2023-02-09 10:47:26 +00:00
@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;
2023-02-03 00:37:40 +00:00
justify-content: normal;
}
2023-02-03 00:37:40 +00:00
.flexRow .flexRowContent--productPanel .flexCol--productShowcase {
padding: 0 32px 0 0;
}
2023-02-09 10:47:26 +00:00
@media only screen and (max-width: 1024px) {
.flexRow .flexRowContent--productPanel .flexCol--productShowcase {
padding: 0;
margin: 0 0 32px;
}
}
2023-02-03 00:37:40 +00:00
.flexRow .flexRowContent--quantityAndBuy {
margin: 0 0 16px;
}
.flexRow .flexRowContent--quantityAndBuy .stretchChildrenWidth {
width: auto !important;
}
.flexRow .flexRowContent--quantityAndBuy .stretchChildrenWidth:last-child {
flex: 1;
2023-02-06 23:47:29 +00:00
}
.flexRow .flexRowContent--productName {
margin: 0;
}