feat(parteleira):add prateleira

This commit is contained in:
Gustavo Rallenson Gonçalves Da Silva 2023-02-05 21:11:23 -03:00
parent 0a9ffb2593
commit 4e3b6b6537
4 changed files with 95 additions and 12 deletions

View File

@ -11,7 +11,7 @@
.html--pdp-section_descriptions{
display: flex;
flex-direction: column;
gap: 32;
gap: 32px;
padding: 0px 40px 0px 40px;
}
.html--pdp-section_descriptions :global(.vtex-flex-layout-0-x-flexRowContent){
@ -36,6 +36,7 @@
list-style: none;
margin: 0;
}
.html--pdp-departamens div ul li button{
outline: none;
border: none;
@ -55,3 +56,17 @@
.html--pdp-productMain :global(.vtex-store-components-3-x-container){
max-width: 100%;
}
@media screen and (max-width: 1024px) {
.html--pdp-departamens div ul{
flex-direction: column;
justify-content: end;
padding: 0;
}
.html--pdp-departamens div ul li :global(button.open){
border-bottom: none;
}
.html--pdp-departamens ul{
border-top: 1px solid rgba(185, 185, 185, 1);
}
}

View File

@ -3,9 +3,51 @@
"children": [
"html#breadcrumb",
"condition-layout.product#availability",
"html#departaments"
"html#departaments",
"flex-layout.row#specifications-title",
"html#carousel"
]
},
"html#carousel":{
"children":["flex-layout.row#shelfpdp"]
},
"flex-layout.row#shelfpdp": {
"props":{
"blockClass":"pdp-carrousel"
},
"children": ["list-context.product-list#pdp"]
},
"list-context.product-list#pdp": {
"blocks": ["product-summary.shelf#Pdp"],
"children": ["slider-layout#demo-products#pdp"],
"props": {
"orderBy": "OrderByTopSaleDESC"
}
},
"slider-layout#demo-products#pdp": {
"props": {
"itemsPerPage": {
"desktop": 4,
"tablet": 3,
"phone": 2
},
"infinite": true,
"fullWidth": true,
"blockClass": "pdp"
}
},
"product-summary.shelf#Pdp": {
"children": [
"stack-layout#prodsum",
"product-summary-name",
"product-summary-space",
"product-list-price#summary",
"product-installments#summary",
"flex-layout.row#selling-price-savings"
]
},
"html#breadcrumb": {
"props": {
"tag": "section",
@ -34,9 +76,11 @@
"flex-layout.row#specifications-title": {
"children": ["rich-text#specifications"]
},
"rich-text#specifications": {
"props": {
"text": "##### Product Specifications"
"text": "##### Você também pode gostar:",
"blockClass": "pdp-specifications"
}
},
"flex-layout.row#description": {
@ -111,9 +155,7 @@
"testId": "description",
"blockClass": "pdp-descriptions"
},
"children": [
"flex-layout.row#description"
]
"children": ["flex-layout.row#description"]
},
"flex-layout.col#stack": {

View File

@ -7,3 +7,14 @@
*/
/* Media Query M3 */
/* Grid breakpoints */
.container--pdp-specifications {
justify-content: center;
}
.container--pdp-specifications .wrapper--pdp-specifications .heading {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
color: #575757;
}

View File

@ -0,0 +1,15 @@
.container{
&--pdp-specifications{
justify-content: center;
.wrapper--pdp-specifications{
.heading{
font-family: 'Open Sans',sans-serif;
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
color: #575757;
}
}
}
}