feat:#5 identificador produtos #6

Merged
ThiagoDutraSampaioLeite merged 1 commits from feature/productDescription into master 2023-02-08 15:03:35 +00:00
7 changed files with 142 additions and 26 deletions
Showing only changes of commit 82168a8b99 - Show all commits

View File

@ -1,13 +1,5 @@
{ {
"modal-trigger#quickview": {
"children": [
"icon-expand",
"modal-layout#quickview"
],
"props": {
"blockClass": "quickview"
}
},
"modal-layout#quickview": { "modal-layout#quickview": {
"children": [ "children": [
@ -136,8 +128,7 @@
}, },
"product-images#quickview" : { "product-images#quickview" : {
"props": { "props": {
"blockClass": "quickview", "blockClass": "quickview"
"showNavigationArrows": true
} }
} }
} }

View File

@ -253,91 +253,91 @@
"measure": [30, 34, 20], "measure": [30, 34, 20],
"styles": { "styles": {
"heading-1": { "heading-1": {
"fontFamily": "Open Sans sans-serif", "fontFamily": "Open Sans",
"fontWeight": "700", "fontWeight": "700",
"fontSize": "3rem", "fontSize": "3rem",
"textTransform": "initial", "textTransform": "initial",
"letterSpacing": "0" "letterSpacing": "0"
}, },
"heading-2": { "heading-2": {
"fontFamily": "Open Sans sans-serif", "fontFamily": "Open Sans",
"fontWeight": "700", "fontWeight": "700",
"fontSize": "2.25rem", "fontSize": "2.25rem",
"textTransform": "initial", "textTransform": "initial",
"letterSpacing": "0" "letterSpacing": "0"
}, },
"heading-3": { "heading-3": {
"fontFamily": "Open Sans sans-serif", "fontFamily": "Open Sans",
"fontWeight": "700", "fontWeight": "700",
"fontSize": "1.75rem", "fontSize": "1.75rem",
"textTransform": "initial", "textTransform": "initial",
"letterSpacing": "0" "letterSpacing": "0"
}, },
"heading-4": { "heading-4": {
"fontFamily": "Open Sans sans-serif", "fontFamily": "Open Sans",
"fontWeight": "normal", "fontWeight": "normal",
"fontSize": "1.5rem", "fontSize": "1.5rem",
"textTransform": "initial", "textTransform": "initial",
"letterSpacing": "0" "letterSpacing": "0"
}, },
"heading-5": { "heading-5": {
"fontFamily": "Open Sans sans-serif", "fontFamily": "Open Sans",
"fontWeight": "normal", "fontWeight": "normal",
"fontSize": "1.25rem", "fontSize": "1.25rem",
"textTransform": "initial", "textTransform": "initial",
"letterSpacing": "0" "letterSpacing": "0"
}, },
"heading-6": { "heading-6": {
"fontFamily": "Open Sans sans-serif", "fontFamily": "Open Sans",
"fontWeight": "normal", "fontWeight": "normal",
"fontSize": "1.25rem", "fontSize": "1.25rem",
"textTransform": "initial", "textTransform": "initial",
"letterSpacing": "0" "letterSpacing": "0"
}, },
"body": { "body": {
"fontFamily": "Open Sans sans-serif", "fontFamily": "Open Sans",
"fontWeight": "normal", "fontWeight": "normal",
"fontSize": "1rem", "fontSize": "1rem",
"textTransform": "initial", "textTransform": "initial",
"letterSpacing": "0" "letterSpacing": "0"
}, },
"small": { "small": {
"fontFamily": "Open Sans sans-serif", "fontFamily": "Open Sans",
"fontWeight": "normal", "fontWeight": "normal",
"fontSize": "0.875rem", "fontSize": "0.875rem",
"textTransform": "initial", "textTransform": "initial",
"letterSpacing": "0" "letterSpacing": "0"
}, },
"mini": { "mini": {
"fontFamily": "Open Sans sans-serif", "fontFamily": "Open Sans",
"fontWeight": "normal", "fontWeight": "normal",
"fontSize": "0.75rem", "fontSize": "0.75rem",
"textTransform": "initial", "textTransform": "initial",
"letterSpacing": "0" "letterSpacing": "0"
}, },
"action": { "action": {
"fontFamily": "Open Sans sans-serif", "fontFamily": "Open Sans",
"fontWeight": "500", "fontWeight": "500",
"fontSize": "1rem", "fontSize": "1rem",
"textTransform": "uppercase", "textTransform": "uppercase",
"letterSpacing": "0" "letterSpacing": "0"
}, },
"action--small": { "action--small": {
"fontFamily": "Open Sans sans-serif", "fontFamily": "Open Sans",
"fontWeight": "500", "fontWeight": "500",
"fontSize": "0.875rem", "fontSize": "0.875rem",
"textTransform": "uppercase", "textTransform": "uppercase",
"letterSpacing": "0" "letterSpacing": "0"
}, },
"action--large": { "action--large": {
"fontFamily": "Open Sans sans-serif", "fontFamily": "Open Sans",
"fontWeight": "500", "fontWeight": "500",
"fontSize": "1.25rem", "fontSize": "1.25rem",
"textTransform": "uppercase", "textTransform": "uppercase",
"letterSpacing": "0" "letterSpacing": "0"
}, },
"code": { "code": {
"fontFamily": "Consolas, monaco, monospace", "fontFamily": "Open Sans",
"fontWeight": "normal", "fontWeight": "normal",
"fontSize": "1rem", "fontSize": "1rem",
"textTransform": "initial", "textTransform": "initial",

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 */
.productAssemblyGroupNameRow {
display: none;
}

View File

@ -7,3 +7,88 @@
*/ */
/* Media Query M3 */ /* Media Query M3 */
/* Grid breakpoints */ /* Grid breakpoints */
.heading {
margin: 16px 0 8px 0;
}
.wrapper--message-newsletter {
margin-top: 16px;
}
.wrapper--message-newsletter .paragraph--message-newsletter {
font-family: "Open Sans", sans-serif;
font-size: 24px;
font-weight: 400;
line-height: 38px;
color: #fff;
margin-bottom: 0;
}
.paragraph {
font-family: "Open Sans", sans-serif;
font-size: 18px;
color: #929292;
line-height: 24px;
font-weight: 400;
}
@media only screen and (max-width: 767px) {
.paragraph {
font-size: 16px;
}
}
.container--title-newsletter {
justify-content: center;
width: 100%;
margin: 32px 0 16px 0;
padding: 0 40px;
}
@media only screen and (max-width: 1023px) {
.container--title-newsletter {
margin: 64px 0 16px 0;
}
}
@media only screen and (max-width: 767px) {
.container--title-newsletter {
padding: 0;
}
}
.container--title-newsletter .wrapper--title-newsletter {
align-items: center;
}
.container--title-newsletter .wrapper--title-newsletter .paragraph--title-newsletter {
margin: 0;
font-weight: 400;
font-size: 24px;
line-height: 38px;
color: #fff;
}
.wrapper--email-phrase-newsletter {
display: flex;
justify-content: center;
width: 100%;
margin-bottom: 16px;
padding: 0 40px;
}
@media only screen and (max-width: 767px) {
.wrapper--email-phrase-newsletter {
padding: 0;
}
}
.wrapper--email-phrase-newsletter .wrapper--email-phrase-newsletter {
display: flex;
align-items: center;
}
.wrapper--email-phrase-newsletter .wrapper--email-phrase-newsletter .paragraph--email-phrase-newsletter {
margin: 0;
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #929292;
}
@media only screen and (max-width: 1023px) {
.wrapper--email-phrase-newsletter .wrapper--email-phrase-newsletter .paragraph--email-phrase-newsletter {
font-size: 16px;
line-height: 22px;
}
}

20
styles/css/vtex.shelf.css Normal file
View File

@ -0,0 +1,20 @@
@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 */
.relatedProducts .title {
font-size: 0;
}
.relatedProducts .title::before {
content: "Você também pode gostar:";
font-family: "Open Sans", sans-serif;
font-weight: 400;
font-size: 24px;
line-height: 38px;
}

View File

@ -0,0 +1,3 @@
.productHighlightWrapper {
display: none;
}

View File

@ -1,3 +1,8 @@
.product-identifier {
@include mq(md, max) {
display: flex;
}
}
.product-identifier__label, .product-identifier__label,
.product-identifier__separator { .product-identifier__separator {
display: none; display: none;
@ -6,5 +11,5 @@
.product-identifier__value { .product-identifier__value {
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
color: #9292927a; color: rgba(146, 146, 146, 0.478);
} }