feature #1

Merged
RamonDiasFerreira merged 16 commits from feature into develop 2023-02-11 02:37:54 +00:00
9 changed files with 199 additions and 22 deletions
Showing only changes of commit c117e3be4c - Show all commits

View File

@ -52,12 +52,6 @@
}, },
"flex-layout.row#product-main": { "flex-layout.row#product-main": {
"props": { "props": {
"colGap": 7,
"rowGap": 7,
"marginTop": 4,
"marginBottom": 7,
"paddingTop": 7,
"paddingBottom": 7,
"blockClass": "product-main" "blockClass": "product-main"
}, },
"children": ["flex-layout.col#stack", "flex-layout.col#right-col"] "children": ["flex-layout.col#stack", "flex-layout.col#right-col"]
@ -86,7 +80,6 @@
"flex-layout.col#stack": { "flex-layout.col#stack": {
"children": ["stack-layout"], "children": ["stack-layout"],
"props": { "props": {
"width": "45%",
"rowGap": 0 "rowGap": 0
} }
}, },
@ -104,13 +97,10 @@
"product-images": { "product-images": {
"props": { "props": {
"aspectRatio": { "aspectRatio": {
"desktop": "auto", "desktop": "auto"
"phone": "16:9"
}, },
"thumbnailsOrientation": "horizontal", "thumbnailsOrientation": "horizontal",
"showNavigationArrows": false, "showNavigationArrows": false,
"showPaginationDots": false,
"displayThumbnailsArrows": false,
"blockClass": "produto-carrossel" "blockClass": "produto-carrossel"
} }
}, },
@ -224,12 +214,6 @@
}, },
"flex-layout.row#product-availability": { "flex-layout.row#product-availability": {
"props": {
"colGap": 7,
"marginTop": 4,
"marginBottom": 7,
"paddingTop": 7
},
"children": [ "children": [
"flex-layout.col#stack", "flex-layout.col#stack",
"flex-layout.col#right-col-availability" "flex-layout.col#right-col-availability"

View File

@ -19,6 +19,17 @@
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
@media screen and (max-width: 1024px) {
.flexRowContent .stretchChildrenWidth {
width: initial;
}
}
@media screen and (max-width: 1024px) {
.flexRowContent--product-main {
flex-direction: column;
}
}
.flexRowContent--identifier { .flexRowContent--identifier {
text-align: end; text-align: end;
@ -26,10 +37,21 @@
flex-direction: column; flex-direction: column;
align-items: end; align-items: end;
} }
@media screen and (max-width: 1024px) {
.flexRowContent--identifier {
text-align: start;
}
}
.flexRow--product-main { .flexRow--product-main {
padding: 0 40px; padding: 0 40px;
} }
@media screen and (max-width: 1024px) {
.flexRow--product-main .stretchChildrenWidth {
width: 100% !important;
padding-bottom: 24px;
}
}
.flexColChild--infos :global(.vtex-button) { .flexColChild--infos :global(.vtex-button) {
background-color: black !important; background-color: black !important;

View File

@ -10,3 +10,8 @@
.listPrice { .listPrice {
display: block; display: block;
} }
.sellingPriceValue {
font-weight: bold;
font-size: 25px;
}

View File

@ -7,6 +7,10 @@
*/ */
/* Media Query M3 */ /* Media Query M3 */
/* Grid breakpoints */ /* Grid breakpoints */
.container {
display: contents;
}
.productImagesGallerySlide--produto-carrossel { .productImagesGallerySlide--produto-carrossel {
width: 100% !important; width: 100% !important;
} }
@ -30,6 +34,12 @@
text-align: right; text-align: right;
color: #575757; color: #575757;
} }
@media screen and (max-width: 1024px) {
.productNameContainer--quickview {
text-align: left;
padding-bottom: 8px;
}
}
.skuSelectorContainer { .skuSelectorContainer {
display: flex; display: flex;
@ -89,11 +99,30 @@
} }
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) { .shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
color: #000;
position: absolute; position: absolute;
right: 32px; right: 0px;
top: 25px; top: 25px;
} }
@media screen and (max-width: 1120px) {
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
right: -20px;
}
}
@media screen and (max-width: 1100px) {
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
right: -30px;
}
}
@media screen and (max-width: 1035px) {
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
right: -35px;
}
}
@media screen and (max-width: 1024px) {
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
right: 0px;
}
}
.shareContainer { .shareContainer {
display: none; display: none;
@ -143,10 +172,20 @@
width: 50%; width: 50%;
margin-left: 16px; margin-left: 16px;
} }
@media screen and (max-width: 1024px) {
.productDescriptionContainer {
width: 100%;
}
}
.carouselGaleryThumbs { .carouselGaleryThumbs {
height: 200px; height: 200px;
} }
@media screen and (max-width: 1024px) {
.carouselGaleryThumbs {
display: block;
}
}
.carouselGaleryThumbs .productImagesThumb { .carouselGaleryThumbs .productImagesThumb {
margin: 0px 10px; margin: 0px 10px;
@ -238,6 +277,11 @@
.content--description-imagem { .content--description-imagem {
width: 45%; width: 45%;
} }
@media screen and (max-width: 1024px) {
.content--description-imagem {
width: 100%;
}
}
.newsletter { .newsletter {
background: #000; background: #000;
@ -285,6 +329,12 @@
.newsletter .inputGroup { .newsletter .inputGroup {
width: 774px; width: 774px;
} }
@media screen and (max-width: 1024px) {
.newsletter .inputGroup {
display: flex;
width: 100%;
}
}
.newsletter .inputGroup :global(.vtex-input-prefix__group) { .newsletter .inputGroup :global(.vtex-input-prefix__group) {
border: none; border: none;

View File

@ -17,23 +17,51 @@
justify-content: space-around; justify-content: space-around;
border-bottom: 1px solid #BFBFBF; border-bottom: 1px solid #BFBFBF;
} }
@media screen and (max-width: 1024px) {
.listContainer {
flex-direction: column;
align-content: baseline;
border-bottom: none;
}
}
.listItem { .listItem {
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
@media screen and (max-width: 1024px) {
.listItem {
width: 100%;
}
}
.listItem :global(.vtex-button) { .listItem :global(.vtex-button) {
border-radius: 0; border-radius: 0;
background-color: #FFFFFF; background-color: #FFFFFF;
color: #BFBFBF; color: #BFBFBF;
} }
@media screen and (max-width: 1024px) {
.listItem :global(.vtex-button) {
display: flex;
width: 100%;
}
}
.listItemActive :global(.vtex-button) { .listItemActive :global(.vtex-button) {
border: 0; border: 0;
border-bottom: 1px solid #000000 !important; border-bottom: 1px solid #000000 !important;
} }
@media screen and (max-width: 1024px) {
.listItemActive :global(.vtex-button) {
border-bottom: none !important;
}
}
.contentItem { .contentItem {
display: flex; display: flex;
margin-bottom: 16px; margin-bottom: 16px;
} }
@media screen and (max-width: 1024px) {
.contentItem {
flex-direction: column;
}
}

View File

@ -10,18 +10,42 @@
.flexRowContent{ .flexRowContent{
margin: 0; margin: 0;
padding: 0; padding: 0;
.stretchChildrenWidth{
@media screen and (max-width: 1024px) {
width: initial;
}
}
} }
.flexRowContent--product-main{
@media screen and (max-width: 1024px) {
flex-direction: column;
}
}
.flexRowContent--identifier{ .flexRowContent--identifier{
text-align: end; text-align: end;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: end; align-items: end;
@media screen and (max-width: 1024px) {
text-align: start;
}
} }
.flexRow--product-main{ .flexRow--product-main{
padding: 0 40px; padding: 0 40px;
.stretchChildrenWidth{
@media screen and (max-width: 1024px) {
width: 100% !important;
padding-bottom: 24px;
}
}
} }
.flexColChild--infos :global(.vtex-button){ .flexColChild--infos :global(.vtex-button){

View File

@ -1,3 +1,10 @@
.listPrice { .listPrice {
display: block; display: block;
} }
.sellingPriceValue{
font-weight: bold;
font-size: 25px;
}

View File

@ -1,3 +1,7 @@
.container{
display: contents;
}
.productImagesGallerySlide--produto-carrossel{ .productImagesGallerySlide--produto-carrossel{
width: 100% !important; width: 100% !important;
} }
@ -20,6 +24,12 @@
line-height: 34px; line-height: 34px;
text-align: right; text-align: right;
color: #575757; color: #575757;
@media screen and (max-width: 1024px) {
text-align: left;
padding-bottom: 8px;
}
} }
.skuSelectorContainer { .skuSelectorContainer {
@ -73,10 +83,21 @@
width: 280px; width: 280px;
} }
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) { .shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
color: #000;
position: absolute; position: absolute;
right: 32px; right: 0px;
top: 25px; top: 25px;
@media screen and (max-width: 1120px) {
right: -20px;
}
@media screen and (max-width: 1100px) {
right: -30px;
}
@media screen and (max-width: 1035px) {
right: -35px;
}
@media screen and (max-width: 1024px) {
right: 0px;
}
} }
.shareContainer { .shareContainer {
@ -120,10 +141,18 @@
.productDescriptionContainer { .productDescriptionContainer {
width: 50%; width: 50%;
margin-left: 16px; margin-left: 16px;
@media screen and (max-width: 1024px) {
width: 100%;
}
} }
.carouselGaleryThumbs { .carouselGaleryThumbs {
height: 200px; height: 200px;
@media screen and (max-width: 1024px) {
display: block;
}
} }
.carouselGaleryThumbs .productImagesThumb { .carouselGaleryThumbs .productImagesThumb {
margin: 0px 10px; margin: 0px 10px;
@ -210,6 +239,10 @@
.content--description-imagem{ .content--description-imagem{
width: 45%; width: 45%;
@media screen and (max-width: 1024px) {
width: 100%;
}
} }
.newsletter { .newsletter {
@ -252,6 +285,10 @@
} }
.newsletter .inputGroup { .newsletter .inputGroup {
width: 774px; width: 774px;
@media screen and (max-width: 1024px) {
display: flex;
width: 100%;
}
} }
.newsletter .inputGroup :global(.vtex-input-prefix__group) { .newsletter .inputGroup :global(.vtex-input-prefix__group) {
border: none; border: none;

View File

@ -9,28 +9,48 @@
margin-bottom: 32px; margin-bottom: 32px;
justify-content: space-around; justify-content: space-around;
border-bottom: 1px solid #BFBFBF; border-bottom: 1px solid #BFBFBF;
@media screen and (max-width: 1024px) {
flex-direction: column;
align-content: baseline;
border-bottom: none;
}
} }
.listItem{ .listItem{
margin: 0; margin: 0;
padding: 0; padding: 0;
@media screen and (max-width: 1024px) {
width: 100%;
}
:global(.vtex-button){ :global(.vtex-button){
border-radius: 0; border-radius: 0;
background-color: #FFFFFF; background-color: #FFFFFF;
color: #BFBFBF; color: #BFBFBF;
@media screen and (max-width: 1024px) {
display: flex;
width: 100%;
}
} }
} }
.listItemActive :global(.vtex-button) { .listItemActive :global(.vtex-button) {
border: 0; border: 0;
border-bottom: 1px solid #000000 !important; border-bottom: 1px solid #000000 !important;
@media screen and (max-width: 1024px) {
border-bottom: none !important;
}
} }
.contentItem{ .contentItem{
display: flex; display: flex;
margin-bottom: 16px; margin-bottom: 16px;
@media screen and (max-width: 1024px) {
flex-direction: column;
}
} }