forked from M3-Academy/challenge-vtex-io
Merge pull request 'feature/pdp-main-view' (#2) from feature/pdp-main-view into develop
Reviewed-on: #2
This commit is contained in:
commit
138695db1d
BIN
assets/fonts/OpenSans-Bold.ttf
Normal file
BIN
assets/fonts/OpenSans-Bold.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-BoldItalic.ttf
Normal file
BIN
assets/fonts/OpenSans-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-ExtraBold.ttf
Normal file
BIN
assets/fonts/OpenSans-ExtraBold.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-ExtraBoldItalic.ttf
Normal file
BIN
assets/fonts/OpenSans-ExtraBoldItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-Italic.ttf
Normal file
BIN
assets/fonts/OpenSans-Italic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-Light.ttf
Normal file
BIN
assets/fonts/OpenSans-Light.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-LightItalic.ttf
Normal file
BIN
assets/fonts/OpenSans-LightItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-Medium.ttf
Normal file
BIN
assets/fonts/OpenSans-Medium.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-MediumItalic.ttf
Normal file
BIN
assets/fonts/OpenSans-MediumItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-Regular.ttf
Normal file
BIN
assets/fonts/OpenSans-Regular.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-SemiBold.ttf
Normal file
BIN
assets/fonts/OpenSans-SemiBold.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-SemiBoldItalic.ttf
Normal file
BIN
assets/fonts/OpenSans-SemiBoldItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/Roboto-Black.ttf
Normal file
BIN
assets/fonts/Roboto-Black.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/Roboto-BlackItalic.ttf
Normal file
BIN
assets/fonts/Roboto-BlackItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/Roboto-Bold.ttf
Normal file
BIN
assets/fonts/Roboto-Bold.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/Roboto-BoldItalic.ttf
Normal file
BIN
assets/fonts/Roboto-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/Roboto-Italic.ttf
Normal file
BIN
assets/fonts/Roboto-Italic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/Roboto-Light.ttf
Normal file
BIN
assets/fonts/Roboto-Light.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/Roboto-LightItalic.ttf
Normal file
BIN
assets/fonts/Roboto-LightItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/Roboto-Medium.ttf
Normal file
BIN
assets/fonts/Roboto-Medium.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/Roboto-MediumItalic.ttf
Normal file
BIN
assets/fonts/Roboto-MediumItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/Roboto-Regular.ttf
Normal file
BIN
assets/fonts/Roboto-Regular.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/Roboto-Thin.ttf
Normal file
BIN
assets/fonts/Roboto-Thin.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/Roboto-ThinItalic.ttf
Normal file
BIN
assets/fonts/Roboto-ThinItalic.ttf
Normal file
Binary file not shown.
@ -15,7 +15,6 @@
|
|||||||
"postreleasy": "vtex publish --verbose"
|
"postreleasy": "vtex publish --verbose"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"agenciamagma.store-theme": "5.x",
|
|
||||||
"vtex.store": "2.x",
|
"vtex.store": "2.x",
|
||||||
"vtex.store-header": "2.x",
|
"vtex.store-header": "2.x",
|
||||||
"vtex.product-summary": "2.x",
|
"vtex.product-summary": "2.x",
|
||||||
@ -49,6 +48,7 @@
|
|||||||
"vtex.checkout-summary": "0.x",
|
"vtex.checkout-summary": "0.x",
|
||||||
"vtex.product-list": "0.x",
|
"vtex.product-list": "0.x",
|
||||||
"vtex.add-to-cart-button": "0.x",
|
"vtex.add-to-cart-button": "0.x",
|
||||||
|
"vtex.responsive-values": "0.x",
|
||||||
"vtex.product-bookmark-interfaces": "1.x",
|
"vtex.product-bookmark-interfaces": "1.x",
|
||||||
"vtex.responsive-layout": "0.x",
|
"vtex.responsive-layout": "0.x",
|
||||||
"vtex.slider-layout": "0.x",
|
"vtex.slider-layout": "0.x",
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
import Example from "./components/Example/Example";
|
|
||||||
|
|
||||||
export default Example;
|
|
@ -1,9 +0,0 @@
|
|||||||
import React from 'react'
|
|
||||||
|
|
||||||
const Example = () => {
|
|
||||||
return (
|
|
||||||
<div>Example</div>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
export default Example
|
|
@ -2,8 +2,6 @@
|
|||||||
"store.home": {
|
"store.home": {
|
||||||
"blocks": [
|
"blocks": [
|
||||||
"list-context.image-list#demo",
|
"list-context.image-list#demo",
|
||||||
"example-component", /* You can make references to blocks defined in other files.
|
|
||||||
* For example, `flex-layout.row#deals` is defined in the `deals.json` file. */
|
|
||||||
"flex-layout.row#deals",
|
"flex-layout.row#deals",
|
||||||
"__fold__",
|
"__fold__",
|
||||||
"rich-text#shelf-title",
|
"rich-text#shelf-title",
|
||||||
|
62
store/blocks/pdp/product-shelf.jsonc
Normal file
62
store/blocks/pdp/product-shelf.jsonc
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
{
|
||||||
|
"list-context.product-list#pdp-shelf": {
|
||||||
|
"blocks": ["product-summary.shelf#pdp-shelf"],
|
||||||
|
"children": ["html#pdp-slider-shelf"]
|
||||||
|
},
|
||||||
|
|
||||||
|
"html#pdp-slider-shelf-title": {
|
||||||
|
"children": ["rich-text#pdp-shelf-title"]
|
||||||
|
},
|
||||||
|
|
||||||
|
"html#pdp-slider-shelf": {
|
||||||
|
"props": {
|
||||||
|
"testId": "product-summary-list"
|
||||||
|
},
|
||||||
|
"children": ["slider-layout#pdp-shelf"]
|
||||||
|
},
|
||||||
|
|
||||||
|
"html#list-context-pdp-shelf": {
|
||||||
|
"props": {
|
||||||
|
"testId": "product-summary-list"
|
||||||
|
},
|
||||||
|
"children": ["list-context.product-list#pdp-shelf"]
|
||||||
|
},
|
||||||
|
|
||||||
|
"rich-text#pdp-shelf-title": {
|
||||||
|
"props": {
|
||||||
|
"text": "## Você também pode gostar:",
|
||||||
|
"textPosition": "CENTER",
|
||||||
|
"textAlignment": "CENTER"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"slider-layout#pdp-shelf": {
|
||||||
|
"props": {
|
||||||
|
"blockClass": "productShelf",
|
||||||
|
"infinite": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"product-summary.shelf#pdp-shelf": {
|
||||||
|
"children": [
|
||||||
|
"product-summary-image#pdp-shelf",
|
||||||
|
"product-summary-name",
|
||||||
|
"product-summary-price#pdp-shelf"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"product-summary-image#pdp-shelf": {
|
||||||
|
"props": {
|
||||||
|
"showBadge": false,
|
||||||
|
"alabelSellingPricespectRatio": "1:1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"product-summary-price#pdp-shelf": {
|
||||||
|
"props": {
|
||||||
|
"showInstallments": false,
|
||||||
|
"labelListPrice": "de",
|
||||||
|
"labelSellingPrice": "por"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -1,83 +1,146 @@
|
|||||||
{
|
{
|
||||||
"product-specification-group#table": {
|
"tab-layout#product-specification": {
|
||||||
"children": [
|
"children": [
|
||||||
"flex-layout.row#spec-group"
|
"tab-list#product-specification",
|
||||||
|
"tab-content#product-specification"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"flex-layout.row#spec-group": {
|
|
||||||
|
"tab-list#product-specification": {
|
||||||
"props": {
|
"props": {
|
||||||
"blockClass": "productSpecificationGroup"
|
"blockClass": "ProductSpecificationTabList"
|
||||||
},
|
},
|
||||||
|
|
||||||
"children": [
|
"children": [
|
||||||
"flex-layout.col#spec-group"
|
"tab-list.item#specification-1",
|
||||||
|
"tab-list.item#specification-2",
|
||||||
|
"tab-list.item#specification-3",
|
||||||
|
"tab-list.item#specification-4"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"flex-layout.col#spec-group": {
|
|
||||||
"children": [
|
"tab-list.item#specification-1": {
|
||||||
"flex-layout.row#spec-group-name",
|
|
||||||
"product-specification"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"flex-layout.row#spec-group-name": {
|
|
||||||
"props": {
|
"props": {
|
||||||
"blockClass": "productSpecificationGroupName"
|
"tabId": "descriptionSpecificationsId",
|
||||||
},
|
"label": "Descrição",
|
||||||
"children": [
|
"defaultActiveTab": true
|
||||||
"product-specification-text#group"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"product-specification": {
|
|
||||||
"children": [
|
|
||||||
"flex-layout.row#spec-item"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"flex-layout.row#spec-item": {
|
|
||||||
"props": {
|
|
||||||
"blockClass": "productSpecification"
|
|
||||||
},
|
|
||||||
"children": [
|
|
||||||
"flex-layout.col#spec-name",
|
|
||||||
"flex-layout.col#spec-value"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"flex-layout.col#spec-name": {
|
|
||||||
"props": {
|
|
||||||
"blockClass": "productSpecificationName",
|
|
||||||
"width": {
|
|
||||||
"mobile": "50%",
|
|
||||||
"desktop": "25%"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"children": [
|
"tab-list.item#specification-2": {
|
||||||
"product-specification-text#specification"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"flex-layout.col#spec-value": {
|
|
||||||
"props": {
|
"props": {
|
||||||
"blockClass": "productSpecificationValue"
|
"tabId": "productTableSpecificationsId",
|
||||||
},
|
"label": "Especificações"
|
||||||
"children": [
|
|
||||||
"product-specification-values"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"product-specification-values": {
|
|
||||||
"children": [
|
|
||||||
"product-specification-text#value"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"product-specification-text#group": {
|
|
||||||
"props": {
|
|
||||||
"message": "{groupName}"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"product-specification-text#specification": {
|
|
||||||
|
"tab-list.item#specification-3": {
|
||||||
"props": {
|
"props": {
|
||||||
"message": "{specificationName}"
|
"tabId": "productVendorId",
|
||||||
|
"label": "Vendedor"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"product-specification-text#value": {
|
|
||||||
|
"tab-list.item#specification-4": {
|
||||||
"props": {
|
"props": {
|
||||||
"message": "{specificationValue}"
|
"tabId": "productLocationId",
|
||||||
|
"label": "Localização"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"tab-content#product-specification": {
|
||||||
|
"children": [
|
||||||
|
"tab-content.item#specification-1",
|
||||||
|
"tab-content.item#specification-2",
|
||||||
|
"tab-content.item#specification-3",
|
||||||
|
"tab-content.item#specification-4"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"tab-content.item#specification-1": {
|
||||||
|
"children": ["flex-layout.row#product-specification-1"],
|
||||||
|
"props": {
|
||||||
|
"tabId": "descriptionSpecificationsId"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tab-content.item#specification-2": {
|
||||||
|
"children": ["flex-layout.row#product-specification-2"],
|
||||||
|
"props": {
|
||||||
|
"tabId": "productTableSpecificationsId"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"tab-content.item#specification-3": {
|
||||||
|
"children": ["flex-layout.row#product-specification-1"],
|
||||||
|
"props": {
|
||||||
|
"tabId": "productVendorId"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"tab-content.item#specification-4": {
|
||||||
|
"children": ["flex-layout.row#product-specification-2"],
|
||||||
|
"props": {
|
||||||
|
"tabId": "productLocationId"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"flex-layout.row#product-specification-1": {
|
||||||
|
"props": {
|
||||||
|
"blockClass": "productSpecificationItemContainer",
|
||||||
|
"colGap": 7,
|
||||||
|
"marginTop": 7,
|
||||||
|
"rowGap": 5
|
||||||
|
},
|
||||||
|
|
||||||
|
"children": [
|
||||||
|
"product-images#product-specification",
|
||||||
|
"flex-layout.row#description-1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"flex-layout.row#product-specification-2": {
|
||||||
|
"props": {
|
||||||
|
"blockClass": "productSpecificationItemContainer",
|
||||||
|
"colGap": 7,
|
||||||
|
"marginTop": 7,
|
||||||
|
"rowGap": 5
|
||||||
|
},
|
||||||
|
|
||||||
|
"children": [
|
||||||
|
"product-images#product-specification",
|
||||||
|
"flex-layout.row#description-2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"product-images#product-specification": {
|
||||||
|
"props": {
|
||||||
|
"aspectRatio": "1:1",
|
||||||
|
"displayMode": "first-image"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"flex-layout.row#description-1": {
|
||||||
|
"props": {
|
||||||
|
"marginBottom": 7
|
||||||
|
},
|
||||||
|
"children": ["product-description#product-specification-1"]
|
||||||
|
},
|
||||||
|
|
||||||
|
"flex-layout.row#description-2": {
|
||||||
|
"props": {
|
||||||
|
"marginBottom": 7
|
||||||
|
},
|
||||||
|
"children": ["product-description#product-specification-2"]
|
||||||
|
},
|
||||||
|
|
||||||
|
"product-description#product-specification-1": {
|
||||||
|
"props": {
|
||||||
|
"collapseContent": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"product-description#product-specification-2": {
|
||||||
|
"props": {
|
||||||
|
"collapseContent": false,
|
||||||
|
"title": "Descrição"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,13 +3,14 @@
|
|||||||
"children": [
|
"children": [
|
||||||
"html#breadcrumb",
|
"html#breadcrumb",
|
||||||
"condition-layout.product#availability",
|
"condition-layout.product#availability",
|
||||||
"flex-layout.row#description",
|
"tab-layout#product-specification",
|
||||||
"flex-layout.row#specifications-title",
|
"html#pdp-slider-shelf-title",
|
||||||
"product-specification-group#table",
|
"html#list-context-pdp-shelf",
|
||||||
"shelf.relatedProducts",
|
"newsletter",
|
||||||
"product-questions-and-answers"
|
"product-questions-and-answers"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
"html#breadcrumb": {
|
"html#breadcrumb": {
|
||||||
"props": {
|
"props": {
|
||||||
"tag": "section",
|
"tag": "section",
|
||||||
@ -18,20 +19,64 @@
|
|||||||
},
|
},
|
||||||
"children": ["breadcrumb#pdp-breadcrumb"]
|
"children": ["breadcrumb#pdp-breadcrumb"]
|
||||||
},
|
},
|
||||||
"flex-layout.row#specifications-title": {
|
|
||||||
"children": ["rich-text#specifications"]
|
"breadcrumb#pdp-breadcrumb": {
|
||||||
},
|
|
||||||
"rich-text#specifications": {
|
|
||||||
"props": {
|
"props": {
|
||||||
"text": "##### Product Specifications"
|
"homeIconSize": 0,
|
||||||
|
"showOnMobile": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flex-layout.row#description": {
|
|
||||||
|
"html#product-images": {
|
||||||
"props": {
|
"props": {
|
||||||
"marginBottom": 7
|
"blockClass": "productImages",
|
||||||
|
"testId": "product-images"
|
||||||
},
|
},
|
||||||
"children": ["product-description"]
|
"children": ["flex-layout.row#product-image"]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"flex-layout.row#product-image": {
|
||||||
|
"title": "LAYOUT: exibição do carossel de images do produto",
|
||||||
|
"children": ["product-images"]
|
||||||
|
},
|
||||||
|
|
||||||
|
"product-images": {
|
||||||
|
"title": "BLOCO: exibição do carossel de imagens do produto",
|
||||||
|
"props": {
|
||||||
|
"aspectRatio": "1:1",
|
||||||
|
"thumbnailAspectRatio": "1:1",
|
||||||
|
"thumbnailsOrientation": "horizontal",
|
||||||
|
"displayThumbnailsArrows": false,
|
||||||
|
"thumbnailVisibility": "visible",
|
||||||
|
"showNavigationArrows": false,
|
||||||
|
"showPaginationDots": false,
|
||||||
|
"thumbnailMaxHeight": 90
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"flex-layout.row#product-main": {
|
||||||
|
"props": {
|
||||||
|
"colGap": 7,
|
||||||
|
"rowGap": 7,
|
||||||
|
"marginTop": 5,
|
||||||
|
"marginBottom": 7,
|
||||||
|
"paddingBottom": 7,
|
||||||
|
"blockClass": "productMain"
|
||||||
|
},
|
||||||
|
"children": ["flex-layout.col#stack", "flex-layout.col#right-col"]
|
||||||
|
},
|
||||||
|
|
||||||
|
"stack-layout": {
|
||||||
|
"props": {
|
||||||
|
"blockClass": "product"
|
||||||
|
},
|
||||||
|
"children": [
|
||||||
|
"html#product-images",
|
||||||
|
"product-bookmark",
|
||||||
|
"product-specification-badges"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
"condition-layout.product#availability": {
|
"condition-layout.product#availability": {
|
||||||
"props": {
|
"props": {
|
||||||
"conditions": [
|
"conditions": [
|
||||||
@ -43,28 +88,6 @@
|
|||||||
"Else": "flex-layout.row#product-availability"
|
"Else": "flex-layout.row#product-availability"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flex-layout.row#product-main": {
|
|
||||||
"props": {
|
|
||||||
"colGap": 7,
|
|
||||||
"rowGap": 7,
|
|
||||||
"marginTop": 4,
|
|
||||||
"marginBottom": 7,
|
|
||||||
"paddingTop": 7,
|
|
||||||
"paddingBottom": 7
|
|
||||||
},
|
|
||||||
"children": ["flex-layout.col#stack", "flex-layout.col#right-col"]
|
|
||||||
},
|
|
||||||
|
|
||||||
"stack-layout": {
|
|
||||||
"props": {
|
|
||||||
"blockClass": "product"
|
|
||||||
},
|
|
||||||
"children": [
|
|
||||||
"flex-layout.row#product-image",
|
|
||||||
"product-bookmark",
|
|
||||||
"product-specification-badges"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
|
|
||||||
"product-specification-badges": {
|
"product-specification-badges": {
|
||||||
"props": {
|
"props": {
|
||||||
@ -82,47 +105,60 @@
|
|||||||
"rowGap": 0
|
"rowGap": 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flex-layout.row#product-image": {
|
|
||||||
"children": ["product-images"]
|
|
||||||
},
|
|
||||||
"product-images": {
|
|
||||||
"props": {
|
|
||||||
"aspectRatio": {
|
|
||||||
"desktop": "auto",
|
|
||||||
"phone": "16:9"
|
|
||||||
},
|
|
||||||
"displayThumbnailsArrows": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flex-layout.col#right-col": {
|
"flex-layout.col#right-col": {
|
||||||
"props": {
|
"props": {
|
||||||
|
"blockClass": "productInformations",
|
||||||
"preventVerticalStretch": true,
|
"preventVerticalStretch": true,
|
||||||
"rowGap": 0
|
"rowGap": 0
|
||||||
},
|
},
|
||||||
"children": [
|
"children": [
|
||||||
"flex-layout.row#product-name",
|
"flex-layout.row#product-name",
|
||||||
"product-rating-summary",
|
|
||||||
"flex-layout.row#list-price-savings",
|
|
||||||
"flex-layout.row#selling-price",
|
"flex-layout.row#selling-price",
|
||||||
"product-installments",
|
"product-installments",
|
||||||
"product-separator",
|
"html#sku-selector",
|
||||||
"product-identifier.product",
|
|
||||||
"sku-selector",
|
|
||||||
"product-quantity",
|
|
||||||
"product-assembly-options",
|
|
||||||
"product-gifts",
|
"product-gifts",
|
||||||
"flex-layout.row#buy-button",
|
"flex-layout.row#pdp-buy-actions",
|
||||||
"availability-subscriber",
|
"availability-subscriber",
|
||||||
"shipping-simulator",
|
"shipping-simulator"
|
||||||
"share#default"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"product-installments": {
|
||||||
|
"props": {
|
||||||
|
"markers": ["discount"],
|
||||||
|
"message": "{installmentsNumber}x {installmentValue}{hasInterest, select, true { {interestRate} de juros} false { sem juros}}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
"flex-layout.row#product-name": {
|
"flex-layout.row#product-name": {
|
||||||
"props": {
|
"props": {
|
||||||
"marginBottom": 3
|
"marginBottom": 5,
|
||||||
|
"preserveLayoutOnMobile": true
|
||||||
},
|
},
|
||||||
"children": ["vtex.store-components:product-name"]
|
|
||||||
|
"children": ["flex-layout.col#product-name"]
|
||||||
|
},
|
||||||
|
|
||||||
|
"flex-layout.col#product-name": {
|
||||||
|
"props": {
|
||||||
|
"blockClass": "productName",
|
||||||
|
"rowGap": 3
|
||||||
|
},
|
||||||
|
|
||||||
|
"children": [
|
||||||
|
"vtex.store-components:product-name",
|
||||||
|
"product-identifier.product"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"html#sku-selector": {
|
||||||
|
"props": {
|
||||||
|
"testId": "sku-selector"
|
||||||
|
},
|
||||||
|
|
||||||
|
"children": ["sku-selector"]
|
||||||
},
|
},
|
||||||
|
|
||||||
"sku-selector": {
|
"sku-selector": {
|
||||||
@ -132,12 +168,44 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"flex-layout.row#pdp-buy-actions": {
|
||||||
|
"children": ["html#pdp-product-quantity", "html#add-to-cart-button"]
|
||||||
|
},
|
||||||
|
|
||||||
"flex-layout.row#buy-button": {
|
"flex-layout.row#buy-button": {
|
||||||
"props": {
|
"props": {
|
||||||
"marginTop": 4,
|
"marginTop": 4,
|
||||||
"marginBottom": 7
|
"marginBottom": 7,
|
||||||
|
"blockClass": "productAddToCart"
|
||||||
},
|
},
|
||||||
"children": ["add-to-cart-button"]
|
"children": ["html#add-to-cart-button"]
|
||||||
|
},
|
||||||
|
|
||||||
|
"html#add-to-cart-button": {
|
||||||
|
"props": {
|
||||||
|
"testId": "add-to-cart-button"
|
||||||
|
},
|
||||||
|
"children": ["add-to-cart-button#pdp-add-to-cart-button"]
|
||||||
|
},
|
||||||
|
|
||||||
|
"html#pdp-product-quantity": {
|
||||||
|
"props": {
|
||||||
|
"testId": "product-quantity"
|
||||||
|
},
|
||||||
|
"children": ["product-quantity"]
|
||||||
|
},
|
||||||
|
|
||||||
|
"product-quantity": {
|
||||||
|
"props": {
|
||||||
|
"showLabel": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"add-to-cart-button#pdp-add-to-cart-button": {
|
||||||
|
"props": {
|
||||||
|
"text": "Adicionar à sacola",
|
||||||
|
"blockClass": "productAddToCartButton"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"flex-layout.row#product-availability": {
|
"flex-layout.row#product-availability": {
|
||||||
@ -159,7 +227,7 @@
|
|||||||
"blockClass": "info-availability"
|
"blockClass": "info-availability"
|
||||||
},
|
},
|
||||||
"children": [
|
"children": [
|
||||||
"flex-layout.row#product-name",
|
"vtex.store-components:product-name",
|
||||||
"product-identifier.product",
|
"product-identifier.product",
|
||||||
"sku-selector",
|
"sku-selector",
|
||||||
"flex-layout.row#availability"
|
"flex-layout.row#availability"
|
||||||
@ -170,23 +238,5 @@
|
|||||||
"blockClass": "message-availability"
|
"blockClass": "message-availability"
|
||||||
},
|
},
|
||||||
"children": ["availability-subscriber"]
|
"children": ["availability-subscriber"]
|
||||||
},
|
|
||||||
|
|
||||||
"share#default": {
|
|
||||||
"props": {
|
|
||||||
"social": {
|
|
||||||
"Facebook": true,
|
|
||||||
"WhatsApp": true,
|
|
||||||
"Twitter": false,
|
|
||||||
"Pinterest": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
"breadcrumb#pdp-breadcrumb": {
|
|
||||||
"props": {
|
|
||||||
"homeIconSize": 0,
|
|
||||||
"showOnMobile": true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,9 +6,7 @@
|
|||||||
"preventHorizontalStretch": true,
|
"preventHorizontalStretch": true,
|
||||||
"marginBottom": 4
|
"marginBottom": 4
|
||||||
},
|
},
|
||||||
"children": [
|
"children": ["product-selling-price"]
|
||||||
"product-selling-price"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"flex-layout.row#list-price-savings": {
|
"flex-layout.row#list-price-savings": {
|
||||||
@ -19,9 +17,6 @@
|
|||||||
"marginBottom": 2,
|
"marginBottom": 2,
|
||||||
"marginTop": 5
|
"marginTop": 5
|
||||||
},
|
},
|
||||||
"children": [
|
"children": ["product-list-price", "product-price-savings"]
|
||||||
"product-list-price",
|
|
||||||
"product-price-savings"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,14 +1,11 @@
|
|||||||
{
|
{
|
||||||
"product-summary.shelf": {
|
"product-summary.shelf#pdp-product-summary": {
|
||||||
"children": [
|
"children": [
|
||||||
"stack-layout#prodsum",
|
"stack-layout#prodsum",
|
||||||
"product-summary-name",
|
"product-summary-name",
|
||||||
"flex-layout.col#productRating",
|
|
||||||
"product-summary-space",
|
|
||||||
"product-list-price#summary",
|
"product-list-price#summary",
|
||||||
"flex-layout.row#selling-price-savings",
|
"flex-layout.row#selling-price-savings",
|
||||||
"product-installments#summary",
|
"product-installments#summary"
|
||||||
"add-to-cart-button"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"flex-layout.col#productRating": {
|
"flex-layout.col#productRating": {
|
||||||
@ -19,11 +16,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"stack-layout#prodsum": {
|
"stack-layout#prodsum": {
|
||||||
"children": [
|
"children": ["product-summary-image#shelf"]
|
||||||
"product-summary-image#shelf",
|
|
||||||
"vtex.product-highlights@2.x:product-highlights#collection",
|
|
||||||
"modal-trigger#quickview" // Check quickview.jsonc
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"product-summary-image#shelf": {
|
"product-summary-image#shelf": {
|
||||||
@ -64,10 +57,7 @@
|
|||||||
"preventHorizontalStretch": true,
|
"preventHorizontalStretch": true,
|
||||||
"marginBottom": 4
|
"marginBottom": 4
|
||||||
},
|
},
|
||||||
"children": [
|
"children": ["product-selling-price#summary"]
|
||||||
"product-selling-price#summary",
|
|
||||||
"product-price-savings#summary"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"product-installments#summary": {
|
"product-installments#summary": {
|
||||||
"props": {
|
"props": {
|
||||||
@ -81,9 +71,7 @@
|
|||||||
},
|
},
|
||||||
"product-price-savings#summary": {
|
"product-price-savings#summary": {
|
||||||
"props": {
|
"props": {
|
||||||
"markers": [
|
"markers": ["discount"],
|
||||||
"discount"
|
|
||||||
],
|
|
||||||
"blockClass": "summary"
|
"blockClass": "summary"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
{
|
{
|
||||||
"example-component": {
|
|
||||||
"component": "Example"
|
|
||||||
},
|
|
||||||
"html": {
|
"html": {
|
||||||
"component": "html",
|
"component": "html",
|
||||||
"composition": "children"
|
"composition": "children"
|
||||||
|
17
styles/configs/font-faces.css
Normal file
17
styles/configs/font-faces.css
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
@font-face {
|
||||||
|
font-family: "Open Sans";
|
||||||
|
src: url(assets/fonts/OpenSans-Bold.ttf);
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Open Sans";
|
||||||
|
src: url(assets/fonts/OpenSans-Regular.ttf);
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Open Sans";
|
||||||
|
src: url(assets/fonts/OpenSans-Light.ttf);
|
||||||
|
font-weight: 300;
|
||||||
|
}
|
@ -1,26 +1,28 @@
|
|||||||
{
|
{
|
||||||
"typeScale": [
|
"typeScale": [3, 2.25, 1.5, 1.25, 1, 0.875, 0.75],
|
||||||
3, 2.25, 1.5, 1.25, 1, 0.875, 0.75
|
|
||||||
],
|
|
||||||
"spacing": [0.125, 0.25, 0.5, 0.75, 1, 1.5, 2, 3, 4, 8, 16],
|
"spacing": [0.125, 0.25, 0.5, 0.75, 1, 1.5, 2, 3, 4, 8, 16],
|
||||||
"customMedia": [
|
"customMedia": [
|
||||||
{ "s": 20 },
|
{ "s": 20 },
|
||||||
{ "ns": {
|
{
|
||||||
|
"ns": {
|
||||||
"value": 40,
|
"value": 40,
|
||||||
"minWidth": true
|
"minWidth": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ "m": {
|
{
|
||||||
|
"m": {
|
||||||
"value": 40,
|
"value": 40,
|
||||||
"minWidth": true
|
"minWidth": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ "l": {
|
{
|
||||||
|
"l": {
|
||||||
"value": 64,
|
"value": 64,
|
||||||
"minWidth": true
|
"minWidth": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ "xl": {
|
{
|
||||||
|
"xl": {
|
||||||
"value": 80,
|
"value": 80,
|
||||||
"minWidth": true
|
"minWidth": true
|
||||||
}
|
}
|
||||||
@ -57,7 +59,7 @@
|
|||||||
"background": {
|
"background": {
|
||||||
"base": "#ffffff",
|
"base": "#ffffff",
|
||||||
"base--inverted": "#03044e",
|
"base--inverted": "#03044e",
|
||||||
"action-primary": "#0F3E99",
|
"action-primary": "#000000",
|
||||||
"action-secondary": "#eef3f7",
|
"action-secondary": "#eef3f7",
|
||||||
"emphasis": "#f71963",
|
"emphasis": "#f71963",
|
||||||
"disabled": "#f2f4f5",
|
"disabled": "#f2f4f5",
|
||||||
@ -90,7 +92,7 @@
|
|||||||
"muted-5": "#f2f4f5"
|
"muted-5": "#f2f4f5"
|
||||||
},
|
},
|
||||||
"active-background": {
|
"active-background": {
|
||||||
"action-primary": "#0c389f",
|
"action-primary": "#000000",
|
||||||
"action-secondary": "#d2defc",
|
"action-secondary": "#d2defc",
|
||||||
"emphasis": "#dd1659",
|
"emphasis": "#dd1659",
|
||||||
"success": "#8bc34a",
|
"success": "#8bc34a",
|
||||||
@ -106,9 +108,9 @@
|
|||||||
"muted-5": "#f2f4f5"
|
"muted-5": "#f2f4f5"
|
||||||
},
|
},
|
||||||
"text": {
|
"text": {
|
||||||
"action-primary": "#0F3E99",
|
"action-primary": "#000000",
|
||||||
"action-secondary": "#eef3f7",
|
"action-secondary": "#eef3f7",
|
||||||
"link": "#0F3E99",
|
"link": "#000000",
|
||||||
"emphasis": "#f71963",
|
"emphasis": "#f71963",
|
||||||
"disabled": "#979899",
|
"disabled": "#979899",
|
||||||
"success": "#8bc34a",
|
"success": "#8bc34a",
|
||||||
@ -117,19 +119,19 @@
|
|||||||
"danger--faded": "#ffe6e6",
|
"danger--faded": "#ffe6e6",
|
||||||
"warning": "#ffb100",
|
"warning": "#ffb100",
|
||||||
"warning--faded": "#fff6e0",
|
"warning--faded": "#fff6e0",
|
||||||
"muted-1": "#727273",
|
"muted-1": "#9292927a",
|
||||||
"muted-2": "#979899",
|
"muted-2": "#979899",
|
||||||
"muted-3": "#cacbcc",
|
"muted-3": "#cacbcc",
|
||||||
"muted-4": "#e3e4e6",
|
"muted-4": "#e3e4e6",
|
||||||
"muted-5": "#f2f4f5"
|
"muted-5": "#f2f4f5"
|
||||||
},
|
},
|
||||||
"visited-text": {
|
"visited-text": {
|
||||||
"link": "#0c389f"
|
"link": "#000000"
|
||||||
},
|
},
|
||||||
"hover-text": {
|
"hover-text": {
|
||||||
"action-primary": "#072c75",
|
"action-primary": "#072c75",
|
||||||
"action-secondary": "#dbe9fd",
|
"action-secondary": "#dbe9fd",
|
||||||
"link": "#0c389f",
|
"link": "#000000",
|
||||||
"emphasis": "#dd1659",
|
"emphasis": "#dd1659",
|
||||||
"success": "#8bc34a",
|
"success": "#8bc34a",
|
||||||
"success--faded": "#eafce3",
|
"success--faded": "#eafce3",
|
||||||
@ -139,7 +141,7 @@
|
|||||||
"warning--faded": "#fff6e0"
|
"warning--faded": "#fff6e0"
|
||||||
},
|
},
|
||||||
"active-text": {
|
"active-text": {
|
||||||
"link": "#0c389f",
|
"link": "#000000",
|
||||||
"emphasis": "#dd1659",
|
"emphasis": "#dd1659",
|
||||||
"success": "#8bc34a",
|
"success": "#8bc34a",
|
||||||
"success--faded": "#eafce3",
|
"success--faded": "#eafce3",
|
||||||
@ -149,7 +151,7 @@
|
|||||||
"warning--faded": "#fff6e0"
|
"warning--faded": "#fff6e0"
|
||||||
},
|
},
|
||||||
"border": {
|
"border": {
|
||||||
"action-primary": "#0F3E99",
|
"action-primary": "#000000",
|
||||||
"action-secondary": "#eef3f7",
|
"action-secondary": "#eef3f7",
|
||||||
"emphasis": "#f71963",
|
"emphasis": "#f71963",
|
||||||
"disabled": "#e3e4e6",
|
"disabled": "#e3e4e6",
|
||||||
@ -182,7 +184,7 @@
|
|||||||
"muted-5": "#f2f4f5"
|
"muted-5": "#f2f4f5"
|
||||||
},
|
},
|
||||||
"active-border": {
|
"active-border": {
|
||||||
"action-primary": "#0c389f",
|
"action-primary": "#000000",
|
||||||
"action-secondary": "#d2defc",
|
"action-secondary": "#d2defc",
|
||||||
"emphasis": "#dd1659",
|
"emphasis": "#dd1659",
|
||||||
"success": "#8bc34a",
|
"success": "#8bc34a",
|
||||||
@ -201,7 +203,7 @@
|
|||||||
"base": "#3f3f40",
|
"base": "#3f3f40",
|
||||||
"base--inverted": "#ffffff",
|
"base--inverted": "#ffffff",
|
||||||
"action-primary": "#ffffff",
|
"action-primary": "#ffffff",
|
||||||
"action-secondary": "#0F3E99",
|
"action-secondary": "#000000",
|
||||||
"emphasis": "#ffffff",
|
"emphasis": "#ffffff",
|
||||||
"disabled": "#979899",
|
"disabled": "#979899",
|
||||||
"success": "#ffffff",
|
"success": "#ffffff",
|
||||||
@ -229,7 +231,7 @@
|
|||||||
},
|
},
|
||||||
"active-on": {
|
"active-on": {
|
||||||
"action-primary": "#ffffff",
|
"action-primary": "#ffffff",
|
||||||
"action-secondary": "#0F3E99",
|
"action-secondary": "#000000",
|
||||||
"emphasis": "#ffffff",
|
"emphasis": "#ffffff",
|
||||||
"success": "#ffffff",
|
"success": "#ffffff",
|
||||||
"success--faded": "#3f3f40",
|
"success--faded": "#3f3f40",
|
||||||
@ -245,92 +247,92 @@
|
|||||||
"maxWidths": [1, 2, 4, 8, 16, 32, 48, 64, 96],
|
"maxWidths": [1, 2, 4, 8, 16, 32, 48, 64, 96],
|
||||||
"heights": [1, 2, 4, 8, 16],
|
"heights": [1, 2, 4, 8, 16],
|
||||||
"sizes": [
|
"sizes": [
|
||||||
{"name": "small", "value": 2},
|
{ "name": "small", "value": 2 },
|
||||||
{"name": "regular", "value": 2.5},
|
{ "name": "regular", "value": 2.5 },
|
||||||
{"name": "large", "value": 3}
|
{ "name": "large", "value": 3 }
|
||||||
],
|
],
|
||||||
"typography":{
|
"typography": {
|
||||||
"measure": [30, 34, 20],
|
"measure": [30, 34, 20],
|
||||||
"styles": {
|
"styles": {
|
||||||
"heading-1": {
|
"heading-1": {
|
||||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
"fontFamily": "Open Sans, arial, sans-serif",
|
||||||
"fontWeight": "700",
|
"fontWeight": "700",
|
||||||
"fontSize": "3rem",
|
"fontSize": "3rem",
|
||||||
"textTransform": "initial",
|
"textTransform": "initial",
|
||||||
"letterSpacing": "0"
|
"letterSpacing": "0"
|
||||||
},
|
},
|
||||||
"heading-2": {
|
"heading-2": {
|
||||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
"fontFamily": "Open Sans, arial, sans-serif",
|
||||||
"fontWeight": "700",
|
"fontWeight": "700",
|
||||||
"fontSize": "2.25rem",
|
"fontSize": "2.25rem",
|
||||||
"textTransform": "initial",
|
"textTransform": "initial",
|
||||||
"letterSpacing": "0"
|
"letterSpacing": "0"
|
||||||
},
|
},
|
||||||
"heading-3": {
|
"heading-3": {
|
||||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
"fontFamily": "Open Sans, arial, sans-serif",
|
||||||
"fontWeight": "700",
|
"fontWeight": "400",
|
||||||
"fontSize": "1.75rem",
|
"fontSize": "0.875rem",
|
||||||
"textTransform": "initial",
|
"textTransform": "initial",
|
||||||
"letterSpacing": "0"
|
"letterSpacing": "0"
|
||||||
},
|
},
|
||||||
"heading-4": {
|
"heading-4": {
|
||||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
"fontFamily": "Open Sans, arial, sans-serif",
|
||||||
"fontWeight": "normal",
|
"fontWeight": "300",
|
||||||
"fontSize": "1.5rem",
|
"fontSize": "1.25rem",
|
||||||
"textTransform": "initial",
|
"textTransform": "initial",
|
||||||
"letterSpacing": "0"
|
"letterSpacing": "0"
|
||||||
},
|
},
|
||||||
"heading-5": {
|
"heading-5": {
|
||||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
"fontFamily": "Open Sans, arial, sans-serif",
|
||||||
"fontWeight": "normal",
|
"fontWeight": "normal",
|
||||||
"fontSize": "1.25rem",
|
"fontSize": "1.25rem",
|
||||||
"textTransform": "initial",
|
"textTransform": "initial",
|
||||||
"letterSpacing": "0"
|
"letterSpacing": "0"
|
||||||
},
|
},
|
||||||
"heading-6": {
|
"heading-6": {
|
||||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
"fontFamily": "Open Sans, arial, sans-serif",
|
||||||
"fontWeight": "normal",
|
"fontWeight": "normal",
|
||||||
"fontSize": "1.25rem",
|
"fontSize": "1.25rem",
|
||||||
"textTransform": "initial",
|
"textTransform": "initial",
|
||||||
"letterSpacing": "0"
|
"letterSpacing": "0"
|
||||||
},
|
},
|
||||||
"body": {
|
"body": {
|
||||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
"fontFamily": "Open Sans, arial, sans-serif",
|
||||||
"fontWeight": "normal",
|
"fontWeight": "normal",
|
||||||
"fontSize": "1rem",
|
"fontSize": "1rem",
|
||||||
"textTransform": "initial",
|
"textTransform": "initial",
|
||||||
"letterSpacing": "0"
|
"letterSpacing": "0"
|
||||||
},
|
},
|
||||||
"small": {
|
"small": {
|
||||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
"fontFamily": "Open Sans, arial, sans-serif",
|
||||||
"fontWeight": "normal",
|
"fontWeight": "normal",
|
||||||
"fontSize": "0.875rem",
|
"fontSize": "0.875rem",
|
||||||
"textTransform": "initial",
|
"textTransform": "initial",
|
||||||
"letterSpacing": "0"
|
"letterSpacing": "0"
|
||||||
},
|
},
|
||||||
"mini": {
|
"mini": {
|
||||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
"fontFamily": "Open Sans, arial, sans-serif",
|
||||||
"fontWeight": "normal",
|
"fontWeight": "normal",
|
||||||
"fontSize": "0.75rem",
|
"fontSize": "0.75rem",
|
||||||
"textTransform": "initial",
|
"textTransform": "initial",
|
||||||
"letterSpacing": "0"
|
"letterSpacing": "0"
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
"fontFamily": "Open Sans, arial, sans-serif",
|
||||||
"fontWeight": "500",
|
"fontWeight": "500",
|
||||||
"fontSize": "1rem",
|
"fontSize": "1rem",
|
||||||
"textTransform": "uppercase",
|
"textTransform": "uppercase",
|
||||||
"letterSpacing": "0"
|
"letterSpacing": "0"
|
||||||
},
|
},
|
||||||
"action--small": {
|
"action--small": {
|
||||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
"fontFamily": "Open Sans, arial, sans-serif",
|
||||||
"fontWeight": "500",
|
"fontWeight": "500",
|
||||||
"fontSize": "0.875rem",
|
"fontSize": "0.875rem",
|
||||||
"textTransform": "uppercase",
|
"textTransform": "uppercase",
|
||||||
"letterSpacing": "0"
|
"letterSpacing": "0"
|
||||||
},
|
},
|
||||||
"action--large": {
|
"action--large": {
|
||||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
"fontFamily": "Open Sans, arial, sans-serif",
|
||||||
"fontWeight": "500",
|
"fontWeight": "500",
|
||||||
"fontSize": "1.25rem",
|
"fontSize": "1.25rem",
|
||||||
"textTransform": "uppercase",
|
"textTransform": "uppercase",
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
/*
|
|
||||||
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 */
|
|
||||||
.html--pdp-breadcrumb {
|
|
||||||
width: 100%;
|
|
||||||
padding: 0 40px;
|
|
||||||
}
|
|
||||||
@media screen and (min-width: 1025px) {
|
|
||||||
.html--pdp-breadcrumb {
|
|
||||||
width: 94.4444444444%;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@media screen and (min-width: 1921px) {
|
|
||||||
.html--pdp-breadcrumb {
|
|
||||||
width: 68.75%;
|
|
||||||
}
|
|
||||||
}
|
|
@ -9,11 +9,18 @@
|
|||||||
/* Grid breakpoints */
|
/* Grid breakpoints */
|
||||||
.container {
|
.container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: inline-flex;
|
display: flex;
|
||||||
|
padding: 0 40px;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
flex-basis: 100%;
|
flex-basis: 100%;
|
||||||
align-items: baseline;
|
align-items: baseline;
|
||||||
}
|
}
|
||||||
|
@media screen and (min-width: 1921px) {
|
||||||
|
.container {
|
||||||
|
width: 68.75%;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.termArrow {
|
.termArrow {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
/*
|
||||||
|
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 */
|
||||||
.flexRowContent--menu-link,
|
.flexRowContent--menu-link,
|
||||||
.flexRowContent--main-header {
|
.flexRowContent--main-header {
|
||||||
padding: 0 0.5rem;
|
padding: 0 0.5rem;
|
||||||
@ -9,14 +18,12 @@
|
|||||||
padding: 0 1rem;
|
padding: 0 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 80rem) {
|
@media screen and (min-width: 80rem) {
|
||||||
.flexRowContent--menu-link,
|
.flexRowContent--menu-link,
|
||||||
.flexRowContent--main-header {
|
.flexRowContent--main-header {
|
||||||
padding: 0 0.25rem;
|
padding: 0 0.25rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.flexRowContent--menu-link {
|
.flexRowContent--menu-link {
|
||||||
background-color: #03044e;
|
background-color: #03044e;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
@ -43,7 +50,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.flexRow--deals {
|
.flexRow--deals {
|
||||||
background-color: #0F3E99;
|
background-color: #0f3e99;
|
||||||
padding: 14px 0px;
|
padding: 14px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -96,3 +103,45 @@
|
|||||||
.flexRow--addToCartRow {
|
.flexRow--addToCartRow {
|
||||||
padding-bottom: 1rem;
|
padding-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.flexRow--productMain {
|
||||||
|
padding: 0 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexColChild--productInformations :global(.vtex-product-identifier-0-x-product-identifier__label),
|
||||||
|
.flexColChild--productInformations :global(.vtex-product-identifier-0-x-product-identifier__separator) {
|
||||||
|
font-size: 0;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 1025px) {
|
||||||
|
.flexCol--productName {
|
||||||
|
align-items: flex-end;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexRowContent--productAddToCart :global(.vtex-button) {
|
||||||
|
height: 72px;
|
||||||
|
line-height: 24.51px;
|
||||||
|
}
|
||||||
|
@media screen and (min-width: 1025px) {
|
||||||
|
.flexRowContent--productAddToCart :global(.vtex-button) {
|
||||||
|
height: 49px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.flexRowContent--productAddToCart :global(.vtex-button) :global(.vtex-button__label) {
|
||||||
|
justify-content: stretch;
|
||||||
|
padding: 12px 64px;
|
||||||
|
}
|
||||||
|
.flexRowContent--productAddToCart :global(.vtex-button) :global(.vtex-add-to-cart-button-0-x-buttonDataContainer) {
|
||||||
|
flex-grow: 1;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.flexRowContent--productAddToCart :global(.vtex-button) :global(.vtex-add-to-cart-button-0-x-buttonText) {
|
||||||
|
width: 99%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexRow--productSpecificationItemContainer {
|
||||||
|
padding: 0 40px;
|
||||||
|
}
|
@ -1,61 +1,71 @@
|
|||||||
|
/*
|
||||||
|
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 */
|
||||||
.listPrice {
|
.listPrice {
|
||||||
color: #727273;
|
color: #727273;
|
||||||
margin-bottom: .25rem;
|
margin-bottom: 0.25rem;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sellingPrice {
|
.sellingPrice {
|
||||||
color: #3f3f40;
|
color: #000000;
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sellingPriceValue {
|
.sellingPriceValue {
|
||||||
font-size: 2.25rem;
|
font-size: 1.5625rem;
|
||||||
|
line-height: 38px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
.installments {
|
.installments {
|
||||||
|
display: inline-block;
|
||||||
color: #727273;
|
color: #727273;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.savings {
|
.savings {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #79B03A;
|
color: #79b03a;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sellingPriceValue--summary {
|
.sellingPriceValue--summary {
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #2E2E2E;
|
color: #2e2e2e;
|
||||||
}
|
}
|
||||||
|
|
||||||
.savings--summary {
|
.savings--summary {
|
||||||
background: #8BC34A;
|
background: #8bc34a;
|
||||||
border-radius: 1000px;
|
border-radius: 1000px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
padding-left: 0.5rem;
|
padding-left: 0.5rem;
|
||||||
padding-right: 0.5rem;
|
padding-right: 0.5rem;
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
color: #FFFFFF;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.savings-discount--summary {
|
.savings-discount--summary {
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
color: #FFFFFF;
|
color: #ffffff;
|
||||||
padding-left: 0.5rem;
|
padding-left: 0.5rem;
|
||||||
padding-right: 0.5rem;
|
padding-right: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.listPrice--summary {
|
.listPrice--summary {
|
||||||
margin-bottom: 0.25rem;
|
margin-bottom: 0.25rem;
|
||||||
font-size: .875rem;
|
font-size: 0.875rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.installments--summary {
|
.installments--summary {
|
||||||
@ -74,6 +84,6 @@
|
|||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
color: #FFFFFF;
|
color: #ffffff;
|
||||||
padding: 0.25rem 0.5rem 0.25rem 0.5rem;
|
padding: 0.25rem 0.5rem 0.25rem 0.5rem;
|
||||||
}
|
}
|
21
styles/css/vtex.product-quantity.css
Normal file
21
styles/css/vtex.product-quantity.css
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
/*
|
||||||
|
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 */
|
||||||
|
.quantitySelectorStepper :global(.vtex-numeric-stepper-wrapper) {
|
||||||
|
width: 128px;
|
||||||
|
min-height: 49px;
|
||||||
|
}
|
||||||
|
.quantitySelectorStepper :global(.vtex-numeric-stepper__input) {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.quantitySelectorStepper :global(.vtex-numeric-stepper__plus-button-container),
|
||||||
|
.quantitySelectorStepper :global(.vtex-numeric-stepper__minus-button-container) {
|
||||||
|
height: 100%;
|
||||||
|
}
|
@ -1,4 +1,14 @@
|
|||||||
.skuSelectorContainer--quickview .skuSelectorItemImage .frameAround, .skuSelectorContainer--quickview .skuSelectorItemImage .skuSelectorInternalBox {
|
/*
|
||||||
|
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 */
|
||||||
|
.skuSelectorContainer--quickview .skuSelectorItemImage .frameAround,
|
||||||
|
.skuSelectorContainer--quickview .skuSelectorItemImage .skuSelectorInternalBox {
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -16,21 +26,21 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.nameContainer {
|
.nameContainer {
|
||||||
justify-content: start;
|
|
||||||
padding-top: 1rem;
|
padding-top: 1rem;
|
||||||
padding-bottom: 1rem;
|
padding-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.brandName {
|
.brandName {
|
||||||
font-weight: 600;
|
color: #2e2e2e;
|
||||||
font-size: 18px;
|
|
||||||
color: #2E2E2E;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
text-align: start;
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.priceContainer {
|
||||||
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.imageContainer {
|
.imageContainer {
|
||||||
|
16
styles/css/vtex.shelf.css
Normal file
16
styles/css/vtex.shelf.css
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/*
|
||||||
|
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 */
|
||||||
|
.relatedProducts {
|
||||||
|
padding: 0 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.shelfContentContainer :global(.vtex-slider-0-x-sliderFrame) {
|
||||||
|
gap: 12px;
|
||||||
|
}
|
@ -1,9 +1,18 @@
|
|||||||
|
/*
|
||||||
|
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 */
|
||||||
.sliderLayoutContainer {
|
.sliderLayoutContainer {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sliderLayoutContainer--carousel {
|
.sliderLayoutContainer--carousel {
|
||||||
background-color: #F0F0F0;
|
background-color: #f0f0f0;
|
||||||
min-height: 450px;
|
min-height: 450px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -12,8 +21,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.paginationDotsContainer {
|
.paginationDotsContainer {
|
||||||
margin-top: .5rem;
|
margin-top: 0.5rem;
|
||||||
margin-bottom: .5rem;
|
margin-bottom: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.layoutContainer--shelf {
|
.layoutContainer--shelf {
|
||||||
@ -25,7 +34,12 @@
|
|||||||
|
|
||||||
.slide--shelf {
|
.slide--shelf {
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px;
|
||||||
padding-left: .5rem;
|
padding-left: 0.5rem;
|
||||||
padding-right: .5rem;
|
padding-right: 0.5rem;
|
||||||
min-height: 550px;
|
min-height: 550px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sliderLayoutContainer--productShelf {
|
||||||
|
width: 100%;
|
||||||
|
padding: 0 40px;
|
||||||
|
}
|
@ -7,6 +7,128 @@
|
|||||||
*/
|
*/
|
||||||
/* Media Query M3 */
|
/* Media Query M3 */
|
||||||
/* Grid breakpoints */
|
/* Grid breakpoints */
|
||||||
.newsletter {
|
.container {
|
||||||
background: red;
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.productImageTag {
|
||||||
|
object-fit: fill !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carouselGaleryThumbs {
|
||||||
|
display: block !important;
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.productImagesThumb {
|
||||||
|
width: 90px !important;
|
||||||
|
margin-left: 16px;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
.productImagesThumb .thumbImg {
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
.productImagesThumb:first-child {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.productNameContainer {
|
||||||
|
line-height: 34px;
|
||||||
|
}
|
||||||
|
@media screen and (max-width: 768px) and (min-width: 375px) {
|
||||||
|
.productNameContainer {
|
||||||
|
width: 70.9459459459%;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.skuSelectorContainer {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skuSelectorSubcontainer--cor .skuSelectorName,
|
||||||
|
.skuSelectorSubcontainer--tamanho .skuSelectorName {
|
||||||
|
font-size: 0;
|
||||||
|
}
|
||||||
|
.skuSelectorSubcontainer--cor .skuSelectorName::before,
|
||||||
|
.skuSelectorSubcontainer--tamanho .skuSelectorName::before {
|
||||||
|
font-size: 14px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skuSelectorSubcontainer--cor {
|
||||||
|
order: 1;
|
||||||
|
}
|
||||||
|
.skuSelectorSubcontainer--cor .skuSelectorSelectorImageValue {
|
||||||
|
font-size: 0;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
.skuSelectorSubcontainer--cor .skuSelectorName::before {
|
||||||
|
content: "Outros Cores";
|
||||||
|
}
|
||||||
|
|
||||||
|
.skuSelectorSubcontainer--tamanho {
|
||||||
|
order: 0;
|
||||||
|
}
|
||||||
|
.skuSelectorSubcontainer--tamanho .skuSelectorName::before {
|
||||||
|
content: "Outros Tamanhos";
|
||||||
|
}
|
||||||
|
|
||||||
|
.skuSelectorOptionsList,
|
||||||
|
.skuSelectorOptionsList .skuSelectorItem,
|
||||||
|
.skuSelectorNameContainer {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skuSelectorOptionsList {
|
||||||
|
gap: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skuSelectorItem {
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
|
.skuSelectorItem .frameAround,
|
||||||
|
.skuSelectorItem .skuSelectorInternalBox {
|
||||||
|
border-radius: 100%;
|
||||||
|
}
|
||||||
|
.skuSelectorItem .skuSelectorInternalBox {
|
||||||
|
z-index: unset;
|
||||||
|
}
|
||||||
|
.skuSelectorItem .frameAround {
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.diagonalCross {
|
||||||
|
width: 100%;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
.diagonalCross::before {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
width: 100%;
|
||||||
|
height: 1px;
|
||||||
|
border-top: 1px solid #d5d5d5;
|
||||||
|
transform: translate(-50%, -50%) rotateZ(-45deg);
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skuSelectorItemTextValue {
|
||||||
|
width: 100%;
|
||||||
|
padding: 0;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skuSelectorSubcontainer--cor .skuSelectorItem {
|
||||||
|
width: 48px;
|
||||||
|
height: 48px;
|
||||||
}
|
}
|
26
styles/css/vtex.tab-layout.css
Normal file
26
styles/css/vtex.tab-layout.css
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
/*
|
||||||
|
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 */
|
||||||
|
@media screen and (max-width: 1024px) {
|
||||||
|
.listContainer--ProductSpecificationTabList {
|
||||||
|
width: 100%;
|
||||||
|
padding: 0 40px;
|
||||||
|
flex-direction: column;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
}
|
||||||
|
.listContainer--ProductSpecificationTabList .listItem :global(.vtex-button) {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.listContainer--ProductSpecificationTabList .listItem :global(.vtex-button) :global(.vtex-button__label) {
|
||||||
|
justify-content: start;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.listContainer--ProductSpecificationTabList .listItem :global(.vtex-button) {
|
||||||
|
text-transform: capitalize !important;
|
||||||
|
}
|
@ -1,14 +0,0 @@
|
|||||||
.html--pdp-breadcrumb {
|
|
||||||
width: 100%;
|
|
||||||
padding: 0 40px;
|
|
||||||
|
|
||||||
@media screen and (min-width: 1025px) {
|
|
||||||
width: 94.44444444444444%;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (min-width: 1921px) {
|
|
||||||
width: 68.75%;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,9 +1,15 @@
|
|||||||
.container {
|
.container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: inline-flex;
|
display: flex;
|
||||||
|
padding: 0 40px;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
flex-basis: 100%;
|
flex-basis: 100%;
|
||||||
align-items: baseline;
|
align-items: baseline;
|
||||||
|
|
||||||
|
@media screen and (min-width: 1921px) {
|
||||||
|
width: 68.75%;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.termArrow {
|
.termArrow {
|
||||||
|
146
styles/sass/pages/product/vtex.flex-layout.scss
Normal file
146
styles/sass/pages/product/vtex.flex-layout.scss
Normal file
@ -0,0 +1,146 @@
|
|||||||
|
.flexRowContent--menu-link,
|
||||||
|
.flexRowContent--main-header {
|
||||||
|
padding: 0 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 40em) {
|
||||||
|
.flexRowContent--menu-link,
|
||||||
|
.flexRowContent--main-header {
|
||||||
|
padding: 0 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 80rem) {
|
||||||
|
.flexRowContent--menu-link,
|
||||||
|
.flexRowContent--main-header {
|
||||||
|
padding: 0 0.25rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexRowContent--menu-link {
|
||||||
|
background-color: #03044e;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexRowContent--main-header {
|
||||||
|
background-color: #f0f0f0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexRowContent--main-header-mobile {
|
||||||
|
align-items: center;
|
||||||
|
padding: 0.625rem 0.5rem;
|
||||||
|
background-color: #f0f0f0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexRowContent--menu-link :global(.vtex-menu-2-x-styledLink) {
|
||||||
|
color: #ffffff;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexRowContent--main-header :global(.vtex-menu-2-x-styledLink) {
|
||||||
|
color: #727273;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexRow--deals {
|
||||||
|
background-color: #0f3e99;
|
||||||
|
padding: 14px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexRow--deals .stretchChildrenWidth {
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexRow--deals .flexCol {
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
padding-top: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexCol--filterCol {
|
||||||
|
max-width: 500px;
|
||||||
|
min-width: 230px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexCol--productCountCol {
|
||||||
|
align-items: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexCol--orderByCol {
|
||||||
|
align-items: flex-end;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexCol--orderByMobileCol {
|
||||||
|
width: 42%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexCol--filterMobileCol {
|
||||||
|
width: 38%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexRow--quickviewMainRow {
|
||||||
|
display: flex;
|
||||||
|
max-height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexColChild--quickviewDetails:first-child {
|
||||||
|
overflow-y: auto;
|
||||||
|
height: 66% !important;
|
||||||
|
overflow-x: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexColChild--quickviewDetails:last-child {
|
||||||
|
height: 34% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexRow--addToCartRow {
|
||||||
|
padding-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexRow--productMain {
|
||||||
|
padding: 0 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexColChild--productInformations {
|
||||||
|
:global(.vtex-product-identifier-0-x-product-identifier__label),
|
||||||
|
:global(.vtex-product-identifier-0-x-product-identifier__separator) {
|
||||||
|
font-size: 0;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexCol--productName {
|
||||||
|
@media screen and (min-width: 1025px) {
|
||||||
|
align-items: flex-end;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexRowContent--productAddToCart {
|
||||||
|
:global(.vtex-button) {
|
||||||
|
height: 72px;
|
||||||
|
line-height: 24.51px;
|
||||||
|
|
||||||
|
@media screen and (min-width: 1025px) {
|
||||||
|
height: 49px;
|
||||||
|
}
|
||||||
|
|
||||||
|
:global(.vtex-button__label) {
|
||||||
|
justify-content: stretch;
|
||||||
|
padding: 12px 64px;
|
||||||
|
}
|
||||||
|
|
||||||
|
:global(.vtex-add-to-cart-button-0-x-buttonDataContainer) {
|
||||||
|
flex-grow: 1;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
:global(.vtex-add-to-cart-button-0-x-buttonText) {
|
||||||
|
width: 99%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexRow--productSpecificationItemContainer {
|
||||||
|
padding: 0 40px;
|
||||||
|
}
|
81
styles/sass/pages/product/vtex.product-price.scss
Normal file
81
styles/sass/pages/product/vtex.product-price.scss
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
.listPrice {
|
||||||
|
color: #727273;
|
||||||
|
margin-bottom: 0.25rem;
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sellingPrice {
|
||||||
|
color: #000000;
|
||||||
|
font-size: 1.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sellingPriceValue {
|
||||||
|
font-size: 1.5625rem;
|
||||||
|
line-height: 38px;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
.installments {
|
||||||
|
display: inline-block;
|
||||||
|
color: #727273;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.savings {
|
||||||
|
font-weight: 500;
|
||||||
|
color: #79b03a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sellingPriceValue--summary {
|
||||||
|
font-size: 1.25rem;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #2e2e2e;
|
||||||
|
}
|
||||||
|
|
||||||
|
.savings--summary {
|
||||||
|
background: #8bc34a;
|
||||||
|
border-radius: 1000px;
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
padding-left: 0.5rem;
|
||||||
|
padding-right: 0.5rem;
|
||||||
|
font-size: 0.875rem;
|
||||||
|
font-weight: 600;
|
||||||
|
vertical-align: baseline;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.savings-discount--summary {
|
||||||
|
font-size: 0.875rem;
|
||||||
|
font-weight: 600;
|
||||||
|
vertical-align: baseline;
|
||||||
|
color: #ffffff;
|
||||||
|
padding-left: 0.5rem;
|
||||||
|
padding-right: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.listPrice--summary {
|
||||||
|
margin-bottom: 0.25rem;
|
||||||
|
font-size: 0.875rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.installments--summary {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
font-size: 0.875rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.savings--summaryPercentage {
|
||||||
|
background: #0f3e99;
|
||||||
|
border-radius: 1000px;
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.savingsPercentage--summaryPercentage {
|
||||||
|
font-size: 0.875rem;
|
||||||
|
font-weight: 600;
|
||||||
|
vertical-align: baseline;
|
||||||
|
color: #ffffff;
|
||||||
|
padding: 0.25rem 0.5rem 0.25rem 0.5rem;
|
||||||
|
}
|
16
styles/sass/pages/product/vtex.product-quantity.scss
Normal file
16
styles/sass/pages/product/vtex.product-quantity.scss
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
.quantitySelectorStepper {
|
||||||
|
:global(.vtex-numeric-stepper-wrapper) {
|
||||||
|
width: 128px;
|
||||||
|
min-height: 49px;
|
||||||
|
}
|
||||||
|
|
||||||
|
:global(.vtex-numeric-stepper__input) {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
:global(.vtex-numeric-stepper__plus-button-container),
|
||||||
|
:global(.vtex-numeric-stepper__minus-button-container) {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
44
styles/sass/pages/product/vtex.product-summary.scss
Normal file
44
styles/sass/pages/product/vtex.product-summary.scss
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
.skuSelectorContainer--quickview .skuSelectorItemImage .frameAround,
|
||||||
|
.skuSelectorContainer--quickview .skuSelectorItemImage .skuSelectorInternalBox {
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container :global(.vtex-modal-layout-0-x-triggerContainer) {
|
||||||
|
opacity: 0;
|
||||||
|
transition: opacity 200ms ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container:hover :global(.vtex-modal-layout-0-x-triggerContainer) {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 40em) {
|
||||||
|
.container :global(.vtex-modal-layout-0-x-triggerContainer) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.nameContainer {
|
||||||
|
padding-top: 1rem;
|
||||||
|
padding-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brandName {
|
||||||
|
color: #2e2e2e;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.priceContainer {
|
||||||
|
padding-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.imageContainer {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.image {
|
||||||
|
border-radius: 0.25rem;
|
||||||
|
}
|
9
styles/sass/pages/product/vtex.shelf.scss
Normal file
9
styles/sass/pages/product/vtex.shelf.scss
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
.relatedProducts {
|
||||||
|
padding: 0 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.shelfContentContainer {
|
||||||
|
:global(.vtex-slider-0-x-sliderFrame) {
|
||||||
|
gap: 12px;
|
||||||
|
}
|
||||||
|
}
|
36
styles/sass/pages/product/vtex.slider-layout.scss
Normal file
36
styles/sass/pages/product/vtex.slider-layout.scss
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
.sliderLayoutContainer {
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sliderLayoutContainer--carousel {
|
||||||
|
background-color: #f0f0f0;
|
||||||
|
min-height: 450px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sliderTrackContainer {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.paginationDotsContainer {
|
||||||
|
margin-top: 0.5rem;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layoutContainer--shelf {
|
||||||
|
margin-top: 20px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
max-width: 96rem;
|
||||||
|
min-height: 550px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.slide--shelf {
|
||||||
|
margin-bottom: 25px;
|
||||||
|
padding-left: 0.5rem;
|
||||||
|
padding-right: 0.5rem;
|
||||||
|
min-height: 550px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sliderLayoutContainer--productShelf {
|
||||||
|
width: 100%;
|
||||||
|
padding: 0 40px;
|
||||||
|
}
|
@ -1,3 +1,144 @@
|
|||||||
.newsletter{
|
.container {
|
||||||
background: red;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.productImageTag {
|
||||||
|
object-fit: fill !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carouselGaleryThumbs {
|
||||||
|
display: block !important;
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.productImagesThumb {
|
||||||
|
width: 90px !important;
|
||||||
|
margin-left: 16px;
|
||||||
|
margin-bottom: 0;
|
||||||
|
|
||||||
|
.thumbImg {
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:first-child {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.productNameContainer {
|
||||||
|
line-height: 34px;
|
||||||
|
|
||||||
|
@media screen and (max-width: 768px) and (min-width: 375px) {
|
||||||
|
width: 70.94594594594594%;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.skuSelectorContainer {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skuSelectorSubcontainer--cor,
|
||||||
|
.skuSelectorSubcontainer--tamanho {
|
||||||
|
.skuSelectorName {
|
||||||
|
font-size: 0;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
font-size: 14px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.skuSelectorSubcontainer--cor {
|
||||||
|
order: 1;
|
||||||
|
|
||||||
|
.skuSelectorSelectorImageValue {
|
||||||
|
font-size: 0;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skuSelectorName {
|
||||||
|
&::before {
|
||||||
|
content: "Outros Cores";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.skuSelectorSubcontainer--tamanho {
|
||||||
|
order: 0;
|
||||||
|
|
||||||
|
.skuSelectorName {
|
||||||
|
&::before {
|
||||||
|
content: "Outros Tamanhos";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.skuSelectorOptionsList,
|
||||||
|
.skuSelectorOptionsList .skuSelectorItem,
|
||||||
|
.skuSelectorNameContainer {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skuSelectorOptionsList {
|
||||||
|
gap: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skuSelectorItem {
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
|
||||||
|
.frameAround,
|
||||||
|
.skuSelectorInternalBox {
|
||||||
|
border-radius: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skuSelectorInternalBox {
|
||||||
|
z-index: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
.frameAround {
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.diagonalCross {
|
||||||
|
width: 100%;
|
||||||
|
background: transparent;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
width: 100%;
|
||||||
|
height: 1px;
|
||||||
|
border-top: 1px solid #d5d5d5;
|
||||||
|
transform: translate(-50%, -50%) rotateZ(-45deg);
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.skuSelectorItemTextValue {
|
||||||
|
width: 100%;
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skuSelectorSubcontainer--cor {
|
||||||
|
.skuSelectorItem {
|
||||||
|
width: 48px;
|
||||||
|
height: 48px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
24
styles/sass/pages/product/vtex.tab-layout.scss
Normal file
24
styles/sass/pages/product/vtex.tab-layout.scss
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
.listContainer--ProductSpecificationTabList {
|
||||||
|
@media screen and (max-width: 1024px) {
|
||||||
|
width: 100%;
|
||||||
|
padding: 0 40px;
|
||||||
|
flex-direction: column;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
|
||||||
|
.listItem {
|
||||||
|
:global(.vtex-button) {
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
:global(.vtex-button__label) {
|
||||||
|
justify-content: start;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.listItem {
|
||||||
|
:global(.vtex-button) {
|
||||||
|
text-transform: capitalize !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user