feat: adiciona css layout ultrawide

This commit is contained in:
SamuelCondack 2023-02-09 11:11:20 -03:00
parent db362ddb08
commit c46226c691
9 changed files with 68 additions and 20 deletions

View File

@ -347,15 +347,14 @@
"html#selling-price", "html#selling-price",
"html#product-installments", "html#product-installments",
"html#pixacademy", "html#pixacademy",
"availability-subscriber",
"html#sku-selector", "html#sku-selector",
"html#quantityAndButton", "html#quantityAndButton",
"Placeholder", "Placeholder",
"product-assembly-options",
"product-gifts",
"availability-subscriber",
"html#shipping-simulator" "html#shipping-simulator"
] ]
}, },
"html#selling-price": { "html#selling-price": {
"props": { "props": {
"testId": "product-price" "testId": "product-price"
@ -452,8 +451,8 @@
"children": [ "children": [
"html#product-name", "html#product-name",
"html#codigo", "html#codigo",
"html#sku-selector", "flex-layout.row#availability",
"flex-layout.row#availability" "html#sku-selector"
] ]
}, },
"html#codigo": { "html#codigo": {

View File

@ -8,15 +8,12 @@
/* Media Query M3 */ /* Media Query M3 */
/* Grid breakpoints */ /* Grid breakpoints */
.container { .container {
padding-left: 40px; padding: 16px 40px;
margin: 0 auto;
max-width: 96rem;
display: flex; display: flex;
align-items: center; align-items: center;
} }
@media (max-width: 1024px) {
.container {
margin-bottom: 16px;
}
}
.container .homeLink .homeIcon { .container .homeLink .homeIcon {
display: none; display: none;
} }

View File

@ -10,6 +10,10 @@
.sliderLayoutContainer { .sliderLayoutContainer {
padding: 0 40px 32px; padding: 0 40px 32px;
margin-bottom: 32px; margin-bottom: 32px;
padding: 16px 40px;
margin-left: auto;
margin-right: auto;
max-width: 96rem;
} }
.sliderLayoutContainer .sliderLeftArrow { .sliderLayoutContainer .sliderLeftArrow {
left: 36px; left: 36px;

View File

@ -547,6 +547,10 @@
display: none; display: none;
} }
.subscriberContainer {
margin-bottom: 56px;
}
.carouselGaleryThumbs :first-child { .carouselGaleryThumbs :first-child {
height: 90px; height: 90px;
} }

View File

@ -14,6 +14,9 @@
padding-right: 40px; padding-right: 40px;
padding-left: 40px; padding-left: 40px;
justify-content: space-around; justify-content: space-around;
padding: 16px 40px;
margin: 0 auto;
max-width: 96rem;
} }
@media (max-width: 1024px) { @media (max-width: 1024px) {
.listContainer { .listContainer {
@ -30,6 +33,13 @@
position: relative; position: relative;
top: 0px; top: 0px;
} }
}
@media (max-width: 1024px) and (max-width: 1024px) {
.listContainer::before {
margin-bottom: 8px;
}
}
@media (max-width: 1024px) {
.listContainer::after { .listContainer::after {
bottom: 0px; bottom: 0px;
} }
@ -43,10 +53,17 @@
position: relative; position: relative;
bottom: 9px; bottom: 9px;
} }
@media (max-width: 1024px) {
.listContainer::after {
bottom: 0 !important;
margin-top: 8px !important;
}
}
@media (max-width: 1024px) { @media (max-width: 1024px) {
.listItem { .listItem {
margin: 0; margin-top: 8px;
margin-bottom: 8px;
padding: 0; padding: 0;
} }
.listItem :global(.vtex-button) { .listItem :global(.vtex-button) {
@ -54,7 +71,12 @@
padding: 0; padding: 0;
} }
.listItem :global(.vtex-button) :global(.vtex-button__label) { .listItem :global(.vtex-button) :global(.vtex-button__label) {
padding: 0; padding: 0 !important;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 38px;
} }
} }

View File

@ -1,11 +1,9 @@
.container { .container {
padding-left: 40px; padding: 16px 40px;
margin: 0 auto;
max-width: 96rem;
display: flex; display: flex;
align-items: center; align-items: center;
@media (max-width: 1024px){
margin-bottom: 16px;
}
.homeLink { .homeLink {
.homeIcon { .homeIcon {
display: none; display: none;

View File

@ -1,6 +1,10 @@
.sliderLayoutContainer { .sliderLayoutContainer {
padding: 0 40px 32px; padding: 0 40px 32px;
margin-bottom: 32px; margin-bottom: 32px;
padding: 16px 40px;
margin-left: auto;
margin-right: auto;
max-width: 96rem;
.sliderLeftArrow { .sliderLeftArrow {
left: 36px; left: 36px;

View File

@ -572,6 +572,9 @@
} }
} }
} }
.subscriberContainer{
margin-bottom: 56px;
}
.carouselGaleryThumbs { .carouselGaleryThumbs {
:first-child { :first-child {
height: 90px; height: 90px;

View File

@ -5,6 +5,9 @@
padding-right: 40px; padding-right: 40px;
padding-left: 40px; padding-left: 40px;
justify-content: space-around; justify-content: space-around;
padding: 16px 40px;
margin: 0 auto;
max-width: 96rem;
@media (max-width: 1024px) { @media (max-width: 1024px) {
flex-direction: column; flex-direction: column;
padding: 0 40px 16px; padding: 0 40px 16px;
@ -18,6 +21,9 @@
height: 1px; height: 1px;
position: relative; position: relative;
top: 0px; top: 0px;
@media (max-width: 1024px){
margin-bottom: 8px;
}
} }
&::after { &::after {
@ -32,17 +38,28 @@
height: 1px; height: 1px;
position: relative; position: relative;
bottom: 9px; bottom: 9px;
@media (max-width: 1024px){
bottom: 0 !important;
margin-top: 8px !important;
}
} }
} }
.listItem { .listItem {
@media (max-width: 1024px) { @media (max-width: 1024px) {
margin: 0; margin-top: 8px;
margin-bottom: 8px;
padding: 0; padding: 0;
:global(.vtex-button) { :global(.vtex-button) {
margin: 0; margin: 0;
padding: 0; padding: 0;
:global(.vtex-button__label) { :global(.vtex-button__label) {
padding: 0; padding: 0 !important;
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 38px;
} }
} }
} }