feat: scss prateleira sujestões
This commit is contained in:
parent
ba26c57cb0
commit
0415e4e9c7
@ -1,11 +1,11 @@
|
|||||||
[class*='html'] {
|
[class*='html--Quantity-Button'] {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
[class*='html'] > [class*='button'] {
|
[class*='html--Quantity-Button'] > [class*='button'] {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 49px;
|
height: 49px;
|
||||||
background: #000;
|
background: #000;
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
"blockClass": "product"
|
"blockClass": "product"
|
||||||
},
|
},
|
||||||
"children": [
|
"children": [
|
||||||
"flex-layout.row#product-image",
|
"html#product-images",
|
||||||
"product-bookmark",
|
"product-bookmark",
|
||||||
"product-specification-badges"
|
"product-specification-badges"
|
||||||
]
|
]
|
||||||
@ -81,9 +81,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"flex-layout.row#product-image": {
|
"html#product-images": {
|
||||||
|
"props": {
|
||||||
|
"testId": "product-images"
|
||||||
|
},
|
||||||
"children": ["product-images"]
|
"children": ["product-images"]
|
||||||
},
|
},
|
||||||
|
|
||||||
"product-images": {
|
"product-images": {
|
||||||
"props": {
|
"props": {
|
||||||
"aspectRatio": {
|
"aspectRatio": {
|
||||||
@ -118,6 +122,12 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"shipping-simulator": {
|
||||||
|
"props": {
|
||||||
|
"testId": "shipping-simulator"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
"flex-layout.row#product-name": {
|
"flex-layout.row#product-name": {
|
||||||
"props": {
|
"props": {
|
||||||
"marginBottom": 3
|
"marginBottom": 3
|
||||||
@ -145,6 +155,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"html#quantityAndButton": {
|
"html#quantityAndButton": {
|
||||||
|
"props": {
|
||||||
|
"blockClass": "Quantity-Button"
|
||||||
|
},
|
||||||
"children": ["product-quantity", "add-to-cart-button"]
|
"children": ["product-quantity", "add-to-cart-button"]
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -322,6 +335,14 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"product-summary-image": {
|
||||||
|
"props": {
|
||||||
|
"aspectRatio": {
|
||||||
|
"desktop": "1:1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
"slider-layout#demo-products": {
|
"slider-layout#demo-products": {
|
||||||
"props": {
|
"props": {
|
||||||
"itemsPerPage": {
|
"itemsPerPage": {
|
||||||
@ -330,7 +351,7 @@
|
|||||||
"phone": 2
|
"phone": 2
|
||||||
},
|
},
|
||||||
"infinite": true,
|
"infinite": true,
|
||||||
"showNavigationArrows": "desktopOnly",
|
"showNavigationArrows": "always",
|
||||||
"blockClass": "carousel"
|
"blockClass": "carousel"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -20,6 +20,9 @@
|
|||||||
.flexColChild :global(.vtex-store-components-3-x-container) {
|
.flexColChild :global(.vtex-store-components-3-x-container) {
|
||||||
padding: 0 32px;
|
padding: 0 32px;
|
||||||
}
|
}
|
||||||
|
.flexColChild .agenciamagma-store-theme-5-x-html--Quantity-Button {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
.flexRowContent {
|
.flexRowContent {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
@ -8,19 +8,28 @@
|
|||||||
/* Media Query M3 */
|
/* Media Query M3 */
|
||||||
/* Grid breakpoints */
|
/* Grid breakpoints */
|
||||||
.sliderLayoutContainer {
|
.sliderLayoutContainer {
|
||||||
padding: 16px 40px 113px;
|
padding: 0 40px 32px;
|
||||||
|
margin-bottom: 32px;
|
||||||
|
}
|
||||||
|
.sliderLayoutContainer .sliderLeftArrow {
|
||||||
|
left: 36px;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
.sliderLayoutContainer .sliderRightArrow {
|
||||||
|
right: 36px;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
.sliderLayoutContainer .sliderTrackContainer {
|
.sliderLayoutContainer .sliderTrackContainer {
|
||||||
padding: 0 40px 36px;
|
margin: 0 auto;
|
||||||
|
width: 94%;
|
||||||
}
|
}
|
||||||
.sliderLayoutContainer .sliderTrackContainer .sliderTrack {
|
.sliderLayoutContainer .sliderTrackContainer .sliderTrack {
|
||||||
width: 450% !important;
|
|
||||||
gap: 16px;
|
gap: 16px;
|
||||||
}
|
}
|
||||||
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) {
|
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
width: 100%;
|
|
||||||
max-width: none !important;
|
|
||||||
}
|
}
|
||||||
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) {
|
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@ -28,22 +37,13 @@
|
|||||||
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-summary-2-x-imageContainer) {
|
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-summary-2-x-imageContainer) {
|
||||||
display: flex;
|
display: flex;
|
||||||
order: 1;
|
order: 1;
|
||||||
width: fit-content;
|
|
||||||
}
|
}
|
||||||
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-summary-2-x-imageContainer) :global(.vtex-store-components-3-x-discountContainer) :global(.vtex-store-components-3-x-discountInsideContainer) {
|
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-summary-2-x-imageContainer) :global(.vtex-store-components-3-x-discountContainer) :global(.vtex-store-components-3-x-discountInsideContainer) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-summary-2-x-imageContainer) :global(.vtex-store-components-3-x-discountContainer) :global(.vtex-product-summary-2-x-imageContainer) {
|
|
||||||
background-color: #ededed;
|
|
||||||
}
|
|
||||||
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-summary-2-x-imageContainer) :global(.vtex-store-components-3-x-discountContainer) :global(.vtex-product-summary-2-x-imageContainer) :global(.vtex-product-summary-2-x-imageNormal) {
|
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-summary-2-x-imageContainer) :global(.vtex-store-components-3-x-discountContainer) :global(.vtex-product-summary-2-x-imageContainer) :global(.vtex-product-summary-2-x-imageNormal) {
|
||||||
width: fit-content;
|
width: 100%;
|
||||||
min-width: 314.4px;
|
height: 100%;
|
||||||
height: fit-content;
|
|
||||||
min-height: 314.4px;
|
|
||||||
max-height: 314.4px;
|
|
||||||
border-radius: 0;
|
|
||||||
background-color: #ededed;
|
|
||||||
}
|
}
|
||||||
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-summary-2-x-nameContainer) {
|
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-summary-2-x-nameContainer) {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -138,7 +138,6 @@
|
|||||||
}
|
}
|
||||||
.sliderLayoutContainer .paginationDotsContainer {
|
.sliderLayoutContainer .paginationDotsContainer {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
bottom: 113px;
|
|
||||||
}
|
}
|
||||||
.sliderLayoutContainer .paginationDotsContainer .paginationDot {
|
.sliderLayoutContainer .paginationDotsContainer .paginationDot {
|
||||||
width: 10px;
|
width: 10px;
|
||||||
|
@ -9,8 +9,12 @@
|
|||||||
/* Media Query M3 */
|
/* Media Query M3 */
|
||||||
/* Grid breakpoints */
|
/* Grid breakpoints */
|
||||||
.newsletter {
|
.newsletter {
|
||||||
|
margin-top: 32px;
|
||||||
background: black;
|
background: black;
|
||||||
}
|
}
|
||||||
|
.newsletter .container {
|
||||||
|
padding: 32px 0 16px 0;
|
||||||
|
}
|
||||||
.newsletter .container .form .label {
|
.newsletter .container .form .label {
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -15,6 +15,10 @@
|
|||||||
:global(.vtex-store-components-3-x-container) {
|
:global(.vtex-store-components-3-x-container) {
|
||||||
padding: 0 32px;
|
padding: 0 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.agenciamagma-store-theme-5-x-html--Quantity-Button {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.flexRowContent {
|
.flexRowContent {
|
||||||
|
@ -1,42 +1,45 @@
|
|||||||
.sliderLayoutContainer {
|
.sliderLayoutContainer {
|
||||||
padding: 16px 40px 113px;
|
padding: 0 40px 32px;
|
||||||
|
margin-bottom: 32px;
|
||||||
|
|
||||||
|
.sliderLeftArrow {
|
||||||
|
left: 36px;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sliderRightArrow {
|
||||||
|
right: 36px;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.sliderTrackContainer {
|
.sliderTrackContainer {
|
||||||
padding: 0 40px 36px;
|
margin: 0 auto;
|
||||||
|
width: 94%;
|
||||||
|
|
||||||
.sliderTrack {
|
.sliderTrack {
|
||||||
width: 450% !important;
|
|
||||||
gap: 16px;
|
gap: 16px;
|
||||||
|
|
||||||
.slide {
|
.slide {
|
||||||
.slideChildrenContainer {
|
.slideChildrenContainer {
|
||||||
:global(.vtex-product-summary-2-x-container) {
|
:global(.vtex-product-summary-2-x-container) {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
width: 100%;
|
|
||||||
max-width: none !important;
|
|
||||||
|
|
||||||
:global(.vtex-product-summary-2-x-element) {
|
:global(.vtex-product-summary-2-x-element) {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
:global(.vtex-product-summary-2-x-imageContainer) {
|
:global(.vtex-product-summary-2-x-imageContainer) {
|
||||||
display: flex;
|
display: flex;
|
||||||
order: 1;
|
order: 1;
|
||||||
width: fit-content;
|
|
||||||
|
|
||||||
:global(.vtex-store-components-3-x-discountContainer) {
|
:global(.vtex-store-components-3-x-discountContainer) {
|
||||||
:global(.vtex-store-components-3-x-discountInsideContainer) {
|
:global(.vtex-store-components-3-x-discountInsideContainer) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
:global(.vtex-product-summary-2-x-imageContainer) {
|
:global(.vtex-product-summary-2-x-imageContainer) {
|
||||||
background-color: #ededed;
|
|
||||||
|
|
||||||
:global(.vtex-product-summary-2-x-imageNormal) {
|
:global(.vtex-product-summary-2-x-imageNormal) {
|
||||||
width: fit-content;
|
width: 100%;
|
||||||
min-width: 314.4px;
|
height: 100%;
|
||||||
height: fit-content;
|
|
||||||
min-height: 314.4px;
|
|
||||||
max-height: 314.4px;
|
|
||||||
border-radius: 0;
|
|
||||||
background-color: #ededed;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -149,7 +152,7 @@
|
|||||||
}
|
}
|
||||||
.paginationDotsContainer {
|
.paginationDotsContainer {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
bottom: 113px;
|
// bottom: -32px;
|
||||||
|
|
||||||
.paginationDot {
|
.paginationDot {
|
||||||
width: 10px;
|
width: 10px;
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
.newsletter {
|
.newsletter {
|
||||||
|
margin-top: 32px;
|
||||||
background: black;
|
background: black;
|
||||||
.container {
|
.container {
|
||||||
|
padding: 32px 0 16px 0;
|
||||||
.form {
|
.form {
|
||||||
.label {
|
.label {
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
padding: 0 40px;
|
padding: 0 40px;
|
||||||
// column-gap: 197.5px;
|
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
content: '';
|
content: '';
|
||||||
|
Loading…
Reference in New Issue
Block a user