challenge-vtex-io-gabriel-g.../styles/css/vtex.flex-layout.css

92 lines
2.5 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@400;500;600;700&family=Roboto:wght@400;500;700&display=swap");
/* Grid breakpoints */
.flexRowContent--buy-button-container {
margin-bottom: 16px;
}
.flexRowContent--buy-button-container :global(.vtex-button) {
background-color: black;
border: none;
height: 50px;
margin-left: 10px;
}
@media screen and (min-width: 375px) and (max-width: 768px) {
.flexRowContent--buy-button-container :global(.vtex-button) {
height: 74px;
margin-top: 10px;
margin-left: unset;
}
}
.flexRow--buy-box .stretchChildrenWidth:nth-child(2n) {
width: 100% !important;
}
.flexRowContent--principal .stretchChildrenWidth:nth-child(2n) {
width: 100% !important;
}
.flexRowContent--principal .flexColChild--mainpage-col {
padding: 0;
}
.flexRowContent {
padding: 0;
margin: 0;
}
@media screen and (max-width: 1024px) {
.flexRowContent {
display: flex;
flex-direction: column;
}
.flexRowContent .stretchChildrenWidth {
width: auto !important;
padding: 0;
}
.flexRowContent :global(.vtex-store-components-3-x-carouselGaleryThumbs) {
display: block;
}
.flexRowContent .flexRowContent--buy-box {
flex-direction: row;
}
}
@media screen and (max-width: 1024px) and (min-width: 375px) and (max-width: 768px) {
.flexRowContent .flexRowContent--buy-box {
flex-direction: column;
}
}
.flexRowContent--main-header-mobile {
flex-direction: row;
}
.flexColChild--mainpage-col {
padding-bottom: 2rem;
}
:global(.vtex-flex-layout-0-x-flexRow--pix-container) {
display: flex;
align-items: center;
}
@media screen and (max-width: 1024px) {
:global(.vtex-flex-layout-0-x-flexRow--pix-container) :global(.vtex-flex-layout-0-x-flexRowContent--pix-container) {
flex-direction: row;
display: flex;
}
}
:global(.vtex-flex-layout-0-x-flexRow--pix-container) :global(.vtex-flex-layout-0-x-flexRowContent--pix-container) :global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
display: flex;
align-items: center;
width: auto !important;
padding-right: 26px;
}
:global(.vtex-flex-layout-0-x-flexRow--pix-container) :global(.vtex-flex-layout-0-x-flexRowContent--pix-container) :global(.vtex-flex-layout-0-x-stretchChildrenWidth) :global(.vtex-store-components-3-x-imageElement) {
width: 66px;
height: 24px;
}