feature/product-page #1
@ -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,40 +1,53 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import { useCssHandles } from "vtex.css-handles";
|
||||
|
||||
import "./styles.css";
|
||||
|
||||
const CSS_HANDLES = ["html"] as const;
|
||||
|
||||
type HtmlProps = {
|
||||
children?: ReactNode,
|
||||
children?: ReactNode;
|
||||
/**
|
||||
* Qual tag Html que deseja que seja usar
|
||||
*
|
||||
* @default div
|
||||
*/
|
||||
tag?: keyof React.ReactHTML
|
||||
tag?: keyof React.ReactHTML;
|
||||
/**
|
||||
* Classes CSS extras que deseja adicionar.
|
||||
* Feito para uso de [classes do tachyons](https://tachyons.io/)
|
||||
*/
|
||||
tachyonsClasses?: string
|
||||
tachyonsClasses?: string;
|
||||
/**
|
||||
* Se caso quiser usar esse componente
|
||||
* para adicinar um texto simples
|
||||
*/
|
||||
text?: string
|
||||
text?: string;
|
||||
/**
|
||||
* Tag ID para
|
||||
*/
|
||||
testId?: string
|
||||
}
|
||||
testId?: string;
|
||||
};
|
||||
|
||||
export const Html = ({ children = null, tag = "div", text = "", tachyonsClasses: classes = "", testId }: HtmlProps) => {
|
||||
export const Html = ({
|
||||
children = null,
|
||||
tag = "div",
|
||||
text = "",
|
||||
tachyonsClasses: classes = "",
|
||||
testId,
|
||||
}: HtmlProps) => {
|
||||
const { handles } = useCssHandles(CSS_HANDLES);
|
||||
|
||||
const props = {
|
||||
className: `${handles.html} ${classes}`,
|
||||
"data-testid": testId
|
||||
"data-testid": testId,
|
||||
};
|
||||
const Children = <>{children}{text}</>;
|
||||
const Children = (
|
||||
<>
|
||||
{children}
|
||||
{text}
|
||||
</>
|
||||
);
|
||||
const Element = React.createElement(tag, props, Children);
|
||||
|
||||
return <>{Element}</>;
|
||||
|
68
react/components/Html/styles.css
Normal file
68
react/components/Html/styles.css
Normal file
@ -0,0 +1,68 @@
|
||||
[class*="html--codigo"] {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-align: end;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
[class*="html--codigo"] {
|
||||
text-align: left;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
[class*="html--description-container"] {
|
||||
display: flex;
|
||||
margin-left: 32px;
|
||||
margin-right: 32px;
|
||||
gap: 32px;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
[class*="html--description-container"] {
|
||||
flex-direction: column;
|
||||
margin: 0;
|
||||
gap: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
[class*="html--image-container"] {
|
||||
width: 49.82%;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
[class*="html--image-container"] {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
[class*="html--qtd-btn"] {
|
||||
display: flex;
|
||||
height: 49px;
|
||||
gap: 10px;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
[class*="html--qtd-btn"] {
|
||||
flex-direction: column;
|
||||
height: unset;
|
||||
}
|
||||
}
|
||||
|
||||
[class*="html--qtd-btn"] :global(.vtex-button) {
|
||||
background-color: #000000;
|
||||
border: none;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: #ffffff;
|
||||
border-radius: 0%;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
[class*="html--qtd-btn"] :global(.vtex-button) {
|
||||
height: 74px;
|
||||
padding: 0 64px;
|
||||
}
|
||||
}
|
||||
|
||||
[class*="html--containerbotao"] {
|
||||
display: contents;
|
||||
}
|
27
react/components/Pix/Pix.module.css
Normal file
27
react/components/Pix/Pix.module.css
Normal file
@ -0,0 +1,27 @@
|
||||
.containerPix {
|
||||
display: flex;
|
||||
gap: 26px;
|
||||
align-items: center;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.image {
|
||||
width: 66px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.price {
|
||||
margin: 0 0 -5px 0;
|
||||
font-weight: 700;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: rgba(0, 0, 0, 0.58);
|
||||
}
|
||||
|
||||
.discount {
|
||||
margin: 0;
|
||||
font-weight: 300;
|
||||
font-size: 13px;
|
||||
line-height: 18px;
|
||||
color: #929292;
|
||||
}
|
31
react/components/Pix/Pix.tsx
Normal file
31
react/components/Pix/Pix.tsx
Normal file
@ -0,0 +1,31 @@
|
||||
import React from "react";
|
||||
import { useProduct } from "vtex.product-context";
|
||||
import styles from "./Pix.module.css";
|
||||
|
||||
const Pix = () => {
|
||||
if (typeof document !== "undefined") {
|
||||
const input = document.querySelector(".vtex-address-form-4-x-input");
|
||||
input?.setAttribute("placeholder", "Digite seu CEP");
|
||||
}
|
||||
|
||||
const price = useProduct()?.product?.priceRange?.sellingPrice?.highPrice;
|
||||
const discount = (Number(price) * 10) / 100;
|
||||
const priceWithDiscount = Number(price) - Number(discount);
|
||||
return (
|
||||
<div className={styles.containerPix}>
|
||||
<img
|
||||
className={styles.image}
|
||||
src="https://agenciamagma.vtexassets.com/arquivos/pix-cainamilech.png"
|
||||
alt="Imagem do pix"
|
||||
/>
|
||||
<div className={styles.texts}>
|
||||
<p className={styles.price}>
|
||||
R$ {priceWithDiscount.toFixed(2).replace(".", ",")}
|
||||
</p>
|
||||
<p className={styles.discount}>10 % de desconto</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Pix;
|
1
react/index.d.ts
vendored
Normal file
1
react/index.d.ts
vendored
Normal file
@ -0,0 +1 @@
|
||||
declare module "*.css";
|
@ -2,9 +2,9 @@
|
||||
"store.home": {
|
||||
"blocks": [
|
||||
"list-context.image-list#demo",
|
||||
"example-component", /* You can make references to blocks defined in other files.
|
||||
* For example, `flex-layout.row#deals` is defined in the `deals.json` file. */
|
||||
"flex-layout.row#deals",
|
||||
"example-component",
|
||||
/* You can make references to blocks defined in other files.
|
||||
* For example, `flex-layout.row#deals` is defined in the `deals.json` file. */ "flex-layout.row#deals",
|
||||
"__fold__",
|
||||
"rich-text#shelf-title",
|
||||
"flex-layout.row#shelf",
|
||||
|
@ -2,7 +2,9 @@
|
||||
"add-to-cart-button": {
|
||||
"props": {
|
||||
"addToCartFeedback": "customEvent",
|
||||
"customPixelEventId": "add-to-cart-button"
|
||||
"customPixelEventId": "add-to-cart-button",
|
||||
"blockClass": "botao",
|
||||
"text": "ADICIONAR À SACOLA"
|
||||
}
|
||||
},
|
||||
|
||||
|
109
store/blocks/pdp/product-tablayout.jsonc
Normal file
109
store/blocks/pdp/product-tablayout.jsonc
Normal file
@ -0,0 +1,109 @@
|
||||
{
|
||||
"tab-layout#details": {
|
||||
"children": ["tab-list#details", "tab-content#details"],
|
||||
"props": {
|
||||
"blockClass": "details",
|
||||
"defaultActiveTabId": "details1"
|
||||
}
|
||||
},
|
||||
"tab-list#details": {
|
||||
"children": [
|
||||
"tab-list.item#details1",
|
||||
"tab-list.item#details2",
|
||||
"tab-list.item#details3",
|
||||
"tab-list.item#details4",
|
||||
"tab-list.item#details5"
|
||||
]
|
||||
},
|
||||
"tab-list.item#details1": {
|
||||
"props": {
|
||||
"tabId": "details1",
|
||||
"label": "Descrição",
|
||||
"blockClass": "descricao",
|
||||
"defaultActiveTab": true
|
||||
}
|
||||
},
|
||||
"tab-list.item#details2": {
|
||||
"props": {
|
||||
"tabId": "details2",
|
||||
"label": "Descrição"
|
||||
}
|
||||
},
|
||||
"tab-list.item#details3": {
|
||||
"props": {
|
||||
"tabId": "details3",
|
||||
"label": "Descrição"
|
||||
}
|
||||
},
|
||||
"tab-list.item#details4": {
|
||||
"props": {
|
||||
"tabId": "details4",
|
||||
"label": "Descrição"
|
||||
}
|
||||
},
|
||||
"tab-list.item#details5": {
|
||||
"props": {
|
||||
"tabId": "details5",
|
||||
"label": "Descrição"
|
||||
}
|
||||
},
|
||||
"tab-content#details": {
|
||||
"children": [
|
||||
"tab-content.item#details1",
|
||||
"tab-content.item#details2",
|
||||
"tab-content.item#details3",
|
||||
"tab-content.item#details4",
|
||||
"tab-content.item#details5"
|
||||
]
|
||||
},
|
||||
"tab-content.item#details1": {
|
||||
"children": ["html#description"],
|
||||
"props": {
|
||||
"tabId": "details1"
|
||||
}
|
||||
},
|
||||
"tab-content.item#details2": {
|
||||
"children": ["html#description"],
|
||||
"props": {
|
||||
"tabId": "details2"
|
||||
}
|
||||
},
|
||||
"tab-content.item#details3": {
|
||||
"children": ["html#description"],
|
||||
"props": {
|
||||
"tabId": "details3"
|
||||
}
|
||||
},
|
||||
"tab-content.item#details4": {
|
||||
"children": ["html#description"],
|
||||
"props": {
|
||||
"tabId": "details4"
|
||||
}
|
||||
},
|
||||
"tab-content.item#details5": {
|
||||
"children": ["html#description"],
|
||||
"props": {
|
||||
"tabId": "details5"
|
||||
}
|
||||
},
|
||||
|
||||
"html#description": {
|
||||
"props": {
|
||||
"tag": "section",
|
||||
"testId": "description",
|
||||
"blockClass": "description-container"
|
||||
},
|
||||
"children": ["html#description-image", "product-description"]
|
||||
},
|
||||
"html#description-image": {
|
||||
"props": { "blockClass": "image-container" },
|
||||
"children": ["product-images#description"]
|
||||
},
|
||||
"product-images#description": {
|
||||
"props": {
|
||||
"displayMode": "first-image",
|
||||
"zoomMode": "disabled",
|
||||
"blockClass": "description-imagem"
|
||||
}
|
||||
}
|
||||
}
|
@ -1,22 +1,64 @@
|
||||
{
|
||||
"store.product": {
|
||||
"children": [
|
||||
"html#breadcrumb",
|
||||
"html#breadcontainer",
|
||||
"condition-layout.product#availability",
|
||||
"flex-layout.row#description",
|
||||
"flex-layout.row#specifications-title",
|
||||
"product-specification-group#table",
|
||||
"shelf.relatedProducts",
|
||||
"product-questions-and-answers"
|
||||
"tab-layout#details",
|
||||
"list-context.product-list#prateleira",
|
||||
"newsletter"
|
||||
]
|
||||
},
|
||||
"html#breadcrumb": {
|
||||
|
||||
"newsletter": {
|
||||
"props": {
|
||||
"tag": "section",
|
||||
"testId": "breadcrumbs",
|
||||
"blockClass": "pdp-breadcrumb"
|
||||
"label": "Assine nossa newsletter",
|
||||
"placeholder": "Digite seu e-mail",
|
||||
"blockClass": "newsletter"
|
||||
}
|
||||
},
|
||||
"children": ["breadcrumb"]
|
||||
|
||||
"list-context.product-list#prateleira": {
|
||||
"blocks": ["product-summary.shelf"],
|
||||
"children": ["rich-text#prateleira", "html#slidercontainer"]
|
||||
},
|
||||
"rich-text#prateleira": {
|
||||
"props": {
|
||||
"textAlignment": "CENTER",
|
||||
"textPosition": "CENTER",
|
||||
"text": "Você também pode gostar:",
|
||||
"blockClass": "title-prateleira"
|
||||
}
|
||||
},
|
||||
"slider-layout#prateleira": {
|
||||
"props": {
|
||||
"itemsPerPage": {
|
||||
"desktop": 4,
|
||||
"tablet": 3,
|
||||
"phone": 2
|
||||
},
|
||||
"infinite": true,
|
||||
"blockClass": "prateleira"
|
||||
}
|
||||
},
|
||||
"html#slidercontainer": {
|
||||
"props": {
|
||||
"testId": "product-summary-list",
|
||||
"tag": "div"
|
||||
},
|
||||
"children": ["slider-layout#prateleira"]
|
||||
},
|
||||
|
||||
"breadcrumb#pdp": {
|
||||
"props": {
|
||||
"blockClass": "breadcrumb",
|
||||
"showOnMobile": true
|
||||
}
|
||||
},
|
||||
"html#breadcontainer": {
|
||||
"props": {
|
||||
"testId": "breadcrumbs"
|
||||
},
|
||||
"children": ["breadcrumb#pdp"]
|
||||
},
|
||||
"flex-layout.row#specifications-title": {
|
||||
"children": ["rich-text#specifications"]
|
||||
@ -26,11 +68,12 @@
|
||||
"text": "##### Product Specifications"
|
||||
}
|
||||
},
|
||||
"flex-layout.row#description": {
|
||||
"product-description": {
|
||||
"props": {
|
||||
"marginBottom": 7
|
||||
},
|
||||
"children": ["product-description"]
|
||||
"marginBottom": 7,
|
||||
"blockClass": "descricao",
|
||||
"collapseContent": false
|
||||
}
|
||||
},
|
||||
"condition-layout.product#availability": {
|
||||
"props": {
|
||||
@ -43,14 +86,10 @@
|
||||
"Else": "flex-layout.row#product-availability"
|
||||
}
|
||||
},
|
||||
|
||||
"flex-layout.row#product-main": {
|
||||
"props": {
|
||||
"colGap": 7,
|
||||
"rowGap": 7,
|
||||
"marginTop": 4,
|
||||
"marginBottom": 7,
|
||||
"paddingTop": 7,
|
||||
"paddingBottom": 7
|
||||
"blockClass": "container-produto"
|
||||
},
|
||||
"children": ["flex-layout.col#stack", "flex-layout.col#right-col"]
|
||||
},
|
||||
@ -78,22 +117,34 @@
|
||||
"flex-layout.col#stack": {
|
||||
"children": ["stack-layout"],
|
||||
"props": {
|
||||
"width": "60%",
|
||||
"rowGap": 0
|
||||
"width": "50%",
|
||||
"rowGap": 0,
|
||||
"blockClass": "stack-container"
|
||||
}
|
||||
},
|
||||
"flex-layout.row#product-image": {
|
||||
"children": ["product-images"]
|
||||
"children": ["html#imagens"]
|
||||
},
|
||||
|
||||
"product-images": {
|
||||
"props": {
|
||||
"showNavigationArrows": false,
|
||||
"showPaginationDots": false,
|
||||
"thumbnailAspectRatio": "1:1",
|
||||
"thumbnailMaxHeight": 90,
|
||||
"thumbnailsOrientation": "horizontal",
|
||||
"displayThumbnailsArrows": false,
|
||||
"aspectRatio": {
|
||||
"desktop": "auto",
|
||||
"phone": "16:9"
|
||||
"desktop": "auto"
|
||||
},
|
||||
"displayThumbnailsArrows": true
|
||||
"blockClass": "images-container"
|
||||
}
|
||||
},
|
||||
"html#imagens": {
|
||||
"props": { "testId": "product-images" },
|
||||
"children": ["product-images"]
|
||||
},
|
||||
|
||||
"flex-layout.col#right-col": {
|
||||
"props": {
|
||||
"preventVerticalStretch": true,
|
||||
@ -101,51 +152,104 @@
|
||||
},
|
||||
"children": [
|
||||
"flex-layout.row#product-name",
|
||||
"html#codigo",
|
||||
"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",
|
||||
"product-gifts",
|
||||
"flex-layout.row#buy-button",
|
||||
"html#pix",
|
||||
"html#skus",
|
||||
"html#qtd-btn",
|
||||
"availability-subscriber",
|
||||
"shipping-simulator",
|
||||
"share#default"
|
||||
"shipping-simulator"
|
||||
]
|
||||
},
|
||||
|
||||
"product-installments": {
|
||||
"props": {
|
||||
"installmentsCriteria": "max-quantity-without-interest",
|
||||
"blockClass": "parcelamentos",
|
||||
"message": "{installmentsNumber} de {installmentValue} sem juros"
|
||||
}
|
||||
},
|
||||
|
||||
"flex-layout.row#product-name": {
|
||||
"props": {
|
||||
"marginBottom": 3
|
||||
"marginBottom": 3,
|
||||
"blockClass": "name"
|
||||
},
|
||||
"children": ["vtex.store-components:product-name"]
|
||||
},
|
||||
|
||||
"html#codigo": {
|
||||
"props": {
|
||||
"blockClass": "codigo"
|
||||
},
|
||||
"children": ["product-identifier.product"]
|
||||
},
|
||||
|
||||
"html#pix": {
|
||||
"props": {
|
||||
"testId": "pix-price",
|
||||
"blockClass": "pix"
|
||||
},
|
||||
"children": ["Pix"]
|
||||
},
|
||||
|
||||
"sku-selector": {
|
||||
"props": {
|
||||
"variationsSpacing": 3,
|
||||
"showValueNameForImageVariation": true
|
||||
"showValueNameForImageVariation": true,
|
||||
"blockClass": "skus"
|
||||
}
|
||||
},
|
||||
"html#skus": {
|
||||
"props": { "testId": "sku-selector" },
|
||||
"children": ["sku-selector"]
|
||||
},
|
||||
|
||||
"flex-layout.row#buy-button": {
|
||||
"props": {
|
||||
"marginTop": 4,
|
||||
"marginBottom": 7
|
||||
"marginBottom": 7,
|
||||
"blockClass": "container-btn"
|
||||
},
|
||||
"children": ["add-to-cart-button"]
|
||||
},
|
||||
|
||||
"html#qtd-btn": {
|
||||
"props": {
|
||||
"tag": "div",
|
||||
"testId": "qtd-btn",
|
||||
"blockClass": "qtd-btn"
|
||||
},
|
||||
"children": ["html#quantidade", "html#botao"]
|
||||
},
|
||||
"html#botao": {
|
||||
"props": {
|
||||
"tag": "div",
|
||||
"testId": "add-to-cart-button",
|
||||
"blockClass": "containerbotao"
|
||||
},
|
||||
"children": ["add-to-cart-button"]
|
||||
},
|
||||
|
||||
"product-quantity": {
|
||||
"props": {
|
||||
"blockClass": "quantidade"
|
||||
}
|
||||
},
|
||||
"html#quantidade": {
|
||||
"props": {
|
||||
"tag": "div",
|
||||
"testId": "product-quantity",
|
||||
"blockClass": "containerquantidade"
|
||||
},
|
||||
"children": ["product-quantity"]
|
||||
},
|
||||
|
||||
"flex-layout.row#product-availability": {
|
||||
"props": {
|
||||
"colGap": 7,
|
||||
"marginTop": 4,
|
||||
"marginBottom": 7,
|
||||
"paddingTop": 7
|
||||
"blockClass": "container-produto"
|
||||
},
|
||||
"children": [
|
||||
"flex-layout.col#stack",
|
||||
@ -160,9 +264,9 @@
|
||||
},
|
||||
"children": [
|
||||
"flex-layout.row#product-name",
|
||||
"product-identifier.product",
|
||||
"sku-selector",
|
||||
"flex-layout.row#availability"
|
||||
"html#codigo",
|
||||
"flex-layout.row#availability",
|
||||
"sku-selector"
|
||||
]
|
||||
},
|
||||
"flex-layout.row#availability": {
|
||||
@ -181,5 +285,11 @@
|
||||
"Pinterest": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"shipping-simulator": {
|
||||
"props": {
|
||||
"blockClass": "frete"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4,11 +4,10 @@
|
||||
"colGap": 2,
|
||||
"preserveLayoutOnMobile": true,
|
||||
"preventHorizontalStretch": true,
|
||||
"marginBottom": 4
|
||||
"marginBottom": 4,
|
||||
"blockClass": "preco"
|
||||
},
|
||||
"children": [
|
||||
"product-selling-price"
|
||||
]
|
||||
"children": ["product-selling-price"]
|
||||
},
|
||||
|
||||
"flex-layout.row#list-price-savings": {
|
||||
@ -19,9 +18,6 @@
|
||||
"marginBottom": 2,
|
||||
"marginTop": 5
|
||||
},
|
||||
"children": [
|
||||
"product-list-price",
|
||||
"product-price-savings"
|
||||
]
|
||||
"children": ["product-list-price", "product-price-savings"]
|
||||
}
|
||||
}
|
||||
|
@ -9,14 +9,10 @@
|
||||
]
|
||||
},
|
||||
"responsive-layout.desktop#productSummaryList": {
|
||||
"children": [
|
||||
"flex-layout.row#summaryListDesktop"
|
||||
]
|
||||
"children": ["flex-layout.row#summaryListDesktop"]
|
||||
},
|
||||
"responsive-layout.mobile#productSummaryList": {
|
||||
"children": [
|
||||
"flex-layout.row#summaryListMobile"
|
||||
]
|
||||
"children": ["flex-layout.row#summaryListMobile"]
|
||||
},
|
||||
"product-price-savings#summaryPercentage": {
|
||||
"props": {
|
||||
@ -36,7 +32,7 @@
|
||||
]
|
||||
},
|
||||
"flex-layout.row#summaryListDesktop": {
|
||||
"props":{
|
||||
"props": {
|
||||
"fullWidth": true,
|
||||
"colSizing": "auto",
|
||||
"blockClass": "summaryListDesktop"
|
||||
@ -69,9 +65,7 @@
|
||||
]
|
||||
},
|
||||
"flex-layout.row#productSpecifications": {
|
||||
"children": [
|
||||
"product-specification-group#summary"
|
||||
]
|
||||
"children": ["product-specification-group#summary"]
|
||||
},
|
||||
"product-summary-name#summaryListDesktop": {
|
||||
"props": {
|
||||
@ -100,18 +94,13 @@
|
||||
"colSizing": "auto",
|
||||
"colGap": 5
|
||||
},
|
||||
"children": [
|
||||
"add-to-cart-button",
|
||||
"flex-layout.row#buyNowButton"
|
||||
]
|
||||
"children": ["add-to-cart-button", "flex-layout.row#buyNowButton"]
|
||||
},
|
||||
"flex-layout.row#buyNowButton": {
|
||||
"props": {
|
||||
"blockClass": "buyNowButton"
|
||||
},
|
||||
"children": [
|
||||
"add-to-cart-button#buyNow"
|
||||
]
|
||||
"children": ["add-to-cart-button#buyNow"]
|
||||
},
|
||||
|
||||
"add-to-cart-button#buyNow": {
|
||||
@ -123,10 +112,7 @@
|
||||
}
|
||||
},
|
||||
"flex-layout.col#priceSummaryListDesktop": {
|
||||
"children": [
|
||||
"product-selling-price#summary",
|
||||
"product-list-price#summary"
|
||||
]
|
||||
"children": ["product-selling-price#summary", "product-list-price#summary"]
|
||||
},
|
||||
"stack-layout#summaryListDesktop": {
|
||||
"children": [
|
||||
@ -144,7 +130,7 @@
|
||||
}
|
||||
},
|
||||
"flex-layout.row#summaryListMobile": {
|
||||
"props":{
|
||||
"props": {
|
||||
"preserveLayoutOnMobile": true,
|
||||
"colSizing": "auto",
|
||||
"blockClass": "summaryListMobile",
|
||||
|
@ -1,16 +1,21 @@
|
||||
{
|
||||
"product-summary.shelf": {
|
||||
"html#prateleira": {
|
||||
"props": {
|
||||
"testId": "vtex-product-summary",
|
||||
"blockClass": "item-prateleira"
|
||||
},
|
||||
"children": [
|
||||
"stack-layout#prodsum",
|
||||
"product-summary-name",
|
||||
"flex-layout.col#productRating",
|
||||
"product-summary-space",
|
||||
"product-list-price#summary",
|
||||
"flex-layout.row#selling-price-savings",
|
||||
"product-installments#summary",
|
||||
"add-to-cart-button"
|
||||
"flex-layout.row#selling-price-savings"
|
||||
]
|
||||
},
|
||||
"product-summary.shelf": {
|
||||
"children": ["html#prateleira"]
|
||||
},
|
||||
"flex-layout.col#productRating": {
|
||||
"props": {
|
||||
"blockClass": "productRating"
|
||||
@ -20,9 +25,9 @@
|
||||
|
||||
"stack-layout#prodsum": {
|
||||
"children": [
|
||||
"product-summary-image#shelf",
|
||||
"vtex.product-highlights@2.x:product-highlights#collection",
|
||||
"modal-trigger#quickview" // Check quickview.jsonc
|
||||
"product-summary-image#shelf"
|
||||
/*"vtex.product-highlights@2.x:product-highlights#collection",*/
|
||||
/*"modal-trigger#quickview" // Check quickview.jsonc*/
|
||||
]
|
||||
},
|
||||
|
||||
@ -54,19 +59,21 @@
|
||||
|
||||
"product-list-price#summary": {
|
||||
"props": {
|
||||
"blockClass": "summary"
|
||||
"blockClass": "summary",
|
||||
"labelListPrice": "teste"
|
||||
}
|
||||
},
|
||||
"flex-layout.row#selling-price-savings": {
|
||||
"props": {
|
||||
"colGap": 2,
|
||||
/*"colGap": 2,*/
|
||||
"preserveLayoutOnMobile": true,
|
||||
"preventHorizontalStretch": true,
|
||||
"marginBottom": 4
|
||||
/*"marginBottom": 4,*/
|
||||
"horizontalAlign": "center"
|
||||
},
|
||||
"children": [
|
||||
"product-selling-price#summary",
|
||||
"product-price-savings#summary"
|
||||
"product-selling-price#summary"
|
||||
/*"product-price-savings#summary"*/
|
||||
]
|
||||
},
|
||||
"product-installments#summary": {
|
||||
@ -81,9 +88,7 @@
|
||||
},
|
||||
"product-price-savings#summary": {
|
||||
"props": {
|
||||
"markers": [
|
||||
"discount"
|
||||
],
|
||||
"markers": ["discount"],
|
||||
"blockClass": "summary"
|
||||
}
|
||||
}
|
||||
|
@ -1,9 +1,6 @@
|
||||
{
|
||||
"modal-trigger#quickview": {
|
||||
"children": [
|
||||
"icon-expand",
|
||||
"modal-layout#quickview"
|
||||
],
|
||||
"children": ["icon-expand", "modal-layout#quickview"],
|
||||
"props": {
|
||||
"blockClass": "quickview"
|
||||
}
|
||||
@ -63,9 +60,7 @@
|
||||
},
|
||||
|
||||
"flex-layout.col#quickview-product-quantity": {
|
||||
"children": [
|
||||
"product-summary-quantity#quickview"
|
||||
]
|
||||
"children": ["product-summary-quantity#quickview"]
|
||||
},
|
||||
"product-summary-quantity#quickview": {
|
||||
"props": {
|
||||
@ -74,18 +69,14 @@
|
||||
}
|
||||
},
|
||||
"flex-layout.col#quickview-add-to-card-button": {
|
||||
"children": [
|
||||
"add-to-cart-button"
|
||||
],
|
||||
"children": ["add-to-cart-button"],
|
||||
"props": {
|
||||
"width": "grow"
|
||||
}
|
||||
},
|
||||
|
||||
"flex-layout.row#quickview-actions-2": {
|
||||
"children": [
|
||||
"link.product#button-pdp"
|
||||
]
|
||||
"children": ["link.product#button-pdp"]
|
||||
},
|
||||
"link.product#button-pdp": {
|
||||
"props": {
|
||||
@ -107,15 +98,10 @@
|
||||
}
|
||||
},
|
||||
"flex-layout.col#quickview-images": {
|
||||
"children": [
|
||||
"product-images#quickview"
|
||||
]
|
||||
"children": ["product-images#quickview"]
|
||||
},
|
||||
"flex-layout.col#quickview-product-details": {
|
||||
"children": [
|
||||
"modal-content#quickview",
|
||||
"modal-actions#quickview"
|
||||
],
|
||||
"children": ["modal-content#quickview", "modal-actions#quickview"],
|
||||
"props": {
|
||||
"preventVerticalStretch": true,
|
||||
"blockClass": "quickviewDetails"
|
||||
@ -134,7 +120,7 @@
|
||||
"blockClass": "quickview"
|
||||
}
|
||||
},
|
||||
"product-images#quickview" : {
|
||||
"product-images#quickview": {
|
||||
"props": {
|
||||
"blockClass": "quickview",
|
||||
"showNavigationArrows": true
|
||||
|
@ -108,7 +108,10 @@
|
||||
}
|
||||
},
|
||||
"flex-layout.row#searchinfo": {
|
||||
"children": ["flex-layout.col#productCount", "flex-layout.row#orderByAndSwitcher"]
|
||||
"children": [
|
||||
"flex-layout.col#productCount",
|
||||
"flex-layout.row#orderByAndSwitcher"
|
||||
]
|
||||
},
|
||||
"flex-layout.row#orderByAndSwitcher": {
|
||||
"children": ["order-by.v2", "gallery-layout-switcher"],
|
||||
@ -231,7 +234,9 @@
|
||||
|
||||
"breadcrumb": {
|
||||
"props": {
|
||||
"showOnMobile": true
|
||||
"showOnMobile": true,
|
||||
"homeIconSize": 1,
|
||||
"blockClass": "bread"
|
||||
}
|
||||
},
|
||||
|
||||
@ -272,29 +277,19 @@
|
||||
"props": {
|
||||
"name": "grid"
|
||||
},
|
||||
"children": [
|
||||
"icon-grid",
|
||||
"responsive-layout.desktop#textOptionGrid"
|
||||
]
|
||||
"children": ["icon-grid", "responsive-layout.desktop#textOptionGrid"]
|
||||
},
|
||||
"gallery-layout-option#list": {
|
||||
"props": {
|
||||
"name": "list"
|
||||
},
|
||||
"children": [
|
||||
"icon-inline-grid",
|
||||
"responsive-layout.desktop#textOptionList"
|
||||
]
|
||||
"children": ["icon-inline-grid", "responsive-layout.desktop#textOptionList"]
|
||||
},
|
||||
"responsive-layout.desktop#textOptionGrid": {
|
||||
"children": [
|
||||
"rich-text#option-grid"
|
||||
]
|
||||
"children": ["rich-text#option-grid"]
|
||||
},
|
||||
"responsive-layout.desktop#textOptionList": {
|
||||
"children": [
|
||||
"rich-text#option-list"
|
||||
]
|
||||
"children": ["rich-text#option-list"]
|
||||
},
|
||||
"rich-text#option-grid": {
|
||||
"props": {
|
||||
|
@ -5,5 +5,8 @@
|
||||
"html": {
|
||||
"component": "html",
|
||||
"composition": "children"
|
||||
},
|
||||
"Pix": {
|
||||
"component": "Pix"
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
@ -245,92 +247,92 @@
|
||||
"maxWidths": [1, 2, 4, 8, 16, 32, 48, 64, 96],
|
||||
"heights": [1, 2, 4, 8, 16],
|
||||
"sizes": [
|
||||
{"name": "small", "value": 2},
|
||||
{"name": "regular", "value": 2.5},
|
||||
{"name": "large", "value": 3}
|
||||
{ "name": "small", "value": 2 },
|
||||
{ "name": "regular", "value": 2.5 },
|
||||
{ "name": "large", "value": 3 }
|
||||
],
|
||||
"typography":{
|
||||
"typography": {
|
||||
"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, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, 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, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, 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, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, 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, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, 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, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, 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, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, 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, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, 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, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, 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, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, 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, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, 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, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, 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, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "500",
|
||||
"fontSize": "1.25rem",
|
||||
"textTransform": "uppercase",
|
||||
|
@ -7,10 +7,3 @@
|
||||
*/
|
||||
/* Media Query M3 */
|
||||
/* Grid breakpoints */
|
||||
.html {
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
.html--pdp-breadcrumb {
|
||||
background-color: green;
|
||||
}
|
64
styles/css/vtex.breadcrumb.css
Normal file
64
styles/css/vtex.breadcrumb.css
Normal file
@ -0,0 +1,64 @@
|
||||
/*
|
||||
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--breadcrumb {
|
||||
margin-left: 40px;
|
||||
margin-right: 40px;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
}
|
||||
@media screen and (min-width: 1921px) {
|
||||
.container--breadcrumb {
|
||||
margin-left: 360px;
|
||||
margin-right: 360px;
|
||||
}
|
||||
}
|
||||
.container--breadcrumb .caretIcon--breadcrumb {
|
||||
color: #929292;
|
||||
}
|
||||
.container--breadcrumb .homeIcon--breadcrumb {
|
||||
display: none;
|
||||
}
|
||||
.container--breadcrumb .homeLink--breadcrumb {
|
||||
vertical-align: top;
|
||||
padding-left: 0;
|
||||
}
|
||||
.container--breadcrumb .homeLink--breadcrumb::after {
|
||||
content: "Home";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
}
|
||||
.container--breadcrumb .link--breadcrumb--1 {
|
||||
padding-right: 0;
|
||||
font-size: 0;
|
||||
color: #929292;
|
||||
}
|
||||
.container--breadcrumb .link--breadcrumb--1::after {
|
||||
content: "Sapatos";
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
}
|
||||
.container--breadcrumb .link--breadcrumb--2 {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
}
|
||||
.container--breadcrumb .termArrow--breadcrumb,
|
||||
.container--breadcrumb .term--breadcrumb {
|
||||
display: none;
|
||||
}
|
@ -1,98 +1,53 @@
|
||||
.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 */
|
||||
/*NOME PRODUTO*/
|
||||
.flexRowContent--name {
|
||||
text-align: end;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 40em) {
|
||||
.flexRowContent--menu-link,
|
||||
.flexRowContent--main-header {
|
||||
padding: 0 1rem;
|
||||
@media screen and (max-width: 1024px) {
|
||||
.flexRowContent--name {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 80rem) {
|
||||
.flexRowContent--menu-link,
|
||||
.flexRowContent--main-header {
|
||||
padding: 0 0.25rem;
|
||||
.flexRowContent--preco {
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 25px;
|
||||
line-height: 38px;
|
||||
color: #000000;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.flexRow--container-produto {
|
||||
padding-left: 40px;
|
||||
padding-right: 40px;
|
||||
}
|
||||
@media screen and (min-width: 1921px) {
|
||||
.flexRow--container-produto {
|
||||
padding-left: 360px;
|
||||
padding-right: 360px;
|
||||
}
|
||||
}
|
||||
|
||||
.flexRowContent--menu-link {
|
||||
background-color: #03044e;
|
||||
color: #fff;
|
||||
.flexRow--container-produto :global(.vtex-store-components-3-x-container) {
|
||||
display: contents;
|
||||
}
|
||||
|
||||
.flexRowContent--main-header {
|
||||
background-color: #f0f0f0;
|
||||
.flexRowContent--container-produto {
|
||||
gap: 32px;
|
||||
}
|
||||
|
||||
.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 {
|
||||
display: flex;
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
.flexColChild--quickviewDetails:first-child {
|
||||
overflow-y: auto;
|
||||
height: 66% !important;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.flexColChild--quickviewDetails:last-child {
|
||||
height: 34% !important;
|
||||
}
|
||||
|
||||
.flexRow--addToCartRow {
|
||||
padding-bottom: 1rem;
|
||||
@media screen and (max-width: 1024px) {
|
||||
.flexRowContent--container-produto {
|
||||
display: block;
|
||||
}
|
||||
.flexRowContent--container-produto .stretchChildrenWidth {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
@ -1,3 +1,18 @@
|
||||
.product-identifier--productReference {
|
||||
margin-bottom: 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 */
|
||||
.product-identifier--productReference .product-identifier__label {
|
||||
display: none;
|
||||
}
|
||||
.product-identifier--productReference .product-identifier__separator {
|
||||
display: none;
|
||||
}
|
||||
.product-identifier--productReference .product-identifier__value {
|
||||
color: rgba(146, 146, 146, 0.48);
|
||||
}
|
@ -1,79 +1,58 @@
|
||||
.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 */
|
||||
.installments--parcelamentos {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: #929292;
|
||||
}
|
||||
|
||||
.sellingPrice {
|
||||
color: #3f3f40;
|
||||
font-size: 1.25rem;
|
||||
.installments--parcelamentos .installmentsNumber {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.sellingPriceValue {
|
||||
font-size: 2.25rem;
|
||||
.installments--parcelamentos .installmentsNumber::after {
|
||||
content: " x";
|
||||
}
|
||||
.installments--parcelamentos .installmentValue {
|
||||
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;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #bababa;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.listPrice--summary {
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
}
|
||||
}
|
||||
.listPrice--summary :global(.vtex-product-price-1-x-currencyCode--summary)::before {
|
||||
content: "de ";
|
||||
}
|
||||
.listPrice--summary :global(.vtex-product-price-1-x-listPriceValue--summary):last-child::after {
|
||||
content: " por";
|
||||
}
|
||||
|
||||
.installments--summary {
|
||||
margin-bottom: 2rem;
|
||||
font-size: 0.875rem;
|
||||
.sellingPrice--summary {
|
||||
font-weight: 700;
|
||||
font-size: 24px;
|
||||
line-height: 33px;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.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;
|
||||
@media screen and (max-width: 1024px) {
|
||||
.sellingPrice--summary {
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
}
|
||||
}
|
60
styles/css/vtex.product-quantity.css
Normal file
60
styles/css/vtex.product-quantity.css
Normal file
@ -0,0 +1,60 @@
|
||||
/*
|
||||
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 {
|
||||
display: flex;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.quantitySelectorTitle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hideDecorators {
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
height: 49px;
|
||||
}
|
||||
|
||||
.quantitySelectorContainer--quantidade {
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
:global(.vtex-numeric-stepper__input) {
|
||||
height: 49px;
|
||||
width: 32px;
|
||||
border-right: 0;
|
||||
border-left: 0;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: #929292;
|
||||
}
|
||||
|
||||
:global(.vtex-numeric-stepper__plus-button) {
|
||||
height: 49px;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: #000000;
|
||||
border-radius: 0%;
|
||||
}
|
||||
|
||||
:global(.vtex-numeric-stepper__minus-button) {
|
||||
background-color: transparent;
|
||||
height: 49px;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: #000000;
|
||||
border-radius: 0%;
|
||||
}
|
@ -1,42 +1,30 @@
|
||||
.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 */
|
||||
.nameContainer {
|
||||
text-align: center;
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
.container :global(.vtex-modal-layout-0-x-triggerContainer) {
|
||||
opacity: 0;
|
||||
transition: opacity 200ms ease-in-out;
|
||||
.nameContainer .productBrand {
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.container:hover :global(.vtex-modal-layout-0-x-triggerContainer) {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 40em) {
|
||||
.container :global(.vtex-modal-layout-0-x-triggerContainer) {
|
||||
display: none;
|
||||
@media screen and (max-width: 1024px) {
|
||||
.nameContainer .productBrand {
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
}
|
||||
}
|
||||
|
||||
.nameContainer {
|
||||
justify-content: start;
|
||||
padding-top: 1rem;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
.brandName {
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
color: #2E2E2E;
|
||||
}
|
||||
|
||||
.container {
|
||||
text-align: start;
|
||||
}
|
||||
|
||||
.imageContainer {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.image {
|
||||
border-radius: 0.25rem;
|
||||
.spacer {
|
||||
display: none;
|
||||
}
|
@ -7,3 +7,20 @@
|
||||
*/
|
||||
/* Media Query M3 */
|
||||
/* Grid breakpoints */
|
||||
.container--title-prateleira {
|
||||
margin-top: 16px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.container--title-prateleira .paragraph--title-prateleira {
|
||||
margin: 0;
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 38px;
|
||||
color: #575757;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.container--title-prateleira .paragraph--title-prateleira {
|
||||
font-size: 20px;
|
||||
line-height: 38px;
|
||||
}
|
||||
}
|
@ -1,31 +1,108 @@
|
||||
.sliderLayoutContainer {
|
||||
/*
|
||||
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 */
|
||||
.sliderLayoutContainer--prateleira {
|
||||
padding-left: 40px;
|
||||
padding-right: 40px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.sliderLayoutContainer--carousel {
|
||||
background-color: #F0F0F0;
|
||||
min-height: 450px;
|
||||
@media screen and (min-width: 1921px) {
|
||||
.sliderLayoutContainer--prateleira {
|
||||
padding-left: 360px;
|
||||
padding-right: 360px;
|
||||
}
|
||||
}
|
||||
.sliderLayoutContainer--prateleira .sliderTrackContainer--prateleira {
|
||||
width: 97.1773%;
|
||||
}
|
||||
@media screen and (min-width: 1921px) {
|
||||
.sliderLayoutContainer--prateleira .sliderTrackContainer--prateleira {
|
||||
width: 97.914%;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.sliderLayoutContainer--prateleira .sliderTrackContainer--prateleira {
|
||||
width: 97.63%;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.sliderLayoutContainer--prateleira .sliderTrackContainer--prateleira {
|
||||
width: 89.73%;
|
||||
}
|
||||
}
|
||||
|
||||
.sliderTrackContainer {
|
||||
max-width: 100%;
|
||||
.paginationDotsContainer--prateleira {
|
||||
align-items: center;
|
||||
}
|
||||
.paginationDotsContainer--prateleira .paginationDot--prateleira {
|
||||
background-color: #000000;
|
||||
margin-left: 6px;
|
||||
margin-right: 6px;
|
||||
}
|
||||
.paginationDotsContainer--prateleira .paginationDot--prateleira--isActive {
|
||||
background-color: #fff;
|
||||
border: 0.5px solid #000000;
|
||||
width: 17px !important;
|
||||
height: 17px !important;
|
||||
}
|
||||
|
||||
.paginationDotsContainer {
|
||||
margin-top: .5rem;
|
||||
margin-bottom: .5rem;
|
||||
.slide--prateleira {
|
||||
margin-right: 8px;
|
||||
margin-left: 8px;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.slide--prateleira {
|
||||
margin-left: 4px;
|
||||
margin-right: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.layoutContainer--shelf {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
max-width: 96rem;
|
||||
min-height: 550px;
|
||||
.sliderArrows--prateleira {
|
||||
margin: 30px;
|
||||
}
|
||||
@media screen and (min-width: 1921px) {
|
||||
.sliderArrows--prateleira {
|
||||
margin: 350px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.sliderArrows--prateleira {
|
||||
margin: 30px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.sliderArrows--prateleira {
|
||||
margin: 34px;
|
||||
}
|
||||
}
|
||||
|
||||
.slide--shelf {
|
||||
margin-bottom: 25px;
|
||||
padding-left: .5rem;
|
||||
padding-right: .5rem;
|
||||
min-height: 550px;
|
||||
.sliderLayoutContainer .sliderRightArrow--prateleira {
|
||||
visibility: hidden;
|
||||
}
|
||||
.sliderLayoutContainer .sliderRightArrow--prateleira::after {
|
||||
visibility: visible;
|
||||
content: url(https://agenciamagma.vtexassets.com/arquivos/arrow-right-caina.png);
|
||||
}
|
||||
.sliderLayoutContainer .sliderLeftArrow--prateleira {
|
||||
visibility: hidden;
|
||||
}
|
||||
.sliderLayoutContainer .sliderLeftArrow--prateleira::before {
|
||||
visibility: visible;
|
||||
content: url(https://agenciamagma.vtexassets.com/arquivos/arrow-left-caina.png);
|
||||
}
|
||||
.sliderLayoutContainer :global(.vtex-product-summary-2-x-containerNormal) {
|
||||
max-width: unset !important;
|
||||
}
|
||||
.sliderLayoutContainer :global(.vtex-product-summary-2-x-imageNormal) {
|
||||
max-height: unset !important;
|
||||
}
|
||||
.sliderLayoutContainer :global(.vtex-product-summary-2-x-imageStackContainer) {
|
||||
display: flex;
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
.stackItem--product {
|
||||
width: 100%;
|
||||
min-height: 257px
|
||||
min-height: 257px;
|
||||
}
|
||||
|
||||
.stackItem--quickview {
|
||||
|
@ -1,3 +1,4 @@
|
||||
@charset "UTF-8";
|
||||
/*
|
||||
0 - 600PX: Phone
|
||||
600 - 900px: Table portrait
|
||||
@ -7,6 +8,642 @@
|
||||
*/
|
||||
/* Media Query M3 */
|
||||
/* Grid breakpoints */
|
||||
.newsletter {
|
||||
background: red;
|
||||
.container {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.productImageTag--main {
|
||||
max-height: max-content !important;
|
||||
}
|
||||
|
||||
.carouselGaleryThumbs {
|
||||
margin-top: 16px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.thumbImg {
|
||||
height: 90px;
|
||||
max-width: 90px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.carouselThumbBorder {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
|
||||
.figure {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
|
||||
.productImagesThumb {
|
||||
max-width: 90px;
|
||||
width: 90px !important;
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
||||
.productImagesGallerySlide {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.productImagesGallerySlide--images-container {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.productBrand--quickview {
|
||||
font-weight: 300;
|
||||
font-size: 20px;
|
||||
line-height: 34px;
|
||||
color: #575757;
|
||||
}
|
||||
|
||||
.skuSelectorContainer--skus {
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.frameAround--skus {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.skuSelectorOptionsList {
|
||||
margin-left: -5px;
|
||||
}
|
||||
|
||||
.skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorName {
|
||||
font-size: 0;
|
||||
}
|
||||
.skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorName::after {
|
||||
content: "OUTROS TAMANHOS";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: color-gray6;
|
||||
}
|
||||
|
||||
.skuSelectorItemTextValue--skus {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: rgba(185, 185, 185, 0.6);
|
||||
}
|
||||
|
||||
.skuSelectorInternalBox--skus {
|
||||
border: 1px solid #989898;
|
||||
border-radius: 100%;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.skuSelectorItem--skus--selected .skuSelectorInternalBox--skus {
|
||||
border: 2px solid #000000;
|
||||
border-radius: 100%;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
}
|
||||
.skuSelectorItem--skus--selected .skuSelectorItemTextValue--skus {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.skuSelectorSubcontainer--cor .skuSelectorName {
|
||||
font-size: 0;
|
||||
}
|
||||
.skuSelectorSubcontainer--cor .skuSelectorName::after {
|
||||
content: "OUTRAS CORES";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: color-gray6;
|
||||
}
|
||||
.skuSelectorSubcontainer--cor .skuSelectorItemImage--skus {
|
||||
height: 48px;
|
||||
width: 48px;
|
||||
}
|
||||
.skuSelectorSubcontainer--cor .skuSelectorItemImage--skus .diagonalCross--skus {
|
||||
transform: rotate(80deg);
|
||||
background-image: linear-gradient(to top right, transparent 44%, #d5d5d5 48%, transparent 52%);
|
||||
max-width: 27px;
|
||||
max-height: 38px;
|
||||
left: 11px;
|
||||
top: 5px;
|
||||
}
|
||||
.skuSelectorSubcontainer--cor .skuSelectorInternalBox--skus {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
}
|
||||
|
||||
.diagonalCross--skus {
|
||||
transform: rotate(80deg);
|
||||
background-image: linear-gradient(to top right, transparent 44%, #d5d5d5 48%, transparent 52%);
|
||||
max-width: 28px;
|
||||
max-height: 30px;
|
||||
left: 6px;
|
||||
top: 3px;
|
||||
}
|
||||
|
||||
.skuSelectorSelectorImageValue {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.shippingContainer {
|
||||
display: flex;
|
||||
align-items: end;
|
||||
margin-top: 16px;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.shippingContainer {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) {
|
||||
position: relative;
|
||||
padding: 0;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.shippingContainer :global(.vtex-input__error) {
|
||||
position: absolute;
|
||||
margin-top: 2px;
|
||||
}
|
||||
.shippingContainer :global(.vtex-input__label) {
|
||||
font-size: 0;
|
||||
}
|
||||
.shippingContainer :global(.vtex-input__label)::after {
|
||||
content: "CALCULAR FRETE:";
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
}
|
||||
.shippingContainer :global(.vtex-input-prefix__group) {
|
||||
height: 49px;
|
||||
border-radius: 0%;
|
||||
}
|
||||
.shippingContainer :global(.vtex-input-prefix__group) :global(.vtex-input__suffix) {
|
||||
padding: 0;
|
||||
}
|
||||
.shippingContainer :global(.vtex-input-prefix__group) :global(.vtex-address-form-4-x-hideDecorators) {
|
||||
width: 231px;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.shippingContainer :global(.vtex-input-prefix__group) :global(.vtex-address-form-4-x-hideDecorators) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.shippingContainer :global(.vtex-input-prefix__group) :global(.vtex-address-form-4-x-hideDecorators)::placeholder {
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
color: #afafaf;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
|
||||
position: absolute;
|
||||
top: 28px;
|
||||
right: -180px;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-decoration-line: underline;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
|
||||
top: 76px;
|
||||
right: -50px;
|
||||
}
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) :last-child {
|
||||
color: #000000;
|
||||
}
|
||||
.shippingContainer :global(.vtex__icon-external-link) {
|
||||
display: none;
|
||||
}
|
||||
.shippingContainer :global(.vtex-button) {
|
||||
width: 49px;
|
||||
height: 49px;
|
||||
background-color: #000000;
|
||||
border: none;
|
||||
border-radius: inherit;
|
||||
margin-left: -1px;
|
||||
}
|
||||
.shippingContainer :global(.vtex-button__label) {
|
||||
font-size: 0;
|
||||
}
|
||||
.shippingContainer :global(.vtex-button__label)::after {
|
||||
content: "OK";
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.shippingTable {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.shippingTableRadioBtn {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.shippingTableHead {
|
||||
display: table-header-group;
|
||||
}
|
||||
.shippingTableHead .shippingTableRow {
|
||||
display: flex;
|
||||
align-items: end;
|
||||
}
|
||||
.shippingTableHead .shippingTableHeadDeliveryName,
|
||||
.shippingTableHead .shippingTableHeadDeliveryEstimate,
|
||||
.shippingTableHead .shippingTableHeadDeliveryPrice {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-transform: uppercase;
|
||||
color: #202020;
|
||||
text-align: initial;
|
||||
padding: 0;
|
||||
}
|
||||
.shippingTableHead .shippingTableHeadDeliveryName {
|
||||
width: 110px;
|
||||
}
|
||||
@media screen and (max-width: 350px) {
|
||||
.shippingTableHead .shippingTableHeadDeliveryName {
|
||||
width: 90px;
|
||||
}
|
||||
}
|
||||
.shippingTableHead .shippingTableHeadDeliveryEstimate {
|
||||
order: 3;
|
||||
}
|
||||
.shippingTableHead .shippingTableHeadDeliveryPrice {
|
||||
display: flex;
|
||||
width: 110px;
|
||||
font-size: 0;
|
||||
}
|
||||
@media screen and (max-width: 350px) {
|
||||
.shippingTableHead .shippingTableHeadDeliveryPrice {
|
||||
width: 56px;
|
||||
}
|
||||
}
|
||||
.shippingTableHead .shippingTableHeadDeliveryPrice::after {
|
||||
content: "FRETE";
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.shippingTableBody .shippingTableRow {
|
||||
display: flex;
|
||||
}
|
||||
.shippingTableBody .shippingTableRow .shippingTableCell {
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
color: #afafaf;
|
||||
}
|
||||
.shippingTableBody .shippingTableRow .shippingTableCellDeliveryName,
|
||||
.shippingTableBody .shippingTableRow .shippingTableCellDeliveryPrice,
|
||||
.shippingTableBody .shippingTableRow .shippingTableCellDeliveryEstimate {
|
||||
padding: 15px 4px 0 0;
|
||||
}
|
||||
.shippingTableBody .shippingTableRow .shippingTableCellDeliveryName {
|
||||
min-width: 112px;
|
||||
width: 110px;
|
||||
}
|
||||
@media screen and (max-width: 350px) {
|
||||
.shippingTableBody .shippingTableRow .shippingTableCellDeliveryName {
|
||||
width: 90px;
|
||||
min-width: 90px;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
.shippingTableBody .shippingTableRow .shippingTableCellDeliveryPrice {
|
||||
width: 110px;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.shippingTableBody .shippingTableRow .shippingTableCellDeliveryPrice {
|
||||
width: 70px;
|
||||
min-width: 72px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 350px) {
|
||||
.shippingTableBody .shippingTableRow .shippingTableCellDeliveryPrice {
|
||||
min-width: 56px;
|
||||
width: 56px;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
.shippingTableBody .shippingTableRow .shippingTableCellDeliveryEstimate {
|
||||
padding-right: 0;
|
||||
order: 3;
|
||||
}
|
||||
|
||||
.productDescriptionContainer--descricao {
|
||||
display: flex;
|
||||
justify-content: left;
|
||||
flex-direction: column;
|
||||
width: 49.82%;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.productDescriptionContainer--descricao {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.productImage--description-imagem {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.container--descricao {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
.productDescriptionContainer--descricao {
|
||||
border-bottom: 1px solid #bfbfbf;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.productDescriptionTitle--descricao {
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 32px;
|
||||
color: #575757;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
@media screen and (min-width: 1921px) {
|
||||
.productDescriptionTitle--descricao {
|
||||
font-size: 32px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.productDescriptionTitle--descricao {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.productDescriptionText--descricao {
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: #929292;
|
||||
}
|
||||
@media screen and (min-width: 1921px) {
|
||||
.productDescriptionText--descricao {
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.productDescriptionText--descricao {
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
}
|
||||
}
|
||||
|
||||
.subscriberContainer {
|
||||
position: relative;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.subscriberContainer .content {
|
||||
display: flex;
|
||||
width: 100% !important;
|
||||
max-width: unset;
|
||||
}
|
||||
}
|
||||
.subscriberContainer .title {
|
||||
font-size: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.subscriberContainer .title::after {
|
||||
content: "Produto indisponível";
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #868686;
|
||||
}
|
||||
.subscriberContainer .subscribeLabel {
|
||||
font-size: 0;
|
||||
}
|
||||
.subscriberContainer .subscribeLabel::after {
|
||||
content: "Deseja saber quando estiver disponível?";
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #868686;
|
||||
}
|
||||
.subscriberContainer .content {
|
||||
position: relative;
|
||||
width: 399px;
|
||||
gap: 8px;
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
.subscriberContainer .content :global(.vtex-styleguide-9-x-input) {
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
color: #989898;
|
||||
border: none;
|
||||
}
|
||||
.subscriberContainer .content :global(.vtex-styleguide-9-x-input)::placeholder {
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
color: #989898;
|
||||
}
|
||||
.subscriberContainer .content :global(.vtex-input-prefix__group) {
|
||||
border: 0.6px solid #989898;
|
||||
border-radius: 0%;
|
||||
}
|
||||
.subscriberContainer .content .inputEmail,
|
||||
.subscriberContainer .content .inputName {
|
||||
margin: 0;
|
||||
}
|
||||
.subscriberContainer .content .submit {
|
||||
position: absolute;
|
||||
top: 55px;
|
||||
width: 100%;
|
||||
cursor: pointer;
|
||||
}
|
||||
.subscriberContainer .content .submit :global(.vtex-button) {
|
||||
width: 100%;
|
||||
background-color: #000000;
|
||||
border: none;
|
||||
border-radius: 0%;
|
||||
height: 49px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.subscriberContainer .content .submit :global(.vtex-button__label) {
|
||||
font-size: 0;
|
||||
}
|
||||
.subscriberContainer .content .submit :global(.vtex-button__label)::after {
|
||||
content: "AVISE-ME";
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: #fff;
|
||||
}
|
||||
.subscriberContainer .content :global(.vtex-input__error) {
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
}
|
||||
.subscriberContainer .success {
|
||||
position: absolute;
|
||||
top: 90px;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.newsletter--newsletter {
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
margin-top: 64px;
|
||||
padding-top: 32px;
|
||||
padding-bottom: 16px;
|
||||
background-color: #000000;
|
||||
border-bottom: 1px solid #fff;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.newsletter--newsletter {
|
||||
padding: 64px 16px 32px 16px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.newsletter--newsletter {
|
||||
margin-top: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
.container--newsletter {
|
||||
width: 53.75%;
|
||||
color: #fff;
|
||||
max-width: unset;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.container--newsletter {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.form--newsletter {
|
||||
max-width: unset;
|
||||
}
|
||||
.form--newsletter :global(.vtex-styleguide-9-x-noAppearance) {
|
||||
background-color: #000000;
|
||||
padding: 0;
|
||||
}
|
||||
.form--newsletter :global(.vtex-input-prefix__group) {
|
||||
border: none;
|
||||
border-bottom: 1px solid #929292;
|
||||
border-radius: 0%;
|
||||
padding-bottom: 4px;
|
||||
align-items: flex-end;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.form--newsletter :global(.vtex-input-prefix__group) {
|
||||
padding-left: 18px;
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
}
|
||||
.form--newsletter :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-hideDecorators) {
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: #929292;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.form--newsletter :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-hideDecorators) {
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
}
|
||||
}
|
||||
.form--newsletter :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-hideDecorators)::placeholder {
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: #929292;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.form--newsletter :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-hideDecorators)::placeholder {
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.label--newsletter {
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 38px;
|
||||
color: #fff;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.label--newsletter::after {
|
||||
content: "Receba ofertas e novidades por e-mail";
|
||||
margin-top: 16px;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: #929292;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.label--newsletter::after {
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
}
|
||||
}
|
||||
|
||||
.inputGroup--newsletter {
|
||||
margin-top: 16px;
|
||||
padding: 0;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.inputGroup--newsletter {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
.buttonContainer--newsletter {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 84px;
|
||||
}
|
||||
.buttonContainer--newsletter :global(.vtex-button) {
|
||||
border: none;
|
||||
border-radius: 0%;
|
||||
border-bottom: 3px solid #bfbfbf;
|
||||
background-color: transparent;
|
||||
width: 100%;
|
||||
}
|
||||
.buttonContainer--newsletter :global(.vtex-button) :global(.vtex-button__label) {
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #fff;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
:global(.vtex-store-footer-2-x-socialNetworksContainer) {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
:global(.vtex-store-footer-2-x-acceptedPaymentMethodContainer) {
|
||||
margin: 0;
|
||||
}
|
123
styles/css/vtex.tab-layout.css
Normal file
123
styles/css/vtex.tab-layout.css
Normal file
@ -0,0 +1,123 @@
|
||||
/*
|
||||
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--details {
|
||||
padding-left: 40px;
|
||||
padding-right: 40px;
|
||||
}
|
||||
@media screen and (min-width: 1921px) {
|
||||
.container--details {
|
||||
padding-left: 360px;
|
||||
padding-right: 360px;
|
||||
}
|
||||
}
|
||||
|
||||
.listContainer {
|
||||
border-bottom: 1px solid #bfbfbf;
|
||||
margin-bottom: 32px;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: end;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.listContainer {
|
||||
margin-top: 16px;
|
||||
padding-bottom: 8px;
|
||||
padding-top: 5px;
|
||||
border-bottom: 1px solid #b9b9b9;
|
||||
border-top: 1px solid #b9b9b9;
|
||||
flex-direction: column;
|
||||
align-items: initial;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.listItem {
|
||||
background-color: transparent;
|
||||
padding: 0 14px 0 14px;
|
||||
margin: 0;
|
||||
height: 42px;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.listItem {
|
||||
margin: 5px 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
.listItem :global(.vtex-button) {
|
||||
background-color: transparent;
|
||||
cursor: pointer;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.listItem :global(.vtex-button) {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
.listItem :global(.vtex-button) {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
}
|
||||
.listItem :global(.vtex-button__label) {
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 38px;
|
||||
color: #bfbfbf;
|
||||
text-transform: capitalize;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
@media screen and (min-width: 1921px) {
|
||||
.listItem :global(.vtex-button__label) {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
.listItemActive {
|
||||
border-bottom: 2px solid #000000;
|
||||
}
|
||||
@media screen and (min-width: 1921px) {
|
||||
.listItemActive {
|
||||
border-bottom: 3px solid #000000;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.listItemActive {
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
.listItemActive :global(.vtex-button__label) {
|
||||
color: #000000;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.listItemActive--descricao {
|
||||
border-bottom: 2px solid #000000;
|
||||
}
|
||||
@media screen and (min-width: 1921px) {
|
||||
.listItemActive--descricao {
|
||||
border-bottom: 3px solid #000000;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.listItemActive--descricao {
|
||||
border: none;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
.listItemActive--descricao :global(.vtex-button) {
|
||||
border: none;
|
||||
border-radius: 0%;
|
||||
}
|
||||
.listItemActive--descricao :global(.vtex-button__label) {
|
||||
color: #000000;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
.html {
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
.html--pdp-breadcrumb {
|
||||
background-color: green;
|
||||
}
|
||||
|
59
styles/sass/pages/product/vtex.breadcrumb.scss
Normal file
59
styles/sass/pages/product/vtex.breadcrumb.scss
Normal file
@ -0,0 +1,59 @@
|
||||
.container--breadcrumb {
|
||||
margin-left: 40px;
|
||||
margin-right: 40px;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: $color-gray6;
|
||||
@media screen and (min-width: 1921px) {
|
||||
margin-left: 360px;
|
||||
margin-right: 360px;
|
||||
}
|
||||
.caretIcon--breadcrumb {
|
||||
color: $color-gray6;
|
||||
}
|
||||
|
||||
.homeIcon--breadcrumb {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.homeLink--breadcrumb {
|
||||
vertical-align: top;
|
||||
padding-left: 0;
|
||||
&::after {
|
||||
content: "Home";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: $color-gray6;
|
||||
}
|
||||
}
|
||||
|
||||
.link--breadcrumb--1 {
|
||||
padding-right: 0;
|
||||
font-size: 0;
|
||||
color: $color-gray6;
|
||||
|
||||
&::after {
|
||||
content: "Sapatos";
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: $color-gray6;
|
||||
}
|
||||
}
|
||||
|
||||
.link--breadcrumb--2 {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: $color-gray6;
|
||||
}
|
||||
|
||||
.termArrow--breadcrumb,
|
||||
.term--breadcrumb {
|
||||
display: none;
|
||||
}
|
||||
}
|
39
styles/sass/pages/product/vtex.flex-layout.scss
Normal file
39
styles/sass/pages/product/vtex.flex-layout.scss
Normal file
@ -0,0 +1,39 @@
|
||||
/*NOME PRODUTO*/
|
||||
.flexRowContent--name {
|
||||
text-align: end;
|
||||
@media screen and (max-width: 1024px) {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
.flexRowContent--preco {
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 25px;
|
||||
line-height: 38px;
|
||||
color: #000000;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.flexRow--container-produto {
|
||||
padding-left: 40px;
|
||||
padding-right: 40px;
|
||||
@media screen and (min-width: 1921px) {
|
||||
padding-left: 360px;
|
||||
padding-right: 360px;
|
||||
}
|
||||
:global(.vtex-store-components-3-x-container) {
|
||||
display: contents;
|
||||
}
|
||||
}
|
||||
|
||||
.flexRowContent--container-produto {
|
||||
gap: 32px;
|
||||
@media screen and (max-width: 1024px) {
|
||||
display: block;
|
||||
|
||||
.stretchChildrenWidth {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
}
|
13
styles/sass/pages/product/vtex.product-identifier.scss
Normal file
13
styles/sass/pages/product/vtex.product-identifier.scss
Normal file
@ -0,0 +1,13 @@
|
||||
.product-identifier--productReference {
|
||||
.product-identifier__label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.product-identifier__separator {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.product-identifier__value {
|
||||
color: rgba(146, 146, 146, 0.48);
|
||||
}
|
||||
}
|
56
styles/sass/pages/product/vtex.product-price.scss
Normal file
56
styles/sass/pages/product/vtex.product-price.scss
Normal file
@ -0,0 +1,56 @@
|
||||
.installments--parcelamentos {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: $color-gray6;
|
||||
|
||||
.installmentsNumber {
|
||||
font-weight: 700;
|
||||
|
||||
&::after {
|
||||
content: " x";
|
||||
}
|
||||
}
|
||||
|
||||
.installmentValue {
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
|
||||
//PRATELEIRA PRECOS
|
||||
.listPrice--summary {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: $color-gray11;
|
||||
margin-bottom: 8px;
|
||||
@media screen and (max-width: 1024px) {
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
:global(.vtex-product-price-1-x-currencyCode--summary) {
|
||||
&::before {
|
||||
content: "de ";
|
||||
}
|
||||
}
|
||||
:global(.vtex-product-price-1-x-listPriceValue--summary) {
|
||||
&:last-child {
|
||||
&::after {
|
||||
content: " por";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sellingPrice--summary {
|
||||
font-weight: 700;
|
||||
font-size: 24px;
|
||||
line-height: 33px;
|
||||
color: $color-black-100;
|
||||
@media screen and (max-width: 1024px) {
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
}
|
||||
}
|
51
styles/sass/pages/product/vtex.product-quantity.scss
Normal file
51
styles/sass/pages/product/vtex.product-quantity.scss
Normal file
@ -0,0 +1,51 @@
|
||||
.quantitySelectorStepper {
|
||||
display: flex;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.quantitySelectorTitle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hideDecorators {
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
height: 49px;
|
||||
}
|
||||
|
||||
.quantitySelectorContainer--quantidade {
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
:global(.vtex-numeric-stepper__input) {
|
||||
height: 49px;
|
||||
width: 32px;
|
||||
border-right: 0;
|
||||
border-left: 0;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: #929292;
|
||||
}
|
||||
|
||||
:global(.vtex-numeric-stepper__plus-button) {
|
||||
height: 49px;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: $color-black-100;
|
||||
border-radius: 0%;
|
||||
}
|
||||
|
||||
:global(.vtex-numeric-stepper__minus-button) {
|
||||
background-color: transparent;
|
||||
height: 49px;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: $color-black-100;
|
||||
border-radius: 0%;
|
||||
}
|
20
styles/sass/pages/product/vtex.product-summary.scss
Normal file
20
styles/sass/pages/product/vtex.product-summary.scss
Normal file
@ -0,0 +1,20 @@
|
||||
.nameContainer {
|
||||
text-align: center;
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
|
||||
.productBrand {
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: $color-black-100;
|
||||
@media screen and (max-width: 1024px) {
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.spacer {
|
||||
display: none;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
.container--title-prateleira {
|
||||
margin-top: 16px;
|
||||
margin-bottom: 12px;
|
||||
|
||||
.paragraph--title-prateleira {
|
||||
margin: 0;
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 38px;
|
||||
color: $color-gray8;
|
||||
@media screen and (max-width: 768px) {
|
||||
font-size: 20px;
|
||||
line-height: 38px;
|
||||
}
|
||||
}
|
||||
}
|
96
styles/sass/pages/product/vtex.slider-layout.scss
Normal file
96
styles/sass/pages/product/vtex.slider-layout.scss
Normal file
@ -0,0 +1,96 @@
|
||||
.sliderLayoutContainer--prateleira {
|
||||
padding-left: 40px;
|
||||
padding-right: 40px;
|
||||
justify-content: center;
|
||||
@media screen and (min-width: 1921px) {
|
||||
padding-left: 360px;
|
||||
padding-right: 360px;
|
||||
}
|
||||
|
||||
.sliderTrackContainer--prateleira {
|
||||
width: 97.1773%;
|
||||
@media screen and (min-width: 1921px) {
|
||||
width: 97.914%;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
width: 97.63%;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
width: 89.73%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//DOTS
|
||||
|
||||
.paginationDotsContainer--prateleira {
|
||||
align-items: center;
|
||||
|
||||
.paginationDot--prateleira {
|
||||
background-color: $color-black-100;
|
||||
margin-left: 6px;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.paginationDot--prateleira--isActive {
|
||||
background-color: $color-white;
|
||||
border: 0.5px solid #000000;
|
||||
width: 17px !important;
|
||||
height: 17px !important;
|
||||
}
|
||||
}
|
||||
|
||||
//SLIDES
|
||||
.slide--prateleira {
|
||||
margin-right: 8px;
|
||||
margin-left: 8px;
|
||||
margin-bottom: 32px;
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
margin-left: 4px;
|
||||
margin-right: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.sliderArrows--prateleira {
|
||||
margin: 30px;
|
||||
@media screen and (min-width: 1921px) {
|
||||
margin: 350px;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
margin: 30px;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
margin: 34px;
|
||||
}
|
||||
}
|
||||
|
||||
.sliderLayoutContainer {
|
||||
//ARROWS CUSTOM
|
||||
.sliderRightArrow--prateleira {
|
||||
visibility: hidden;
|
||||
&::after {
|
||||
visibility: visible;
|
||||
content: url(https://agenciamagma.vtexassets.com/arquivos/arrow-right-caina.png);
|
||||
}
|
||||
}
|
||||
.sliderLeftArrow--prateleira {
|
||||
visibility: hidden;
|
||||
&::before {
|
||||
visibility: visible;
|
||||
content: url(https://agenciamagma.vtexassets.com/arquivos/arrow-left-caina.png);
|
||||
}
|
||||
}
|
||||
|
||||
: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;
|
||||
}
|
||||
}
|
@ -1,3 +1,673 @@
|
||||
.newsletter{
|
||||
background: red;
|
||||
.container {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
//IMAGENS
|
||||
.productImageTag--main {
|
||||
max-height: max-content !important;
|
||||
}
|
||||
|
||||
.carouselGaleryThumbs {
|
||||
margin-top: 16px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.thumbImg {
|
||||
height: 90px;
|
||||
max-width: 90px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.carouselThumbBorder {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
|
||||
.figure {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
|
||||
.productImagesThumb {
|
||||
max-width: 90px;
|
||||
width: 90px !important;
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
||||
.productImagesGallerySlide {
|
||||
width: 100%;
|
||||
}
|
||||
.productImagesGallerySlide--images-container {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
//NOME DO PRODUTO
|
||||
.productBrand--quickview {
|
||||
font-weight: 300;
|
||||
font-size: 20px;
|
||||
line-height: 34px;
|
||||
color: $color-gray8;
|
||||
}
|
||||
|
||||
//SKUS
|
||||
.skuSelectorContainer--skus {
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.frameAround--skus {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.skuSelectorOptionsList {
|
||||
margin-left: -5px;
|
||||
}
|
||||
|
||||
.skuSelectorSubcontainer--tamanho {
|
||||
.skuSelectorNameContainer {
|
||||
.skuSelectorTextContainer {
|
||||
.skuSelectorName {
|
||||
font-size: 0;
|
||||
|
||||
&::after {
|
||||
content: "OUTROS TAMANHOS";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: color-gray6;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.skuSelectorItemTextValue--skus {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: rgba(185, 185, 185, 0.6);
|
||||
}
|
||||
|
||||
.skuSelectorInternalBox--skus {
|
||||
border: 1px solid $color-gray7;
|
||||
border-radius: 100%;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.skuSelectorItem--skus--selected {
|
||||
.skuSelectorInternalBox--skus {
|
||||
border: 2px solid $color-black-100;
|
||||
border-radius: 100%;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.skuSelectorItemTextValue--skus {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: $color-black-100;
|
||||
}
|
||||
}
|
||||
|
||||
.skuSelectorSubcontainer--cor {
|
||||
.skuSelectorName {
|
||||
font-size: 0;
|
||||
|
||||
&::after {
|
||||
content: "OUTRAS CORES";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: color-gray6;
|
||||
}
|
||||
}
|
||||
|
||||
.skuSelectorItemImage--skus {
|
||||
height: 48px;
|
||||
width: 48px;
|
||||
|
||||
.diagonalCross--skus {
|
||||
transform: rotate(80deg);
|
||||
background-image: linear-gradient(
|
||||
to top right,
|
||||
transparent 44%,
|
||||
#d5d5d5 48%,
|
||||
transparent 52%
|
||||
);
|
||||
max-width: 27px;
|
||||
max-height: 38px;
|
||||
left: 11px;
|
||||
top: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.skuSelectorInternalBox--skus {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
}
|
||||
}
|
||||
|
||||
.diagonalCross--skus {
|
||||
transform: rotate(80deg);
|
||||
background-image: linear-gradient(
|
||||
to top right,
|
||||
transparent 44%,
|
||||
#d5d5d5 48%,
|
||||
transparent 52%
|
||||
);
|
||||
max-width: 28px;
|
||||
max-height: 30px;
|
||||
left: 6px;
|
||||
top: 3px;
|
||||
}
|
||||
|
||||
.skuSelectorSelectorImageValue {
|
||||
display: none;
|
||||
}
|
||||
|
||||
//FRETE
|
||||
|
||||
.shippingContainer {
|
||||
display: flex;
|
||||
align-items: end;
|
||||
margin-top: 16px;
|
||||
@media screen and (max-width: 768px) {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
:global(.vtex-address-form__postalCode) {
|
||||
position: relative;
|
||||
padding: 0;
|
||||
@media screen and (max-width: 768px) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-input__error) {
|
||||
position: absolute;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
:global(.vtex-input__label) {
|
||||
font-size: 0;
|
||||
|
||||
&::after {
|
||||
content: "CALCULAR FRETE:";
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: $color-gray6;
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-input-prefix__group) {
|
||||
height: 49px;
|
||||
border-radius: 0%;
|
||||
|
||||
:global(.vtex-input__suffix) {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
:global(.vtex-address-form-4-x-hideDecorators) {
|
||||
width: 231px;
|
||||
@media screen and (max-width: 768px) {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&::placeholder {
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
color: #afafaf;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-address-form__postalCode-forgottenURL) {
|
||||
position: absolute;
|
||||
top: 28px;
|
||||
right: -180px;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-decoration-line: underline;
|
||||
@media screen and (max-width: 768px) {
|
||||
top: 76px;
|
||||
right: -50px;
|
||||
}
|
||||
|
||||
:last-child {
|
||||
color: $color-black-100;
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex__icon-external-link) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:global(.vtex-button) {
|
||||
width: 49px;
|
||||
height: 49px;
|
||||
background-color: $color-black-100;
|
||||
border: none;
|
||||
border-radius: inherit;
|
||||
margin-left: -1px;
|
||||
}
|
||||
|
||||
:global(.vtex-button__label) {
|
||||
font-size: 0;
|
||||
|
||||
&::after {
|
||||
content: "OK";
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: $color-white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//FRETES OPCOES
|
||||
|
||||
.shippingTable {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.shippingTableRadioBtn {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.shippingTableHead {
|
||||
display: table-header-group;
|
||||
|
||||
.shippingTableRow {
|
||||
display: flex;
|
||||
align-items: end;
|
||||
}
|
||||
|
||||
.shippingTableHeadDeliveryName,
|
||||
.shippingTableHeadDeliveryEstimate,
|
||||
.shippingTableHeadDeliveryPrice {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-transform: uppercase;
|
||||
color: $color-black2;
|
||||
text-align: initial;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.shippingTableHeadDeliveryName {
|
||||
width: 110px;
|
||||
@media screen and (max-width: 350px) {
|
||||
width: 90px;
|
||||
}
|
||||
}
|
||||
|
||||
.shippingTableHeadDeliveryEstimate {
|
||||
order: 3;
|
||||
}
|
||||
|
||||
.shippingTableHeadDeliveryPrice {
|
||||
display: flex;
|
||||
width: 110px;
|
||||
font-size: 0;
|
||||
@media screen and (max-width: 350px) {
|
||||
width: 56px;
|
||||
}
|
||||
&::after {
|
||||
content: "FRETE";
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.shippingTableBody {
|
||||
.shippingTableRow {
|
||||
display: flex;
|
||||
|
||||
.shippingTableCell {
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
color: #afafaf;
|
||||
}
|
||||
|
||||
.shippingTableCellDeliveryName,
|
||||
.shippingTableCellDeliveryPrice,
|
||||
.shippingTableCellDeliveryEstimate {
|
||||
padding: 15px 4px 0 0;
|
||||
}
|
||||
|
||||
.shippingTableCellDeliveryName {
|
||||
min-width: 112px;
|
||||
width: 110px;
|
||||
@media screen and (max-width: 350px) {
|
||||
width: 90px;
|
||||
min-width: 90px;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.shippingTableCellDeliveryPrice {
|
||||
width: 110px;
|
||||
@media screen and (max-width: 768px) {
|
||||
width: 70px;
|
||||
min-width: 72px;
|
||||
}
|
||||
@media screen and (max-width: 350px) {
|
||||
min-width: 56px;
|
||||
width: 56px;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.shippingTableCellDeliveryEstimate {
|
||||
padding-right: 0;
|
||||
order: 3;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//DESCRIÇÃO
|
||||
|
||||
.productDescriptionContainer--descricao {
|
||||
display: flex;
|
||||
justify-content: left;
|
||||
flex-direction: column;
|
||||
width: 49.82%;
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.productImage--description-imagem {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.container--descricao {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.productDescriptionContainer--descricao {
|
||||
@media screen and (max-width: 1024px) {
|
||||
border-bottom: 1px solid $color-gray9;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
}
|
||||
.productDescriptionTitle--descricao {
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 32px;
|
||||
color: $color-gray8;
|
||||
margin-bottom: 8px;
|
||||
@media screen and (min-width: 1921px) {
|
||||
font-size: 32px;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.productDescriptionText--descricao {
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: $color-gray6;
|
||||
@media screen and (min-width: 1921px) {
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
}
|
||||
}
|
||||
|
||||
//PRODUTO INDISPONIVEL
|
||||
.subscriberContainer {
|
||||
position: relative;
|
||||
.content {
|
||||
@media screen and (max-width: 1024px) {
|
||||
display: flex;
|
||||
width: 100% !important;
|
||||
max-width: unset;
|
||||
}
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 0;
|
||||
margin: 0;
|
||||
&::after {
|
||||
content: "Produto indisponível";
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: $color-gray10;
|
||||
}
|
||||
}
|
||||
|
||||
.subscribeLabel {
|
||||
font-size: 0;
|
||||
&::after {
|
||||
content: "Deseja saber quando estiver disponível?";
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: $color-gray10;
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
position: relative;
|
||||
width: 399px;
|
||||
gap: 8px;
|
||||
margin-bottom: 60px;
|
||||
|
||||
:global(.vtex-styleguide-9-x-input) {
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
color: $color-gray7;
|
||||
border: none;
|
||||
|
||||
&::placeholder {
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
color: $color-gray7;
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-input-prefix__group) {
|
||||
border: 0.6px solid $color-gray7;
|
||||
border-radius: 0%;
|
||||
}
|
||||
|
||||
.inputEmail,
|
||||
.inputName {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.submit {
|
||||
position: absolute;
|
||||
top: 55px;
|
||||
width: 100%;
|
||||
cursor: pointer;
|
||||
|
||||
:global(.vtex-button) {
|
||||
width: 100%;
|
||||
background-color: $color-black-100;
|
||||
border: none;
|
||||
border-radius: 0%;
|
||||
height: 49px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
:global(.vtex-button__label) {
|
||||
font-size: 0;
|
||||
&::after {
|
||||
content: "AVISE-ME";
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: $color-white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-input__error) {
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
}
|
||||
}
|
||||
.success {
|
||||
position: absolute;
|
||||
top: 90px;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
//NEWSLETTER
|
||||
|
||||
.newsletter--newsletter {
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
margin-top: 64px;
|
||||
padding-top: 32px;
|
||||
padding-bottom: 16px;
|
||||
background-color: $color-black-100;
|
||||
border-bottom: 1px solid $color-white;
|
||||
@media screen and (max-width: 1024px) {
|
||||
padding: 64px 16px 32px 16px;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
margin-top: 32px;
|
||||
}
|
||||
}
|
||||
.container--newsletter {
|
||||
width: 53.75%;
|
||||
color: $color-white;
|
||||
max-width: unset;
|
||||
@media screen and (max-width: 1024px) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.form--newsletter {
|
||||
max-width: unset;
|
||||
|
||||
:global(.vtex-styleguide-9-x-noAppearance) {
|
||||
background-color: $color-black-100;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
:global(.vtex-input-prefix__group) {
|
||||
border: none;
|
||||
border-bottom: 1px solid $color-gray6;
|
||||
border-radius: 0%;
|
||||
padding-bottom: 4px;
|
||||
align-items: flex-end;
|
||||
@media screen and (max-width: 1024px) {
|
||||
padding-left: 18px;
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
|
||||
:global(.vtex-styleguide-9-x-hideDecorators) {
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: $color-gray6;
|
||||
@media screen and (max-width: 1024px) {
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
&::placeholder {
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: $color-gray6;
|
||||
@media screen and (max-width: 1024px) {
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.label--newsletter {
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 38px;
|
||||
color: $color-white;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
&::after {
|
||||
content: "Receba ofertas e novidades por e-mail";
|
||||
margin-top: 16px;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: $color-gray6;
|
||||
@media screen and (max-width: 1024px) {
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.inputGroup--newsletter {
|
||||
margin-top: 16px;
|
||||
padding: 0;
|
||||
@media screen and (max-width: 768px) {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
.buttonContainer--newsletter {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 84px;
|
||||
|
||||
:global(.vtex-button) {
|
||||
border: none;
|
||||
border-radius: 0%;
|
||||
border-bottom: 3px solid $color-gray9;
|
||||
background-color: transparent;
|
||||
width: 100%;
|
||||
|
||||
:global(.vtex-button__label) {
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: $color-white;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
//BUG SCROLL
|
||||
:global(.vtex-store-footer-2-x-socialNetworksContainer) {
|
||||
margin: 0;
|
||||
}
|
||||
:global(.vtex-store-footer-2-x-acceptedPaymentMethodContainer) {
|
||||
margin: 0;
|
||||
}
|
102
styles/sass/pages/product/vtex.tab-layout.scss
Normal file
102
styles/sass/pages/product/vtex.tab-layout.scss
Normal file
@ -0,0 +1,102 @@
|
||||
.container--details {
|
||||
padding-left: 40px;
|
||||
padding-right: 40px;
|
||||
@media screen and (min-width: 1921px) {
|
||||
padding-left: 360px;
|
||||
padding-right: 360px;
|
||||
}
|
||||
}
|
||||
|
||||
.listContainer {
|
||||
border-bottom: 1px solid $color-gray9;
|
||||
margin-bottom: 32px;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: end;
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
margin-top: 16px;
|
||||
padding-bottom: 8px;
|
||||
padding-top: 5px;
|
||||
border-bottom: 1px solid $color-gray12;
|
||||
border-top: 1px solid $color-gray12;
|
||||
flex-direction: column;
|
||||
align-items: initial;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.listItem {
|
||||
background-color: transparent;
|
||||
padding: 0 14px 0 14px;
|
||||
margin: 0;
|
||||
height: 42px;
|
||||
@media screen and (max-width: 1024px) {
|
||||
margin: 5px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
:global(.vtex-button) {
|
||||
background-color: transparent;
|
||||
cursor: pointer;
|
||||
@media screen and (max-width: 1024px) {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-button) {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
:global(.vtex-button__label) {
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 38px;
|
||||
color: $color-gray9;
|
||||
text-transform: capitalize;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
@media screen and (min-width: 1921px) {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.listItemActive {
|
||||
border-bottom: 2px solid $color-black-100;
|
||||
@media screen and (min-width: 1921px) {
|
||||
border-bottom: 3px solid $color-black-100;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
border: none;
|
||||
}
|
||||
|
||||
:global(.vtex-button__label) {
|
||||
color: $color-black-100;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.listItemActive--descricao {
|
||||
border-bottom: 2px solid $color-black-100;
|
||||
|
||||
@media screen and (min-width: 1921px) {
|
||||
border-bottom: 3px solid $color-black-100;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
border: none;
|
||||
padding: 0;
|
||||
}
|
||||
:global(.vtex-button) {
|
||||
border: none;
|
||||
border-radius: 0%;
|
||||
}
|
||||
:global(.vtex-button__label) {
|
||||
color: $color-black-100;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
$color-black: #292929;
|
||||
$color-black-100: #000000;
|
||||
$color-black2: #202020;
|
||||
|
||||
$color-white: #fff;
|
||||
|
||||
@ -7,6 +9,13 @@ $color-gray2: #7d7d7d;
|
||||
$color-gray3: #f0f0f0;
|
||||
$color-gray4: #c4c4c4;
|
||||
$color-gray5: #e5e5e5;
|
||||
$color-gray6: #929292;
|
||||
$color-gray7: #989898;
|
||||
$color-gray8: #575757;
|
||||
$color-gray9: #bfbfbf;
|
||||
$color-gray10: #868686;
|
||||
$color-gray11: #bababa;
|
||||
$color-gray12: #b9b9b9;
|
||||
|
||||
$color-blue: #4267b2;
|
||||
|
||||
@ -19,7 +28,7 @@ $grid-breakpoints: (
|
||||
sm: 576px,
|
||||
md: 768px,
|
||||
lg: 992px,
|
||||
xl: 1200px
|
||||
xl: 1200px,
|
||||
) !default;
|
||||
|
||||
$z-index: (
|
||||
@ -27,5 +36,5 @@ $z-index: (
|
||||
level2: 10,
|
||||
level3: 15,
|
||||
level4: 20,
|
||||
level5: 25
|
||||
level5: 25,
|
||||
) !default;
|
||||
|
Loading…
Reference in New Issue
Block a user