feat: estiliza a seção de frete

This commit is contained in:
Leonardo Pereira Rocha 2023-02-02 22:08:47 -03:00
parent c348984b4a
commit e10940fcd1
2 changed files with 126 additions and 6 deletions

View File

@ -43,7 +43,7 @@
border-radius: 24px; border-radius: 24px;
position: relative; position: relative;
width: 40px; width: 40px;
height: 40px; height: 46px;
} }
[class*="frameAround"] { [class*="frameAround"] {
@ -59,3 +59,73 @@
left: 50%; left: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
} }
[class*="installments--m3-custom-installments"] {
font-family: "Open Sans";
font-style: normal;
font-weight: 700;
font-size: 16px;
line-height: 22px;
color: #929292;
}
[class*="productNameContainer"] {
text-align: end;
}
[class*="shippingContainer"] :global(.vtex-button) {
background-color: black;
color: white;
font-size: 0;
width: 49px;
height: 49px;
background-color: black;
color: white;
font-size: 0;
position: relative;
width: 49px;
height: 49px;
left: 45.5%;
bottom: 110px;
}
[class*="shippingContainer"] :global(.vtex-button::after) {
content: "OK";
font-family: "Open Sans";
font-style: normal;
font-weight: 600;
font-size: 14px;
line-height: 19px;
display: flex;
align-items: center;
justify-content: center;
position: absolute;
top: 30%;
left: 23%;
}
[class*="shippingContainer"] :global(.vtex-input-prefix__group) {
width: 45.532%;
height: 49px;
}
[class*="vtex-address-form__postalCode-forgottenURL"] {
position: relative;
color: black;
bottom: 44px;
left: 52%;
margin-left: 32px;
}
[class*="productDescriptionTitle"] {
font-size: 0;
}
[class*="productDescriptionTitle"]::after {
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
content: "Descrição";
}

View File

@ -3,7 +3,7 @@
"children": [ "children": [
"html#breadcrumb", "html#breadcrumb",
"condition-layout.product#availability", "condition-layout.product#availability",
"flex-layout.row#description", "tab-layout#home",
"flex-layout.row#specifications-title", "flex-layout.row#specifications-title",
"product-specification-group#table", "product-specification-group#table",
"shelf.relatedProducts", "shelf.relatedProducts",
@ -123,21 +123,71 @@
"flex-layout.row#selling-price", "flex-layout.row#selling-price",
"product-installments#m3-academy", "product-installments#m3-academy",
"sku-selector", "sku-selector",
"product-assembly-options",
"product-gifts", "product-gifts",
"flex-layout.row#buy-button", "flex-layout.row#buy-button",
"availability-subscriber", "availability-subscriber",
"shipping-simulator", "shipping-simulator"
"share#default"
] ]
}, },
"tab-layout#home": {
"children": ["tab-list#home", "tab-content#home"],
"props": {
"blockClass": "home",
"defaultActiveTabId": "home1"
}
},
"tab-list#home": {
"children": ["tab-list.item#home1", "tab-list.item#home2"]
},
"tab-list.item#home1": {
"props": {
"tabId": "home1",
"label": "Descrição",
"defaultActiveTab": true
}
},
"tab-list.item#home2": {
"props": {
"tabId": "home2",
"label": "Descrição"
}
},
"tab-list.item#home3": {
"props": {
"tabId": "home3",
"label": "Descrição"
}
},
"tab-content#home": {
"children": ["tab-content.item#home1", "tab-content.item#home2"]
},
"tab-content.item#home1": {
"children": ["flex-layout.row#description"],
"props": {
"tabId": "home1"
}
},
"tab-content.item#home2": {
"children": ["flex-layout.row#description"],
"props": {
"tabId": "home2"
}
},
"tab-content.item#home3": {
"children": ["flex-layout.row#description"],
"props": {
"tabId": "home3"
}
},
"product-installments#m3-academy": { "product-installments#m3-academy": {
"props": { "props": {
"installmentsCriteria": "max-quantity-without-interest", "installmentsCriteria": "max-quantity-without-interest",
"markers": ["discount", "vezes"], "markers": ["discount", "vezes"],
"blockClass": "m3-custom-installments", "blockClass": "m3-custom-installments",
"message": "ou {installmentsNumber}<vezes>x</vezes> de {installmentValue} <discount>sem juros</discount>" "message": "{installmentsNumber}<vezes>x</vezes> de {installmentValue} <discount>sem juros</discount>"
} }
}, },