feat(pdp): Adiciona produto indisponivel mobile

This commit is contained in:
Cainã Milech 2023-01-30 23:29:25 -03:00
parent b1ebdf3c7e
commit 8ee093fd3c
10 changed files with 78 additions and 1 deletions

View File

@ -38,6 +38,12 @@
display: flex; display: flex;
height: 49px; height: 49px;
} }
@media screen and (max-width: 768px) {
[class*="html--qtd-btn"] {
flex-direction: column;
height: unset;
}
}
[class*="html--qtd-btn"] :global(.vtex-button) { [class*="html--qtd-btn"] :global(.vtex-button) {
background-color: #000000; background-color: #000000;
@ -49,3 +55,9 @@
color: #ffffff; color: #ffffff;
border-radius: 0%; border-radius: 0%;
} }
@media screen and (max-width: 768px) {
[class*="html--qtd-btn"] :global(.vtex-button) {
height: 74px;
padding: 0 64px;
}
}

View File

@ -68,7 +68,8 @@
"product-description": { "product-description": {
"props": { "props": {
"marginBottom": 7, "marginBottom": 7,
"blockClass": "descricao" "blockClass": "descricao",
"collapseContent": false
} }
}, },
"condition-layout.product#availability": { "condition-layout.product#availability": {

View File

@ -38,4 +38,7 @@
.flexRowContent--container-produto { .flexRowContent--container-produto {
display: block; display: block;
} }
.flexRowContent--container-produto .stretchChildrenWidth {
width: 100% !important;
}
} }

View File

@ -48,6 +48,11 @@
height: 100%; height: 100%;
/*height: 49px;*/ /*height: 49px;*/
} }
@media screen and (max-width: 768px) {
.quantitySelectorContainer--quantidade {
margin: 0 0 10px 0;
}
}
/*.summaryContainer { /*.summaryContainer {
background-color: blue; background-color: blue;

View File

@ -19,6 +19,7 @@
.carouselGaleryThumbs { .carouselGaleryThumbs {
margin-top: 16px; margin-top: 16px;
display: block;
} }
.thumbImg { .thumbImg {
@ -380,9 +381,29 @@
} }
} }
.productDescriptionText--descricao {
font-weight: 400;
font-size: 16px;
line-height: 22px;
color: #929292;
}
@media screen and (max-width: 768px) {
.productDescriptionText--descricao {
font-size: 14px;
line-height: 19px;
}
}
.subscriberContainer { .subscriberContainer {
position: relative; position: relative;
} }
@media screen and (max-width: 1024px) {
.subscriberContainer .content {
display: flex;
width: 100% !important;
max-width: unset;
}
}
.subscriberContainer .title { .subscriberContainer .title {
font-size: 0; font-size: 0;
margin: 0; margin: 0;
@ -443,6 +464,7 @@
border: none; border: none;
border-radius: 0%; border-radius: 0%;
height: 49px; height: 49px;
cursor: pointer;
} }
.subscriberContainer .content .submit :global(.vtex-button__label) { .subscriberContainer .content .submit :global(.vtex-button__label) {
font-size: 0; font-size: 0;

View File

@ -38,6 +38,11 @@
margin: 0; margin: 0;
height: 42px; height: 42px;
} }
@media screen and (max-width: 1024px) {
.listItem {
margin: 5px 0;
}
}
.listItem :global(.vtex-button) { .listItem :global(.vtex-button) {
background-color: transparent; background-color: transparent;
cursor: pointer; cursor: pointer;

View File

@ -24,5 +24,9 @@
gap: 32px; gap: 32px;
@media screen and (max-width: 1024px) { @media screen and (max-width: 1024px) {
display: block; display: block;
.stretchChildrenWidth {
width: 100% !important;
}
} }
} }

View File

@ -41,6 +41,9 @@
padding: 0; padding: 0;
height: 100%; height: 100%;
/*height: 49px;*/ /*height: 49px;*/
@media screen and (max-width: 768px) {
margin: 0 0 10px 0;
}
} }
/*.summaryContainer { /*.summaryContainer {

View File

@ -10,6 +10,7 @@
.carouselGaleryThumbs { .carouselGaleryThumbs {
margin-top: 16px; margin-top: 16px;
display: block;
} }
.thumbImg { .thumbImg {
@ -413,10 +414,27 @@
line-height: 19px; line-height: 19px;
} }
} }
.productDescriptionText--descricao {
font-weight: 400;
font-size: 16px;
line-height: 22px;
color: $color-gray6;
@media screen and (max-width: 768px) {
font-size: 14px;
line-height: 19px;
}
}
//PRODUTO INDISPONIVEL //PRODUTO INDISPONIVEL
.subscriberContainer { .subscriberContainer {
position: relative; position: relative;
.content {
@media screen and (max-width: 1024px) {
display: flex;
width: 100% !important;
max-width: unset;
}
}
.title { .title {
font-size: 0; font-size: 0;
@ -484,6 +502,7 @@
border: none; border: none;
border-radius: 0%; border-radius: 0%;
height: 49px; height: 49px;
cursor: pointer;
} }
:global(.vtex-button__label) { :global(.vtex-button__label) {

View File

@ -27,6 +27,9 @@
padding: 0; padding: 0;
margin: 0; margin: 0;
height: 42px; height: 42px;
@media screen and (max-width: 1024px) {
margin: 5px 0;
}
:global(.vtex-button) { :global(.vtex-button) {
background-color: transparent; background-color: transparent;