feature/body #1

Merged
naianfelix merged 10 commits from feature/body into master 2023-02-11 04:42:42 +00:00
8 changed files with 232 additions and 29 deletions
Showing only changes of commit 2c53dfdd5b - Show all commits

View File

@ -0,0 +1,16 @@
/*
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 */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap");
/* Grid breakpoints */
.container .productNameContainer .productBrand {
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #000000;
}

View File

@ -9,8 +9,5 @@
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap");
/* Grid breakpoints */
.relatedProducts {
padding: 0 40px;
}
.relatedProducts .sliderLayoutContainer {
background-color: white;
margin: 0 40px;
}

View File

@ -1,31 +1,107 @@
/*
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 */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap");
/* Grid breakpoints */
.sliderLayoutContainer {
background-color: transparent;
height: 630px;
margin: 12px 0 0 0;
}
.sliderLayoutContainer .sliderRightArrow,
.sliderLayoutContainer .sliderLeftArrow {
margin: 0;
padding: 0;
}
.sliderLayoutContainer .sliderRightArrow .caretIcon,
.sliderLayoutContainer .sliderLeftArrow .caretIcon {
width: 15px;
height: 30px;
background-size: cover;
}
.sliderLayoutContainer .paginationDotsContainer {
display: flex;
align-items: center;
margin-bottom: 64px;
}
.sliderLayoutContainer .paginationDotsContainer .paginationDot {
width: 10px;
height: 10px;
background-color: black;
border: none;
}
.sliderLayoutContainer .paginationDotsContainer .paginationDot--isActive {
width: 17px !important;
height: 17px !important;
background-color: white;
border: 0.5px solid #000000;
}
:global(.vtex-product-summary-2-x-imageContainer) {
width: 314px;
height: 314px;
}
:global(.vtex-product-summary-2-x-imageContainer) :global(.vtex-product-summary-2-x-imageNormal) {
max-height: 314px !important;
}
:global(.vtex-product-price-1-x-listPrice) {
display: block;
font-size: 14px;
line-height: 19px;
text-align: center;
color: #bababa;
padding-bottom: 8px;
}
:global(.vtex-product-price-1-x-sellingPrice) {
font-weight: 700;
font-size: 24px;
line-height: 33px;
text-align: center;
color: #000000;
}
:global(.vtex-product-summary-2-x-nameContainer) {
padding-bottom: 8px;
text-align: center;
justify-content: center;
}
.sliderLayoutContainer--carousel {
background-color: #F0F0F0;
min-height: 450px;
:global(.vtex-product-summary-2-x-nameContainer) :global(.vtex-product-summary-2-x-productBrand) {
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #000000;
text-align: center;
word-wrap: none;
}
.sliderTrackContainer {
max-width: 100%;
:global(.vtex-product-summary-2-x-element) {
padding: 0;
}
.paginationDotsContainer {
margin-top: .5rem;
margin-bottom: .5rem;
:global(.vtex-rich-text-0-x-container) {
display: none;
}
.layoutContainer--shelf {
margin-top: 20px;
margin-bottom: 20px;
max-width: 96rem;
min-height: 550px;
:global(.vtex-slider-layout-0-x-sliderTrackContainer) {
margin: 32px 27px 32px 27px;
}
.slide--shelf {
margin-bottom: 25px;
padding-left: .5rem;
padding-right: .5rem;
min-height: 550px;
:global(.vtex-slider-layout-0-x-sliderTrack) {
margin-bottom: 32px;
}
:global(.vtex-slider-layout-0-x-slideChildrenContainer) {
max-width: 314px;
}
:global(.vtex-slider-layout-0-x-slide) {
width: 314px !important;
height: 448px;
}

View File

@ -178,6 +178,7 @@
.newsletter {
background: red;
display: block;
}
:global(.vtex-input__label) {

View File

@ -0,0 +1,19 @@
.paginationDotsContainer {
display: flex;
align-items: center;
margin-bottom: 64px;
.paginationDot {
width: 10px;
height: 10px;
background-color: black;
border: none;
}
.paginationDot--isActive {
width: 17px !important;
height: 17px !important;
background-color: white;
border: 0.5px solid #000000;
}
}

View File

@ -1,6 +0,0 @@
.relatedProducts {
padding: 0 40px;
.sliderLayoutContainer {
background-color: white;
}
}

View File

@ -0,0 +1,99 @@
.sliderLayoutContainer {
background-color: transparent;
height: 630px;
margin: 12px 0 0 0;
.sliderRightArrow,
.sliderLeftArrow {
margin: 0;
padding: 0;
.caretIcon {
width: 15px;
height: 30px;
background-size: cover;
}
}
.paginationDotsContainer {
display: flex;
align-items: center;
margin-bottom: 64px;
.paginationDot {
width: 10px;
height: 10px;
background-color: black;
border: none;
}
.paginationDot--isActive {
width: 17px !important;
height: 17px !important;
background-color: white;
border: 0.5px solid #000000;
}
}
}
:global(.vtex-product-summary-2-x-imageContainer) {
width: 314px;
height: 314px;
:global(.vtex-product-summary-2-x-imageNormal) {
max-height: 314px !important;
}
}
:global(.vtex-product-price-1-x-listPrice) {
display: block;
font-size: 14px;
line-height: 19px;
text-align: center;
color: #bababa;
padding-bottom: 8px;
}
:global(.vtex-product-price-1-x-sellingPrice) {
font-weight: 700;
font-size: 24px;
line-height: 33px;
text-align: center;
color: #000000;
}
:global(.vtex-product-summary-2-x-nameContainer) {
padding-bottom: 8px;
text-align: center;
justify-content: center;
:global(.vtex-product-summary-2-x-productBrand) {
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #000000;
text-align: center;
word-wrap: none;
}
}
:global(.vtex-product-summary-2-x-element) {
padding: 0;
}
:global(.vtex-rich-text-0-x-container) {
display: none;
}
:global(.vtex-slider-layout-0-x-sliderTrackContainer) {
margin: 32px 27px 32px 27px;
}
:global(.vtex-slider-layout-0-x-sliderTrack) {
margin-bottom: 32px;
}
:global(.vtex-slider-layout-0-x-slideChildrenContainer) {
max-width: 314px;
}
:global(.vtex-slider-layout-0-x-slide) {
width: 314px !important;
height: 448px;
}

View File

@ -181,6 +181,7 @@
.newsletter {
background: red;
display: block;
}
:global(.vtex-input__label) {