estilização do mobile produtos indiponiveis

This commit is contained in:
Ueber James Santos 2023-02-09 01:00:25 -03:00
parent 02f056b3b7
commit 2a0a38c957
8 changed files with 70 additions and 40 deletions

View File

@ -3,6 +3,13 @@
gap: 10px; gap: 10px;
}
@media (max-width: 768px) {
[class*="html--quantity-button-buy"] {
flex-direction: column;
}
} }

View File

@ -33,6 +33,14 @@
margin: 0; margin: 0;
margin-left: 10px; margin-left: 10px;
} }
@media only screen and (max-width: 767px) {
.flexRow--size-buy-button {
margin: 0 0 16px 0;
}
.flexRow--size-buy-button .stretchChildrenWidth {
height: 74px;
}
}
.flexRow--size-buy-button .flexRowContent--size-buy-button { .flexRow--size-buy-button .flexRowContent--size-buy-button {
height: 49px; height: 49px;
width: 100%; width: 100%;
@ -45,11 +53,6 @@
border-radius: 0; border-radius: 0;
width: 100%; width: 100%;
} }
@media only screen and (max-width: 1024px) {
.flexRowContent--size-buy-button :global(.vtex-button) {
width: 780px;
}
}
@media only screen and (max-width: 1024px) { @media only screen and (max-width: 1024px) {
.flexRowContent--description { .flexRowContent--description {

View File

@ -20,6 +20,11 @@
width: 128px; width: 128px;
height: 49px; height: 49px;
} }
@media only screen and (max-width: 767px) {
.quantitySelectorContainer {
margin-bottom: 0;
}
}
.quantitySelectorContainer :global(.vtex-numeric-stepper-container) { .quantitySelectorContainer :global(.vtex-numeric-stepper-container) {
height: 49px; height: 49px;
} }

View File

@ -35,6 +35,7 @@
} }
.container .carouselGaleryThumbs { .container .carouselGaleryThumbs {
gap: 16px; gap: 16px;
display: block !important;
} }
.container .carouselGaleryThumbs .productImagesThumb { .container .carouselGaleryThumbs .productImagesThumb {
max-width: 90px; max-width: 90px;
@ -50,11 +51,6 @@
justify-content: flex-start; justify-content: flex-start;
} }
} }
@media only screen and (max-width: 375px) {
.container .carouselGaleryThumbs {
display: block;
}
}
.skuSelectorContainer { .skuSelectorContainer {
display: flex; display: flex;
@ -192,6 +188,11 @@
margin-bottom: 16px; margin-bottom: 16px;
} }
} }
@media only screen and (max-width: 767px) {
.shippingContainer {
padding-top: 16px;
}
}
.shippingTable { .shippingTable {
border: none; border: none;

View File

@ -25,6 +25,14 @@
// quantity // quantity
.flexRow--size-buy-button{ .flexRow--size-buy-button{
@include mq (sm, max) {
margin: 0 0 16px 0 ;
.stretchChildrenWidth{
height: 74px;
}
}
width: 100%; width: 100%;
height: 49px; height: 49px;
margin: 0; margin: 0;
@ -34,6 +42,8 @@ margin-left: 10px;
width: 100%; width: 100%;
margin: 0; margin: 0;
} }
} }
@ -42,9 +52,9 @@ margin-left: 10px;
border: none; border: none;
border-radius: 0; border-radius: 0;
width: 100%; width: 100%;
@include mq (md, max) { // @include mq (md, max) {
width: 780px; // width: 780px;
} // }
} }
.flexRowContent--description{ .flexRowContent--description{

View File

@ -9,7 +9,9 @@
.quantitySelectorContainer{ .quantitySelectorContainer{
width: 128px; width: 128px;
height: 49px; height: 49px;
@include mq (sm, max) {
margin-bottom: 0;
}
:global(.vtex-numeric-stepper-container){ :global(.vtex-numeric-stepper-container){
height: 49px; height: 49px;

View File

@ -4,6 +4,7 @@
max-width: 100%; max-width: 100%;
padding-left: 40px; padding-left: 40px;
padding-right: 40px; padding-right: 40px;
@include mq (md, max) { @include mq (md, max) {
padding: 0; padding: 0;
} }
@ -29,35 +30,35 @@
.carouselGaleryThumbs { .carouselGaleryThumbs {
gap: 16px; gap: 16px;
.productImagesThumb{ display: block !important;
.productImagesThumb {
max-width: 90px; max-width: 90px;
width: 100%; width: 100%;
margin-right: 16px; margin-right: 16px;
} }
.thumbImg { .thumbImg {
border-radius: 9px; border-radius: 9px;
height: 90px; height: 90px;
} }
} }
@include mq (md, max) { @include mq (md, max) {
.productNameContainer { .productNameContainer {
justify-content: flex-start; justify-content: flex-start;
} }
}
@include mq (sm, max) {
.carouselGaleryThumbs{
display: block;
}
} }
} }
// sku-selector // sku-selector
@ -281,12 +282,11 @@ display: block;
margin-bottom: 16px; margin-bottom: 16px;
}
@include mq (sm, max) {
padding-top: 16px;
} }
} }
.shippingTable { .shippingTable {
@ -299,9 +299,9 @@ display: block;
font-weight: 400 !important; font-weight: 400 !important;
text-transform: uppercase; text-transform: uppercase;
.shippingTableLabel{ .shippingTableLabel {
color: $color-gray9; color: $color-gray9;
font-weight: 400 ; font-weight: 400;
font-style: normal; font-style: normal;
font-size: 12px; font-size: 12px;
line-height: 16px; line-height: 16px;
@ -311,7 +311,7 @@ display: block;
padding: 0; padding: 0;
display: flex; display: flex;
color: $color-gray9; color: $color-gray9;
font-weight: 400 ; font-weight: 400;
font-style: normal; font-style: normal;
font-size: 12px; font-size: 12px;
line-height: 16px; line-height: 16px;
@ -323,7 +323,7 @@ display: block;
.shippingTableHead { .shippingTableHead {
display: flex; display: flex;
padding-bottom: 15px; padding-bottom: 15px;
.shippingTableRow { .shippingTableRow {
position: relative; position: relative;
@ -366,17 +366,17 @@ padding-bottom: 15px;
width: 100px; width: 100px;
} }
.shippingTableCellDeliveryEstimate { .shippingTableCellDeliveryEstimate {
display: flex; display: flex;
order: 2; order: 2;
margin-left: 66px; margin-left: 66px;
} }
.shippingTableCellDeliveryPrice{ .shippingTableCellDeliveryPrice {
margin-left: 58px; margin-left: 58px;
} }
} }
} }
} }
@ -419,6 +419,7 @@ padding-bottom: 15px;
.inputName { .inputName {
grid-area: nome; grid-area: nome;
@include mq (md, max) { @include mq (md, max) {
margin-bottom: 0; margin-bottom: 0;
} }
@ -427,6 +428,7 @@ padding-bottom: 15px;
.inputEmail { .inputEmail {
grid-area: email; grid-area: email;
@include mq (md, max) { @include mq (md, max) {
margin-bottom: 0; margin-bottom: 0;
} }
@ -469,6 +471,7 @@ padding-bottom: 15px;
line-height: 32px; line-height: 32px;
font-family: $font-open; font-family: $font-open;
padding-left: 32px; padding-left: 32px;
@include mq (md, max) { @include mq (md, max) {
padding-left: 0; padding-left: 0;
padding-top: 16px; padding-top: 16px;
@ -487,9 +490,10 @@ padding-bottom: 15px;
color: $color-gray6; color: $color-gray6;
padding-left: 32px; padding-left: 32px;
content: "Sandália Lima Salto Bloco Baixo de amarração com palmilha levemente quadrada e aplicação de spikes na tira do cabedal. Possui variedade de cores no Prata Metalizado. Do 33 ao 40.*Consulte disponibilidade de estoque.Sandália Lima Salto Bloco Baixo de amarração com palmilha levemente quadrada e aplicação de spikes na tira do cabedal. Possui variedade de cores no Prata Metalizado. Do 33 ao 40.*Consulte disponibilidade de estoque."; content: "Sandália Lima Salto Bloco Baixo de amarração com palmilha levemente quadrada e aplicação de spikes na tira do cabedal. Possui variedade de cores no Prata Metalizado. Do 33 ao 40.*Consulte disponibilidade de estoque.Sandália Lima Salto Bloco Baixo de amarração com palmilha levemente quadrada e aplicação de spikes na tira do cabedal. Possui variedade de cores no Prata Metalizado. Do 33 ao 40.*Consulte disponibilidade de estoque.";
@include mq (md, max) { @include mq (md, max) {
padding: 0px 21px 0px 0; padding: 0px 21px 0px 0;
// border-bottom: 1px solid $color-gray7; // border-bottom: 1px solid $color-gray7;
@ -502,5 +506,3 @@ padding-bottom: 15px;
} }
// tab-descrição-fim // tab-descrição-fim

View File

@ -22,7 +22,7 @@ $color-green: #4caf50;
$grid-breakpoints: ( $grid-breakpoints: (
xs: 0, xs: 0,
cstm: 400, cstm: 400,
sm: 376px, sm: 768px,
md: 1025px, md: 1025px,
lg: 1920px, lg: 1920px,
xl: 1921px xl: 1921px