Merge pull request 'feat/estilos-iniciais-carousel-botão-add-carrinho' (#4) from feature/estilos-iniciais-corousel-botao-add-carrinho into development

Reviewed-on: #4
This commit is contained in:
Rafael Sampaio de Oliveira 2023-01-24 20:05:40 +00:00
commit d8837ed7bd
5 changed files with 38 additions and 35 deletions

View File

@ -1,6 +1,7 @@
{ {
"add-to-cart-button": { "add-to-cart-button#addToCart": {
"props": { "props": {
"blockClass": "addToCart",
"addToCartFeedback": "customEvent", "addToCartFeedback": "customEvent",
"customPixelEventId": "add-to-cart-button" "customPixelEventId": "add-to-cart-button"
} }

View File

@ -78,7 +78,7 @@
"flex-layout.col#stack": { "flex-layout.col#stack": {
"children": ["stack-layout"], "children": ["stack-layout"],
"props": { "props": {
"width": "60%", // "width": "644px",
"rowGap": 0 "rowGap": 0
} }
}, },
@ -91,7 +91,11 @@
"desktop": "auto", "desktop": "auto",
"phone": "16:9" "phone": "16:9"
}, },
"displayThumbnailsArrows": true "showNavigationArrows": false,
"showPaginationDots": false,
"maxHeight": 664,
"thumbnailsOrientation": "horizontal",
"thumbnailMaxHeight": 90
} }
}, },
"flex-layout.col#right-col": { "flex-layout.col#right-col": {
@ -106,7 +110,6 @@
"flex-layout.row#selling-price", "flex-layout.row#selling-price",
"product-installments", "product-installments",
"sku-selector", "sku-selector",
"product-quantity",
"product-assembly-options", "product-assembly-options",
"product-gifts", "product-gifts",
"flex-layout.row#buy-button", "flex-layout.row#buy-button",
@ -145,10 +148,11 @@
"flex-layout.row#buy-button": { "flex-layout.row#buy-button": {
"props": { "props": {
"blockClass": "buy-button",
"marginTop": 4, "marginTop": 4,
"marginBottom": 7 "marginBottom": 7
}, },
"children": ["add-to-cart-button"] "children": ["product-quantity", "add-to-cart-button#addToCart"]
}, },
"flex-layout.row#product-availability": { "flex-layout.row#product-availability": {

View File

@ -1,9 +1,6 @@
{ {
"modal-trigger#quickview": { "modal-trigger#quickview": {
"children": [ "children": ["icon-expand", "modal-layout#quickview"],
"icon-expand",
"modal-layout#quickview"
],
"props": { "props": {
"blockClass": "quickview" "blockClass": "quickview"
} }
@ -63,9 +60,7 @@
}, },
"flex-layout.col#quickview-product-quantity": { "flex-layout.col#quickview-product-quantity": {
"children": [ "children": ["product-summary-quantity#quickview"]
"product-summary-quantity#quickview"
]
}, },
"product-summary-quantity#quickview": { "product-summary-quantity#quickview": {
"props": { "props": {
@ -74,18 +69,14 @@
} }
}, },
"flex-layout.col#quickview-add-to-card-button": { "flex-layout.col#quickview-add-to-card-button": {
"children": [ "children": ["add-to-cart-button"],
"add-to-cart-button"
],
"props": { "props": {
"width": "grow" "width": "grow"
} }
}, },
"flex-layout.row#quickview-actions-2": { "flex-layout.row#quickview-actions-2": {
"children": [ "children": ["link.product#button-pdp"]
"link.product#button-pdp"
]
}, },
"link.product#button-pdp": { "link.product#button-pdp": {
"props": { "props": {
@ -107,15 +98,10 @@
} }
}, },
"flex-layout.col#quickview-images": { "flex-layout.col#quickview-images": {
"children": [ "children": ["product-images#quickview"]
"product-images#quickview"
]
}, },
"flex-layout.col#quickview-product-details": { "flex-layout.col#quickview-product-details": {
"children": [ "children": ["modal-content#quickview", "modal-actions#quickview"],
"modal-content#quickview",
"modal-actions#quickview"
],
"props": { "props": {
"preventVerticalStretch": true, "preventVerticalStretch": true,
"blockClass": "quickviewDetails" "blockClass": "quickviewDetails"
@ -134,7 +120,7 @@
"blockClass": "quickview" "blockClass": "quickview"
} }
}, },
"product-images#quickview" : { "product-images#quickview": {
"props": { "props": {
"blockClass": "quickview", "blockClass": "quickview",
"showNavigationArrows": true "showNavigationArrows": true

View File

@ -42,6 +42,10 @@
font-size: 14px; font-size: 14px;
} }
.flexRowContent--buy-button {
height: 49px;
}
.flexRow--deals { .flexRow--deals {
background-color: #0f3e99; background-color: #0f3e99;
padding: 14px 0px; padding: 14px 0px;

View File

@ -11,15 +11,23 @@
background: red; background: red;
} }
.caretIcon { .productBrand--quickview {
display: none;
}
.swiper-pagination {
display: none;
}
.productNameContainer--quickview {
display: flex; display: flex;
justify-content: end; justify-content: end;
} }
.carouselGaleryThumbs {
max-height: 90px;
}
.productImageTag--main {
max-width: 664px;
}
.carouselThumbBorder {
display: none;
}
.thumbImg {
width: 90px;
}