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

119 lines
2.1 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;
}
}
2023-02-10 23:56:36 +00:00
/* ----- NEWSLETTER ----- */
.flexRow--newsletter-wrapper {
padding: 32px 0 16px;
// width: 30.23%;
// margin: 0 auto;
// background: red; //#000000;
border-bottom: 1px solid #ffffff;
background: #000000;
// display: flex;
// justify-content: center;
@include mq(lg, max) {
padding: 64px 16px 32px;
border-bottom: 0;
}
:global(.vtex-store-components-3-x-container) {
max-width: 4000px;
}
.flexRowContent--newsletter-wrapper {
// background-color: yellow;
flex-direction: column;
align-items: center;
}
}
.flexRowContent--newsletter-form {
// width: 774px; // 54.97%;
// margin: 0 auto;
border-bottom: 1px solid #929292;
justify-content: space-between;
.pr0 {
height: fit-content;
}
}