challenge-vtex-io-andrea-ma.../styles/sass/pages/product/vtex.flex-layout.scss

81 lines
1.4 KiB
SCSS
Raw Normal View History

/* ----- PRODUCT-MAIN ----- */
.flexRowContent--productMain {
padding: 0 40px;
gap: 32px;
justify-content: center;
@include mq(xl, min) {
padding: 0 360px;
}
@include mq(lg, max) {
flex-direction: column;
.stretchChildrenWidth {
width: 100% !important;
}
}
}
/* ----- RIGHT-COL ----- */
.flexCol--right-col,
.flexCol--info-availability {
// background-color: red;
.flexRowContent--product-name {
text-align: right;
@include mq(lg, max) {
text-align: left;
.stretchChildrenWidth {
margin: 0;
}
}
}
@include mq(md, max) {
// background-color: cyan;
margin-top: 32px; //tem horas que fica com margem dobrada (mt + gap?)
}
}
.flexRowContent--quantity-buy {
margin-bottom: 16px;
align-items: center;
gap: 10px;
}
.flexCol--buy-button {
flex-grow: 1;
}
.flexColChild--buy-button {
flex-grow: 1;
:global(.vtex-button) {
border: 0;
border-radius: 0;
background-color: #000000;
}
:global(.vtex-button__label) {
padding: 12px 64px !important;
}
:global(.vtex-add-to-cart-button-0-x-buttonText) {
// font-family: "Open Sans";
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;
}
}