feat: Estiliza prateleira de produtos

This commit is contained in:
Eleonora Otz de Mendonça Soares 2023-01-31 16:24:16 -03:00
parent 50eaf17c02
commit a49c71cdd5
6 changed files with 99 additions and 41 deletions

View File

@ -7,8 +7,20 @@
*/ */
/* Media Query M3 */ /* Media Query M3 */
/* Grid breakpoints */ /* Grid breakpoints */
:global(.vtex-slider-layout-0-x-sliderLayoutContainer) {
width: 94%;
margin: auto;
padding: 0;
}
@media screen and (min-width: 1920px) and (max-width: 2560px) {
:global(.vtex-slider-layout-0-x-sliderLayoutContainer) {
width: 62%;
}
}
:global(.vtex-slider-layout-0-x-slideChildrenContainer) { :global(.vtex-slider-layout-0-x-slideChildrenContainer) {
width: 314px; width: 314px;
padding-right: 16px;
} }
.imageWrapper { .imageWrapper {
@ -65,6 +77,26 @@
:global(.vtex-slider-layout-0-x-sliderRightArrow)::after { :global(.vtex-slider-layout-0-x-sliderRightArrow)::after {
visibility: visible; visibility: visible;
content: url(https://agenciamagma.vtexassets.com/arquivos/arrow-right-eleonoraotz.png); content: url(https://agenciamagma.vtexassets.com/arquivos/arrow-right-eleonoraotz.png);
margin: 0 40px 0 0;
}
@media screen and (min-width: 1920px) and (max-width: 2560px) {
:global(.vtex-slider-layout-0-x-sliderRightArrow)::after {
margin: 0;
}
}
:global(.vtex-slider-layout-0-x-sliderLeftArrow) {
visibility: hidden;
}
:global(.vtex-slider-layout-0-x-sliderLeftArrow)::before {
visibility: visible;
content: url(https://agenciamagma.vtexassets.com/arquivos/arrow-left-eleonoraotz.png);
margin: 0 0 0 40px;
}
@media screen and (min-width: 1920px) and (max-width: 2560px) {
:global(.vtex-slider-layout-0-x-sliderLeftArrow)::before {
margin: 0;
}
} }
:global(.vtex-store-components-3-x-discountInsideContainer) { :global(.vtex-store-components-3-x-discountInsideContainer) {

View File

@ -1,31 +1,22 @@
.sliderLayoutContainer { /*
justify-content: center; 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 */
.paginationDotsContainer--shelf {
align-items: center;
bottom: -30px;
} }
.paginationDotsContainer--shelf .paginationDot--shelf {
.sliderLayoutContainer--carousel { background-color: #000000;
background-color: #F0F0F0;
min-height: 450px;
} }
.paginationDotsContainer--shelf .paginationDot--isActive {
.sliderTrackContainer { background-color: white;
max-width: 100%; border: 1px solid #000000;
} width: 17px !important;
height: 17px !important;
.paginationDotsContainer {
margin-top: .5rem;
margin-bottom: .5rem;
}
.layoutContainer--shelf {
margin-top: 20px;
margin-bottom: 20px;
max-width: 96rem;
min-height: 550px;
}
.slide--shelf {
margin-bottom: 25px;
padding-left: .5rem;
padding-right: .5rem;
min-height: 550px;
} }

View File

@ -38,6 +38,7 @@
} }
.thumbImg { .thumbImg {
border-radius: 8px;
height: 90px; height: 90px;
max-width: 90px; max-width: 90px;
} }
@ -374,6 +375,7 @@
.newsletter { .newsletter {
display: block; display: block;
background: #000000; background: #000000;
margin-top: 96px;
} }
.newsletter :global(.vtex-store-components-3-x-form) { .newsletter :global(.vtex-store-components-3-x-form) {
padding: 32px 0 13px; padding: 32px 0 13px;

View File

@ -1,18 +1,19 @@
// :global(.vtex-slider-layout-0-x-slide--shelf) { // :global(.vtex-slider-layout-0-x-slide--shelf) {
// width: 300px; // width: 300px;
// } // }
// :global(.vtex-slider-layout-0-x-sliderLayoutContainer) { :global(.vtex-slider-layout-0-x-sliderLayoutContainer) {
// margin: 0 40px; width: 94%;
// // margin: 0 auto; margin: auto;
padding: 0;
// @media screen and (min-width: 1920px) and (max-width: 2560px) { @media screen and (min-width: 1920px) and (max-width: 2560px) {
// margin: 6px 360px; width: 62%;
// padding: 0; }
// } }
// }
:global(.vtex-slider-layout-0-x-slideChildrenContainer) { :global(.vtex-slider-layout-0-x-slideChildrenContainer) {
width: 314px; width: 314px;
padding-right: 16px;
} }
.imageWrapper { .imageWrapper {
@ -77,13 +78,28 @@
&::after { &::after {
visibility: visible; visibility: visible;
content: url(https://agenciamagma.vtexassets.com/arquivos/arrow-right-eleonoraotz.png); content: url(https://agenciamagma.vtexassets.com/arquivos/arrow-right-eleonoraotz.png);
margin: 0 40px 0 0;
@media screen and (min-width: 1920px) and (max-width: 2560px) {
margin: 0;
}
}
}
:global(.vtex-slider-layout-0-x-sliderLeftArrow) {
visibility: hidden;
&::before {
visibility: visible;
content: url(https://agenciamagma.vtexassets.com/arquivos/arrow-left-eleonoraotz.png);
margin: 0 0 0 40px;
@media screen and (min-width: 1920px) and (max-width: 2560px) {
margin: 0;
}
} }
} }
:global(.vtex-store-components-3-x-discountInsideContainer) { :global(.vtex-store-components-3-x-discountInsideContainer) {
display: none; display: none;
} }
// .paginationDot--container {
// color: $black;
// }

View File

@ -0,0 +1,15 @@
.paginationDotsContainer--shelf {
align-items: center;
bottom: -30px;
.paginationDot--shelf {
background-color: $black;
}
.paginationDot--isActive {
background-color: white;
border: 1px solid $black;
width: 17px !important;
height: 17px !important;
}
}

View File

@ -28,6 +28,7 @@
} }
.thumbImg { .thumbImg {
border-radius: 8px;
height: 90px; height: 90px;
max-width: 90px; max-width: 90px;
} }
@ -434,6 +435,7 @@
.newsletter { .newsletter {
display: block; display: block;
background: $black; background: $black;
margin-top: 96px;
:global(.vtex-store-components-3-x-form) { :global(.vtex-store-components-3-x-form) {
padding: 32px 0 13px; padding: 32px 0 13px;