Merge pull request 'development' (#17) from development into master
Reviewed-on: #17
This commit is contained in:
commit
b591db181f
BIN
assets/fonts/OpenSans-Bold.ttf
Normal file
BIN
assets/fonts/OpenSans-Bold.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-BoldItalic.ttf
Normal file
BIN
assets/fonts/OpenSans-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-ExtraBold.ttf
Normal file
BIN
assets/fonts/OpenSans-ExtraBold.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-ExtraBoldItalic.ttf
Normal file
BIN
assets/fonts/OpenSans-ExtraBoldItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-Italic.ttf
Normal file
BIN
assets/fonts/OpenSans-Italic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-Light.ttf
Normal file
BIN
assets/fonts/OpenSans-Light.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-LightItalic.ttf
Normal file
BIN
assets/fonts/OpenSans-LightItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-Medium.ttf
Normal file
BIN
assets/fonts/OpenSans-Medium.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-MediumItalic.ttf
Normal file
BIN
assets/fonts/OpenSans-MediumItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-Regular.ttf
Normal file
BIN
assets/fonts/OpenSans-Regular.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-SemiBold.ttf
Normal file
BIN
assets/fonts/OpenSans-SemiBold.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-SemiBoldItalic.ttf
Normal file
BIN
assets/fonts/OpenSans-SemiBoldItalic.ttf
Normal file
Binary file not shown.
@ -15,7 +15,6 @@
|
||||
"postreleasy": "vtex publish --verbose"
|
||||
},
|
||||
"dependencies": {
|
||||
"agenciamagma.store-theme": "5.x",
|
||||
"vtex.store": "2.x",
|
||||
"vtex.store-header": "2.x",
|
||||
"vtex.product-summary": "2.x",
|
||||
|
3
react/Pix.ts
Normal file
3
react/Pix.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import Pix from "./components/Pix/Pix";
|
||||
|
||||
export default Pix;
|
@ -1,6 +1,6 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import { useCssHandles } from "vtex.css-handles";
|
||||
|
||||
import "./styles.css"
|
||||
const CSS_HANDLES = ["html"] as const;
|
||||
|
||||
type HtmlProps = {
|
||||
|
111
react/components/Html/styles.css
Normal file
111
react/components/Html/styles.css
Normal file
@ -0,0 +1,111 @@
|
||||
[class*="html--container__buyButton"] {
|
||||
display: flex;
|
||||
column-gap: 10px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Tablet */
|
||||
@media (max-width: 1024px) {
|
||||
[class*="html--container__buyButton"] {
|
||||
width: 100%;
|
||||
max-width: 944px;
|
||||
}
|
||||
}
|
||||
|
||||
/* mobile */
|
||||
@media (max-width: 767px) {
|
||||
[class*="html--container__buyButton"] {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
[class*="html--container__buyButton"] :global(.vtex-button) {
|
||||
background-color: #000;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
width: 100%;
|
||||
height: 49px;
|
||||
max-width: 526px;
|
||||
/* aqui é até 1440 */
|
||||
}
|
||||
|
||||
@media (min-width: 1920px) {
|
||||
[class*="html--container__buyButton"] :global(.vtex-button) {
|
||||
min-width: 766px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 490px) {
|
||||
[class*="html--container__buyButton"] :global(.vtex-button__label)::after {
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1023px) and (max-width: 1025px) {
|
||||
[class*="html--container__buyButton"] :global(.vtex-button) {
|
||||
min-width: 806px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1440px) {
|
||||
[class*="html--container__buyButton"] :global(.vtex-button) {
|
||||
max-width: 806px;
|
||||
}
|
||||
}
|
||||
|
||||
[class*="html--container__buyButton"] :global(.vtex-button__label) {
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
[class*="html--container__buyButton"] :global(.vtex-button__label)::after {
|
||||
content: "Adicionar à sacola";
|
||||
text-transform: uppercase;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
[class*="html--container__buyButton"] :global(.vtex-button__label)::after {
|
||||
max-width: none;
|
||||
max-width: 168px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 490px) {
|
||||
[class*="html--container__buyButton"] :global(.vtex-button__label)::after {
|
||||
max-width: none;
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* @media (min-width:374px) and (max-width:376px) {
|
||||
[class*="html--m3-html-product-sumary"] {
|
||||
height: 254.8px!important;
|
||||
}} */
|
||||
@media (max-width:1920px) {
|
||||
[class*="html--m3-html-product-sumary"] {
|
||||
height: unset;
|
||||
width: unset;
|
||||
max-width:314.4px;
|
||||
/* max-height: 314.4px; */
|
||||
}}
|
||||
@media (min-width:768px) and (max-width:1024px) {
|
||||
[class*="html--m3-html-product-sumary"] {
|
||||
height: unset;
|
||||
width: unset;
|
||||
max-width: 291.2px;
|
||||
}}
|
||||
|
||||
[class*="html--quantity"] {
|
||||
max-width: 128px!important;
|
||||
}
|
||||
[class*="html--m3-html-product-sumary"]{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
[class*="html--m3-add-to-cart-button "]{
|
||||
width: 100%; }
|
51
react/components/Pix/Pix.css
Normal file
51
react/components/Pix/Pix.css
Normal file
@ -0,0 +1,51 @@
|
||||
.pixWrapper {
|
||||
display: flex;
|
||||
width: 197px;
|
||||
height: 39px;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.pixWrapperImage {
|
||||
width: 100%;
|
||||
max-width: 66px;
|
||||
height: 100%;
|
||||
max-height: 24px;
|
||||
}
|
||||
|
||||
.pixImage {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.pixResult {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.pixResultValue{
|
||||
font-family: 'Open Sans';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
margin: 0;
|
||||
/* identical to box height */
|
||||
|
||||
|
||||
color: rgba(0, 0, 0, 0.58);
|
||||
}
|
||||
.pixResultPercent{
|
||||
font-family: 'Open Sans';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-size: 13px;
|
||||
line-height: 18px;
|
||||
margin: 0;
|
||||
/* identical to box height */
|
||||
|
||||
|
||||
color: #929292;
|
||||
|
||||
}
|
46
react/components/Pix/Pix.tsx
Normal file
46
react/components/Pix/Pix.tsx
Normal file
@ -0,0 +1,46 @@
|
||||
import React, { useEffect } from 'react';
|
||||
import { useProduct } from 'vtex.product-context';
|
||||
import { useCssHandles } from 'vtex.css-handles';
|
||||
import "./Pix.css"
|
||||
const Pix = () => {
|
||||
|
||||
useEffect(() => {
|
||||
const m3Input = document.querySelector(".vtex-address-form-4-x-input");
|
||||
m3Input?.setAttribute("placeholder", "Digite seu CEP");
|
||||
});
|
||||
|
||||
|
||||
|
||||
const CSS_HANDLES = [
|
||||
'pixWrapper',
|
||||
'pixWrapperImage',
|
||||
'pixImage',
|
||||
'pixResult',
|
||||
'pixResultValue',
|
||||
'pixResultPercent'
|
||||
];
|
||||
const handles = useCssHandles(CSS_HANDLES);
|
||||
|
||||
const pixImg = "https://agenciamagma.vtexassets.com/arquivos/pix-emmanuelvitorpereiradejesus.svg";
|
||||
|
||||
const resultProductContext = useProduct();
|
||||
const productSelling = Number(resultProductContext?.product?.priceRange?.sellingPrice?.lowPrice);
|
||||
const disccount = (productSelling * 10) / 100;
|
||||
const result = productSelling - disccount;
|
||||
const strResult = result.toFixed(2).replace(".", ",");
|
||||
|
||||
|
||||
|
||||
return (
|
||||
< div className={handles.handles.pixWrapper} >
|
||||
<div className={handles.handles.pixWrapperImage}>
|
||||
<img src={pixImg} alt="Imagem de pix" className={handles.handles.pixImage} />
|
||||
</div>
|
||||
<div className={handles.handles.pixResult}>
|
||||
<p className={handles.handles.pixResultValue}> R$ {strResult}</p>
|
||||
<p className={handles.handles.pixResultPercent}>10 % de desconto</p>
|
||||
</div>
|
||||
</div >
|
||||
);
|
||||
}
|
||||
export default Pix;
|
@ -1,9 +1,16 @@
|
||||
{
|
||||
"sticky-layout#buy-button": {
|
||||
"props": {
|
||||
"position": "bottom"
|
||||
"position": "bottom",
|
||||
"blockClass": "teste"
|
||||
},
|
||||
"children": ["flex-layout.row#buy-button"]
|
||||
"children": ["html#buy-button"]
|
||||
},
|
||||
"product-assembly-options": {
|
||||
"children": [
|
||||
"flex-layout.row#product-assembly-options",
|
||||
"assembly-option-input-values"
|
||||
]
|
||||
},
|
||||
"product-assembly-options": {
|
||||
"children": [
|
||||
@ -32,17 +39,13 @@
|
||||
"props": {
|
||||
"verticalAlign": "middle"
|
||||
},
|
||||
"children": [
|
||||
"assembly-option-item-quantity-selector"
|
||||
]
|
||||
"children": ["assembly-option-item-quantity-selector"]
|
||||
},
|
||||
"flex-layout.col#product-assembly-image": {
|
||||
"props": {
|
||||
"marginRight": 4
|
||||
},
|
||||
"children": [
|
||||
"assembly-option-item-image"
|
||||
]
|
||||
"children": ["assembly-option-item-image"]
|
||||
},
|
||||
"flex-layout.col#product-assembly-middle": {
|
||||
"props": {
|
||||
@ -96,9 +99,7 @@
|
||||
"horizontalAlign": "right",
|
||||
"verticalAlign": "middle"
|
||||
},
|
||||
"children": [
|
||||
"assembly-option-item-quantity-selector"
|
||||
]
|
||||
"children": ["assembly-option-item-quantity-selector"]
|
||||
},
|
||||
"assembly-option-item-customize#sec-level": {
|
||||
"props": {
|
||||
|
68
store/blocks/pdp/product-shelf-related.jsonc
Normal file
68
store/blocks/pdp/product-shelf-related.jsonc
Normal file
@ -0,0 +1,68 @@
|
||||
{
|
||||
"list-context.product-list#m3-shelf-retaletd": {
|
||||
"props": {
|
||||
"blockClass": "m3-shelf-retaletd"
|
||||
},
|
||||
"blocks": ["product-summary.shelf#m3-shelf-retaletd-content"],
|
||||
"children": ["rich-text#m3-shelf-related-title", "html#slider-layout"]
|
||||
},
|
||||
"product-summary.shelf#m3-shelf-retaletd-content": {
|
||||
"props": {
|
||||
"blockClass": "m3-shelf-retaletd-content"
|
||||
},
|
||||
"children": ["html#product-summary"]
|
||||
},
|
||||
"html#product-summary": {
|
||||
"props": {
|
||||
"blockClass": "m3-html-product-sumary",
|
||||
"testId": "vtex-product-summary"
|
||||
},
|
||||
"children": [
|
||||
"product-summary-image",
|
||||
"product-summary-name",
|
||||
"product-list-price",
|
||||
"product-selling-price"
|
||||
]
|
||||
},
|
||||
"product-list-price": {
|
||||
"props": {
|
||||
"blockClass": "m3-product-list-price",
|
||||
"message": "de {listPriceValue} por"
|
||||
}
|
||||
},
|
||||
"html#slider-layout": {
|
||||
"props": {
|
||||
"testId": "product-summary-list"
|
||||
},
|
||||
"children": ["slider-layout#m3-carousel-products"]
|
||||
},
|
||||
"slider-layout#m3-carousel-products": {
|
||||
"props": {
|
||||
"blockClass": "m3-carousel-products",
|
||||
"itemsPerPage": {
|
||||
"desktop": 4,
|
||||
"tablet": 3,
|
||||
"phone": 2
|
||||
},
|
||||
"infinite": true,
|
||||
"showNavigationArrows": "always"
|
||||
}
|
||||
},
|
||||
"rich-text#m3-shelf-related-title": {
|
||||
"props": {
|
||||
"blockClass": "m3-shelf-related-title",
|
||||
"text": "Você também pode gostar:",
|
||||
"textAlignment": "CENTER",
|
||||
"textPosition": "CENTER"
|
||||
}
|
||||
},
|
||||
"product-summary-image": {
|
||||
"props": {
|
||||
"showBadge": false,
|
||||
"aspectRatio": {
|
||||
"desktop": "1:1",
|
||||
"mobile": "1:1"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -3,10 +3,9 @@
|
||||
"children": [
|
||||
"html#breadcrumb",
|
||||
"condition-layout.product#availability",
|
||||
"flex-layout.row#description",
|
||||
"flex-layout.row#specifications-title",
|
||||
"product-specification-group#table",
|
||||
"shelf.relatedProducts",
|
||||
"html#tab-layout",
|
||||
"list-context.product-list#m3-shelf-retaletd",
|
||||
"newsletter#m3-newsletter",
|
||||
"product-questions-and-answers"
|
||||
]
|
||||
},
|
||||
@ -26,12 +25,7 @@
|
||||
"text": "##### Product Specifications"
|
||||
}
|
||||
},
|
||||
"flex-layout.row#description": {
|
||||
"props": {
|
||||
"marginBottom": 7
|
||||
},
|
||||
"children": ["product-description"]
|
||||
},
|
||||
|
||||
"condition-layout.product#availability": {
|
||||
"props": {
|
||||
"conditions": [
|
||||
@ -45,6 +39,7 @@
|
||||
},
|
||||
"flex-layout.row#product-main": {
|
||||
"props": {
|
||||
"blockClass": "product-main",
|
||||
"colGap": 7,
|
||||
"rowGap": 7,
|
||||
"marginTop": 4,
|
||||
@ -60,7 +55,7 @@
|
||||
"blockClass": "product"
|
||||
},
|
||||
"children": [
|
||||
"flex-layout.row#product-image",
|
||||
"html#product-images",
|
||||
"product-bookmark",
|
||||
"product-specification-badges"
|
||||
]
|
||||
@ -78,20 +73,31 @@
|
||||
"flex-layout.col#stack": {
|
||||
"children": ["stack-layout"],
|
||||
"props": {
|
||||
"width": "60%",
|
||||
"rowGap": 0
|
||||
}
|
||||
},
|
||||
"html#product-images": {
|
||||
"props": {
|
||||
"testId": "product-images"
|
||||
},
|
||||
"children": ["flex-layout.row#product-image"]
|
||||
},
|
||||
"flex-layout.row#product-image": {
|
||||
"children": ["product-images"]
|
||||
},
|
||||
"product-images": {
|
||||
"props": {
|
||||
"aspectRatio": {
|
||||
"desktop": "auto",
|
||||
"phone": "16:9"
|
||||
"desktop": "1:1",
|
||||
"phone": "auto"
|
||||
},
|
||||
"displayThumbnailsArrows": true
|
||||
// "maxHeight": 664,
|
||||
"maxHeight": 944,
|
||||
|
||||
"showPaginationDots": false,
|
||||
"displayThumbnailsArrows": false,
|
||||
"thumbnailsOrientation": "horizontal",
|
||||
"showNavigationArrows": false
|
||||
}
|
||||
},
|
||||
"flex-layout.col#right-col": {
|
||||
@ -100,48 +106,107 @@
|
||||
"rowGap": 0
|
||||
},
|
||||
"children": [
|
||||
"flex-layout.row#product-name",
|
||||
"html#product-name",
|
||||
"html#product-identifier.product",
|
||||
"product-rating-summary",
|
||||
"flex-layout.row#list-price-savings",
|
||||
"flex-layout.row#selling-price",
|
||||
"product-installments",
|
||||
"product-separator",
|
||||
"product-identifier.product",
|
||||
"sku-selector",
|
||||
"product-quantity",
|
||||
"product-assembly-options",
|
||||
"html#selling-price",
|
||||
"html#product-installments",
|
||||
"html#m3-pix",
|
||||
"html#sku-selector",
|
||||
"product-gifts",
|
||||
"flex-layout.row#buy-button",
|
||||
"html#buy-button",
|
||||
"availability-subscriber",
|
||||
"shipping-simulator",
|
||||
"share#default"
|
||||
"html#m3-shipping-simulator"
|
||||
]
|
||||
},
|
||||
|
||||
"html#product-identifier.product": {
|
||||
"props": { "testId": "product-code" },
|
||||
"children": ["product-identifier.product"]
|
||||
},
|
||||
"html#selling-price": {
|
||||
"props": { "testId": "product-price" },
|
||||
"children": ["flex-layout.row#selling-price"]
|
||||
},
|
||||
"html#m3-pix": {
|
||||
"props": {
|
||||
"testId": "pix-price"
|
||||
},
|
||||
"children": ["m3-pix"]
|
||||
},
|
||||
"html#product-installments": {
|
||||
"props": {
|
||||
"testId": "product-installments"
|
||||
},
|
||||
"children": ["product-installments#parcelas"]
|
||||
},
|
||||
"product-installments#parcelas": {
|
||||
"props": {
|
||||
"blockClass": "desconto",
|
||||
"installmentsCriteria": "max-quantity-without-interest",
|
||||
"markers": ["x"],
|
||||
"message": "{installmentsNumber} <x>x</x> de {installmentValue} sem juros"
|
||||
}
|
||||
},
|
||||
"html#product-name": {
|
||||
"props": {
|
||||
"testId": "product-name"
|
||||
},
|
||||
"children": ["flex-layout.row#product-name"]
|
||||
},
|
||||
"flex-layout.row#product-name": {
|
||||
"props": {
|
||||
"marginBottom": 3
|
||||
},
|
||||
"children": ["vtex.store-components:product-name"]
|
||||
},
|
||||
|
||||
"html#sku-selector": {
|
||||
"props": {
|
||||
"testId": "sku-selector"
|
||||
},
|
||||
"children": ["sku-selector"]
|
||||
},
|
||||
"sku-selector": {
|
||||
"props": {
|
||||
"variationsSpacing": 3,
|
||||
"showValueNameForImageVariation": true
|
||||
}
|
||||
},
|
||||
|
||||
"flex-layout.row#buy-button": {
|
||||
"html#buy-button": {
|
||||
"props": {
|
||||
"blockClass": "container__buyButton",
|
||||
"marginTop": 4,
|
||||
"marginBottom": 7
|
||||
"marginBottom": 7,
|
||||
"paddingRight": 0
|
||||
},
|
||||
"children": ["html#product-quantity", "html#add-to-cart-button"]
|
||||
},
|
||||
"html#add-to-cart-button": {
|
||||
"props": {
|
||||
"blockClass": "m3-add-to-cart-button",
|
||||
"testId": "add-to-cart-button"
|
||||
},
|
||||
"children": ["add-to-cart-button"]
|
||||
},
|
||||
"html#product-quantity": {
|
||||
"props": {
|
||||
"blockClass": "quantity",
|
||||
"testId": "product-quantity"
|
||||
},
|
||||
"children": ["product-quantity#size"]
|
||||
},
|
||||
"product-quantity#size": {
|
||||
"props": {
|
||||
"blockClass": "quantity__wrapper",
|
||||
"size": "regular",
|
||||
"width": "25%",
|
||||
|
||||
"showLabel": false
|
||||
}
|
||||
},
|
||||
"flex-layout.row#product-availability": {
|
||||
"props": {
|
||||
"blockClass": "indisponivel",
|
||||
"colGap": 7,
|
||||
"marginTop": 4,
|
||||
"marginBottom": 7,
|
||||
@ -160,17 +225,37 @@
|
||||
},
|
||||
"children": [
|
||||
"flex-layout.row#product-name",
|
||||
"product-identifier.product",
|
||||
"sku-selector",
|
||||
"flex-layout.row#availability"
|
||||
"html#product-identifier.product",
|
||||
"flex-layout.row#availability",
|
||||
"sku-selector"
|
||||
]
|
||||
},
|
||||
|
||||
"flex-layout.row#availability": {
|
||||
"props": {
|
||||
"blockClass": "message-availability"
|
||||
},
|
||||
"children": ["availability-subscriber"]
|
||||
},
|
||||
"html#m3-shipping-simulator": {
|
||||
"props": {
|
||||
"blockClass": "m3-shipping-simulator"
|
||||
},
|
||||
"children": ["rich-text", "html#shipping-simulator"]
|
||||
},
|
||||
"rich-text": {
|
||||
"props": {
|
||||
"blockClass": "m3-shipping-simulator-title",
|
||||
"textAlignment": "LEFT",
|
||||
"text": "Calcular o frete"
|
||||
}
|
||||
},
|
||||
"html#shipping-simulator": {
|
||||
"props": {
|
||||
"testId": "shipping-simulator"
|
||||
},
|
||||
"children": ["shipping-simulator"]
|
||||
},
|
||||
|
||||
"share#default": {
|
||||
"props": {
|
||||
@ -181,5 +266,10 @@
|
||||
"Pinterest": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"newsletter#m3-newsletter": {
|
||||
"props": {
|
||||
"placeholder": "Digite seu e-mail"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
133
store/blocks/pdp/tab-layout-product.jsonc
Normal file
133
store/blocks/pdp/tab-layout-product.jsonc
Normal file
@ -0,0 +1,133 @@
|
||||
{
|
||||
"html#tab-layout": {
|
||||
"props": {
|
||||
"testId": "product-description"
|
||||
},
|
||||
"children": ["tab-layout#tab-product"]
|
||||
},
|
||||
|
||||
"tab-layout#tab-product": {
|
||||
"children": ["tab-list#tab-product", "tab-content#tab-product"],
|
||||
"props": {
|
||||
"blockClass": "tab-product",
|
||||
"defaultActiveTabId": "tab-product1"
|
||||
}
|
||||
},
|
||||
"tab-list#tab-product": {
|
||||
"props": {
|
||||
"blockClass": "m3-tab-list-product"
|
||||
},
|
||||
"children": [
|
||||
"tab-list.item#tab-product1",
|
||||
"tab-list.item#tab-product2",
|
||||
"tab-list.item#tab-product3",
|
||||
"tab-list.item#tab-product4",
|
||||
"tab-list.item#tab-product5"
|
||||
]
|
||||
},
|
||||
"tab-list.item#tab-product1": {
|
||||
"props": {
|
||||
"blockClass": "m3-tab-list-item-product",
|
||||
"tabId": "tab-product1",
|
||||
"label": "Descrição",
|
||||
"defaultActiveTab": true
|
||||
}
|
||||
},
|
||||
"tab-list.item#tab-product2": {
|
||||
"props": {
|
||||
"blockClass": "m3-tab-list-item-product ",
|
||||
"tabId": "tab-product2",
|
||||
"label": "Descrição"
|
||||
}
|
||||
},
|
||||
"tab-list.item#tab-product3": {
|
||||
"props": {
|
||||
"blockClass": "m3-tab-list-item-product ",
|
||||
"tabId": "tab-product3",
|
||||
"label": "Descrição"
|
||||
}
|
||||
},
|
||||
"tab-list.item#tab-product4": {
|
||||
"props": {
|
||||
"blockClass": "m3-tab-list-item-product ",
|
||||
"tabId": "tab-product4",
|
||||
"label": "Descrição"
|
||||
}
|
||||
},
|
||||
"tab-list.item#tab-product5": {
|
||||
"props": {
|
||||
"blockClass": "m3-tab-list-item-product ",
|
||||
"tabId": "tab-product5",
|
||||
"label": "Descrição"
|
||||
}
|
||||
},
|
||||
|
||||
"tab-content#tab-product": {
|
||||
"children": [
|
||||
"tab-content.item#tab-product1",
|
||||
"tab-content.item#tab-product2",
|
||||
"tab-content.item#tab-product3",
|
||||
"tab-content.item#tab-product4",
|
||||
"tab-content.item#tab-product5"
|
||||
]
|
||||
},
|
||||
"tab-content.item#tab-product1": {
|
||||
"children": ["flex-layout.row#description"],
|
||||
"props": {
|
||||
"tabId": "tab-product1"
|
||||
}
|
||||
},
|
||||
"tab-content.item#tab-product2": {
|
||||
"children": ["flex-layout.row#description"],
|
||||
"props": {
|
||||
"tabId": "tab-product2"
|
||||
}
|
||||
},
|
||||
"tab-content.item#tab-product3": {
|
||||
"children": ["flex-layout.row#description"],
|
||||
"props": {
|
||||
"tabId": "tab-product3"
|
||||
}
|
||||
},
|
||||
"tab-content.item#tab-product4": {
|
||||
"children": ["flex-layout.row#description"],
|
||||
"props": {
|
||||
"tabId": "tab-product4"
|
||||
}
|
||||
},
|
||||
"tab-content.item#tab-product5": {
|
||||
"children": ["flex-layout.row#description"],
|
||||
"props": {
|
||||
"tabId": "tab-product5"
|
||||
}
|
||||
},
|
||||
"flex-layout.row#description": {
|
||||
"props": {
|
||||
"blockClass": "description",
|
||||
"marginBottom": 7
|
||||
},
|
||||
"children": ["product-images#imageDescription", "product-description"]
|
||||
},
|
||||
|
||||
"product-description": {
|
||||
"props": {
|
||||
"collapseContent": false
|
||||
}
|
||||
},
|
||||
"flex-layout.row#wrapperImageDescription": {
|
||||
"props": {
|
||||
"blockClass": "imageDescription",
|
||||
"width": "50%"
|
||||
},
|
||||
"children": ["product-images#imageDescription"]
|
||||
},
|
||||
"product-images#imageDescription": {
|
||||
"props": {
|
||||
"blockClass": "imageDescription",
|
||||
"displayMode": "first-image",
|
||||
"aspectRatio": {
|
||||
"desktop": "1:1"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -29,8 +29,8 @@
|
||||
"product-summary-image#shelf": {
|
||||
"props": {
|
||||
"showBadge": false,
|
||||
"aspectRatio": "1:1",
|
||||
"maxHeight": 300
|
||||
"aspectRatio": "1:1"
|
||||
// "maxHeight": 300
|
||||
}
|
||||
},
|
||||
|
||||
@ -81,9 +81,7 @@
|
||||
},
|
||||
"product-price-savings#summary": {
|
||||
"props": {
|
||||
"markers": [
|
||||
"discount"
|
||||
],
|
||||
"markers": ["discount"],
|
||||
"blockClass": "summary"
|
||||
}
|
||||
}
|
||||
|
@ -5,5 +5,9 @@
|
||||
"html": {
|
||||
"component": "html",
|
||||
"composition": "children"
|
||||
},
|
||||
|
||||
"m3-pix": {
|
||||
"component": "Pix"
|
||||
}
|
||||
}
|
||||
|
15
styles/configs/font-faces.css
Normal file
15
styles/configs/font-faces.css
Normal file
@ -0,0 +1,15 @@
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src: url(assets/fonts/OpenSans-Light.ttf);
|
||||
font-weight: 300;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src: url(assets/fonts/OpenSans-Regular.ttf);
|
||||
font-weight: 400;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src: url(assets/fonts/OpenSans-Bold.ttf);
|
||||
font-weight: 700;
|
||||
}
|
@ -1,26 +1,28 @@
|
||||
{
|
||||
"typeScale": [
|
||||
3, 2.25, 1.5, 1.25, 1, 0.875, 0.75
|
||||
],
|
||||
"typeScale": [3, 2.25, 1.5, 1.25, 1, 0.875, 0.75],
|
||||
"spacing": [0.125, 0.25, 0.5, 0.75, 1, 1.5, 2, 3, 4, 8, 16],
|
||||
"customMedia": [
|
||||
{ "s": 20 },
|
||||
{ "ns": {
|
||||
{
|
||||
"ns": {
|
||||
"value": 40,
|
||||
"minWidth": true
|
||||
}
|
||||
},
|
||||
{ "m": {
|
||||
{
|
||||
"m": {
|
||||
"value": 40,
|
||||
"minWidth": true
|
||||
}
|
||||
},
|
||||
{ "l": {
|
||||
{
|
||||
"l": {
|
||||
"value": 64,
|
||||
"minWidth": true
|
||||
}
|
||||
},
|
||||
{ "xl": {
|
||||
{
|
||||
"xl": {
|
||||
"value": 80,
|
||||
"minWidth": true
|
||||
}
|
||||
@ -253,84 +255,84 @@
|
||||
"measure": [30, 34, 20],
|
||||
"styles": {
|
||||
"heading-1": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans, sans-serif",
|
||||
"fontWeight": "700",
|
||||
"fontSize": "3rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"heading-2": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans, sans-serif",
|
||||
"fontWeight": "700",
|
||||
"fontSize": "2.25rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"heading-3": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans, sans-serif",
|
||||
"fontWeight": "700",
|
||||
"fontSize": "1.75rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"heading-4": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans, sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "1.5rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"heading-5": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans, sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "1.25rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"heading-6": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans, sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "1.25rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"body": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans, sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "1rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"small": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans, sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "0.875rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"mini": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans, sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "0.75rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"action": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans, sans-serif",
|
||||
"fontWeight": "500",
|
||||
"fontSize": "1rem",
|
||||
"textTransform": "uppercase",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"action--small": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans, sans-serif",
|
||||
"fontWeight": "500",
|
||||
"fontSize": "0.875rem",
|
||||
"textTransform": "uppercase",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"action--large": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans, sans-serif",
|
||||
"fontWeight": "500",
|
||||
"fontSize": "1.25rem",
|
||||
"textTransform": "uppercase",
|
||||
|
@ -1,16 +0,0 @@
|
||||
/*
|
||||
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 */
|
||||
.html {
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
.html--pdp-breadcrumb {
|
||||
background-color: green;
|
||||
}
|
25
styles/css/vtex.breadcrumb.css
Normal file
25
styles/css/vtex.breadcrumb.css
Normal file
@ -0,0 +1,25 @@
|
||||
/*
|
||||
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 */
|
||||
.container {
|
||||
padding: 16px 40px;
|
||||
}
|
||||
.container .homeIcon {
|
||||
display: none;
|
||||
}
|
||||
.container .homeLink {
|
||||
vertical-align: top;
|
||||
}
|
||||
.container .homeLink::after {
|
||||
content: "Home";
|
||||
visibility: visible;
|
||||
}
|
||||
.container :global(.vtex-breadcrumb-1-x-term) {
|
||||
color: #929292;
|
||||
}
|
@ -1,98 +1,127 @@
|
||||
.flexRowContent--menu-link,
|
||||
.flexRowContent--main-header {
|
||||
padding: 0 0.5rem;
|
||||
/*
|
||||
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 */
|
||||
.flexRowContent--product-main {
|
||||
padding: 0 40px;
|
||||
margin: 0;
|
||||
column-gap: 32px;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 40em) {
|
||||
.flexRowContent--menu-link,
|
||||
.flexRowContent--main-header {
|
||||
padding: 0 1rem;
|
||||
@media (max-width: 1024px) {
|
||||
.flexRowContent--product-main {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
.flexRowContent--product-main :global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
|
||||
min-width: 296px;
|
||||
max-width: 664px;
|
||||
padding: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.flexRowContent--product-main :global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
|
||||
width: 100% !important;
|
||||
max-width: 944px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 80rem) {
|
||||
.flexRowContent--menu-link,
|
||||
.flexRowContent--main-header {
|
||||
padding: 0 0.25rem;
|
||||
.flexRow--indisponivel :global(.vtex-store-components-3-x-productImagesGallerySlide) {
|
||||
width: 100%;
|
||||
}
|
||||
.flexRow--indisponivel :global(.vtex-store-components-3-x-container) {
|
||||
padding: 0;
|
||||
}
|
||||
.flexRow--indisponivel :global(.vtex-store-components-3-x-container) .flexRowContent--indisponivel {
|
||||
padding: 0 40px;
|
||||
margin: 0;
|
||||
gap: 32px;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.flexRow--indisponivel :global(.vtex-store-components-3-x-container) .flexRowContent--indisponivel {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
.flexRow--indisponivel :global(.vtex-store-components-3-x-container) .flexRowContent--indisponivel :global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
|
||||
min-width: 296px;
|
||||
max-width: 664px;
|
||||
padding: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.flexRow--indisponivel :global(.vtex-store-components-3-x-container) .flexRowContent--indisponivel :global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
|
||||
width: 100% !important;
|
||||
max-width: 944px;
|
||||
}
|
||||
}
|
||||
.flexRow--indisponivel :global(.vtex-store-components-3-x-container) .flexRowContent--indisponivel :global(.vtex-flex-layout-0-x-stretchChildrenWidth) :global(.vtex-store-components-3-x-productNameContainer--quickview) {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-size: 20px;
|
||||
line-height: 34px;
|
||||
text-align: end;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.flexRow--indisponivel :global(.vtex-store-components-3-x-container) .flexRowContent--indisponivel :global(.vtex-flex-layout-0-x-stretchChildrenWidth) :global(.vtex-store-components-3-x-productNameContainer--quickview) {
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
.flexRow--indisponivel :global(.vtex-store-components-3-x-container) .flexRowContent--indisponivel :global(.vtex-flex-layout-0-x-stretchChildrenWidth) .flexColChild--info-availability {
|
||||
height: 68px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.flexRow--indisponivel :global(.vtex-store-components-3-x-container) .flexRowContent--indisponivel :global(.vtex-flex-layout-0-x-stretchChildrenWidth) .flexColChild--info-availability :global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
|
||||
justify-content: initial;
|
||||
}
|
||||
|
||||
.flexRowContent--menu-link {
|
||||
background-color: #03044e;
|
||||
color: #fff;
|
||||
.flexRowContent {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.flexRowContent--main-header {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.flexRowContent--main-header-mobile {
|
||||
align-items: center;
|
||||
padding: 0.625rem 0.5rem;
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.flexRowContent--menu-link :global(.vtex-menu-2-x-styledLink) {
|
||||
color: #ffffff;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.flexRowContent--main-header :global(.vtex-menu-2-x-styledLink) {
|
||||
color: #727273;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.flexRow--deals {
|
||||
background-color: #0F3E99;
|
||||
padding: 14px 0px;
|
||||
}
|
||||
|
||||
.flexRow--deals .stretchChildrenWidth {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.flexRow--deals .flexCol {
|
||||
align-items: center;
|
||||
margin-bottom: 5px;
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
.flexCol--filterCol {
|
||||
max-width: 500px;
|
||||
min-width: 230px;
|
||||
}
|
||||
|
||||
.flexCol--productCountCol {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.flexCol--orderByCol {
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.flexCol--orderByMobileCol {
|
||||
width: 42%;
|
||||
}
|
||||
|
||||
.flexCol--filterMobileCol {
|
||||
width: 38%;
|
||||
}
|
||||
|
||||
.flexRow--quickviewMainRow {
|
||||
.flexRowContent--identifieAndName {
|
||||
display: flex;
|
||||
max-height: 100%;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
text-align: center;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.flexRowContent--identifieAndName {
|
||||
text-align: start;
|
||||
align-items: initial;
|
||||
}
|
||||
}
|
||||
|
||||
.flexColChild--quickviewDetails:first-child {
|
||||
overflow-y: auto;
|
||||
height: 66% !important;
|
||||
overflow-x: hidden;
|
||||
.flexRow--description :global(.vtex-store-components17-x-container) {
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
width: 100% !important;
|
||||
max-width: 94.4444444444% !important;
|
||||
}
|
||||
.flexRow--description :global(.vtex-store-components-3-x-container) {
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.flexColChild--quickviewDetails:last-child {
|
||||
height: 34% !important;
|
||||
.flexRowContent--description {
|
||||
width: auto;
|
||||
gap: 32px;
|
||||
}
|
||||
@media (min-width: 1920px) {
|
||||
.flexRowContent--description .stretchChildrenWidth {
|
||||
width: unset !important;
|
||||
}
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.flexRowContent--description {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.flexRowContent--description .stretchChildrenWidth {
|
||||
width: unset !important;
|
||||
}
|
||||
|
||||
.flexRow--addToCartRow {
|
||||
padding-bottom: 1rem;
|
||||
}
|
@ -1,3 +1,33 @@
|
||||
/*
|
||||
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 */
|
||||
.product-identifier--productReference {
|
||||
margin-bottom: 1rem;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.product-identifier--productReference {
|
||||
display: block;
|
||||
padding-right: 0;
|
||||
padding-bottom: 24px;
|
||||
}
|
||||
}
|
||||
.product-identifier--productReference .product-identifier__label,
|
||||
.product-identifier--productReference .product-identifier__separator {
|
||||
display: none;
|
||||
}
|
||||
.product-identifier--productReference .product-identifier__value {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-align: right;
|
||||
color: rgba(146, 146, 146, 0.4784313725);
|
||||
}
|
@ -1,79 +1,29 @@
|
||||
.listPrice {
|
||||
color: #727273;
|
||||
margin-bottom: .25rem;
|
||||
font-size: 1rem;
|
||||
/*
|
||||
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 */
|
||||
.listPrice--m3-product-list-price {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-decoration-line: line-through;
|
||||
color: #BABABA;
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
.sellingPrice {
|
||||
color: #3f3f40;
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
.sellingPriceValue {
|
||||
font-size: 2.25rem;
|
||||
.sellingPrice--hasListPrice {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.installments {
|
||||
color: #727273;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.savings {
|
||||
font-weight: 500;
|
||||
color: #79B03A;
|
||||
}
|
||||
|
||||
.sellingPriceValue--summary {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
color: #2E2E2E;
|
||||
}
|
||||
|
||||
.savings--summary {
|
||||
background: #8BC34A;
|
||||
border-radius: 1000px;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
|
||||
padding-left: 0.5rem;
|
||||
padding-right: 0.5rem;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 600;
|
||||
vertical-align: baseline;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.savings-discount--summary {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 600;
|
||||
vertical-align: baseline;
|
||||
color: #FFFFFF;
|
||||
padding-left: 0.5rem;
|
||||
padding-right: 0.5rem;
|
||||
}
|
||||
|
||||
.listPrice--summary {
|
||||
margin-bottom: 0.25rem;
|
||||
font-size: .875rem;
|
||||
}
|
||||
|
||||
.installments--summary {
|
||||
margin-bottom: 2rem;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.savings--summaryPercentage {
|
||||
background: #0f3e99;
|
||||
border-radius: 1000px;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.savingsPercentage--summaryPercentage {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 600;
|
||||
vertical-align: baseline;
|
||||
color: #FFFFFF;
|
||||
padding: 0.25rem 0.5rem 0.25rem 0.5rem;
|
||||
font-size: 24px;
|
||||
line-height: 33px;
|
||||
text-align: center;
|
||||
color: #000000;
|
||||
}
|
27
styles/css/vtex.product-quantity.css
Normal file
27
styles/css/vtex.product-quantity.css
Normal file
@ -0,0 +1,27 @@
|
||||
/*
|
||||
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 */
|
||||
.quantitySelectorStepper {
|
||||
border: 1px solid #989898;
|
||||
max-width: 128px;
|
||||
padding: 3.5px 0;
|
||||
}
|
||||
.quantitySelectorStepper :global(.vtex-numeric-stepper-wrapper) :global(.vtex-numeric-stepper-container) :global(.vtex-numeric-stepper__input) {
|
||||
border: none;
|
||||
width: 28px;
|
||||
}
|
||||
.quantitySelectorStepper :global(.vtex-numeric-stepper-wrapper) :global(.vtex-numeric-stepper-container) :global(.vtex-numeric-stepper__plus-button),
|
||||
.quantitySelectorStepper :global(.vtex-numeric-stepper-wrapper) :global(.vtex-numeric-stepper-container) :global(.vtex-numeric-stepper__minus-button) {
|
||||
border: none;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.quantitySelectorContainer--quantity__wrapper {
|
||||
width: 128px;
|
||||
}
|
@ -1,42 +1,97 @@
|
||||
.skuSelectorContainer--quickview .skuSelectorItemImage .frameAround, .skuSelectorContainer--quickview .skuSelectorItemImage .skuSelectorInternalBox {
|
||||
border-radius: 50%;
|
||||
/*
|
||||
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 */
|
||||
:global(.vtex-product-summary-2-x-containerNormal) {
|
||||
max-width: unset !important;
|
||||
}
|
||||
|
||||
.container :global(.vtex-modal-layout-0-x-triggerContainer) {
|
||||
opacity: 0;
|
||||
transition: opacity 200ms ease-in-out;
|
||||
:global(.vtex-product-summary-2-x-imageNormal) {
|
||||
max-height: unset !important;
|
||||
}
|
||||
|
||||
.container:hover :global(.vtex-modal-layout-0-x-triggerContainer) {
|
||||
opacity: 1;
|
||||
:global(.vtex-product-summary-2-x-imageStackContainer) {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 40em) {
|
||||
.container :global(.vtex-modal-layout-0-x-triggerContainer) {
|
||||
:global(.vtex-product-summary-2-x-nameContainer) {
|
||||
background-color: white;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
padding-top: 16px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
:global(.vtex-product-summary-2-x-nameContainer) {
|
||||
margin-bottom: 8px;
|
||||
margin-top: 16px;
|
||||
max-width: 87.1794871795%;
|
||||
}
|
||||
}
|
||||
@media (max-width: 1024px) and (min-width: 1023px) and (max-width: 1025px) {
|
||||
:global(.vtex-product-summary-2-x-nameContainer) {
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
:global(.vtex-product-summary-2-x-nameContainer) :global(.vtex-product-summary-2-x-brandName) {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
text-align: center;
|
||||
color: #000000;
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
:global(.vtex-product-summary-2-x-nameContainer) :global(.vtex-product-summary-2-x-brandName) {
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-product-summary-2-x-priceContainer) {
|
||||
padding: 0;
|
||||
padding-top: 8px;
|
||||
}
|
||||
:global(.vtex-product-summary-2-x-priceContainer) .price_listPriceContainer {
|
||||
padding-top: 0 !important;
|
||||
padding-bottom: 0 !important;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-align: center;
|
||||
text-decoration-line: line-through;
|
||||
color: #BABABA;
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
:global(.vtex-product-summary-2-x-priceContainer) .price_listPriceContainer {
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
}
|
||||
}
|
||||
:global(.vtex-product-summary-2-x-priceContainer) .price_sellingPriceLabel,
|
||||
:global(.vtex-product-summary-2-x-priceContainer) .price_installmentContainer {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.nameContainer {
|
||||
justify-content: start;
|
||||
padding-top: 1rem;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
.brandName {
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
color: #2E2E2E;
|
||||
}
|
||||
|
||||
.container {
|
||||
text-align: start;
|
||||
}
|
||||
|
||||
.imageContainer {
|
||||
:global(.vtex-product-summary-2-x-priceContainer) .price_sellingPrice {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 24px;
|
||||
line-height: 33px;
|
||||
text-align: center;
|
||||
color: #000000;
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
:global(.vtex-product-summary-2-x-priceContainer) .price_sellingPrice {
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
}
|
||||
|
||||
.image {
|
||||
border-radius: 0.25rem;
|
||||
}
|
@ -7,3 +7,28 @@
|
||||
*/
|
||||
/* Media Query M3 */
|
||||
/* Grid breakpoints */
|
||||
.container--m3-shipping-simulator-title .paragraph {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.paragraph--m3-shelf-related-title {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 38px;
|
||||
text-align: center;
|
||||
color: #575757;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.paragraph--m3-shelf-related-title {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
@ -1,31 +1,142 @@
|
||||
.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 */
|
||||
@media (min-width: 2000px) {
|
||||
.sliderLayoutContainer--m3-carousel-products {
|
||||
max-width: 1920px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
.sliderLayoutContainer--carousel {
|
||||
background-color: #F0F0F0;
|
||||
min-height: 450px;
|
||||
.sliderTrackContainer--m3-carousel-products {
|
||||
max-width: 94.712%;
|
||||
margin: 0 40px;
|
||||
}
|
||||
@media (max-width: 590px) {
|
||||
.sliderTrackContainer--m3-carousel-products {
|
||||
max-width: 78.9333333333%;
|
||||
}
|
||||
}
|
||||
|
||||
.sliderTrackContainer {
|
||||
max-width: 100%;
|
||||
.slide--m3-carousel-products {
|
||||
margin: 0 8px;
|
||||
}
|
||||
@media (min-width: 1920px) {
|
||||
.slide--m3-carousel-products {
|
||||
max-width: 434.4px !important;
|
||||
}
|
||||
}
|
||||
@media (max-width: 1440px) {
|
||||
.slide--m3-carousel-products {
|
||||
max-width: 314.4px !important;
|
||||
}
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.slide--m3-carousel-products {
|
||||
max-width: 291.2px !important;
|
||||
}
|
||||
}
|
||||
@media (max-width: 375px) {
|
||||
.slide--m3-carousel-products {
|
||||
width: 124.8px !important;
|
||||
}
|
||||
}
|
||||
|
||||
.paginationDotsContainer {
|
||||
margin-top: .5rem;
|
||||
margin-bottom: .5rem;
|
||||
:global(.vtex-product-summary-2-x-containerNormal) {
|
||||
max-width: unset !important;
|
||||
}
|
||||
|
||||
.layoutContainer--shelf {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
max-width: 96rem;
|
||||
min-height: 550px;
|
||||
:global(.vtex-product-summary-2-x-imageNormal) {
|
||||
max-height: unset !important;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.slide--shelf {
|
||||
margin-bottom: 25px;
|
||||
padding-left: .5rem;
|
||||
padding-right: .5rem;
|
||||
min-height: 550px;
|
||||
:global(.vtex-product-summary-2-x-imageStackContainer) {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.sliderLeftArrow--m3-carousel-products {
|
||||
visibility: hidden;
|
||||
}
|
||||
.sliderLeftArrow--m3-carousel-products::after {
|
||||
position: relative;
|
||||
visibility: visible;
|
||||
content: url("https://agenciamagma.vtexassets.com/arquivos/emmanuelvitor-arrow-left.svg");
|
||||
width: 12px;
|
||||
left: 16px;
|
||||
}
|
||||
@media (min-width: 2000px) {
|
||||
.sliderLeftArrow--m3-carousel-products::after {
|
||||
left: -8px !important;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1025px) {
|
||||
.sliderLeftArrow--m3-carousel-products::after {
|
||||
left: 0 !important;
|
||||
}
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.sliderLeftArrow--m3-carousel-products::after {
|
||||
left: -8px;
|
||||
bottom: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
.sliderRightArrow--m3-carousel-products {
|
||||
visibility: hidden;
|
||||
}
|
||||
.sliderRightArrow--m3-carousel-products::before {
|
||||
position: relative !important;
|
||||
visibility: visible;
|
||||
content: url("https://agenciamagma.vtexassets.com/arquivos/emmanuelvitor-arrow-right.svg");
|
||||
width: 12px;
|
||||
right: 16px !important;
|
||||
}
|
||||
@media (min-width: 2000px) {
|
||||
.sliderRightArrow--m3-carousel-products::before {
|
||||
left: 8px !important;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1025px) {
|
||||
.sliderRightArrow--m3-carousel-products::before {
|
||||
left: 0 !important;
|
||||
}
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.sliderRightArrow--m3-carousel-products::before {
|
||||
left: 8px !important;
|
||||
bottom: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
.paginationDotsContainer--m3-carousel-products {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
column-gap: 12px;
|
||||
bottom: -16px;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.paginationDotsContainer--m3-carousel-products {
|
||||
bottom: -24px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.paginationDotsContainer--m3-carousel-products {
|
||||
bottom: -40px;
|
||||
}
|
||||
}
|
||||
.paginationDotsContainer--m3-carousel-products .paginationDot--m3-carousel-products {
|
||||
background-color: #000000;
|
||||
}
|
||||
.paginationDotsContainer--m3-carousel-products .paginationDot--isActive {
|
||||
height: 1.063rem !important;
|
||||
width: 1.0635rem !important;
|
||||
background: transparent;
|
||||
border: 1px solid;
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
@charset "UTF-8";
|
||||
/*
|
||||
0 - 600PX: Phone
|
||||
600 - 900px: Table portrait
|
||||
@ -8,5 +9,640 @@
|
||||
/* Media Query M3 */
|
||||
/* Grid breakpoints */
|
||||
.newsletter {
|
||||
background: red;
|
||||
background: #000000;
|
||||
color: #ffffff;
|
||||
margin-top: 64px;
|
||||
}
|
||||
.newsletter :global(.vtex-store-components-3-x-container) {
|
||||
padding: 0;
|
||||
}
|
||||
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) {
|
||||
padding: 32px 0 13px;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
max-width: 775px;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) {
|
||||
max-width: 100%;
|
||||
padding: 64px 0 32px;
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
}
|
||||
}
|
||||
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) .label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-size: 0;
|
||||
}
|
||||
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) .label::before {
|
||||
font-family: "Open Sans";
|
||||
content: "Assine nossa newsletter";
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 38px;
|
||||
text-align: center;
|
||||
color: #ffffff;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
@media (max-width: 1920px) {
|
||||
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) .label::before {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
}
|
||||
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) .label::after {
|
||||
content: "Receba ofertas e novidades por e-mail";
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
text-align: center;
|
||||
color: #929292;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) .label::after {
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
}
|
||||
}
|
||||
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-inputGroup) {
|
||||
border-bottom: 1px solid #929292;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-inputGroup) {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-inputGroup) :global(.vtex-input) :global(.vtex-input-prefix__group) {
|
||||
border: none;
|
||||
}
|
||||
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-inputGroup) :global(.vtex-input) :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input) {
|
||||
background: transparent;
|
||||
color: #929292;
|
||||
}
|
||||
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-inputGroup) :global(.vtex-input) :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input)::placeholder {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: #929292;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-inputGroup) :global(.vtex-input) :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input)::placeholder {
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.newsletter .buttonContainer {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
.newsletter .buttonContainer :global(.vtex-button) {
|
||||
background: none;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
width: 100%;
|
||||
max-width: 84px;
|
||||
height: 32px;
|
||||
border-bottom: 3px solid #BFBFBF;
|
||||
}
|
||||
|
||||
:global(.vtex-store-components-3-x-container) {
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
:global(.vtex-store-components-3-x-container) .productNameContainer--quickview {
|
||||
text-align: end;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
:global(.vtex-store-components-3-x-container) .productNameContainer--quickview {
|
||||
text-align: initial;
|
||||
}
|
||||
}
|
||||
|
||||
.shippingContainer {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) {
|
||||
display: flex;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) {
|
||||
width: 100%;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) {
|
||||
position: absolute;
|
||||
left: 312px;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-decoration-line: underline;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) :last-child {
|
||||
color: #000;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) {
|
||||
position: initial;
|
||||
}
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: auto;
|
||||
}
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) :global(.vtex__icon-external-link) {
|
||||
display: none;
|
||||
}
|
||||
.shippingContainer :global(.vtex-input__label) {
|
||||
display: none;
|
||||
}
|
||||
.shippingContainer :global(.vtex-input-prefix__group) {
|
||||
border: 1px solid #cccccc;
|
||||
border-radius: 0;
|
||||
max-width: 231px;
|
||||
height: 49px;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.shippingContainer :global(.vtex-input-prefix__group) {
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
.shippingContainer :global(.vtex-input-prefix__group) :global(.vtex-address-form-4-x-input),
|
||||
.shippingContainer :global(.vtex-input-prefix__group) :global(.vtex-address-form-4-x-input)::placeholder {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #afafaf;
|
||||
}
|
||||
.shippingContainer :global(.vtex-button) {
|
||||
background: none;
|
||||
border: none;
|
||||
width: 49px;
|
||||
height: 49px;
|
||||
border-radius: 0;
|
||||
background-color: #000;
|
||||
}
|
||||
.shippingContainer :global(.vtex-button) :global(.vtex-button__label) {
|
||||
font-size: 0;
|
||||
}
|
||||
.shippingContainer :global(.vtex-button) :global(.vtex-button__label)::after {
|
||||
content: "OK";
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
/* identical to box height */
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.shippingTable {
|
||||
width: 100%;
|
||||
max-width: 326px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
.shippingTable .shippingTableHead {
|
||||
display: table-header-group;
|
||||
}
|
||||
.shippingTable .shippingTableHead .shippingTableRow {
|
||||
display: flex;
|
||||
column-gap: 32px;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryName,
|
||||
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryEstimate {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-transform: uppercase;
|
||||
/* identical to box height */
|
||||
color: #202020;
|
||||
}
|
||||
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryName {
|
||||
width: 100%;
|
||||
max-width: 78px;
|
||||
}
|
||||
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryEstimate {
|
||||
order: 3;
|
||||
width: 100%;
|
||||
max-width: 136px;
|
||||
}
|
||||
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice {
|
||||
width: 100%;
|
||||
max-width: 48px;
|
||||
display: flex;
|
||||
order: 2;
|
||||
width: 100%;
|
||||
font-size: 0;
|
||||
}
|
||||
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice::after {
|
||||
content: "Frete";
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-transform: uppercase;
|
||||
/* identical to box height */
|
||||
color: #202020;
|
||||
}
|
||||
.shippingTable .shippingTableBody {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
row-gap: 15px;
|
||||
}
|
||||
.shippingTable .shippingTableBody .shippingTableRow {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
}
|
||||
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryName,
|
||||
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryPrice,
|
||||
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryEstimate {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #afafaf;
|
||||
padding: 0;
|
||||
}
|
||||
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryName .shippingTableLabel .shippingTableRadioBtn {
|
||||
display: none;
|
||||
}
|
||||
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryName {
|
||||
width: 100%;
|
||||
max-width: 78px;
|
||||
}
|
||||
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryEstimate {
|
||||
order: 3;
|
||||
width: 100%;
|
||||
max-width: 136px;
|
||||
}
|
||||
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryPrice {
|
||||
order: 2;
|
||||
width: 100%;
|
||||
max-width: 48px;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.subscriberContainer {
|
||||
max-width: 765px;
|
||||
margin-top: 24px;
|
||||
}
|
||||
}
|
||||
.subscriberContainer :global(.vtex-store-components-3-x-title) {
|
||||
font-size: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.subscriberContainer :global(.vtex-store-components-3-x-title)::after {
|
||||
content: "Produto indisponível";
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #868686;
|
||||
}
|
||||
.subscriberContainer :global(.vtex-store-components-3-x-subscribeLabel) {
|
||||
font-size: 0;
|
||||
}
|
||||
.subscriberContainer :global(.vtex-store-components-3-x-subscribeLabel)::after {
|
||||
content: "Deseja saber quando estiver disponível?";
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
/* or 136% */
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #868686;
|
||||
}
|
||||
.subscriberContainer .form {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
max-width: 399px;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.subscriberContainer .form {
|
||||
max-width: 775px;
|
||||
}
|
||||
}
|
||||
.subscriberContainer .form .content {
|
||||
display: grid;
|
||||
grid-template-areas: "nome email" "submit submit";
|
||||
justify-content: inherit;
|
||||
gap: 16px 8px;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
}
|
||||
.subscriberContainer .form .content .inputName {
|
||||
grid-area: nome;
|
||||
}
|
||||
.subscriberContainer .form .content .inputName,
|
||||
.subscriberContainer .form .content .inputEmail {
|
||||
margin: 0;
|
||||
max-width: 195.5px;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 40px;
|
||||
margin: 0;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.subscriberContainer .form .content .inputName,
|
||||
.subscriberContainer .form .content .inputEmail {
|
||||
max-width: 378.5px;
|
||||
}
|
||||
}
|
||||
.subscriberContainer .form .content .inputName :global(.vtex-input-prefix__group),
|
||||
.subscriberContainer .form .content .inputEmail :global(.vtex-input-prefix__group) {
|
||||
height: 40px;
|
||||
border: 1px solid #989898;
|
||||
border-radius: 0;
|
||||
}
|
||||
.subscriberContainer .form .content .inputName :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input),
|
||||
.subscriberContainer .form .content .inputEmail :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input) {
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
color: #989898;
|
||||
border-radius: 0;
|
||||
}
|
||||
.subscriberContainer .form .content .inputName :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input)::placeholder,
|
||||
.subscriberContainer .form .content .inputEmail :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input)::placeholder {
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
color: #989898;
|
||||
}
|
||||
.subscriberContainer .form .content .submit {
|
||||
width: 100%;
|
||||
grid-area: submit;
|
||||
margin: 0;
|
||||
}
|
||||
.subscriberContainer .form .content .submit :global(.vtex-button) {
|
||||
width: 100%;
|
||||
height: 49px;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
background: #000;
|
||||
}
|
||||
.subscriberContainer .form .content .submit :global(.vtex-button) :global(.vtex-button__label) {
|
||||
font-size: 0;
|
||||
}
|
||||
.subscriberContainer .form .content .submit :global(.vtex-button) :global(.vtex-button__label)::after {
|
||||
content: "avise-me";
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-transform: uppercase;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #ffffff;
|
||||
}
|
||||
@media (min-width: 1920px) {
|
||||
.subscriberContainer .form .content .submit :global(.vtex-button) :global(.vtex-button__label)::after {
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
.carouselGaleryThumbs {
|
||||
margin: 16px 0 32px;
|
||||
max-height: 90px;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.carouselGaleryThumbs {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.carouselThumbBorder,
|
||||
.thumbImg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-width: 90px;
|
||||
height: 90px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.productImagesThumb {
|
||||
margin-right: 16px !important;
|
||||
max-height: 90px !important;
|
||||
width: 90px !important;
|
||||
}
|
||||
|
||||
.figure,
|
||||
.productImagesThumb {
|
||||
width: 90px !important;
|
||||
}
|
||||
|
||||
.productDescriptionContainer .productDescriptionTitle {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 32px;
|
||||
color: #575757;
|
||||
}
|
||||
.productDescriptionContainer .content {
|
||||
text-align: justify;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: #929292;
|
||||
max-width: 632px;
|
||||
}
|
||||
@media (min-width: 1920px) {
|
||||
.productDescriptionContainer .content {
|
||||
max-width: 872px !important;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.productDescriptionContainer .content {
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
|
||||
.skuSelectorContainer {
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
margin: 16px 0;
|
||||
}
|
||||
.skuSelectorContainer .frameAround {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 30px;
|
||||
z-index: 3;
|
||||
padding: 0;
|
||||
border-color: #000;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
.skuSelectorContainer .skuSelectorInternalBox {
|
||||
border-radius: 50%;
|
||||
}
|
||||
.skuSelectorContainer .skuSelectorSubcontainer--cor {
|
||||
margin: 0;
|
||||
}
|
||||
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameContainer {
|
||||
margin: 0;
|
||||
}
|
||||
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorOptionsList {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem {
|
||||
margin: 0;
|
||||
}
|
||||
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorTextrName .skuSelectorSelectorImageValue,
|
||||
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectoContainer .skuSelectorSelectorImageValue {
|
||||
font-size: 0;
|
||||
}
|
||||
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorTextrName .skuSelectorName::before,
|
||||
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectoContainer .skuSelectorName::before {
|
||||
content: "OUTRAS CORES";
|
||||
font-family: "Open Sans", sans-serif;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
}
|
||||
.skuSelectorContainer .skuSelectorSubcontainer--tamanho {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer {
|
||||
margin: 0;
|
||||
}
|
||||
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorName {
|
||||
font-size: 0;
|
||||
}
|
||||
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorName::after {
|
||||
font-family: "Open Sans", sans-serif;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
content: "OUTROS TAMANHOS: ";
|
||||
color: #929292;
|
||||
}
|
||||
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorOptionsList {
|
||||
margin: 0;
|
||||
margin-left: 0;
|
||||
gap: 16px;
|
||||
}
|
||||
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem {
|
||||
border-radius: 100%;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
margin: 0;
|
||||
}
|
||||
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem .frameAround--sku-selector {
|
||||
border-color: #000000;
|
||||
border-width: 2px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 24px;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
z-index: 5;
|
||||
margin: 0 auto;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
}
|
||||
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem .skuSelectorInternalBox {
|
||||
border-radius: 100%;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 1px solid #989898;
|
||||
}
|
||||
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem .skuSelectorInternalBox .diagonalCross {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
transform: rotate(274deg);
|
||||
left: 4px;
|
||||
top: 5px;
|
||||
}
|
||||
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem .skuSelectorInternalBox .skuSelectorItemTextValue {
|
||||
padding: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 0 auto;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: rgba(185, 185, 185, 0.6);
|
||||
}
|
||||
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem--selected .skuSelectorInternalBox .skuSelectorItemTextValue {
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.productImageTag--imageDescription--main {
|
||||
max-height: 632px !important;
|
||||
}
|
||||
@media (min-width: 1920px) {
|
||||
.productImageTag--imageDescription--main {
|
||||
max-height: 872px !important;
|
||||
}
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.productImageTag--imageDescription--main {
|
||||
max-height: unset !important;
|
||||
}
|
||||
}
|
99
styles/css/vtex.tab-layout.css
Normal file
99
styles/css/vtex.tab-layout.css
Normal file
@ -0,0 +1,99 @@
|
||||
/*
|
||||
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 */
|
||||
.container--tab-product {
|
||||
width: 100%;
|
||||
padding: 0 40px;
|
||||
}
|
||||
@media (min-width: 1920px) {
|
||||
.container--tab-product {
|
||||
max-width: 1840px;
|
||||
}
|
||||
}
|
||||
.container--tab-product .listContainer--m3-tab-list-product {
|
||||
justify-content: space-around;
|
||||
border-bottom: 1px solid #B9B9B9;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.container--tab-product .listContainer--m3-tab-list-product {
|
||||
margin-top: 16px;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
.container--tab-product .listContainer--m3-tab-list-product .listItem {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.container--tab-product .listContainer--m3-tab-list-product .listItem :global(.vtex-button) :global(.vtex-button__label) {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 38px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
color: #BFBFBF;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.container--tab-product .listContainer--m3-tab-list-product .listItem :global(.vtex-button) :global(.vtex-button__label) {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
.container--tab-product .listContainer--m3-tab-list-product .listItem--m3-tab-list-item-product {
|
||||
background: #ffffff;
|
||||
border: none !important;
|
||||
width: 114px;
|
||||
}
|
||||
.container--tab-product .listContainer--m3-tab-list-product .listItemActive--m3-tab-list-item-product,
|
||||
.container--tab-product .listContainer--m3-tab-list-product .listItemActive {
|
||||
background: #ffffff;
|
||||
border: none !important;
|
||||
}
|
||||
.container--tab-product .listContainer--m3-tab-list-product .listItemActive--m3-tab-list-item-product :global(.vtex-button),
|
||||
.container--tab-product .listContainer--m3-tab-list-product .listItemActive :global(.vtex-button) {
|
||||
background-color: #ffffff;
|
||||
border: none;
|
||||
border-bottom: 2px solid #000000;
|
||||
border-radius: 0;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.container--tab-product .listContainer--m3-tab-list-product .listItemActive--m3-tab-list-item-product :global(.vtex-button),
|
||||
.container--tab-product .listContainer--m3-tab-list-product .listItemActive :global(.vtex-button) {
|
||||
border-bottom: 0;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
.container--tab-product .listContainer--m3-tab-list-product .listItemActive--m3-tab-list-item-product :global(.vtex-button) :global(.vtex-button__label),
|
||||
.container--tab-product .listContainer--m3-tab-list-product .listItemActive :global(.vtex-button) :global(.vtex-button__label) {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 38px;
|
||||
color: #000000;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.container--tab-product .listContainer--m3-tab-list-product .listItemActive--m3-tab-list-item-product :global(.vtex-button) :global(.vtex-button__label),
|
||||
.container--tab-product .listContainer--m3-tab-list-product .listItemActive :global(.vtex-button) :global(.vtex-button__label) {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.contentContainer {
|
||||
padding: 0 32px;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.contentContainer {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
.html {
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
.html--pdp-breadcrumb {
|
||||
background-color: green;
|
||||
}
|
||||
|
21
styles/sass/pages/product/vtex.breadcrumb.scss
Normal file
21
styles/sass/pages/product/vtex.breadcrumb.scss
Normal file
@ -0,0 +1,21 @@
|
||||
.container {
|
||||
padding: 16px 40px;
|
||||
|
||||
.homeIcon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.homeLink {
|
||||
vertical-align: top;
|
||||
|
||||
&::after {
|
||||
content: "Home";
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-breadcrumb-1-x-term) {
|
||||
color: $color-gray6;
|
||||
}
|
||||
|
||||
}
|
151
styles/sass/pages/product/vtex.flex-layout.scss
Normal file
151
styles/sass/pages/product/vtex.flex-layout.scss
Normal file
@ -0,0 +1,151 @@
|
||||
// INICIO PRODUCT
|
||||
.flexRowContent--product-main {
|
||||
padding: 0 40px;
|
||||
margin: 0;
|
||||
column-gap: 32px;
|
||||
|
||||
@media (max-width:1024px) {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
:global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
|
||||
min-width: 296px;
|
||||
max-width: 664px;
|
||||
padding: 0;
|
||||
border-radius: 0;
|
||||
|
||||
@media (max-width:1024px) {
|
||||
width: 100% !important;
|
||||
max-width: 944px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// FIM PRODUCT
|
||||
|
||||
// INICIO INDISPONIVEL
|
||||
.flexRow--indisponivel {
|
||||
:global(.vtex-store-components-3-x-productImagesGallerySlide) {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
:global(.vtex-store-components-3-x-container) {
|
||||
padding: 0;
|
||||
|
||||
.flexRowContent--indisponivel {
|
||||
padding: 0 40px;
|
||||
margin: 0;
|
||||
gap: 32px;
|
||||
|
||||
@media (max-width:1024px) {
|
||||
// padding: 0 40px;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
// padding: 0 40px;
|
||||
:global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
|
||||
min-width: 296px;
|
||||
max-width: 664px;
|
||||
padding: 0;
|
||||
border-radius: 0;
|
||||
|
||||
@media (max-width:1024px) {
|
||||
width: 100% !important;
|
||||
max-width: 944px;
|
||||
}
|
||||
|
||||
:global(.vtex-store-components-3-x-productNameContainer--quickview) {
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-size: 20px;
|
||||
line-height: 34px;
|
||||
// max-width: 90%;
|
||||
text-align: end;
|
||||
|
||||
@media (max-width:1024px) {
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width:1024px) {
|
||||
// width: 100% !important;
|
||||
// max-width: none;
|
||||
}
|
||||
|
||||
.flexColChild--info-availability {
|
||||
height: 68px;
|
||||
margin-bottom: 8px;
|
||||
|
||||
:global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
|
||||
justify-content: initial;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.flexRowContent {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.flexRowContent--identifieAndName {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
text-align: center;
|
||||
|
||||
@media (max-width:1024px) {
|
||||
text-align: start;
|
||||
align-items: initial;
|
||||
}
|
||||
}
|
||||
|
||||
// FIM INDISPONIVEL
|
||||
|
||||
|
||||
// INICIO DESCRIÇÃO
|
||||
.flexRow--description {
|
||||
:global(.vtex-store-components17-x-container) {
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
width: 100% !important;
|
||||
max-width: 94.444444444444444444444444444444% !important;
|
||||
}
|
||||
|
||||
:global(.vtex-store-components-3-x-container) {
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.flexRowContent--description {
|
||||
width: auto;
|
||||
gap: 32px;
|
||||
|
||||
|
||||
|
||||
@media (min-width:1920px) {
|
||||
.stretchChildrenWidth {
|
||||
width: unset !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width:1024px) {
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
|
||||
|
||||
.stretchChildrenWidth {
|
||||
width: unset !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// FIM DESCRIÇÃO
|
26
styles/sass/pages/product/vtex.product-identifier.scss
Normal file
26
styles/sass/pages/product/vtex.product-identifier.scss
Normal file
@ -0,0 +1,26 @@
|
||||
.product-identifier--productReference {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
// padding-right: 40px;
|
||||
|
||||
@media (max-width:1024px) {
|
||||
display: block;
|
||||
padding-right: 0;
|
||||
padding-bottom: 24px;
|
||||
}
|
||||
|
||||
.product-identifier__label,
|
||||
.product-identifier__separator {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.product-identifier__value {
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-align: right;
|
||||
color: #9292927a;
|
||||
}
|
||||
}
|
25
styles/sass/pages/product/vtex.product-price.scss
Normal file
25
styles/sass/pages/product/vtex.product-price.scss
Normal file
@ -0,0 +1,25 @@
|
||||
.listPrice--m3-product-list-price {
|
||||
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
|
||||
text-decoration-line: line-through;
|
||||
color: $color-gray9;
|
||||
padding: 8px 0;
|
||||
|
||||
}
|
||||
|
||||
.sellingPrice--hasListPrice {
|
||||
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 24px;
|
||||
line-height: 33px;
|
||||
|
||||
text-align: center;
|
||||
color: $color-black;
|
||||
}
|
26
styles/sass/pages/product/vtex.product-quantity.scss
Normal file
26
styles/sass/pages/product/vtex.product-quantity.scss
Normal file
@ -0,0 +1,26 @@
|
||||
.quantitySelectorStepper {
|
||||
border: 1px solid #989898;
|
||||
max-width: 128px;
|
||||
padding: 3.5px 0;
|
||||
|
||||
|
||||
|
||||
:global(.vtex-numeric-stepper-wrapper) {
|
||||
:global(.vtex-numeric-stepper-container) {
|
||||
:global(.vtex-numeric-stepper__input) {
|
||||
border: none;
|
||||
width: 28px;
|
||||
}
|
||||
|
||||
:global(.vtex-numeric-stepper__plus-button),
|
||||
:global(.vtex-numeric-stepper__minus-button) {
|
||||
border: none;
|
||||
background-color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.quantitySelectorContainer--quantity__wrapper {
|
||||
width: 128px;
|
||||
}
|
92
styles/sass/pages/product/vtex.product-summary.scss
Normal file
92
styles/sass/pages/product/vtex.product-summary.scss
Normal file
@ -0,0 +1,92 @@
|
||||
:global(.vtex-product-summary-2-x-containerNormal) {
|
||||
max-width: unset !important;
|
||||
}
|
||||
|
||||
:global(.vtex-product-summary-2-x-imageNormal) {
|
||||
max-height: unset !important;
|
||||
}
|
||||
|
||||
:global(.vtex-product-summary-2-x-imageStackContainer) {
|
||||
display: flex;
|
||||
|
||||
}
|
||||
|
||||
:global(.vtex-product-summary-2-x-nameContainer) {
|
||||
background-color: white;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
padding-top: 16px;
|
||||
margin: 0 auto;
|
||||
|
||||
@media (max-width:1024px) {
|
||||
margin-bottom: 8px;
|
||||
margin-top: 16px;
|
||||
max-width: 87.179487179487179487179487179487%;
|
||||
|
||||
@media (min-width:1023px) and (max-width:1025px) {
|
||||
max-width: none;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-product-summary-2-x-brandName) {
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
text-align: center;
|
||||
color: $color-black;
|
||||
|
||||
@media (max-width:767px) {
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-product-summary-2-x-priceContainer) {
|
||||
padding: 0;
|
||||
padding-top: 8px;
|
||||
|
||||
.price_listPriceContainer {
|
||||
padding-top: 0 !important;
|
||||
padding-bottom: 0 !important;
|
||||
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-align: center;
|
||||
text-decoration-line: line-through;
|
||||
color: $color-gray9;
|
||||
|
||||
@media (max-width:767px) {
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.price_sellingPriceLabel,
|
||||
.price_installmentContainer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.price_sellingPrice {
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 24px;
|
||||
line-height: 33px;
|
||||
text-align: center;
|
||||
color: $color-black;
|
||||
|
||||
@media (max-width:767px) {
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
.container--m3-shipping-simulator-title {
|
||||
.paragraph {
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
|
||||
color: $color-gray6;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.paragraph--m3-shelf-related-title {
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 38px;
|
||||
|
||||
text-align: center;
|
||||
|
||||
color: $color-black3;
|
||||
|
||||
@media (max-width:768px) {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
}
|
131
styles/sass/pages/product/vtex.slider-layout.scss
Normal file
131
styles/sass/pages/product/vtex.slider-layout.scss
Normal file
@ -0,0 +1,131 @@
|
||||
.sliderLayoutContainer--m3-carousel-products {
|
||||
@media (min-width:2000px) {
|
||||
max-width: 1920px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
.sliderTrackContainer--m3-carousel-products {
|
||||
|
||||
max-width: 94.712%;
|
||||
// margin: 0 auto;
|
||||
margin: 0 40px;
|
||||
|
||||
@media (max-width:590px) {
|
||||
max-width: 78.933333333333333333333333333333%;
|
||||
}
|
||||
}
|
||||
|
||||
// card
|
||||
.slide--m3-carousel-products {
|
||||
margin: 0 8px;
|
||||
|
||||
@media (min-width:1920px) {
|
||||
max-width: 434.4px !important;
|
||||
}
|
||||
|
||||
@media(max-width:1440px) {
|
||||
max-width: 314.4px !important;
|
||||
}
|
||||
|
||||
@media (max-width:1024px) {
|
||||
max-width: 291.2px !important;
|
||||
}
|
||||
|
||||
@media (max-width:375px) {
|
||||
width: 124.8px !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// IMAGENS
|
||||
:global(.vtex-product-summary-2-x-containerNormal) {
|
||||
max-width: unset !important;
|
||||
}
|
||||
|
||||
:global(.vtex-product-summary-2-x-imageNormal) {
|
||||
max-height: unset !important;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
:global(.vtex-product-summary-2-x-imageStackContainer) {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
// ARROW
|
||||
.sliderLeftArrow--m3-carousel-products {
|
||||
visibility: hidden;
|
||||
|
||||
&::after {
|
||||
position: relative;
|
||||
visibility: visible;
|
||||
content: url("https://agenciamagma.vtexassets.com/arquivos/emmanuelvitor-arrow-left.svg");
|
||||
width: 12px;
|
||||
left: 16px;
|
||||
|
||||
@media (min-width:2000px) {
|
||||
left: -8px !important;
|
||||
}
|
||||
|
||||
@media (min-width:1025px) {
|
||||
left: 0 !important;
|
||||
}
|
||||
|
||||
@media (max-width:1024px) {
|
||||
left: -8px;
|
||||
bottom: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sliderRightArrow--m3-carousel-products {
|
||||
visibility: hidden;
|
||||
|
||||
&::before {
|
||||
position: relative !important;
|
||||
visibility: visible;
|
||||
content: url("https://agenciamagma.vtexassets.com/arquivos/emmanuelvitor-arrow-right.svg");
|
||||
width: 12px;
|
||||
right: 16px !important;
|
||||
|
||||
@media (min-width:2000px) {
|
||||
left: 8px !important;
|
||||
}
|
||||
|
||||
@media (min-width:1025px) {
|
||||
left: 0 !important;
|
||||
}
|
||||
|
||||
@media (max-width:1024px) {
|
||||
left: 8px !important;
|
||||
bottom: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// DOTS
|
||||
.paginationDotsContainer--m3-carousel-products {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
column-gap: 12px;
|
||||
bottom: -16px;
|
||||
|
||||
@media (max-width:1024px) {
|
||||
bottom: -24px;
|
||||
}
|
||||
|
||||
@media (max-width:768px) {
|
||||
bottom: -40px;
|
||||
}
|
||||
|
||||
.paginationDot--m3-carousel-products {
|
||||
background-color: $color-black;
|
||||
}
|
||||
|
||||
.paginationDot--isActive {
|
||||
height: 1.063rem !important;
|
||||
width: 1.0635rem !important;
|
||||
background: transparent;
|
||||
border: 1px solid;
|
||||
}
|
||||
}
|
@ -1,3 +1,867 @@
|
||||
.newsletter {
|
||||
background: red;
|
||||
background: $color-black;
|
||||
color: $color-white;
|
||||
|
||||
margin-top: 64px;
|
||||
|
||||
|
||||
:global(.vtex-store-components-3-x-container) {
|
||||
padding: 0;
|
||||
|
||||
:global(.vtex-store-components-3-x-form) {
|
||||
padding: 32px 0 13px;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
max-width: 775px;
|
||||
|
||||
@media (max-width:1024px) {
|
||||
max-width: 100%;
|
||||
padding: 64px 0 32px;
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
}
|
||||
|
||||
.label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-size: 0;
|
||||
|
||||
&::before {
|
||||
font-family: $font-family;
|
||||
content: "Assine nossa newsletter";
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 38px;
|
||||
text-align: center;
|
||||
color: $color-white;
|
||||
padding-bottom: 4px;
|
||||
|
||||
@media (max-width:1920px) {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: "Receba ofertas e novidades por e-mail";
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
text-align: center;
|
||||
color: $color-gray6;
|
||||
|
||||
@media (max-width:1024px) {
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-store-components-3-x-inputGroup) {
|
||||
border-bottom: 1px solid $color-gray6;
|
||||
|
||||
@media (max-width:1024px) {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
:global(.vtex-input) {
|
||||
|
||||
// tanto faz essa linha de cima
|
||||
:global(.vtex-input-prefix__group) {
|
||||
border: none;
|
||||
|
||||
:global(.vtex-styleguide-9-x-input) {
|
||||
background: transparent;
|
||||
color: $color-gray6;
|
||||
|
||||
&::placeholder {
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
|
||||
color: $color-gray6;
|
||||
|
||||
@media (max-width:1024px) {
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.buttonContainer {
|
||||
@media (max-width:1024px) {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
:global(.vtex-button) {
|
||||
background: none;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
width: 100%;
|
||||
max-width: 84px;
|
||||
height: 32px;
|
||||
border-bottom: 3px solid $color-gray8;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// FIM NEWSLETTER
|
||||
|
||||
// INICIO MAIN
|
||||
:global(.vtex-store-components-3-x-container) {
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
|
||||
.productNameContainer--quickview {
|
||||
text-align: end;
|
||||
padding-bottom: 8px;
|
||||
|
||||
@media (max-width:1024px) {
|
||||
text-align: initial;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Area de formulario do cep
|
||||
.shippingContainer {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
|
||||
:global(.vtex-address-form__postalCode) {
|
||||
display: flex;
|
||||
|
||||
@media (max-width:768px) {
|
||||
width: 100%;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
:global(.vtex-address-form__postalCode-forgottenURL) {
|
||||
position: absolute;
|
||||
left: 312px;
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-decoration-line: underline;
|
||||
|
||||
:last-child {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
@media (max-width:1024px) {
|
||||
position: initial;
|
||||
}
|
||||
|
||||
@media (max-width:768px) {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
:global(.vtex__icon-external-link) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-input__label) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:global(.vtex-input-prefix__group) {
|
||||
border: 1px solid #cccccc;
|
||||
border-radius: 0;
|
||||
max-width: 231px;
|
||||
height: 49px;
|
||||
|
||||
@media (max-width:768px) {
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
|
||||
:global(.vtex-address-form-4-x-input),
|
||||
:global(.vtex-address-form-4-x-input)::placeholder {
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
color: #afafaf;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
:global(.vtex-button) {
|
||||
background: none;
|
||||
border: none;
|
||||
width: 49px;
|
||||
height: 49px;
|
||||
border-radius: 0;
|
||||
background-color: #000;
|
||||
|
||||
:global(.vtex-button__label) {
|
||||
font-size: 0;
|
||||
|
||||
&::after {
|
||||
content: "OK";
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
/* identical to box height */
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Area de opcoes de entrega
|
||||
.shippingTable {
|
||||
width: 100%;
|
||||
max-width: 326px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
|
||||
.shippingTableHead {
|
||||
display: table-header-group;
|
||||
|
||||
.shippingTableRow {
|
||||
display: flex;
|
||||
column-gap: 32px;
|
||||
padding-bottom: 15px;
|
||||
|
||||
.shippingTableHeadDeliveryName,
|
||||
.shippingTableHeadDeliveryEstimate {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-transform: uppercase;
|
||||
/* identical to box height */
|
||||
color: #202020;
|
||||
}
|
||||
|
||||
.shippingTableHeadDeliveryName {
|
||||
width: 100%;
|
||||
max-width: 78px;
|
||||
}
|
||||
|
||||
.shippingTableHeadDeliveryEstimate {
|
||||
order: 3;
|
||||
width: 100%;
|
||||
max-width: 136px;
|
||||
}
|
||||
|
||||
.shippingTableHeadDeliveryPrice {
|
||||
width: 100%;
|
||||
max-width: 48px;
|
||||
display: flex;
|
||||
order: 2;
|
||||
width: 100%;
|
||||
font-size: 0;
|
||||
|
||||
&::after {
|
||||
content: "Frete";
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-transform: uppercase;
|
||||
/* identical to box height */
|
||||
|
||||
color: #202020;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.shippingTableBody {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
row-gap: 15px;
|
||||
|
||||
.shippingTableRow {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
|
||||
.shippingTableCellDeliveryName,
|
||||
.shippingTableCellDeliveryPrice,
|
||||
.shippingTableCellDeliveryEstimate {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
color: #afafaf;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.shippingTableCellDeliveryName {
|
||||
.shippingTableLabel {
|
||||
.shippingTableRadioBtn {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.shippingTableCellDeliveryName {
|
||||
width: 100%;
|
||||
max-width: 78px;
|
||||
}
|
||||
|
||||
.shippingTableCellDeliveryEstimate {
|
||||
order: 3;
|
||||
width: 100%;
|
||||
max-width: 136px;
|
||||
}
|
||||
|
||||
.shippingTableCellDeliveryPrice {
|
||||
order: 2;
|
||||
width: 100%;
|
||||
max-width: 48px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// FIM MAIN
|
||||
|
||||
// INICIO INDISPONIVEL
|
||||
.subscriberContainer {
|
||||
// max-width: 399px;
|
||||
|
||||
@media (max-width:1024px) {
|
||||
max-width: 765px;
|
||||
margin-top: 24px;
|
||||
|
||||
}
|
||||
|
||||
:global(.vtex-store-components-3-x-title) {
|
||||
font-size: 0;
|
||||
margin: 0;
|
||||
|
||||
&::after {
|
||||
content: "Produto indisponível";
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
color: #868686;
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-store-components-3-x-subscribeLabel) {
|
||||
font-size: 0;
|
||||
|
||||
&::after {
|
||||
content: "Deseja saber quando estiver disponível?";
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
/* or 136% */
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
color: #868686;
|
||||
}
|
||||
}
|
||||
|
||||
.form {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
max-width: 399px;
|
||||
|
||||
@media (max-width:1024px) {
|
||||
max-width: 775px;
|
||||
}
|
||||
|
||||
.content {
|
||||
display: grid;
|
||||
grid-template-areas:
|
||||
"nome email"
|
||||
"submit submit";
|
||||
justify-content: inherit;
|
||||
gap: 16px 8px;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
|
||||
|
||||
.inputName {
|
||||
grid-area: nome;
|
||||
|
||||
}
|
||||
|
||||
.inputName,
|
||||
.inputEmail {
|
||||
margin: 0;
|
||||
max-width: 195.5px;
|
||||
|
||||
@media (max-width:1024px) {
|
||||
max-width: 378.5px;
|
||||
}
|
||||
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
height: 40px;
|
||||
margin: 0;
|
||||
|
||||
:global(.vtex-input-prefix__group) {
|
||||
height: 40px;
|
||||
|
||||
border: 1px solid $color-gray10;
|
||||
border-radius: 0;
|
||||
|
||||
:global(.vtex-styleguide-9-x-input) {
|
||||
// padding: 12px 14px;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
color: $color-gray10;
|
||||
border-radius: 0;
|
||||
|
||||
&::placeholder {
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
color: $color-gray10;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.submit {
|
||||
width: 100%;
|
||||
grid-area: submit;
|
||||
margin: 0;
|
||||
|
||||
:global(.vtex-button) {
|
||||
width: 100%;
|
||||
height: 49px;
|
||||
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
background: #000;
|
||||
|
||||
:global(.vtex-button__label) {
|
||||
font-size: 0;
|
||||
|
||||
&::after {
|
||||
content: "avise-me";
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-transform: uppercase;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
color: #ffffff;
|
||||
|
||||
@media (min-width:1920px) {
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// imagens abaixo da imagem principal
|
||||
.carouselGaleryThumbs {
|
||||
|
||||
margin: 16px 0 32px;
|
||||
max-height: 90px;
|
||||
|
||||
@media (max-width:1024px) {
|
||||
display: block;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.carouselThumbBorder,
|
||||
.thumbImg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-width: 90px;
|
||||
height: 90px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.productImagesThumb {
|
||||
margin-right: 16px !important;
|
||||
max-height: 90px !important;
|
||||
width: 90px !important;
|
||||
}
|
||||
|
||||
.figure,
|
||||
.productImagesThumb {
|
||||
width: 90px !important;
|
||||
}
|
||||
|
||||
|
||||
// FIM INDISPONIVEL
|
||||
|
||||
// INICIO DESCRIÇÃO
|
||||
.flexRow--description {}
|
||||
|
||||
.productDescriptionContainer {
|
||||
.productDescriptionTitle {
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 32px;
|
||||
color: $color-black3;
|
||||
}
|
||||
|
||||
.content {
|
||||
text-align: justify;
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: $color-gray6;
|
||||
max-width: 632px;
|
||||
|
||||
@media (min-width:1920px) {
|
||||
|
||||
max-width: 872px !important;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
|
||||
}
|
||||
|
||||
@media (max-width:1024px) {
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
max-width: none;
|
||||
// max-width: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// SKU E TAMANHOS
|
||||
// .skuSelectorContainer {
|
||||
// display: flex;
|
||||
// flex-direction: column-reverse;
|
||||
|
||||
// .skuSelectorSubcontainer--cor {
|
||||
// .skuSelectorName {
|
||||
// font-size: 0;
|
||||
|
||||
// margin-left: 16px;
|
||||
|
||||
// &::after {
|
||||
// visibility: visible;
|
||||
// display: block;
|
||||
// content: "OUTRAS CORES:";
|
||||
// font-size: 14px;
|
||||
// }
|
||||
// }
|
||||
|
||||
// .skuSelectorSelectorImageValue,
|
||||
// .skuSelectorNameSeparator {
|
||||
// display: none;
|
||||
// }
|
||||
|
||||
// .frameAround {
|
||||
// border-radius: 30px;
|
||||
// }
|
||||
|
||||
// .skuSelectorItemImageValue,
|
||||
// .skuSelectorInternalBox {
|
||||
// border-radius: 21px;
|
||||
// color: $color-black;
|
||||
// }
|
||||
// }
|
||||
|
||||
// .diagonalCross {
|
||||
// top: 0px;
|
||||
// right: 10px;
|
||||
// bottom: 0px;
|
||||
// left: 10px;
|
||||
// transform: rotateY(180deg);
|
||||
// color: black;
|
||||
// }
|
||||
|
||||
// .skuSelectorSubcontainer--tamanho {
|
||||
|
||||
// .skuSelectorName {
|
||||
// font-size: 0;
|
||||
|
||||
// margin-left: 16px;
|
||||
|
||||
// &::after {
|
||||
// visibility: visible;
|
||||
// display: block;
|
||||
// content: "OUTROS TAMANHOS:";
|
||||
// font-size: 14px;
|
||||
// }
|
||||
// }
|
||||
|
||||
// .frameAround {
|
||||
// // border: 1px solid #989898;
|
||||
// width: 40px;
|
||||
// height: 40px;
|
||||
// border-radius: 30px;
|
||||
// top: 0;
|
||||
// left: 0;
|
||||
// right: 0;
|
||||
// }
|
||||
|
||||
// .skuSelectorInternalBox {
|
||||
// margin: auto;
|
||||
// padding: 0;
|
||||
// width: 40px;
|
||||
// height: 40px;
|
||||
// border-radius: 30px;
|
||||
// color: $color-black;
|
||||
// border: 1px solid #989898;
|
||||
// }
|
||||
|
||||
// .skuSelectorItemTextValue {
|
||||
// padding: 0;
|
||||
// margin: auto;
|
||||
// font-family: $font-family;
|
||||
// font-style: normal;
|
||||
// font-weight: 400;
|
||||
// font-size: 14px;
|
||||
// line-height: 19px;
|
||||
|
||||
|
||||
// color: rgba(185, 185, 185, 0.6);
|
||||
// }
|
||||
// }
|
||||
|
||||
// .valueWrapper .skuSelectorItemTextValue {
|
||||
// margin-right: 5px;
|
||||
// }
|
||||
|
||||
// .frameAround {
|
||||
// border-color: #000;
|
||||
// z-index: 9;
|
||||
// }
|
||||
// }
|
||||
|
||||
// .skuSelectorOptionsList {
|
||||
// margin: 0;
|
||||
// }
|
||||
.skuSelectorContainer {
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
margin: 16px 0;
|
||||
|
||||
.frameAround {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 30px;
|
||||
z-index: 3;
|
||||
padding: 0;
|
||||
border-color: #000;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.skuSelectorInternalBox {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.skuSelectorSubcontainer--cor {
|
||||
margin: 0;
|
||||
|
||||
.skuSelectorNameContainer {
|
||||
margin: 0;
|
||||
|
||||
.skuSelectorOptionsList {
|
||||
margin-left: 0 !important;
|
||||
|
||||
.skuSelectorItem {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.skuSelectorTextrName,
|
||||
.skuSelectoContainer {
|
||||
.skuSelectorSelectorImageValue {
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.skuSelectorName::before {
|
||||
content: 'OUTRAS CORES';
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.skuSelectorSubcontainer--tamanho {
|
||||
margin-bottom: 10px;
|
||||
|
||||
.skuSelectorNameContainer {
|
||||
margin: 0;
|
||||
|
||||
.skuSelectorTextContainer {
|
||||
.skuSelectorName {
|
||||
font-size: 0;
|
||||
|
||||
&::after {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
content: 'OUTROS TAMANHOS: ';
|
||||
color: #929292;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.skuSelectorOptionsList {
|
||||
margin: 0;
|
||||
margin-left: 0;
|
||||
gap: 16px;
|
||||
|
||||
.skuSelectorItem {
|
||||
border-radius: 100%;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
margin: 0;
|
||||
|
||||
.frameAround--sku-selector {
|
||||
border-color: #000000;
|
||||
border-width: 2px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 24px;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
z-index: 5;
|
||||
margin: 0 auto;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
}
|
||||
|
||||
.skuSelectorInternalBox {
|
||||
border-radius: 100%;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 1px solid #989898;
|
||||
|
||||
.diagonalCross {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
transform: rotate(274deg);
|
||||
left: 4px;
|
||||
top: 5px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.skuSelectorItemTextValue {
|
||||
padding: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 0 auto;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: rgba(185, 185, 185, 0.6);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.skuSelectorItem--selected {
|
||||
.skuSelectorInternalBox {
|
||||
.skuSelectorItemTextValue {
|
||||
color: #000000;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.productImageTag--imageDescription--main {
|
||||
max-height: 632px !important;
|
||||
|
||||
@media (min-width:1920px) {
|
||||
max-height: 872px !important;
|
||||
}
|
||||
|
||||
@media (max-width:1024px) {
|
||||
max-height: unset !important;
|
||||
}
|
||||
}
|
||||
|
||||
// FIM DESCRIÇÃO
|
109
styles/sass/pages/product/vtex.tab-layout.scss
Normal file
109
styles/sass/pages/product/vtex.tab-layout.scss
Normal file
@ -0,0 +1,109 @@
|
||||
.container--tab-product {
|
||||
|
||||
width: 100%;
|
||||
// max-width: 94.44%;
|
||||
// margin: 0 auto;
|
||||
padding: 0 40px;
|
||||
|
||||
@media (min-width:1920px) {
|
||||
max-width: 1840px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
.listContainer--m3-tab-list-product {
|
||||
justify-content: space-around;
|
||||
border-bottom: 1px solid #B9B9B9;
|
||||
margin-bottom: 32px;
|
||||
|
||||
@media (max-width:1024px) {
|
||||
margin-top: 16px;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.listItem {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
:global(.vtex-button) {
|
||||
|
||||
:global(.vtex-button__label) {
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 38px;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
|
||||
color: $color-gray8;
|
||||
text-transform: capitalize;
|
||||
|
||||
@media (max-width:1024px) {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.listItem--m3-tab-list-item-product {
|
||||
background: $color-white;
|
||||
border: none !important;
|
||||
width: 114px;
|
||||
|
||||
}
|
||||
|
||||
.listItemActive--m3-tab-list-item-product,
|
||||
.listItemActive {
|
||||
background: $color-white;
|
||||
border: none !important;
|
||||
|
||||
|
||||
:global(.vtex-button) {
|
||||
background-color: $color-white;
|
||||
border: none;
|
||||
border-bottom: 2px solid #000000;
|
||||
border-radius: 0;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
|
||||
|
||||
|
||||
@media (max-width:1024px) {
|
||||
border-bottom: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
:global(.vtex-button__label) {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 38px;
|
||||
|
||||
color: #000000;
|
||||
|
||||
@media (max-width:1024px) {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.contentContainer {
|
||||
padding: 0 32px;
|
||||
|
||||
@media (max-width:1024px) {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
@ -1,12 +1,20 @@
|
||||
$color-black: #292929;
|
||||
$font-family :'Open Sans';
|
||||
$color-black: #000000;
|
||||
$color-black2: #292929;
|
||||
$color-black3: #575757;
|
||||
|
||||
$color-white: #fff;
|
||||
$color-white: #ffffff;
|
||||
|
||||
$color-gray: #6c6c6c;
|
||||
$color-gray2: #7d7d7d;
|
||||
$color-gray3: #f0f0f0;
|
||||
$color-gray4: #c4c4c4;
|
||||
$color-gray5: #e5e5e5;
|
||||
$color-gray6: #929292;
|
||||
$color-gray7: #AFAFAF;
|
||||
$color-gray8: #BFBFBF;
|
||||
$color-gray9: #BABABA;
|
||||
$color-gray10: #989898;
|
||||
|
||||
$color-blue: #4267b2;
|
||||
|
||||
@ -19,13 +27,11 @@ $grid-breakpoints: (
|
||||
sm: 576px,
|
||||
md: 768px,
|
||||
lg: 992px,
|
||||
xl: 1200px
|
||||
) !default;
|
||||
xl: 1200px) !default;
|
||||
|
||||
$z-index: (
|
||||
level1: 5,
|
||||
level2: 10,
|
||||
level3: 15,
|
||||
level4: 20,
|
||||
level5: 25
|
||||
) !default;
|
||||
level5: 25) !default;
|
Loading…
Reference in New Issue
Block a user