Merge pull request 'development' (#1) from development into master

Reviewed-on: #1
This commit is contained in:
Marcello Rodrigues Martins 2023-02-11 02:54:16 +00:00
commit 4ee4ec8a27
23 changed files with 786 additions and 256 deletions

View File

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

View File

@ -3,13 +3,144 @@
"children": [ "children": [
"html#breadcrumb", "html#breadcrumb",
"condition-layout.product#availability", "condition-layout.product#availability",
"flex-layout.row#description", // "flex-layout.row#description",
"flex-layout.row#specifications-title", "tab-layout#description",
"product-specification-group#table", // "flex-layout.row#specifications-title",
"shelf.relatedProducts", // "product-specification-group#table",
// "shelf.relatedProducts",
"rich-text#carrouselText",
"list-context.product-list#carousel",
"product-questions-and-answers" "product-questions-and-answers"
] ]
}, },
"rich-text#carrouselText": {
"props": {
"text": "Você também pode gostar:",
"textPosition": "CENTER"
}
},
"slider-layout#carouselSLider": {
"props": {
"itemsPerPage": {
"desktop": 4
}
}
},
"list-context.product-list#carousel": {
"children": ["slider-layout#carouselSLider"],
"blocks": ["product-summary.shelf#productShelf"]
},
"product-summary.shelf#productShelf": {
"children": [
"product-summary-image",
"product-summary-name",
"product-summary-space",
"product-summary-price"
]
},
"tab-layout#description": {
"children": ["tab-list#description", "tab-content#description"]
},
"tab-list#description": {
"children": [
"tab-list.item#description1",
"tab-list.item#description2",
"tab-list.item#description3",
"tab-list.item#description4",
"tab-list.item#description5"
]
},
"tab-list.item#description1": {
"props": {
"tabId": "description1",
"label": "Descrição",
"defaultActiveTab": true
}
},
"tab-list.item#description2": {
"props": {
"tabId": "description2",
"label": "Descrição",
"defaultActiveTab": false
}
},
"tab-list.item#description3": {
"props": {
"tabId": "description3",
"label": "Descrição",
"defaultActiveTab": false
}
},
"tab-list.item#description4": {
"props": {
"tabId": "description4",
"label": "Descrição",
"defaultActiveTab": false
}
},
"tab-list.item#description5": {
"props": {
"tabId": "description5",
"label": "Descrição",
"defaultActiveTab": false
}
},
"tab-content#description": {
"children": [
"tab-content.item#description1",
"tab-content.item#description2",
"tab-content.item#description3",
"tab-content.item#description4",
"tab-content.item#description5"
]
},
"tab-content.item#description1": {
"children": ["flex-layout.row#description"],
"props": {
"tabId": "description1"
}
},
"tab-content.item#description2": {
"children": [],
"props": {
"tabId": "description2"
}
},
"tab-content.item#description3": {
"children": [],
"props": {
"tabId": "description3"
}
},
"tab-content.item#description4": {
"children": [],
"props": {
"tabId": "description4"
}
},
"tab-content.item#description5": {
"children": [],
"props": {
"tabId": "description5"
}
},
"html#breadcrumb": { "html#breadcrumb": {
"props": { "props": {
"tag": "section", "tag": "section",
@ -28,9 +159,23 @@
}, },
"flex-layout.row#description": { "flex-layout.row#description": {
"props": { "props": {
"blockClass": "containerFlexRow",
"marginBottom": 7 "marginBottom": 7
}, },
"children": ["product-description"] "children": ["product-images#description", "flex-layout.col#description"]
},
"product-description#notitle": {
"props": { "showTitle": false }
},
"flex-layout.col#description": {
"props": {
"preventVerticalStretch": true,
"rowGap": 5
},
"children": ["product-description", "product-description#notitle"]
},
"product-images#description": {
"props": { "displayMode": "first-image" }
}, },
"condition-layout.product#availability": { "condition-layout.product#availability": {
"props": { "props": {
@ -91,9 +236,28 @@
"desktop": "auto", "desktop": "auto",
"phone": "16:9" "phone": "16:9"
}, },
"displayThumbnailsArrows": true "displayThumbnailsArrows": false,
"thumbnailsOrientation": "horizontal",
"thumbnailMaxHeight": 90,
"showPaginationDots": false,
"showNavigationArrows": false
} }
}, },
"flex-layout.col#skuCol": {
"props": {
"blockClass": "skuProduct"
},
"children": ["product-identifier.product"]
},
"product-installments": {
"props": {
"message": "{installmentsNumber} {hasInterest, select, true {x} false {}} de {installmentValue} sem juros",
"blockClass": "installmentsPrice"
}
},
"flex-layout.col#right-col": { "flex-layout.col#right-col": {
"props": { "props": {
"preventVerticalStretch": true, "preventVerticalStretch": true,
@ -101,20 +265,17 @@
}, },
"children": [ "children": [
"flex-layout.row#product-name", "flex-layout.row#product-name",
"flex-layout.col#skuCol",
"product-rating-summary", "product-rating-summary",
"flex-layout.row#list-price-savings", // "flex-layout.row#list-price-savings",
"flex-layout.row#selling-price", "flex-layout.row#selling-price",
"product-installments", "product-installments",
"product-separator", // "product-separator",
"product-identifier.product",
"sku-selector", "sku-selector",
"product-quantity", "flex-layout.row#cartPlus",
"product-assembly-options",
"product-gifts",
"flex-layout.row#buy-button",
"availability-subscriber", "availability-subscriber",
"shipping-simulator", "shipping-simulator"
"share#default" // "share#default"
] ]
}, },
@ -135,11 +296,16 @@
"flex-layout.row#buy-button": { "flex-layout.row#buy-button": {
"props": { "props": {
"marginTop": 4, "marginTop": 4,
"marginBottom": 7 "marginBottom": 7,
"blockClass": "buttonCart"
}, },
"children": ["add-to-cart-button"] "children": ["add-to-cart-button"]
}, },
"flex-layout.row#cartPlus": {
"children": ["product-quantity", "flex-layout.row#buy-button"]
},
"flex-layout.row#product-availability": { "flex-layout.row#product-availability": {
"props": { "props": {
"colGap": 7, "colGap": 7,

View File

@ -8,9 +8,9 @@
/* Media Query M3 */ /* Media Query M3 */
/* Grid breakpoints */ /* Grid breakpoints */
.html { .html {
background-color: red; background-color: blue;
} }
.html--pdp-breadcrumb { .html--pdp-breadcrumb {
background-color: green; background-color: white;
} }

View File

@ -0,0 +1,53 @@
@charset "UTF-8";
/*
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 */
.container {
display: flex;
font-size: 14px;
color: gray;
margin: 0 40px;
}
.container .homeIcon {
height: 0;
display: none;
}
.container .homeLink::before {
content: "Home";
font-family: "Open sans", sans-serif;
font-weight: 400;
font-size: 14px;
line-height: 19px;
}
.container .link--1 {
font-size: 0;
}
.container .link--1::before {
content: "Sapatos";
font-family: "Open sans", sans-serif;
font-weight: 400;
font-size: 14px;
line-height: 19px;
margin-left: 7px;
}
.container .link--2 {
font-size: 0;
}
.container .link--2::before {
content: "Sandália";
font-family: "Open sans", sans-serif;
font-weight: 400;
font-size: 14px;
line-height: 19px;
margin-left: 7px;
}
.container .termArrow,
.container .term {
display: none;
}

View File

@ -1,98 +1,21 @@
.flexRowContent--menu-link, /*
.flexRowContent--main-header { 0 - 600PX: Phone
padding: 0 0.5rem; 600 - 900px: Table portrait
900 - 1200px: Tablet landscape
[1200 - 1800] is where our nortal styles apply
1800px + : Big desktop
*/
/* Media Query M3 */
/* Grid breakpoints */
.flexRow--containerFlexRow {
margin: 32px 72px 16px;
} }
@media screen and (min-width: 40em) { .flexColChild--skuProduct {
.flexRowContent--menu-link, text-align: end;
.flexRowContent--main-header {
padding: 0 1rem;
}
} }
@media screen and (min-width: 80rem) { .flexRowContent--buttonCart :global(.vtex-button) {
.flexRowContent--menu-link, background: black;
.flexRowContent--main-header { border: 0;
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;
} }

View File

@ -1,3 +1,24 @@
.product-identifier--productReference { /*
margin-bottom: 1rem; 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 */
.product-identifier__label {
display: none;
}
.product-identifier__value {
text-align: end;
color: rgba(146, 146, 146, 0.48);
font-weight: 400;
font-size: 14px;
line-height: 19px;
}
.product-identifier__separator {
display: none;
} }

View File

@ -1,79 +1,22 @@
.listPrice { /*
color: #727273; 0 - 600PX: Phone
margin-bottom: .25rem; 600 - 900px: Table portrait
font-size: 1rem; 900 - 1200px: Tablet landscape
[1200 - 1800] is where our nortal styles apply
1800px + : Big desktop
*/
/* Media Query M3 */
/* Grid breakpoints */
.installments {
font-weight: 700;
font-size: 16px;
line-height: 22px;
color: #929292;
} }
.sellingPrice { .sellingPrice {
color: #3f3f40;
font-size: 1.25rem;
}
.sellingPriceValue {
font-size: 2.25rem;
font-weight: 700; font-weight: 700;
} font-size: 25px;
line-height: 38px;
.installments { color: #000000;
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: .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

@ -0,0 +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 */
.discountInsideContainer {
display: none;
}

View File

@ -1,42 +1,55 @@
.skuSelectorContainer--quickview .skuSelectorItemImage .frameAround, .skuSelectorContainer--quickview .skuSelectorItemImage .skuSelectorInternalBox { /*
border-radius: 50%; 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 */
.imageNormal {
width: 100vw;
height: 100vw;
} }
.container :global(.vtex-modal-layout-0-x-triggerContainer) { .productBrand {
opacity: 0; font-weight: 400;
transition: opacity 200ms ease-in-out; font-size: 18px;
line-height: 25px;
text-align: center;
color: #000000;
} }
.container:hover :global(.vtex-modal-layout-0-x-triggerContainer) { .installmentContainer {
opacity: 1; display: none;
} }
@media screen and (max-width: 40em) { .listPriceContainer {
.container :global(.vtex-modal-layout-0-x-triggerContainer) { font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: center;
text-decoration-line: line-through;
color: #bababa;
}
.sellingPrice {
font-weight: 700;
font-size: 24px;
line-height: 33px;
text-align: center;
color: #000000;
}
.sellingPriceLabel {
display: none; display: none;
}
} }
.nameContainer { .nameContainer {
justify-content: start; padding: 16px 16px 8px;
padding-top: 1rem;
padding-bottom: 1rem;
} }
.brandName { .priceContainer {
font-weight: 600; margin: unset;
font-size: 18px; padding: unset;
color: #2E2E2E;
}
.container {
text-align: start;
}
.imageContainer {
text-align: center;
}
.image {
border-radius: 0.25rem;
} }

View File

@ -7,3 +7,10 @@
*/ */
/* Media Query M3 */ /* Media Query M3 */
/* Grid breakpoints */ /* Grid breakpoints */
.container {
font-weight: 400;
font-size: 24px;
line-height: 38px;
text-align: center;
color: #575757;
}

View File

@ -1,31 +1,21 @@
.sliderLayoutContainer { /*
justify-content: center; 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 */
.paginationDot {
background: #000000;
} }
.sliderLayoutContainer--carousel { .paginationDot--isActive {
background-color: #F0F0F0; border: 0.5px solid #000000;
min-height: 450px; background: white;
}
.sliderTrackContainer {
max-width: 100%;
} }
.paginationDotsContainer { .paginationDotsContainer {
margin-top: .5rem; margin-top: 36px;
margin-bottom: .5rem;
}
.layoutContainer--shelf {
margin-top: 20px;
margin-bottom: 20px;
max-width: 96rem;
min-height: 550px;
}
.slide--shelf {
margin-bottom: 25px;
padding-left: .5rem;
padding-right: .5rem;
min-height: 550px;
} }

View File

@ -7,6 +7,99 @@
*/ */
/* Media Query M3 */ /* Media Query M3 */
/* Grid breakpoints */ /* Grid breakpoints */
.newsletter { .skuSelectorContainer {
background: red; display: flex;
flex-direction: column-reverse;
}
.vtex-flex-layout-0-x-stretchChildrenWidth {
width: 46.11% !important;
}
.relative :first-child {
min-width: 100%;
}
.productImage {
height: 664px;
}
.productImageTag {
min-height: 100%;
}
.productImageTag--main {
width: unset !important;
min-height: 100% !important;
max-height: unset !important;
}
.figure {
width: 90px;
height: 90px;
}
.productImagesThumb {
width: 90px !important;
height: 90px !important;
margin-right: 16px;
}
.carouselThumbBorder {
width: 90px;
height: 90px;
}
.thumbImg {
width: 90px;
height: 90px;
border-radius: 8px !important;
}
.productDescriptionTitle {
font-weight: 400;
font-size: 24px;
line-height: 32px;
color: #575757;
}
.productDescriptionText {
font-weight: 400;
font-size: 16px;
line-height: 22px;
color: #929292;
}
.discountInsideContainer {
display: none;
}
.productBrand {
text-align: end;
}
.productNameContainer--quickview {
text-align: end;
font-weight: 300;
font-size: 20px;
line-height: 34px;
color: #575757;
}
.skuSelectorItemTextValue {
padding: unset;
}
.skuSelectorItem {
border-radius: 50%;
width: 45px;
height: 45px;
}
.skuSelectorInternalBox {
border-radius: 50%;
}
.frameAround {
border-radius: 50%;
} }

View File

@ -0,0 +1,36 @@
/*
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 */
.listContainer {
width: 94.44%;
margin: 0 40px;
padding: 0 80px;
border-bottom: 1px solid #bfbfbf;
justify-content: space-between;
}
.listContainer :global(.vtex-button) {
background: white;
border: 0;
color: #bfbfbf;
font-weight: 400;
font-size: 18px;
line-height: 38px;
padding-bottom: 0;
}
.listItemActive :global(.vtex-button) {
color: black;
padding-bottom: 0;
}
.listItemActive {
border-bottom: 2px solid black;
margin-bottom: unset;
}

View File

@ -1,8 +1,7 @@
.html { .html {
background-color: red; background-color: blue;
} }
.html--pdp-breadcrumb { .html--pdp-breadcrumb {
background-color: green; background-color: white;
} }

View File

@ -0,0 +1,49 @@
.container {
display: flex;
font-size: 14px;
color: gray;
margin: 0 40px;
.homeIcon {
height: 0;
display: none;
}
.homeLink {
&::before {
content: "Home";
font-family: "Open sans", sans-serif;
font-weight: 400;
font-size: 14px;
line-height: 19px;
}
}
.link--1 {
font-size: 0;
&::before {
content: "Sapatos";
font-family: "Open sans", sans-serif;
font-weight: 400;
font-size: 14px;
line-height: 19px;
margin-left: 7px;
}
}
.link--2 {
font-size: 0;
&::before {
content: "Sandália";
font-family: "Open sans", sans-serif;
font-weight: 400;
font-size: 14px;
line-height: 19px;
margin-left: 7px;
}
}
.termArrow,
.term {
display: none;
}
}

View File

@ -0,0 +1,12 @@
.flexRow--containerFlexRow {
margin: 32px 72px 16px;
}
.flexColChild--skuProduct {
text-align: end;
}
.flexRowContent--buttonCart :global(.vtex-button) {
background: black;
border: 0;
}

View File

@ -0,0 +1,15 @@
.product-identifier__label {
display: none;
}
.product-identifier__value {
text-align: end;
color: rgba(146, 146, 146, 0.48);
font-weight: 400;
font-size: 14px;
line-height: 19px;
}
.product-identifier__separator {
display: none;
}

View File

@ -0,0 +1,13 @@
.installments {
font-weight: 700;
font-size: 16px;
line-height: 22px;
color: #929292;
}
.sellingPrice {
font-weight: 700;
font-size: 25px;
line-height: 38px;
color: #000000;
}

View File

@ -0,0 +1,45 @@
.imageNormal {
width: 100vw;
height: 100vw;
}
.productBrand {
font-weight: 400;
font-size: 18px;
line-height: 25px;
text-align: center;
color: #000000;
}
.installmentContainer {
display: none;
}
.listPriceContainer {
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: center;
text-decoration-line: line-through;
color: #bababa;
}
.sellingPrice {
font-weight: 700;
font-size: 24px;
line-height: 33px;
text-align: center;
color: #000000;
}
.sellingPriceLabel {
display: none;
}
.nameContainer {
padding: 16px 16px 8px;
}
.priceContainer {
margin: unset;
padding: unset;
}

View File

@ -0,0 +1,7 @@
.container {
font-weight: 400;
font-size: 24px;
line-height: 38px;
text-align: center;
color: #575757;
}

View File

@ -0,0 +1,12 @@
.paginationDot {
background: #000000;
}
.paginationDot--isActive {
border: 0.5px solid #000000;
background: white;
}
.paginationDotsContainer {
margin-top: 36px;
}

View File

@ -1,3 +1,98 @@
.newsletter{ .skuSelectorContainer {
background: red; display: flex;
flex-direction: column-reverse;
}
.vtex-flex-layout-0-x-stretchChildrenWidth {
width: 46.11% !important;
}
.relative {
:first-child {
min-width: 100%;
}
}
.productImage {
height: 664px;
}
.productImageTag {
min-height: 100%;
}
.productImageTag--main {
width: unset !important;
min-height: 100% !important;
max-height: unset !important;
}
.figure {
width: 90px;
height: 90px;
}
.productImagesThumb {
width: 90px !important;
height: 90px !important;
margin-right: 16px;
}
.carouselThumbBorder {
width: 90px;
height: 90px;
}
.thumbImg {
width: 90px;
height: 90px;
border-radius: 8px !important;
}
.productDescriptionTitle {
font-weight: 400;
font-size: 24px;
line-height: 32px;
color: #575757;
}
.productDescriptionText {
font-weight: 400;
font-size: 16px;
line-height: 22px;
color: #929292;
}
.discountInsideContainer {
display: none;
}
.productBrand {
text-align: end;
}
.productNameContainer--quickview {
text-align: end;
font-weight: 300;
font-size: 20px;
line-height: 34px;
color: #575757;
}
.skuSelectorItemTextValue {
padding: unset;
}
.skuSelectorItem {
border-radius: 50%;
width: 45px;
height: 45px;
}
.skuSelectorInternalBox {
border-radius: 50%;
}
.frameAround {
border-radius: 50%;
} }

View File

@ -0,0 +1,27 @@
.listContainer {
width: 94.44%;
margin: 0 40px;
padding: 0 80px;
border-bottom: 1px solid #bfbfbf;
justify-content: space-between;
}
.listContainer :global(.vtex-button) {
background: white;
border: 0;
color: #bfbfbf;
font-weight: 400;
font-size: 18px;
line-height: 38px;
padding-bottom: 0;
}
.listItemActive :global(.vtex-button) {
color: black;
padding-bottom: 0;
}
.listItemActive {
border-bottom: 2px solid black;
margin-bottom: unset;
}