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

83 lines
2.0 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;
}