feat(pdp-main-view): created initial styles for product informations and carousel view

This commit is contained in:
Henrique Santos Santana 2023-01-26 21:52:46 -03:00
parent 17e9e3b171
commit 6575d114fd
40 changed files with 953 additions and 435 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -48,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",

View File

@ -7,6 +7,7 @@
"flex-layout.row#specifications-title", "flex-layout.row#specifications-title",
"product-specification-group#table", "product-specification-group#table",
"shelf.relatedProducts", "shelf.relatedProducts",
"newsletter",
"product-questions-and-answers" "product-questions-and-answers"
] ]
}, },
@ -26,6 +27,56 @@
} }
}, },
"html#product-images": {
"props": {
"blockClass": "productImages",
"testId": "product-images"
},
"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"
]
},
"flex-layout.row#specifications-title": { "flex-layout.row#specifications-title": {
"children": ["rich-text#specifications"] "children": ["rich-text#specifications"]
}, },
@ -51,28 +102,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": {
@ -90,32 +119,19 @@
"rowGap": 0 "rowGap": 0
} }
}, },
"flex-layout.row#product-image": {
"children": ["product-images"]
},
"product-images": {
"props": {
"aspectRatio": "1:1",
"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-quantity",
"product-assembly-options",
"product-gifts", "product-gifts",
"flex-layout.row#buy-button", "flex-layout.row#buy-button",
"availability-subscriber", "availability-subscriber",
@ -125,9 +141,31 @@
"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": {
@ -164,7 +202,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"

View File

@ -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"
]
} }
} }

View File

