Merge pull request 'feat:#5 identificador produtos' (#6) from feature/productDescription into master

Reviewed-on: #6
This commit is contained in:
ThiagoDutraSampaioLeite 2023-02-08 15:03:35 +00:00
commit 7aa5d67e0b
7 changed files with 142 additions and 26 deletions

View File

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

View File

@ -253,91 +253,91 @@
"measure": [30, 34, 20],
"styles": {
"heading-1": {
"fontFamily": "Open Sans sans-serif",
"fontFamily": "Open Sans",
"fontWeight": "700",
"fontSize": "3rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"heading-2": {
"fontFamily": "Open Sans sans-serif",
"fontFamily": "Open Sans",
"fontWeight": "700",
"fontSize": "2.25rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"heading-3": {
"fontFamily": "Open Sans sans-serif",
"fontFamily": "Open Sans",
"fontWeight": "700",
"fontSize": "1.75rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"heading-4": {
"fontFamily": "Open Sans sans-serif",
"fontFamily": "Open Sans",
"fontWeight": "normal",
"fontSize": "1.5rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"heading-5": {
"fontFamily": "Open Sans sans-serif",
"fontFamily": "Open Sans",
"fontWeight": "normal",
"fontSize": "1.25rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"heading-6": {
"fontFamily": "Open Sans sans-serif",
"fontFamily": "Open Sans",
"fontWeight": "normal",
"fontSize": "1.25rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"body": {
"fontFamily": "Open Sans sans-serif",
"fontFamily": "Open Sans",
"fontWeight": "normal",
"fontSize": "1rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"small": {
"fontFamily": "Open Sans sans-serif",
"fontFamily": "Open Sans",
"fontWeight": "normal",
"fontSize": "0.875rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"mini": {
"fontFamily": "Open Sans sans-serif",
"fontFamily": "Open Sans",
"fontWeight": "normal",
"fontSize": "0.75rem",
"textTransform": "initial",
"letterSpacing": "0"
},
"action": {
"fontFamily": "Open Sans sans-serif",
"fontFamily": "Open Sans",
"fontWeight": "500",
"fontSize": "1rem",
"textTransform": "uppercase",
"letterSpacing": "0"
},
"action--small": {
"fontFamily": "Open Sans sans-serif",
"fontFamily": "Open Sans",
"fontWeight": "500",
"fontSize": "0.875rem",
"textTransform": "uppercase",
"letterSpacing": "0"
},
"action--large": {
"fontFamily": "Open Sans sans-serif",
"fontFamily": "Open Sans",
"fontWeight": "500",
"fontSize": "1.25rem",
"textTransform": "uppercase",
"letterSpacing": "0"
},
"code": {
"fontFamily": "Consolas, monaco, monospace",
"fontFamily": "Open Sans",
"fontWeight": "normal",
"fontSize": "1rem",
"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 */
/* 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__separator {
display: none;
@ -6,5 +11,5 @@
.product-identifier__value {
display: flex;
justify-content: flex-end;
color: #9292927a;
color: rgba(146, 146, 146, 0.478);
}