challenge-vtex-io-patricksouza/styles/css/vtex.flex-layout.css
2023-02-10 23:43:37 -03:00

79 lines
2.0 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 */
.flexRow--product-main-container :global(.vtex-store-components-3-x-container),
.flexRow--product-description-container :global(.vtex-store-components-3-x-container),
.flexRow--breadcrumb-container :global(.vtex-store-components-3-x-container),
.flexRow--shelf-pdp :global(.vtex-store-components-3-x-container),
.flexRow--menu-row-wrapper :global(.vtex-store-components-3-x-container),
.flexRow--menu-row-newsletter :global(.vtex-store-components-3-x-container),
.flexRow--footer-credits :global(.vtex-store-components-3-x-container) {
max-width: 1920px;
padding: 0 40px;
}
.flexRowContent--button-card-add .stretchChildrenWidth:first-child {
max-width: 128px;
padding-right: 10px;
}
.flexRowContent--button-card-add .stretchChildrenWidth:last-child {
width: 100% !important;
}
.flexRowContent--button-card-add :global(.vtex-button) {
background-color: #000000;
border: none;
border-radius: 0;
padding: 12px;
}
.flexRowContent--shelf-pdp {
display: flex;
flex-direction: column;
}
.flexRowContent--shelf-pdp .stretchChildrenWidth {
width: 100% !important;
margin-bottom: 32px;
}
.flexRow--menu-row-newsletter {
margin-top: 64px;
background: #000000;
border-bottom: 1px solid #ffffff;
}
.flexRow--menu-row-newsletter .flexRowContent--menu-row-newsletter {
width: 100%;
max-width: 775px;
margin: 0 auto;
}
.flexRowContent--menu-row-newsletter {
display: flex;
flex-direction: column;
padding: 32px 0 16px;
}
.flexRowContent--menu-row-newsletter .stretchChildrenWidth {
width: 100% !important;
}
.flexRow--menu-row-wrapper {
background-color: #000000;
padding-top: 32px;
padding-bottom: 128px;
}
.flexRow--footer-credits {
background-color: #000000 !important;
border-top: 1px solid #ffffff;
padding: 31px 0 15px;
}
.flexRowContent--menu-row-social-wrapper {
display: flex;
flex-direction: column;
}