@ -1,7 +1,4 @@
{ {
"example-component": {
"component": "Example"
},
"html": { "html": {
"component": "html", "component": "html",
"composition": "children" "composition": "children"

View 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;
}

View File

@ -1,349 +1,351 @@
{ {
"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],
], "customMedia": [
"spacing": [0.125, 0.25, 0.5, 0.75, 1, 1.5, 2, 3, 4, 8, 16], { "s": 20 },
"customMedia": [ {
{ "s": 20 }, "ns": {
{ "ns": { "value": 40,
"value": 40, "minWidth": true
"minWidth": true }
} },
}, {
{ "m": { "m": {
"value": 40, "value": 40,
"minWidth": true "minWidth": true
} }
}, },
{ "l": { {
"value": 64, "l": {
"minWidth": true "value": 64,
} "minWidth": true
}, }
{ "xl": { },
"value": 80, {
"minWidth": true "xl": {
} "value": 80,
} "minWidth": true
], }
"colors": { }
"black-90": "rgba(0,0,0,.9)", ],
"black-80": "rgba(0,0,0,.8)", "colors": {
"black-70": "rgba(0,0,0,.7)", "black-90": "rgba(0,0,0,.9)",
"black-60": "rgba(0,0,0,.6)", "black-80": "rgba(0,0,0,.8)",
"black-50": "rgba(0,0,0,.5)", "black-70": "rgba(0,0,0,.7)",
"black-40": "rgba(0,0,0,.4)", "black-60": "rgba(0,0,0,.6)",
"black-30": "rgba(0,0,0,.3)", "black-50": "rgba(0,0,0,.5)",
"black-20": "rgba(0,0,0,.2)", "black-40": "rgba(0,0,0,.4)",
"black-10": "rgba(0,0,0,.1)", "black-30": "rgba(0,0,0,.3)",
"black-05": "rgba(0,0,0,.05)", "black-20": "rgba(0,0,0,.2)",
"black-025": "rgba(0,0,0,.025)", "black-10": "rgba(0,0,0,.1)",
"black-0125": "rgba(0,0,0,.0125)", "black-05": "rgba(0,0,0,.05)",
"black-025": "rgba(0,0,0,.025)",
"black-0125": "rgba(0,0,0,.0125)",
"white-90": "rgba(255,255,255,.9)", "white-90": "rgba(255,255,255,.9)",
"white-80": "rgba(255,255,255,.8)", "white-80": "rgba(255,255,255,.8)",
"white-70": "rgba(255,255,255,.7)", "white-70": "rgba(255,255,255,.7)",
"white-60": "rgba(255,255,255,.6)", "white-60": "rgba(255,255,255,.6)",
"white-50": "rgba(255,255,255,.5)", "white-50": "rgba(255,255,255,.5)",
"white-40": "rgba(255,255,255,.4)", "white-40": "rgba(255,255,255,.4)",
"white-30": "rgba(255,255,255,.3)", "white-30": "rgba(255,255,255,.3)",
"white-20": "rgba(255,255,255,.2)", "white-20": "rgba(255,255,255,.2)",
"white-10": "rgba(255,255,255,.1)", "white-10": "rgba(255,255,255,.1)",
"white-05": "rgba(255,255,255,.05)", "white-05": "rgba(255,255,255,.05)",
"white-025": "rgba(255,255,255,.025)", "white-025": "rgba(255,255,255,.025)",
"white-0125": "rgba(255,255,255,.0125)" "white-0125": "rgba(255,255,255,.0125)"
},
"semanticColors": {
"background": {
"base": "#ffffff",
"base--inverted": "#03044e",
"action-primary": "#000000",
"action-secondary": "#eef3f7",
"emphasis": "#f71963",
"disabled": "#f2f4f5",
"success": "#8bc34a",
"success--faded": "#eafce3",
"danger": "#ff4c4c",
"danger--faded": "#ffe6e6",
"warning": "#ffb100",
"warning--faded": "#fff6e0",
"muted-1": "#727273",
"muted-2": "#979899",
"muted-3": "#cacbcc",
"muted-4": "#e3e4e6",
"muted-5": "#f2f4f5"
},
"hover-background": {
"action-primary": "#072c75",
"action-secondary": "#dbe9fd",
"emphasis": "#dd1659",
"success": "#8bc34a",
"success--faded": "#eafce3",
"danger": "#e13232",
"danger--faded": "#ffe6e6",
"warning": "#ffb100",
"warning--faded": "#fff6e0",
"muted-1": "#727273",
"muted-2": "#979899",
"muted-3": "#cacbcc",
"muted-4": "#e3e4e6",
"muted-5": "#f2f4f5"
},
"active-background": {
"action-primary": "#000000",
"action-secondary": "#d2defc",
"emphasis": "#dd1659",
"success": "#8bc34a",
"success--faded": "#eafce3",
"danger": "#ff4c4c",
"danger--faded": "#ffe6e6",
"warning": "#ffb100",
"warning--faded": "#fff6e0",
"muted-1": "#727273",
"muted-2": "#979899",
"muted-3": "#cacbcc",
"muted-4": "#e3e4e6",
"muted-5": "#f2f4f5"
},
"text": {
"action-primary": "#000000",
"action-secondary": "#eef3f7",
"link": "#000000",
"emphasis": "#f71963",
"disabled": "#979899",
"success": "#8bc34a",
"success--faded": "#eafce3",
"danger": "#ff4c4c",
"danger--faded": "#ffe6e6",
"warning": "#ffb100",
"warning--faded": "#fff6e0",
"muted-1": "#9292927a",
"muted-2": "#979899",
"muted-3": "#cacbcc",
"muted-4": "#e3e4e6",
"muted-5": "#f2f4f5"
},
"visited-text": {
"link": "#000000"
},
"hover-text": {
"action-primary": "#072c75",
"action-secondary": "#dbe9fd",
"link": "#000000",
"emphasis": "#dd1659",
"success": "#8bc34a",
"success--faded": "#eafce3",
"danger": "#e13232",
"danger--faded": "#ffe6e6",
"warning": "#ffb100",
"warning--faded": "#fff6e0"
},
"active-text": {
"link": "#000000",
"emphasis": "#dd1659",
"success": "#8bc34a",
"success--faded": "#eafce3",
"danger": "#ff4c4c",
"danger--faded": "#ffe6e6",
"warning": "#ffb100",
"warning--faded": "#fff6e0"
},
"border": {
"action-primary": "#000000",
"action-secondary": "#eef3f7",
"emphasis": "#f71963",
"disabled": "#e3e4e6",
"success": "#8bc34a",
"success--faded": "#eafce3",
"danger": "#ff4c4c",
"danger--faded": "#ffe6e6",
"warning": "#ffb100",
"warning--faded": "#fff6e0",
"muted-1": "#727273",
"muted-2": "#979899",
"muted-3": "#cacbcc",
"muted-4": "#e3e4e6",
"muted-5": "#f2f4f5"
},
"hover-border": {
"action-primary": "#072c75",
"action-secondary": "#dbe9fd",
"emphasis": "#dd1659",
"success": "#8bc34a",
"success--faded": "#eafce3",
"danger": "#e13232",
"danger--faded": "#ffe6e6",
"warning": "#ffb100",
"warning--faded": "#fff6e0",
"muted-1": "#727273",
"muted-2": "#979899",
"muted-3": "#cacbcc",
"muted-4": "#e3e4e6",
"muted-5": "#f2f4f5"
},
"active-border": {
"action-primary": "#000000",
"action-secondary": "#d2defc",
"emphasis": "#dd1659",
"success": "#8bc34a",
"success--faded": "#eafce3",
"danger": "#ff4c4c",
"danger--faded": "#ffe6e6",
"warning": "#ffb100",
"warning--faded": "#fff6e0",
"muted-1": "#727273",
"muted-2": "#979899",
"muted-3": "#cacbcc",
"muted-4": "#e3e4e6",
"muted-5": "#f2f4f5"
},
"on": {
"base": "#3f3f40",
"base--inverted": "#ffffff",
"action-primary": "#ffffff",
"action-secondary": "#000000",
"emphasis": "#ffffff",
"disabled": "#979899",
"success": "#ffffff",
"success--faded": "#3f3f40",
"danger": "#ffffff",
"danger--faded": "#3f3f40",
"warning": "#ffffff",
"warning--faded": "#1a1a1a",
"muted-1": "#ffffff",
"muted-2": "#ffffff",
"muted-3": "#3f3f40",
"muted-4": "#3f3f40",
"muted-5": "#3f3f40"
},
"hover-on": {
"action-primary": "#ffffff",
"action-secondary": "#0F3E99",
"emphasis": "#ffffff",
"success": "#ffffff",
"success--faded": "#3f3f40",
"danger": "#ffffff",
"danger--faded": "#3f3f40",
"warning": "#ffffff",
"warning--faded": "#1a1a1a"
},
"active-on": {
"action-primary": "#ffffff",
"action-secondary": "#000000",
"emphasis": "#ffffff",
"success": "#ffffff",
"success--faded": "#3f3f40",
"danger": "#ffffff",
"danger--faded": "#3f3f40",
"warning": "#ffffff",
"warning--faded": "#1a1a1a"
}
},
"borderWidths": [0, 0.125, 0.25, 0.5, 1, 2],
"borderRadius": [0, 0.125, 0.25, 0.5, 1],
"widths": [1, 2, 4, 8, 16],
"maxWidths": [1, 2, 4, 8, 16, 32, 48, 64, 96],
"heights": [1, 2, 4, 8, 16],
"sizes": [
{ "name": "small", "value": 2 },
{ "name": "regular", "value": 2.5 },
{ "name": "large", "value": 3 }
],
"typography": {
"measure": [30, 34, 20],
"styles": {
"heading-1": {
"fontFamily": "Open Sans, arial, sans-serif",
"fontWeight": "700",
"fontSize": "3rem",
"textTransform": "initial",
"letterSpacing": "0"
}, },
"semanticColors": { "heading-2": {
"background": { "fontFamily": "Open Sans, arial, sans-serif",
"base": "#ffffff", "fontWeight": "700",
"base--inverted": "#03044e", "fontSize": "2.25rem",
"action-primary": "#0F3E99", "textTransform": "initial",
"action-secondary": "#eef3f7", "letterSpacing": "0"
"emphasis": "#f71963",
"disabled": "#f2f4f5",
"success": "#8bc34a",
"success--faded": "#eafce3",
"danger": "#ff4c4c",
"danger--faded": "#ffe6e6",
"warning": "#ffb100",
"warning--faded": "#fff6e0",
"muted-1": "#727273",
"muted-2": "#979899",
"muted-3": "#cacbcc",
"muted-4": "#e3e4e6",
"muted-5": "#f2f4f5"
},
"hover-background": {
"action-primary": "#072c75",
"action-secondary": "#dbe9fd",
"emphasis": "#dd1659",
"success": "#8bc34a",
"success--faded": "#eafce3",
"danger": "#e13232",
"danger--faded": "#ffe6e6",
"warning": "#ffb100",
"warning--faded": "#fff6e0",
"muted-1": "#727273",
"muted-2": "#979899",
"muted-3": "#cacbcc",
"muted-4": "#e3e4e6",
"muted-5": "#f2f4f5"
},
"active-background": {
"action-primary": "#0c389f",
"action-secondary": "#d2defc",
"emphasis": "#dd1659",
"success": "#8bc34a",
"success--faded": "#eafce3",
"danger": "#ff4c4c",
"danger--faded": "#ffe6e6",
"warning": "#ffb100",
"warning--faded": "#fff6e0",
"muted-1": "#727273",
"muted-2": "#979899",
"muted-3": "#cacbcc",
"muted-4": "#e3e4e6",
"muted-5": "#f2f4f5"
},
"text": {
"action-primary": "#0F3E99",
"action-secondary": "#eef3f7",
"link": "#0F3E99",
"emphasis": "#f71963",
"disabled": "#979899",
"success": "#8bc34a",
"success--faded": "#eafce3",
"danger": "#ff4c4c",
"danger--faded": "#ffe6e6",
"warning": "#ffb100",
"warning--faded": "#fff6e0",
"muted-1": "#727273",
"muted-2": "#979899",
"muted-3": "#cacbcc",
"muted-4": "#e3e4e6",
"muted-5": "#f2f4f5"
},
"visited-text": {
"link": "#0c389f"
},
"hover-text": {
"action-primary": "#072c75",
"action-secondary": "#dbe9fd",
"link": "#0c389f",
"emphasis": "#dd1659",
"success": "#8bc34a",
"success--faded": "#eafce3",
"danger": "#e13232",
"danger--faded": "#ffe6e6",
"warning": "#ffb100",
"warning--faded": "#fff6e0"
},
"active-text": {
"link": "#0c389f",
"emphasis": "#dd1659",
"success": "#8bc34a",
"success--faded": "#eafce3",
"danger": "#ff4c4c",
"danger--faded": "#ffe6e6",
"warning": "#ffb100",
"warning--faded": "#fff6e0"
},
"border": {
"action-primary": "#0F3E99",
"action-secondary": "#eef3f7",
"emphasis": "#f71963",
"disabled": "#e3e4e6",
"success": "#8bc34a",
"success--faded": "#eafce3",
"danger": "#ff4c4c",
"danger--faded": "#ffe6e6",
"warning": "#ffb100",
"warning--faded": "#fff6e0",
"muted-1": "#727273",
"muted-2": "#979899",
"muted-3": "#cacbcc",
"muted-4": "#e3e4e6",
"muted-5": "#f2f4f5"
},
"hover-border": {
"action-primary": "#072c75",
"action-secondary": "#dbe9fd",
"emphasis": "#dd1659",
"success": "#8bc34a",
"success--faded": "#eafce3",
"danger": "#e13232",
"danger--faded": "#ffe6e6",
"warning": "#ffb100",
"warning--faded": "#fff6e0",
"muted-1": "#727273",
"muted-2": "#979899",
"muted-3": "#cacbcc",
"muted-4": "#e3e4e6",
"muted-5": "#f2f4f5"
},
"active-border": {
"action-primary": "#0c389f",
"action-secondary": "#d2defc",
"emphasis": "#dd1659",
"success": "#8bc34a",
"success--faded": "#eafce3",
"danger": "#ff4c4c",
"danger--faded": "#ffe6e6",
"warning": "#ffb100",
"warning--faded": "#fff6e0",
"muted-1": "#727273",
"muted-2": "#979899",
"muted-3": "#cacbcc",
"muted-4": "#e3e4e6",
"muted-5": "#f2f4f5"
},
"on": {
"base": "#3f3f40",
"base--inverted": "#ffffff",
"action-primary": "#ffffff",
"action-secondary": "#0F3E99",
"emphasis": "#ffffff",
"disabled": "#979899",
"success": "#ffffff",
"success--faded": "#3f3f40",
"danger": "#ffffff",
"danger--faded": "#3f3f40",
"warning": "#ffffff",
"warning--faded": "#1a1a1a",
"muted-1": "#ffffff",
"muted-2": "#ffffff",
"muted-3": "#3f3f40",
"muted-4": "#3f3f40",
"muted-5": "#3f3f40"
},
"hover-on": {
"action-primary": "#ffffff",
"action-secondary": "#0F3E99",
"emphasis": "#ffffff",
"success": "#ffffff",
"success--faded": "#3f3f40",
"danger": "#ffffff",
"danger--faded": "#3f3f40",
"warning": "#ffffff",
"warning--faded": "#1a1a1a"
},
"active-on": {
"action-primary": "#ffffff",
"action-secondary": "#0F3E99",
"emphasis": "#ffffff",
"success": "#ffffff",
"success--faded": "#3f3f40",
"danger": "#ffffff",
"danger--faded": "#3f3f40",
"warning": "#ffffff",
"warning--faded": "#1a1a1a"
}
}, },
"borderWidths": [0, 0.125, 0.25, 0.5, 1, 2], "heading-3": {
"borderRadius": [0, 0.125, 0.25, 0.5, 1], "fontFamily": "Open Sans, arial, sans-serif",
"widths": [1, 2, 4, 8, 16], "fontWeight": "700",
"maxWidths": [1, 2, 4, 8, 16, 32, 48, 64, 96], "fontSize": "1.75rem",
"heights": [1, 2, 4, 8, 16], "textTransform": "initial",
"sizes": [ "letterSpacing": "0"
{"name": "small", "value": 2},
{"name": "regular", "value": 2.5},
{"name": "large", "value": 3}
],
"typography":{
"measure": [30, 34, 20],
"styles": {
"heading-1": {
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
"fontWeight": "700",
"fontSize": "3rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"heading-2": {
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
"fontWeight": "700",
"fontSize": "2.25rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"heading-3": {
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
"fontWeight": "700",
"fontSize": "1.75rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"heading-4": {
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
"fontWeight": "normal",
"fontSize": "1.5rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"heading-5": {
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
"fontWeight": "normal",
"fontSize": "1.25rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"heading-6": {
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
"fontWeight": "normal",
"fontSize": "1.25rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"body": {
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
"fontWeight": "normal",
"fontSize": "1rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"small": {
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
"fontWeight": "normal",
"fontSize": "0.875rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"mini": {
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
"fontWeight": "normal",
"fontSize": "0.75rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"action": {
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
"fontWeight": "500",
"fontSize": "1rem",
"textTransform": "uppercase",
"letterSpacing": "0"
},
"action--small": {
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
"fontWeight": "500",
"fontSize": "0.875rem",
"textTransform": "uppercase",
"letterSpacing": "0"
},
"action--large": {
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
"fontWeight": "500",
"fontSize": "1.25rem",
"textTransform": "uppercase",
"letterSpacing": "0"
},
"code": {
"fontFamily": "Consolas, monaco, monospace",
"fontWeight": "normal",
"fontSize": "1rem",
"textTransform": "initial",
"letterSpacing": "0"
}
}
}, },
"opacity": [1, 0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2, 0.1, 0.05, 0.025, 0] "heading-4": {
"fontFamily": "Open Sans, arial, sans-serif",
"fontWeight": "300",
"fontSize": "1.25rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"heading-5": {
"fontFamily": "Open Sans, arial, sans-serif",
"fontWeight": "normal",
"fontSize": "1.25rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"heading-6": {
"fontFamily": "Open Sans, arial, sans-serif",
"fontWeight": "normal",
"fontSize": "1.25rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"body": {
"fontFamily": "Open Sans, arial, sans-serif",
"fontWeight": "normal",
"fontSize": "1rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"small": {
"fontFamily": "Open Sans, arial, sans-serif",
"fontWeight": "normal",
"fontSize": "0.875rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"mini": {
"fontFamily": "Open Sans, arial, sans-serif",
"fontWeight": "normal",
"fontSize": "0.75rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"action": {
"fontFamily": "Open Sans, arial, sans-serif",
"fontWeight": "500",
"fontSize": "1rem",
"textTransform": "uppercase",
"letterSpacing": "0"
},
"action--small": {
"fontFamily": "Open Sans, arial, sans-serif",
"fontWeight": "500",
"fontSize": "0.875rem",
"textTransform": "uppercase",
"letterSpacing": "0"
},
"action--large": {
"fontFamily": "Open Sans, arial, sans-serif",
"fontWeight": "500",
"fontSize": "1.25rem",
"textTransform": "uppercase",
"letterSpacing": "0"
},
"code": {
"fontFamily": "Consolas, monaco, monospace",
"fontWeight": "normal",
"fontSize": "1rem",
"textTransform": "initial",
"letterSpacing": "0"
}
}
},
"opacity": [1, 0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2, 0.1, 0.05, 0.025, 0]
} }

View File

@ -1,9 +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 */

View File

@ -10,20 +10,15 @@
.container { .container {
width: 100%; width: 100%;
display: 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: 1025px) {
.container {
width: 94.4444444444%;
padding: 0;
margin: 0 auto;
}
}
@media screen and (min-width: 1921px) { @media screen and (min-width: 1921px) {
.container { .container {
width: 68.75%; width: 68.75%;
margin: 0 auto;
} }
} }

View File

@ -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,20 @@
.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;
}
}

View File

@ -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;
} }

View File

@ -7,6 +7,125 @@
*/ */
/* 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: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;
} }

View File

@ -1,18 +1,14 @@
.container { .container {
width: 100%; width: 100%;
display: 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: 1025px) {
width: 94.44444444444444%;
padding: 0;
margin: 0 auto;
}
@media screen and (min-width: 1921px) { @media screen and (min-width: 1921px) {
width: 68.75%; width: 68.75%;
margin: 0 auto;
} }
} }

View File

@ -0,0 +1,117 @@
.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;
}
}

View 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;
}

View File

@ -1,3 +1,138 @@
.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;
&: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;
}
}