feat: criando os arquivos e o scss da product identifile e flex layout

This commit is contained in:
PatrickSouza 2023-01-24 21:21:02 -03:00
parent e2106d1552
commit bbf7c874a0
7 changed files with 98 additions and 100 deletions

View File

@ -45,6 +45,7 @@
},
"flex-layout.row#product-main": {
"props": {
"blockClass": "product-main-container",
"colGap": 7,
"rowGap": 7,
"marginTop": 4,
@ -103,12 +104,12 @@
},
"children": [
"flex-layout.row#product-name",
"product-identifier.product",
"product-rating-summary",
"flex-layout.row#list-price-savings",
"flex-layout.row#selling-price",
"product-installments",
"product-separator",
"product-identifier.product",
"sku-selector",
"product-quantity",
"product-assembly-options",

View File

@ -1,98 +1,12 @@
.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;
}
/*
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 */
.flexRow--product-main-container :global(.vtex-store-components-3-x-container) {
max-width: 1920px;
}

View File

@ -1,3 +1,28 @@
/*
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--productReference {
margin-bottom: 1rem;
width: 100%;
display: flex;
justify-content: end;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
/* identical to box height */
text-align: right;
color: rgba(146, 146, 146, 0.48);
}
.product-identifier__label {
display: none;
}
.product-identifier__separator {
display: none;
}

View File

@ -15,4 +15,18 @@
height: auto !important;
width: 90px !important;
margin-right: 16px !important;
}
.productNameContainer--quickview {
text-align: end;
}
.product-identifier--productReference {
text-align: end;
}
.product-identifier--productReference__label {
display: none;
}
.product-identifier--productReference__separator {
display: none;
}

View File

@ -0,0 +1,5 @@
.flexRow--product-main-container {
:global(.vtex-store-components-3-x-container) {
max-width: 1920px;
}
}

View File

@ -0,0 +1,24 @@
.product-identifier {
&--productReference {
width: 100%;
display: flex;
justify-content: end;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
/* identical to box height */
text-align: right;
color: rgba(146, 146, 146, 0.48);
}
&__label {
display: none;
}
&__separator {
display: none;
}
}

View File

@ -6,3 +6,18 @@
width: 90px !important;
margin-right: 16px !important;
}
.productNameContainer--quickview {
text-align: end;
}
.product-identifier--productReference {
text-align: end;
&__label {
display: none;
}
&__separator {
display: none;
}
}