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

111 lines
2.6 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 */
/* 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;
}
}
.flexRowContent--quantity-buy {
margin-bottom: 16px;
align-items: center;
gap: 10px;
}
.flexCol--buy-button {
flex-grow: 1;
}
.flexColChild--buy-button {
flex-grow: 1;
}
.flexColChild--buy-button :global(.vtex-button) {
border: 0;
border-radius: 0;
background-color: #000000;
}
.flexColChild--buy-button :global(.vtex-button__label) {
padding: 12px 64px !important;
}
.flexColChild--buy-button :global(.vtex-add-to-cart-button-0-x-buttonText) {
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #ffffff;
}
/* ----- RIGHT-COL-AVAILABILITY ----- */
.flexColChild--info-availability :global(.vtex-store-components-3-x-skuSelectorSubcontainer--cor) {
margin-bottom: 0 !important;
2023-02-10 23:56:36 +00:00
}
/* ----- NEWSLETTER ----- */
.flexRow--newsletter-wrapper {
padding: 32px 0 16px;
border-bottom: 1px solid #ffffff;
background: #000000;
}
@media only screen and (max-width: 1024px) {
.flexRow--newsletter-wrapper {
padding: 64px 16px 32px;
border-bottom: 0;
}
}
.flexRow--newsletter-wrapper :global(.vtex-store-components-3-x-container) {
max-width: 4000px;
}
.flexRow--newsletter-wrapper .flexRowContent--newsletter-wrapper {
flex-direction: column;
align-items: center;
}
.flexRowContent--newsletter-form {
border-bottom: 1px solid #929292;
justify-content: space-between;
}
.flexRowContent--newsletter-form .pr0 {
height: fit-content;
}