Merge pull request 'feature/ProductPageVtexIo' (#1) from feature/ProductPageVtexIo into master
Reviewed-on: #1
This commit is contained in:
commit
ab979f403a
BIN
assets/fonts/OpenSans-Bold.ttf
Normal file
BIN
assets/fonts/OpenSans-Bold.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-BoldItalic.ttf
Normal file
BIN
assets/fonts/OpenSans-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-ExtraBold.ttf
Normal file
BIN
assets/fonts/OpenSans-ExtraBold.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-ExtraBoldItalic.ttf
Normal file
BIN
assets/fonts/OpenSans-ExtraBoldItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-Italic.ttf
Normal file
BIN
assets/fonts/OpenSans-Italic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-Light.ttf
Normal file
BIN
assets/fonts/OpenSans-Light.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-LightItalic.ttf
Normal file
BIN
assets/fonts/OpenSans-LightItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-Medium.ttf
Normal file
BIN
assets/fonts/OpenSans-Medium.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-MediumItalic.ttf
Normal file
BIN
assets/fonts/OpenSans-MediumItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-Regular.ttf
Normal file
BIN
assets/fonts/OpenSans-Regular.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-SemiBold.ttf
Normal file
BIN
assets/fonts/OpenSans-SemiBold.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-SemiBoldItalic.ttf
Normal file
BIN
assets/fonts/OpenSans-SemiBoldItalic.ttf
Normal file
Binary file not shown.
BIN
assets/left-arrow.png
Normal file
BIN
assets/left-arrow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 312 B |
BIN
assets/right-arrow.png
Normal file
BIN
assets/right-arrow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 308 B |
@ -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",
|
||||
@ -66,7 +65,8 @@
|
||||
"vtex.tab-layout": "0.x",
|
||||
"vtex.condition-layout": "2.x",
|
||||
"vtex.css-handles": "1.x",
|
||||
"vtex.product-context": "0.x"
|
||||
"vtex.product-context": "0.x",
|
||||
"vtex.render-runtime": "8.x"
|
||||
},
|
||||
"$schema": "https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema"
|
||||
}
|
||||
|
3
react/PixDiscount.ts
Normal file
3
react/PixDiscount.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import { PixDiscount } from "./components/Pixdiscount/pix-discount";
|
||||
|
||||
export default PixDiscount;
|
3
react/PlaceHolderCep.ts
Normal file
3
react/PlaceHolderCep.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import { PlaceHolderCep } from "./components/Placeholder/place-holder-cep";
|
||||
|
||||
export default PlaceHolderCep;
|
@ -4,37 +4,48 @@ import { useCssHandles } from "vtex.css-handles";
|
||||
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}</>;
|
||||
|
36
react/components/Pixdiscount/pix-discount.tsx
Normal file
36
react/components/Pixdiscount/pix-discount.tsx
Normal file
@ -0,0 +1,36 @@
|
||||
import React from "react";
|
||||
import style from "./styles.css";
|
||||
|
||||
import { useProduct } from "vtex.product-context";
|
||||
|
||||
export function PixDiscount() {
|
||||
const productContext = useProduct();
|
||||
const price =
|
||||
productContext?.selectedItem?.sellers[0]?.commertialOffer?.Price;
|
||||
console.log(productContext);
|
||||
|
||||
function discount() {
|
||||
if (price) {
|
||||
const discountedPrice = price - price * 0.1;
|
||||
return discountedPrice.toLocaleString("pt-BR", {
|
||||
style: "currency",
|
||||
currency: "BRL",
|
||||
});
|
||||
} else {
|
||||
return "...";
|
||||
}
|
||||
}
|
||||
return (
|
||||
<div className={style.pixContainer}>
|
||||
<img
|
||||
className={style.pixImg}
|
||||
src="https://agenciamagma.vtexassets.com/arquivos/pixpatrickreissantos.png"
|
||||
alt="pix"
|
||||
/>
|
||||
<div className={style.discountPixContainer}>
|
||||
<p className={style.discountP}>{discount()}</p>
|
||||
<span className={style.discountSpan}>10% de desconto</span>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
36
react/components/Pixdiscount/styles.css
Normal file
36
react/components/Pixdiscount/styles.css
Normal file
@ -0,0 +1,36 @@
|
||||
.pixContainer {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.pixImg {
|
||||
height: 24px;
|
||||
padding: 10px 26px 5px 0;
|
||||
}
|
||||
|
||||
.discountP {
|
||||
margin: 0;
|
||||
margin-right: 30px;
|
||||
}
|
||||
.discountPixContainer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: rgba(0, 0, 0, 0.58);
|
||||
}
|
||||
|
||||
.discountSpan {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-size: 13px;
|
||||
color: #929292;
|
||||
}
|
||||
|
||||
.imgTeste {
|
||||
margin: 18px 26px 21px 0px;
|
||||
}
|
13
react/components/Placeholder/place-holder-cep.tsx
Normal file
13
react/components/Placeholder/place-holder-cep.tsx
Normal file
@ -0,0 +1,13 @@
|
||||
import React from "react";
|
||||
import { canUseDOM } from "vtex.render-runtime";
|
||||
|
||||
export function PlaceHolderCep() {
|
||||
if (canUseDOM) {
|
||||
const myPlaceHolder = document.querySelector(
|
||||
".vtex-address-form-4-x-input"
|
||||
);
|
||||
myPlaceHolder?.setAttribute("placeholder", "Digite seu CEP");
|
||||
}
|
||||
|
||||
return <></>;
|
||||
}
|
4
react/typings/css.d.ts
vendored
Normal file
4
react/typings/css.d.ts
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
declare module "*.css" {
|
||||
const css: any;
|
||||
export default css;
|
||||
}
|
7
react/typings/global.d.ts
vendored
Normal file
7
react/typings/global.d.ts
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
export interface TimeSplit {
|
||||
hours: string
|
||||
minutes: string
|
||||
seconds: string
|
||||
}
|
||||
|
||||
type GenericObject = Record<string, any>
|
6
react/typings/graphql.d.ts
vendored
Normal file
6
react/typings/graphql.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
declare module "*.graphql" {
|
||||
import { DocumentNode } from "graphql";
|
||||
|
||||
const value: DocumentNode;
|
||||
export default value;
|
||||
}
|
15
react/typings/storefront.d.ts
vendored
Normal file
15
react/typings/storefront.d.ts
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
import { FunctionComponent } from "react";
|
||||
|
||||
declare global {
|
||||
interface StorefrontFunctionComponent<P = GenericObject>
|
||||
extends FunctionComponent<P> {
|
||||
getSchema?(props: P): GenericObject
|
||||
schema?: GenericObject
|
||||
}
|
||||
|
||||
interface StorefrontComponent<P = GenericObject, S = GenericObject>
|
||||
extends Component<P, S> {
|
||||
getSchema?(props: P): GenericObject
|
||||
schema: GenericObject
|
||||
}
|
||||
}
|
1
react/typings/vtex.css-handles.ts
Normal file
1
react/typings/vtex.css-handles.ts
Normal file
@ -0,0 +1 @@
|
||||
declare module "vtex.css-handles"
|
103
react/typings/vtex.order-manager.d.ts
vendored
Normal file
103
react/typings/vtex.order-manager.d.ts
vendored
Normal file
@ -0,0 +1,103 @@
|
||||
/* eslint-disable no-inner-declarations */
|
||||
declare module "vtex.order-manager/OrderQueue" {
|
||||
export * from "vtex.order-manager/react/OrderQueue";
|
||||
export { default } from "vtex.order-manager/react/OrderQueue";
|
||||
|
||||
export const QueueStatus = {
|
||||
PENDING: "Pending",
|
||||
FULFILLED: "Fulfilled",
|
||||
} as const;
|
||||
}
|
||||
|
||||
declare module "vtex.order-manager/OrderForm" {
|
||||
import { createContext, useContext } from "react";
|
||||
import type { DEFAULT_ORDER_FORM } from "@vtex/order-manager/src/constants";
|
||||
import type { Context, OrderForm } from "@vtex/order-manager/src/typings";
|
||||
|
||||
type DefaultOrderForm = typeof DEFAULT_ORDER_FORM;
|
||||
type DefaultOrderFormOmited = Omit<DefaultOrderForm, "items">;
|
||||
type DefaultOrderFormUpdated = DefaultOrderFormOmited & {
|
||||
items: OrderFormItem[] | null;
|
||||
};
|
||||
|
||||
export const OrderFormContext = createContext<Context<OrderForm>>({
|
||||
orderForm: DefaultOrderFormUpdated,
|
||||
setOrderForm: noop,
|
||||
error: undefined,
|
||||
loading: false,
|
||||
});
|
||||
|
||||
function useOrderForm<O extends OrderForm = DefaultOrderFormUpdated>() {
|
||||
const context = useContext(OrderFormContext);
|
||||
|
||||
if (context === undefined) {
|
||||
throw new Error(
|
||||
"useOrderForm must be used within a OrderFormProvider"
|
||||
);
|
||||
}
|
||||
return context as Context<O>;
|
||||
}
|
||||
|
||||
export type OrderFormItem = {
|
||||
additionalInfo: {
|
||||
brandName: string;
|
||||
__typename: string;
|
||||
};
|
||||
attachments: Array<any>;
|
||||
attachmentOfferings: Array<any>;
|
||||
bundleItems: Array<any>;
|
||||
parentAssemblyBinding: any;
|
||||
parentItemIndex: any;
|
||||
sellingPriceWithAssemblies: any;
|
||||
options: any;
|
||||
availability: string;
|
||||
detailUrl: string;
|
||||
id: string;
|
||||
imageUrls: Record<string, string>;
|
||||
listPrice: number;
|
||||
manualPrice: any;
|
||||
measurementUnit: string;
|
||||
modalType: any;
|
||||
name: string;
|
||||
offerings: Array<any>;
|
||||
price: number;
|
||||
priceTags: Array<any>;
|
||||
productCategories: Record<string, string>;
|
||||
productCategoryIds: string;
|
||||
productRefId: string;
|
||||
productId: string;
|
||||
quantity: number;
|
||||
seller: string;
|
||||
sellingPrice: number;
|
||||
skuName: string;
|
||||
skuSpecifications: Array<any>;
|
||||
unitMultiplier: number;
|
||||
uniqueId: string;
|
||||
refId: string;
|
||||
isGift: boolean;
|
||||
priceDefinition: {
|
||||
calculatedSellingPrice: number;
|
||||
total: number;
|
||||
sellingPrices: Array<{
|
||||
quantity: number;
|
||||
value: number;
|
||||
__typename: string;
|
||||
}>;
|
||||
__typename: string;
|
||||
};
|
||||
__typename: string;
|
||||
};
|
||||
|
||||
export { OrderFormProvider, useOrderForm };
|
||||
declare const _default: {
|
||||
OrderFormProvider: import("react").FC<Record<string, never>>;
|
||||
useOrderForm: typeof useOrderForm;
|
||||
};
|
||||
export default _default;
|
||||
}
|
||||
|
||||
declare module "vtex.order-manager/constants" {
|
||||
export * from "vtex.order-manager/react/constants";
|
||||
}
|
||||
|
||||
|
38
react/typings/vtex.render-runtime.d.ts
vendored
Normal file
38
react/typings/vtex.render-runtime.d.ts
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
/* Typings for `render-runtime` */
|
||||
declare module "vtex.render-runtime" {
|
||||
import { ComponentType, ReactElement, ReactType } from "react";
|
||||
|
||||
export interface NavigationOptions {
|
||||
page: string
|
||||
params?: any
|
||||
}
|
||||
|
||||
export interface RenderContextProps {
|
||||
runtime: {
|
||||
navigate: (options: NavigationOptions) => void
|
||||
}
|
||||
}
|
||||
|
||||
interface ExtensionPointProps {
|
||||
id: string
|
||||
[key: string]: any
|
||||
}
|
||||
|
||||
export const ExtensionPoint: ComponentType<ExtensionPointProps>;
|
||||
|
||||
interface ChildBlockProps {
|
||||
id: string
|
||||
}
|
||||
|
||||
export const ChildBlock: ComponentType<ChildBlockProps>;
|
||||
export const useChildBlock = () => GenericObject;
|
||||
|
||||
export const Helmet: ReactElement;
|
||||
export const Link: ReactType;
|
||||
export const NoSSR: ReactElement;
|
||||
export const RenderContextConsumer: ReactElement;
|
||||
export const canUseDOM: boolean;
|
||||
export const withRuntimeContext: <TOriginalProps extends GenericObject>(
|
||||
Component: ComponentType<TOriginalProps & RenderContextProps>
|
||||
) => ComponentType<TOriginalProps>;
|
||||
}
|
9
react/typings/vtex.styleguide.d.ts
vendored
Normal file
9
react/typings/vtex.styleguide.d.ts
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
declare module "vtex.styleguide" {
|
||||
import { ComponentType } from "react";
|
||||
|
||||
export const Input: ComponentType<InputProps>;
|
||||
|
||||
interface InputProps {
|
||||
[key: string]: any
|
||||
}
|
||||
}
|
@ -2,12 +2,12 @@
|
||||
"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",
|
||||
"rich-text#shelf-title",
|
||||
"info-card#home",
|
||||
"rich-text#question",
|
||||
"rich-text#link",
|
||||
|
113
store/blocks/pdp/product-description.jsonc
Normal file
113
store/blocks/pdp/product-description.jsonc
Normal file
@ -0,0 +1,113 @@
|
||||
{
|
||||
"html#product-description": {
|
||||
"props": {
|
||||
"testId": "product-description"
|
||||
},
|
||||
"children": ["tab-layout#description"]
|
||||
},
|
||||
|
||||
"tab-layout#description": {
|
||||
"children": ["tab-list#description", "tab-content#description"],
|
||||
"props": {
|
||||
"blockClass": "description",
|
||||
"defaultActiveTabId": "description1"
|
||||
}
|
||||
},
|
||||
"tab-list#description": {
|
||||
"children": [
|
||||
"tab-list.item#description1",
|
||||
"tab-list.item#description2",
|
||||
"tab-list.item#description3",
|
||||
"tab-list.item#description4",
|
||||
"tab-list.item#description5"
|
||||
]
|
||||
},
|
||||
"tab-list.item#description1": {
|
||||
"props": {
|
||||
"tabId": "description1",
|
||||
"label": "Descrição",
|
||||
"defaultActiveTab": true
|
||||
}
|
||||
},
|
||||
"tab-list.item#description2": {
|
||||
"props": {
|
||||
"tabId": "description2",
|
||||
"label": "Descrição"
|
||||
}
|
||||
},
|
||||
|
||||
"tab-list.item#description3": {
|
||||
"props": {
|
||||
"tabId": "description3",
|
||||
"label": "Descrição"
|
||||
}
|
||||
},
|
||||
|
||||
"tab-list.item#description4": {
|
||||
"props": {
|
||||
"tabId": "description4",
|
||||
"label": "Descrição"
|
||||
}
|
||||
},
|
||||
|
||||
"tab-list.item#description5": {
|
||||
"props": {
|
||||
"tabId": "description5",
|
||||
"label": "Descrição"
|
||||
}
|
||||
},
|
||||
|
||||
"tab-content#description": {
|
||||
"children": [
|
||||
"tab-content.item#description1",
|
||||
"tab-content.item#description2",
|
||||
"tab-content.item#description3",
|
||||
"tab-content.item#description4",
|
||||
"tab-content.item#description5"
|
||||
]
|
||||
},
|
||||
"tab-content.item#description1": {
|
||||
"children": ["product-images#imagecontainer", "product-description"],
|
||||
"props": {
|
||||
"tabId": "description1"
|
||||
}
|
||||
},
|
||||
"tab-content.item#description2": {
|
||||
"children": ["product-images#imagecontainer", "product-description"],
|
||||
"props": {
|
||||
"tabId": "description2"
|
||||
}
|
||||
},
|
||||
"tab-content.item#description3": {
|
||||
"children": ["product-images#imagecontainer", "product-description"],
|
||||
"props": {
|
||||
"tabId": "description3"
|
||||
}
|
||||
},
|
||||
|
||||
"tab-content.item#description4": {
|
||||
"children": ["product-images#imagecontainer", "product-description"],
|
||||
"props": {
|
||||
"tabId": "description4"
|
||||
}
|
||||
},
|
||||
|
||||
"tab-content.item#description5": {
|
||||
"children": ["product-images#imagecontainer", "product-description"],
|
||||
"props": {
|
||||
"tabId": "description5"
|
||||
}
|
||||
},
|
||||
|
||||
"product-images#imagecontainer": {
|
||||
"props": {
|
||||
"displayThumbnailsArrows": false,
|
||||
"showNavigationArrows": false,
|
||||
"contentType": "images",
|
||||
"displayMode": "first-image",
|
||||
"zoomMode": "disabled"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* "product-specification-group#table" */
|
@ -5,11 +5,53 @@
|
||||
"condition-layout.product#availability",
|
||||
"flex-layout.row#description",
|
||||
"flex-layout.row#specifications-title",
|
||||
"product-specification-group#table",
|
||||
"shelf.relatedProducts",
|
||||
/* "product-specification-group#table", */
|
||||
/* "shelf.relatedProducts", */
|
||||
"list-context.product-list#relatedProduct",
|
||||
"product-questions-and-answers"
|
||||
]
|
||||
},
|
||||
|
||||
"html#vtex-product-summary": {
|
||||
"props": {
|
||||
"testId": "vtex-product-summary"
|
||||
},
|
||||
"children": [
|
||||
"stack-layout#prodsum",
|
||||
"product-summary-name",
|
||||
"product-list-price",
|
||||
"product-selling-price"
|
||||
]
|
||||
},
|
||||
|
||||
"product-summary.shelf#demo1": {
|
||||
"children": ["html#vtex-product-summary"]
|
||||
},
|
||||
"list-context.product-list#relatedProduct": {
|
||||
"blocks": ["product-summary.shelf#demo1"],
|
||||
"children": ["html#product-summary-list"]
|
||||
},
|
||||
|
||||
"html#product-summary-list": {
|
||||
"props": {
|
||||
"testId": "product-summary-list"
|
||||
},
|
||||
"children": ["slider-layout#demo-products"]
|
||||
},
|
||||
|
||||
"slider-layout#demo-products": {
|
||||
"props": {
|
||||
"itemsPerPage": {
|
||||
"desktop": 4,
|
||||
"tablet": 3,
|
||||
"phone": 2
|
||||
},
|
||||
"infinite": true,
|
||||
"showNavigationArrows": "always",
|
||||
"blockClass": "carousel"
|
||||
}
|
||||
},
|
||||
|
||||
"html#breadcrumb": {
|
||||
"props": {
|
||||
"tag": "section",
|
||||
@ -26,11 +68,18 @@
|
||||
"text": "##### Product Specifications"
|
||||
}
|
||||
},
|
||||
|
||||
"product-description": {
|
||||
"props": {
|
||||
"collapseContent": false
|
||||
}
|
||||
},
|
||||
|
||||
"flex-layout.row#description": {
|
||||
"props": {
|
||||
"marginBottom": 7
|
||||
},
|
||||
"children": ["product-description"]
|
||||
"children": ["html#product-description"]
|
||||
},
|
||||
"condition-layout.product#availability": {
|
||||
"props": {
|
||||
@ -50,7 +99,8 @@
|
||||
"marginTop": 4,
|
||||
"marginBottom": 7,
|
||||
"paddingTop": 7,
|
||||
"paddingBottom": 7
|
||||
"paddingBottom": 7,
|
||||
"blockClass": "product-container"
|
||||
},
|
||||
"children": ["flex-layout.col#stack", "flex-layout.col#right-col"]
|
||||
},
|
||||
@ -60,7 +110,7 @@
|
||||
"blockClass": "product"
|
||||
},
|
||||
"children": [
|
||||
"flex-layout.row#product-image",
|
||||
"html#product-images",
|
||||
"product-bookmark",
|
||||
"product-specification-badges"
|
||||
]
|
||||
@ -78,10 +128,18 @@
|
||||
"flex-layout.col#stack": {
|
||||
"children": ["stack-layout"],
|
||||
"props": {
|
||||
"width": "60%",
|
||||
"width": "50%",
|
||||
"rowGap": 0
|
||||
}
|
||||
},
|
||||
|
||||
"html#product-images": {
|
||||
"props": {
|
||||
"testId": "product-images"
|
||||
},
|
||||
"children": ["product-images"]
|
||||
},
|
||||
|
||||
"flex-layout.row#product-image": {
|
||||
"children": ["product-images"]
|
||||
},
|
||||
@ -89,38 +147,100 @@
|
||||
"props": {
|
||||
"aspectRatio": {
|
||||
"desktop": "auto",
|
||||
"phone": "16:9"
|
||||
"phone": "auto"
|
||||
},
|
||||
"displayThumbnailsArrows": true
|
||||
"thumbnailsOrientation": "horizontal",
|
||||
"displayThumbnailsArrows": false,
|
||||
"showNavigationArrows": false,
|
||||
"showPaginationDots": false
|
||||
}
|
||||
},
|
||||
|
||||
"html#product-code": {
|
||||
"props": {
|
||||
"testId": "product-code"
|
||||
},
|
||||
"children": ["product-identifier.product"]
|
||||
},
|
||||
|
||||
"html#product-name": {
|
||||
"props": {
|
||||
"testId": "product-name"
|
||||
},
|
||||
"children": ["flex-layout.row#product-name"]
|
||||
},
|
||||
|
||||
"flex-layout.col#right-col": {
|
||||
"props": {
|
||||
"preventVerticalStretch": true,
|
||||
"rowGap": 0
|
||||
"rowGap": 0,
|
||||
"blockClass": "right-col"
|
||||
},
|
||||
"children": [
|
||||
"flex-layout.row#product-name",
|
||||
"html#product-name",
|
||||
"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",
|
||||
/* "flex-layout.row#list-price-savings", */
|
||||
"html#product-code",
|
||||
"html#product-price",
|
||||
"html#product-installments",
|
||||
"html#pix-price",
|
||||
"place-holder",
|
||||
/* "product-separator", */
|
||||
"html#sku-selector",
|
||||
"flex-layout.row#add-bag",
|
||||
"product-assembly-options",
|
||||
"product-gifts",
|
||||
"flex-layout.row#buy-button",
|
||||
"product-gifts", //
|
||||
"availability-subscriber",
|
||||
"shipping-simulator",
|
||||
"share#default"
|
||||
"html#shipping-simulator"
|
||||
/* "share#default" */
|
||||
]
|
||||
},
|
||||
"html#sku-selector": {
|
||||
"props": {
|
||||
"testId": "sku-selector"
|
||||
},
|
||||
"children": ["sku-selector"]
|
||||
},
|
||||
|
||||
"html#shipping-simulator": {
|
||||
"props": {
|
||||
"testId": "shipping-simulator"
|
||||
},
|
||||
"children": ["shipping-simulator"]
|
||||
},
|
||||
|
||||
"html#pix-price": {
|
||||
"props": {
|
||||
"testId": "pix-price"
|
||||
},
|
||||
"children": ["pix-discount"]
|
||||
},
|
||||
|
||||
"html#add-to-cart-button": {
|
||||
"props": {
|
||||
"testId": "add-to-cart-button"
|
||||
},
|
||||
"children": ["add-to-cart-button"]
|
||||
},
|
||||
|
||||
"html#product-quantity": {
|
||||
"props": {
|
||||
"testId": "product-quantity"
|
||||
},
|
||||
"children": ["product-quantity"]
|
||||
},
|
||||
|
||||
"flex-layout.row#add-bag": {
|
||||
"props": {
|
||||
"blockClass": "addToBag"
|
||||
},
|
||||
"children": ["html#product-quantity", "html#add-to-cart-button"]
|
||||
},
|
||||
|
||||
"flex-layout.row#product-name": {
|
||||
"props": {
|
||||
"marginBottom": 3
|
||||
"marginBottom": 0,
|
||||
"blockClass": "product-name-container"
|
||||
},
|
||||
"children": ["vtex.store-components:product-name"]
|
||||
},
|
||||
@ -128,14 +248,15 @@
|
||||
"sku-selector": {
|
||||
"props": {
|
||||
"variationsSpacing": 3,
|
||||
"showValueNameForImageVariation": true
|
||||
"showValueNameForImageVariation": true,
|
||||
"blockClass": "sku-selector"
|
||||
}
|
||||
},
|
||||
|
||||
"flex-layout.row#buy-button": {
|
||||
"props": {
|
||||
"marginTop": 4,
|
||||
"marginBottom": 7
|
||||
"marginTop": 0,
|
||||
"marginBottom": 0
|
||||
},
|
||||
"children": ["add-to-cart-button"]
|
||||
},
|
||||
@ -145,7 +266,8 @@
|
||||
"colGap": 7,
|
||||
"marginTop": 4,
|
||||
"marginBottom": 7,
|
||||
"paddingTop": 7
|
||||
"paddingTop": 7,
|
||||
"blockClass": "product-container"
|
||||
},
|
||||
"children": [
|
||||
"flex-layout.col#stack",
|
||||
@ -161,8 +283,8 @@
|
||||
"children": [
|
||||
"flex-layout.row#product-name",
|
||||
"product-identifier.product",
|
||||
"sku-selector",
|
||||
"flex-layout.row#availability"
|
||||
"flex-layout.row#availability",
|
||||
"sku-selector"
|
||||
]
|
||||
},
|
||||
"flex-layout.row#availability": {
|
||||
|
0
store/blocks/pdp/related-products.json
Normal file
0
store/blocks/pdp/related-products.json
Normal file
@ -1,14 +1,18 @@
|
||||
{
|
||||
"html#product-price": {
|
||||
"props": {
|
||||
"testId": "product-price"
|
||||
},
|
||||
"children": ["flex-layout.row#selling-price"]
|
||||
},
|
||||
"flex-layout.row#selling-price": {
|
||||
"props": {
|
||||
"colGap": 2,
|
||||
"preserveLayoutOnMobile": true,
|
||||
"preventHorizontalStretch": true,
|
||||
"marginBottom": 4
|
||||
"marginBottom": 0
|
||||
},
|
||||
"children": [
|
||||
"product-selling-price"
|
||||
]
|
||||
"children": ["product-selling-price"]
|
||||
},
|
||||
|
||||
"flex-layout.row#list-price-savings": {
|
||||
@ -19,9 +23,6 @@
|
||||
"marginBottom": 2,
|
||||
"marginTop": 5
|
||||
},
|
||||
"children": [
|
||||
"product-list-price",
|
||||
"product-price-savings"
|
||||
]
|
||||
"children": ["product-list-price", "product-price-savings"]
|
||||
}
|
||||
}
|
||||
|
@ -7,7 +7,7 @@
|
||||
"product-summary-space",
|
||||
"product-list-price#summary",
|
||||
"flex-layout.row#selling-price-savings",
|
||||
"product-installments#summary",
|
||||
"html#product-installments",
|
||||
"add-to-cart-button"
|
||||
]
|
||||
},
|
||||
@ -20,9 +20,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
|
||||
]
|
||||
},
|
||||
|
||||
@ -69,9 +69,18 @@
|
||||
"product-price-savings#summary"
|
||||
]
|
||||
},
|
||||
"html#product-installments": {
|
||||
"props": {
|
||||
"testId": "product-installments"
|
||||
},
|
||||
"children": ["product-installments#summary"]
|
||||
},
|
||||
"product-installments#summary": {
|
||||
"props": {
|
||||
"blockClass": "summary"
|
||||
"blockClass": "installmentsSumary",
|
||||
"installmentOptionsFilter": { "installmentsQuantity": 4 },
|
||||
"markers": ["discount"],
|
||||
"message": "{installmentsNumber} de {installmentValue} sem juros"
|
||||
}
|
||||
},
|
||||
"product-selling-price#summary": {
|
||||
@ -81,9 +90,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"
|
||||
|
@ -5,5 +5,11 @@
|
||||
"html": {
|
||||
"component": "html",
|
||||
"composition": "children"
|
||||
},
|
||||
"pix-discount": {
|
||||
"component": "PixDiscount"
|
||||
},
|
||||
"place-holder": {
|
||||
"component": "PlaceHolderCep"
|
||||
}
|
||||
}
|
||||
|
10
styles/configs/font-faces.css
Normal file
10
styles/configs/font-faces.css
Normal file
@ -0,0 +1,10 @@
|
||||
@font-face {
|
||||
font-family: "Open Sans", sans-serif;
|
||||
src: url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
src: url("assets/fonts/OpenSans-Regular.ttf");
|
||||
/* font-weight: bold; */
|
||||
}
|
@ -1,26 +1,28 @@
|
||||
{
|
||||
"typeScale": [
|
||||
3, 2.25, 1.5, 1.25, 1, 0.875, 0.75
|
||||
],
|
||||
"typeScale": [3, 2.25, 1.5, 1.25, 1, 0.875, 0.75],
|
||||
"spacing": [0.125, 0.25, 0.5, 0.75, 1, 1.5, 2, 3, 4, 8, 16],
|
||||
"customMedia": [
|
||||
{ "s": 20 },
|
||||
{ "ns": {
|
||||
{
|
||||
"ns": {
|
||||
"value": 40,
|
||||
"minWidth": true
|
||||
}
|
||||
},
|
||||
{ "m": {
|
||||
{
|
||||
"m": {
|
||||
"value": 40,
|
||||
"minWidth": true
|
||||
}
|
||||
},
|
||||
{ "l": {
|
||||
{
|
||||
"l": {
|
||||
"value": 64,
|
||||
"minWidth": true
|
||||
}
|
||||
},
|
||||
{ "xl": {
|
||||
{
|
||||
"xl": {
|
||||
"value": 80,
|
||||
"minWidth": true
|
||||
}
|
||||
@ -253,84 +255,84 @@
|
||||
"measure": [30, 34, 20],
|
||||
"styles": {
|
||||
"heading-1": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, arial, sans-serif",
|
||||
"fontWeight": "500",
|
||||
"fontSize": "1.25rem",
|
||||
"textTransform": "uppercase",
|
||||
|
@ -12,5 +12,5 @@
|
||||
}
|
||||
|
||||
.html--pdp-breadcrumb {
|
||||
background-color: green;
|
||||
background-color: white;
|
||||
}
|
44
styles/css/vtex.breadcrumb.css
Normal file
44
styles/css/vtex.breadcrumb.css
Normal file
@ -0,0 +1,44 @@
|
||||
/*
|
||||
0 - 600PX: Phone
|
||||
600 - 900px: Table portrait
|
||||
900 - 1200px: Tablet landscape
|
||||
[1200 - 1800] is where our nortal styles apply
|
||||
1800px + : Big desktop
|
||||
*/
|
||||
/* Media Query M3 */
|
||||
/* Grid breakpoints */
|
||||
.container {
|
||||
padding: 0 40px;
|
||||
}
|
||||
|
||||
.homeLink {
|
||||
padding: 0;
|
||||
}
|
||||
.homeLink::after {
|
||||
/* font-family: "Open Sans"; */
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
content: "Home";
|
||||
display: block;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.homeIcon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.arrow--1 {
|
||||
font-size: 0;
|
||||
}
|
||||
.arrow--1::after {
|
||||
/* font-family: "Open Sans"; */
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
content: "Sapatos";
|
||||
}
|
@ -1,98 +1,91 @@
|
||||
.flexRowContent--menu-link,
|
||||
.flexRowContent--main-header {
|
||||
padding: 0 0.5rem;
|
||||
@charset "UTF-8";
|
||||
/*
|
||||
0 - 600PX: Phone
|
||||
600 - 900px: Table portrait
|
||||
900 - 1200px: Tablet landscape
|
||||
[1200 - 1800] is where our nortal styles apply
|
||||
1800px + : Big desktop
|
||||
*/
|
||||
/* Media Query M3 */
|
||||
/* Grid breakpoints */
|
||||
@media (min-width: 1921px) {
|
||||
.flexRow--product-container :global(.vtex-store-components-3-x-container) {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 40em) {
|
||||
.flexRowContent--menu-link,
|
||||
.flexRowContent--main-header {
|
||||
padding: 0 1rem;
|
||||
}
|
||||
@media (min-width: 1921px) {
|
||||
.flexRow--product-container .stretchChildrenWidth {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 80rem) {
|
||||
.flexRowContent--menu-link,
|
||||
.flexRowContent--main-header {
|
||||
padding: 0 0.25rem;
|
||||
.flexRowContent--product-container {
|
||||
margin: 0;
|
||||
padding: 16px 40px;
|
||||
}
|
||||
@media (min-width: 1921px) {
|
||||
.flexRowContent--product-container {
|
||||
width: 1920px;
|
||||
gap: 32px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.flexRowContent--product-container {
|
||||
flex-direction: column;
|
||||
}
|
||||
.flexRowContent--product-container .stretchChildrenWidth {
|
||||
padding: 0;
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
|
||||
.flexRowContent--menu-link {
|
||||
background-color: #03044e;
|
||||
color: #fff;
|
||||
@media (max-width: 768px) {
|
||||
.flexRowContent--addToBag {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
.flexRowContent--addToBag .stretchChildrenWidth:first-child {
|
||||
padding: 0;
|
||||
width: 128px !important;
|
||||
}
|
||||
.flexRowContent--addToBag .stretchChildrenWidth:last-child {
|
||||
padding-left: 10px;
|
||||
width: unset !important;
|
||||
flex: 1;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.flexRowContent--addToBag .stretchChildrenWidth:last-child {
|
||||
padding: 0;
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
.flexRowContent--addToBag .stretchChildrenWidth:last-child :global(.vtex-button) {
|
||||
background-color: #000000;
|
||||
border: none;
|
||||
height: 49px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.flexRowContent--addToBag .stretchChildrenWidth:last-child :global(.vtex-button) {
|
||||
height: 74px;
|
||||
}
|
||||
}
|
||||
|
||||
.flexRowContent--main-header {
|
||||
background-color: #f0f0f0;
|
||||
:global(.vtex-add-to-cart-button-0-x-buttonText) {
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.flexRowContent--main-header-mobile {
|
||||
align-items: center;
|
||||
padding: 0.625rem 0.5rem;
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.flexRowContent--menu-link :global(.vtex-menu-2-x-styledLink) {
|
||||
:global(.vtex-add-to-cart-button-0-x-buttonText)::after {
|
||||
content: "ADICIONAR À SACOLA";
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: #ffffff;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.flexRowContent--main-header :global(.vtex-menu-2-x-styledLink) {
|
||||
color: #727273;
|
||||
font-size: 14px;
|
||||
@media (max-width: 768px) {
|
||||
:global(.vtex-add-to-cart-button-0-x-buttonText)::after {
|
||||
width: 116px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
@ -1,3 +1,35 @@
|
||||
/*
|
||||
0 - 600PX: Phone
|
||||
600 - 900px: Table portrait
|
||||
900 - 1200px: Tablet landscape
|
||||
[1200 - 1800] is where our nortal styles apply
|
||||
1800px + : Big desktop
|
||||
*/
|
||||
/* Media Query M3 */
|
||||
/* Grid breakpoints */
|
||||
.product-identifier--productReference {
|
||||
margin-bottom: 1rem;
|
||||
display: flex;
|
||||
justify-content: right;
|
||||
margin-top: 8px !important;
|
||||
margin-bottom: 24px !important;
|
||||
/* font-family: "Open Sans"; */
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-align: right;
|
||||
color: rgba(146, 146, 146, 0.48);
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.product-identifier--productReference {
|
||||
justify-content: start;
|
||||
}
|
||||
}
|
||||
|
||||
.product-identifier__label {
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.product-identifier__separator {
|
||||
font-size: 0;
|
||||
}
|
@ -1,79 +1,83 @@
|
||||
.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 */
|
||||
:global(.vtex-product-price-1-x-sellingPrice) {
|
||||
font-weight: 700;
|
||||
font-size: 25px;
|
||||
line-height: 38px;
|
||||
color: #000000 !important;
|
||||
}
|
||||
|
||||
.sellingPrice {
|
||||
color: #3f3f40;
|
||||
font-size: 1.25rem;
|
||||
.installments--installmentsSumary {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: #929292;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.sellingPriceValue {
|
||||
font-size: 2.25rem;
|
||||
.currencyContainer--installmentsSumary {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.installments {
|
||||
color: #727273;
|
||||
margin-bottom: 1rem;
|
||||
.installmentsNumber--installmentsSumary--4 {
|
||||
font-weight: 700;
|
||||
}
|
||||
.installmentsNumber--installmentsSumary--4::after {
|
||||
content: "x";
|
||||
}
|
||||
|
||||
.savings {
|
||||
font-weight: 500;
|
||||
color: #79B03A;
|
||||
.installmentsPrice {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sellingPriceValue--summary {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
color: #2E2E2E;
|
||||
.listPrice {
|
||||
margin: 8px;
|
||||
padding: 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.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;
|
||||
.listPriceLabel {
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.savings-discount--summary {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 600;
|
||||
vertical-align: baseline;
|
||||
color: #FFFFFF;
|
||||
padding-left: 0.5rem;
|
||||
padding-right: 0.5rem;
|
||||
.listPriceValue {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #bababa;
|
||||
}
|
||||
.listPriceValue::before {
|
||||
content: "de ";
|
||||
}
|
||||
.listPriceValue::after {
|
||||
content: " por";
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
.listPrice--summary {
|
||||
margin-bottom: 0.25rem;
|
||||
font-size: .875rem;
|
||||
.sellingPriceLabel {
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.installments--summary {
|
||||
margin-bottom: 2rem;
|
||||
font-size: 0.875rem;
|
||||
.sellingPrice {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 24px;
|
||||
line-height: 33px;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.savings--summaryPercentage {
|
||||
background: #0f3e99;
|
||||
border-radius: 1000px;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
@media (min-width: 1921px) {
|
||||
.sellingPrice {
|
||||
font-size: 25px;
|
||||
}
|
||||
|
||||
.savingsPercentage--summaryPercentage {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 600;
|
||||
vertical-align: baseline;
|
||||
color: #FFFFFF;
|
||||
padding: 0.25rem 0.5rem 0.25rem 0.5rem;
|
||||
}
|
38
styles/css/vtex.product-quantity.css
Normal file
38
styles/css/vtex.product-quantity.css
Normal file
@ -0,0 +1,38 @@
|
||||
/*
|
||||
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 */
|
||||
.quantitySelectorContainer {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.quantitySelectorTitle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:global(.vtex-numeric-stepper-container) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 1px solid #cccccc;
|
||||
padding: 13px 16px;
|
||||
width: 128px;
|
||||
height: 49px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
:global(.vtex-numeric-stepper__plus-button),
|
||||
:global(.vtex-numeric-stepper__minus-button),
|
||||
:global(.vtex-numeric-stepper__input) {
|
||||
border: none;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
:global(.vtex-numeric-stepper__input) {
|
||||
width: 40px;
|
||||
}
|
@ -1,42 +1,35 @@
|
||||
.skuSelectorContainer--quickview .skuSelectorItemImage .frameAround, .skuSelectorContainer--quickview .skuSelectorItemImage .skuSelectorInternalBox {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.container :global(.vtex-modal-layout-0-x-triggerContainer) {
|
||||
opacity: 0;
|
||||
transition: opacity 200ms ease-in-out;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
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 {
|
||||
justify-content: start;
|
||||
padding-top: 1rem;
|
||||
padding-bottom: 1rem;
|
||||
justify-content: center !important;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.brandName {
|
||||
font-weight: 600;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
color: #2E2E2E;
|
||||
line-height: 25px;
|
||||
color: #000000;
|
||||
padding: 16px 0 8px !important;
|
||||
}
|
||||
|
||||
.container {
|
||||
text-align: start;
|
||||
.priceContainer {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.imageContainer {
|
||||
text-align: center;
|
||||
.element {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.image {
|
||||
border-radius: 0.25rem;
|
||||
.imageWrapper {
|
||||
margin-bottom: 16px;
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
@charset "UTF-8";
|
||||
/*
|
||||
0 - 600PX: Phone
|
||||
600 - 900px: Table portrait
|
||||
@ -7,3 +8,37 @@
|
||||
*/
|
||||
/* Media Query M3 */
|
||||
/* Grid breakpoints */
|
||||
.heading {
|
||||
font-size: 0;
|
||||
margin-bottom: 32px;
|
||||
margin-top: 0;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.heading {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.heading {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
}
|
||||
.heading::after {
|
||||
content: "Você também pode gostar:";
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 38px;
|
||||
color: #575757;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.heading::after {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.container {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
@ -1,31 +1,126 @@
|
||||
.sliderLayoutContainer {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.sliderLayoutContainer--carousel {
|
||||
background-color: #F0F0F0;
|
||||
min-height: 450px;
|
||||
}
|
||||
|
||||
/*
|
||||
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 */
|
||||
.sliderTrackContainer {
|
||||
max-width: 100%;
|
||||
background-color: white;
|
||||
width: 1300px;
|
||||
margin: auto;
|
||||
}
|
||||
@media (min-width: 1921px) {
|
||||
.sliderTrackContainer {
|
||||
width: 1920px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.sliderTrackContainer {
|
||||
width: 944px;
|
||||
padding: 28px;
|
||||
}
|
||||
}
|
||||
|
||||
.sliderTrack--carousel {
|
||||
padding: 0 28px;
|
||||
}
|
||||
@media (min-width: 1921px) {
|
||||
.sliderTrack--carousel :global(.vtex-product-summary-2-x-containerNormal) {
|
||||
max-width: 434px !important;
|
||||
height: 543px !important;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1921px) {
|
||||
.sliderTrack--carousel :global(.vtex-product-summary-2-x-containerNormal) :global(.vtex-product-summary-2-x-imageContainer) {
|
||||
width: 100%;
|
||||
height: 434px;
|
||||
}
|
||||
.sliderTrack--carousel :global(.vtex-product-summary-2-x-containerNormal) :global(.vtex-product-summary-2-x-imageContainer) :global(.vtex-product-summary-2-x-imageNormal) {
|
||||
width: 100% !important;
|
||||
max-height: 434px !important;
|
||||
}
|
||||
}
|
||||
|
||||
.paginationDotsContainer {
|
||||
margin-top: .5rem;
|
||||
margin-bottom: .5rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.layoutContainer--shelf {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
max-width: 96rem;
|
||||
min-height: 550px;
|
||||
.paginationDot {
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
.slide--shelf {
|
||||
margin-bottom: 25px;
|
||||
padding-left: .5rem;
|
||||
padding-right: .5rem;
|
||||
min-height: 550px;
|
||||
.paginationDot--isActive {
|
||||
width: 16px !important;
|
||||
height: 16px !important;
|
||||
border: 0.5px solid #000000;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.slideChildrenContainer {
|
||||
margin-bottom: 36px;
|
||||
}
|
||||
|
||||
.sliderRightArrow--carousel {
|
||||
right: 50px;
|
||||
}
|
||||
@media (min-width: 1920px) {
|
||||
.sliderRightArrow--carousel {
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.sliderRightArrow--carousel {
|
||||
right: 10px;
|
||||
}
|
||||
}
|
||||
.sliderRightArrow--carousel::after {
|
||||
content: url(assets/right-arrow.png);
|
||||
height: 30px;
|
||||
width: 12px;
|
||||
display: block;
|
||||
}
|
||||
.sliderRightArrow--carousel .caretIcon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sliderLeftArrow--carousel {
|
||||
left: 50px;
|
||||
}
|
||||
@media (min-width: 1920px) {
|
||||
.sliderLeftArrow--carousel {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.sliderLeftArrow--carousel {
|
||||
left: 10px;
|
||||
}
|
||||
}
|
||||
.sliderLeftArrow--carousel::after {
|
||||
content: url(assets/left-arrow.png);
|
||||
height: 30px;
|
||||
width: 12px;
|
||||
display: block;
|
||||
}
|
||||
.sliderLeftArrow--carousel .caretIcon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.slide--carousel {
|
||||
padding: 0 8px;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.slide--carousel {
|
||||
padding: 0 6px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1920px) {
|
||||
.sliderLayoutContainer {
|
||||
width: 1920px;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
@charset "UTF-8";
|
||||
/*
|
||||
0 - 600PX: Phone
|
||||
600 - 900px: Table portrait
|
||||
@ -7,6 +8,459 @@
|
||||
*/
|
||||
/* Media Query M3 */
|
||||
/* Grid breakpoints */
|
||||
.newsletter {
|
||||
background: red;
|
||||
@media (min-width: 1921px) {
|
||||
:global(.vtex-store-components-3-x-container) {
|
||||
margin: auto !important;
|
||||
max-width: 1920px;
|
||||
}
|
||||
}
|
||||
|
||||
.productNameContainer--quickview {
|
||||
text-align: right;
|
||||
color: #575757;
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-size: 20px;
|
||||
line-height: 34px;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.productNameContainer--quickview {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.productNameContainer--quickview .productBrand {
|
||||
width: 220px !important;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.skuSelectorContainer--sku-selector {
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.skuSelectorSubcontainer--tamanho .skuSelectorItemTextValue {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #000000;
|
||||
}
|
||||
.skuSelectorSubcontainer--tamanho .skuSelectorOptionsList {
|
||||
gap: 16px;
|
||||
margin: 0;
|
||||
}
|
||||
.skuSelectorSubcontainer--tamanho .skuSelectorItem--sku-selector {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.skuSelectorSubcontainer--tamanho .skuSelectorItem--sku-selector .skuSelectorInternalBox--sku-selector {
|
||||
border: 0;
|
||||
}
|
||||
.skuSelectorSubcontainer--tamanho .skuSelectorItem--sku-selector .frameAround--sku-selector {
|
||||
border-radius: 100%;
|
||||
border: 1px solid #989898;
|
||||
}
|
||||
.skuSelectorSubcontainer--tamanho .skuSelectorItem--sku-selector--selected .frameAround--sku-selector {
|
||||
border: 2px solid #000000;
|
||||
}
|
||||
.skuSelectorSubcontainer--tamanho .skuSelectorItemTextValue--sku-selector {
|
||||
padding: 0;
|
||||
}
|
||||
.skuSelectorSubcontainer--tamanho .skuSelectorNameContainer {
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorTextContainer {
|
||||
margin: 16px 0 8px 0;
|
||||
}
|
||||
.skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorName {
|
||||
font-size: 0;
|
||||
}
|
||||
.skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorName::after {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
content: "OUTROS TAMANHOS";
|
||||
}
|
||||
|
||||
.skuSelectorSubcontainer--cor .skuSelectorOptionsList {
|
||||
gap: 16px;
|
||||
margin: 0;
|
||||
}
|
||||
.skuSelectorSubcontainer--cor .skuSelectorItem--sku-selector {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
}
|
||||
.skuSelectorSubcontainer--cor .skuSelectorItem--sku-selector .skuSelectorInternalBox--sku-selector {
|
||||
border-radius: 100%;
|
||||
}
|
||||
.skuSelectorSubcontainer--cor .skuSelectorItem--sku-selector .frameAround--sku-selector {
|
||||
border-radius: 100%;
|
||||
border: 1px solid #989898;
|
||||
}
|
||||
.skuSelectorSubcontainer--cor .skuSelectorItem--sku-selector--selected .frameAround--sku-selector {
|
||||
border: 2px solid #000000;
|
||||
}
|
||||
.skuSelectorSubcontainer--cor .skuSelectorNameContainer {
|
||||
margin: 0;
|
||||
}
|
||||
.skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorTextContainer {
|
||||
margin: 10px 0 8px 0;
|
||||
}
|
||||
.skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorName {
|
||||
font-size: 0;
|
||||
}
|
||||
.skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorName::after {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
content: "OUTRAS CORES";
|
||||
}
|
||||
.skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorSelectorImageValue {
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.diagonalCross {
|
||||
background-color: black;
|
||||
transform: rotate(45deg) translate(-50%, -50%);
|
||||
width: 2px;
|
||||
top: 38%;
|
||||
left: 12%;
|
||||
height: 110%;
|
||||
}
|
||||
|
||||
.shippingContainer {
|
||||
position: relative;
|
||||
}
|
||||
.shippingContainer :global(.vtex-input-prefix__group) {
|
||||
width: 231px;
|
||||
height: 49px;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.shippingContainer :global(.vtex-input-prefix__group) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.shippingContainer :global(.vtex-button) {
|
||||
position: absolute;
|
||||
border: 0;
|
||||
width: 49px;
|
||||
height: 49px;
|
||||
top: 27px;
|
||||
left: 229px;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.shippingContainer :global(.vtex-button) {
|
||||
right: 0;
|
||||
left: unset;
|
||||
}
|
||||
}
|
||||
.shippingContainer :global(.vtex-button__label) {
|
||||
background-color: #000000;
|
||||
width: 49px;
|
||||
height: 49px;
|
||||
font-size: 0;
|
||||
box-sizing: b;
|
||||
}
|
||||
.shippingContainer :global(.vtex-button__label)::after {
|
||||
content: "OK";
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #ffffff;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) {
|
||||
display: flex;
|
||||
padding: 0;
|
||||
margin-top: 16px;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) {
|
||||
width: 280px;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input__label) {
|
||||
font-size: 0;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input__label)::after {
|
||||
content: "CALCULAR FRETE:";
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
|
||||
justify-content: right;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) :first-child {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
text-decoration-line: underline;
|
||||
color: #000000;
|
||||
position: relative;
|
||||
top: 5px;
|
||||
left: 37px;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) :first-child {
|
||||
position: initial;
|
||||
padding: 0;
|
||||
padding-top: 8px;
|
||||
}
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) :global(.vtex__icon-external-link) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.productImageTag--main {
|
||||
max-width: 100% !important;
|
||||
max-height: 100% !important;
|
||||
}
|
||||
|
||||
.carouselGaleryThumbs {
|
||||
height: 90px;
|
||||
margin-top: 16px !important;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.carouselGaleryThumbs {
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.carouselGaleryThumbs {
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
.carouselGaleryThumbs :global(.vtex-store-components-3-x-thumbImg) {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
.carouselGaleryThumbs :global(.vtex-store-components-3-x-productImagesThumb) {
|
||||
margin-right: 16px;
|
||||
width: 90px !important;
|
||||
height: 90px !important;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.carouselGaleryThumbs :global(.vtex-store-components-3-x-productImagesThumb) {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.shippingTable {
|
||||
border: none;
|
||||
max-width: 326px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.shippingTableHead {
|
||||
display: contents;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
@media (min-width: 1921px) {
|
||||
.productImagesGallerySlide {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.productImagesGallerySlide {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
|
||||
.shippingTableRow {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
margin: 7.5px 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.shippingTableRadioBtn {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.shippingTableCellDeliveryEstimate {
|
||||
display: flex;
|
||||
order: 3;
|
||||
width: 150px;
|
||||
font-size: 12px;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #afafaf;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.shippingTableCellDeliveryPrice {
|
||||
display: flex;
|
||||
order: 2;
|
||||
width: 76px;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #afafaf;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.shippingTableCellDeliveryName {
|
||||
padding: 0;
|
||||
width: 100px;
|
||||
font-size: 12px;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #afafaf;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.shippingTableHeadDeliveryName {
|
||||
width: 100px;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-transform: uppercase;
|
||||
color: #202020;
|
||||
}
|
||||
|
||||
.shippingTableHeadDeliveryEstimate {
|
||||
width: 150px;
|
||||
display: flex;
|
||||
order: 2;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-transform: uppercase;
|
||||
color: #202020;
|
||||
}
|
||||
|
||||
.shippingTableHeadDeliveryPrice {
|
||||
width: 76px;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 0;
|
||||
line-height: 19px;
|
||||
text-transform: uppercase;
|
||||
color: #202020;
|
||||
}
|
||||
.shippingTableHeadDeliveryPrice::after {
|
||||
content: "FRETE";
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.subscriberContainer .form {
|
||||
margin: 0;
|
||||
}
|
||||
.subscriberContainer .title {
|
||||
margin: 0;
|
||||
font-size: 0;
|
||||
}
|
||||
.subscriberContainer .title::after {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #868686;
|
||||
content: "Produto indisponível";
|
||||
}
|
||||
.subscriberContainer .subscribeLabel {
|
||||
font-size: 0;
|
||||
}
|
||||
.subscriberContainer .subscribeLabel::after {
|
||||
content: "Deseja saber quando estiver disponível?";
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #868686;
|
||||
}
|
||||
.subscriberContainer .content {
|
||||
flex-wrap: wrap;
|
||||
width: 100%;
|
||||
}
|
||||
@media (max-width: 639px) {
|
||||
.subscriberContainer .content {
|
||||
flex-wrap: wrap !important;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
.subscriberContainer .content .inputName {
|
||||
width: 49.5%;
|
||||
margin: 0;
|
||||
}
|
||||
.subscriberContainer .content .inputName :global(.vtex-input-prefix__group) {
|
||||
border-radius: 0;
|
||||
}
|
||||
.subscriberContainer .content .inputEmail {
|
||||
width: 49.5%;
|
||||
margin: 0;
|
||||
}
|
||||
.subscriberContainer .content .inputEmail :global(.vtex-input-prefix__group) {
|
||||
border-radius: 0;
|
||||
}
|
||||
.subscriberContainer .content .submit {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.subscriberContainer .content .submit :global(.vtex-button) {
|
||||
height: 49px;
|
||||
margin-top: 15px;
|
||||
width: 100%;
|
||||
background-color: black;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: #ffffff;
|
||||
}
|
||||
.subscriberContainer .content .submit :global(.vtex-button__label) {
|
||||
font-size: 0;
|
||||
}
|
||||
.subscriberContainer .content .submit :global(.vtex-button__label)::after {
|
||||
font-size: 18px;
|
||||
content: "AVISE-ME";
|
||||
}
|
176
styles/css/vtex.tab-layout.css
Normal file
176
styles/css/vtex.tab-layout.css
Normal file
@ -0,0 +1,176 @@
|
||||
/*
|
||||
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 */
|
||||
.contentContainer {
|
||||
padding: 32px 72px 0 72px;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.contentContainer {
|
||||
padding: 16px 24px 0 24px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.contentContainer {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
.contentContainer .contentItem {
|
||||
display: flex;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.contentContainer .contentItem {
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
}
|
||||
.contentContainer .contentItem::after {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
background-color: #929292;
|
||||
bottom: -16px;
|
||||
}
|
||||
}
|
||||
.contentContainer .contentItem :global(.vtex-store-components-3-x-productDescriptionContainer) {
|
||||
margin-left: 32px;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.contentContainer .contentItem :global(.vtex-store-components-3-x-productDescriptionContainer) {
|
||||
margin: 0;
|
||||
margin-top: 16px;
|
||||
}
|
||||
}
|
||||
.contentContainer .contentItem :global(.vtex-store-components-3-x-productDescriptionContainer) :global(.vtex-store-components-3-x-productDescriptionTitle) {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 24px !important;
|
||||
color: #575757 !important;
|
||||
}
|
||||
.contentContainer .contentItem :global(.vtex-store-components-3-x-productDescriptionContainer) :global(.vtex-store-components-3-x-productDescriptionText) {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: #929292;
|
||||
}
|
||||
.contentContainer .contentItem :global(.vtex-store-components-3-x-productImage) {
|
||||
width: 632px;
|
||||
height: 632px;
|
||||
}
|
||||
@media (min-width: 1921px) {
|
||||
.contentContainer .contentItem :global(.vtex-store-components-3-x-productImage) {
|
||||
width: 904px;
|
||||
height: 904px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.contentContainer .contentItem :global(.vtex-store-components-3-x-productImage) {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.listContainer {
|
||||
border-bottom: 1px solid #bfbfbf;
|
||||
width: 1360px;
|
||||
margin: auto;
|
||||
display: flex;
|
||||
gap: 120px;
|
||||
}
|
||||
@media (min-width: 1921px) {
|
||||
.listContainer {
|
||||
width: 1840px;
|
||||
gap: 260px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 1360px) {
|
||||
.listContainer {
|
||||
gap: 0;
|
||||
justify-content: space-around;
|
||||
}
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.listContainer {
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
gap: 0;
|
||||
max-width: 944px;
|
||||
border-top: 1px solid #bfbfbf;
|
||||
padding: 8px 0;
|
||||
}
|
||||
}
|
||||
.listContainer :global(.vtex-button) {
|
||||
background-color: white;
|
||||
color: black;
|
||||
border: none;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.listContainer :global(.vtex-button) {
|
||||
height: fit-content;
|
||||
}
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.listContainer :global(.vtex-button__label) {
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.listItem {
|
||||
position: relative;
|
||||
bottom: -5px;
|
||||
color: #bfbfbf;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.listItem {
|
||||
height: 38px;
|
||||
margin: 8px 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: unset;
|
||||
}
|
||||
}
|
||||
.listItem :global(.vtex-button__label) {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 38px;
|
||||
text-transform: capitalize;
|
||||
color: #bfbfbf;
|
||||
}
|
||||
|
||||
.listItemActive {
|
||||
border-bottom: #000000 2px solid;
|
||||
position: relative;
|
||||
bottom: -5px;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.listItemActive {
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
.listItemActive :global(.vtex-button__label) {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 38px;
|
||||
text-transform: capitalize;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.container--description {
|
||||
padding: 0 40px;
|
||||
}
|
||||
}
|
@ -3,6 +3,5 @@
|
||||
}
|
||||
|
||||
.html--pdp-breadcrumb {
|
||||
background-color: green;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
|
36
styles/sass/pages/product/vtex.breadcrumb.scss
Normal file
36
styles/sass/pages/product/vtex.breadcrumb.scss
Normal file
@ -0,0 +1,36 @@
|
||||
.container {
|
||||
padding: 0 40px;
|
||||
}
|
||||
|
||||
.homeLink {
|
||||
padding: 0;
|
||||
&::after {
|
||||
/* font-family: "Open Sans"; */
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
content: "Home";
|
||||
display: block;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
.homeIcon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.arrow--1 {
|
||||
font-size: 0;
|
||||
&::after {
|
||||
/* font-family: "Open Sans"; */
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
|
||||
color: #929292;
|
||||
|
||||
content: "Sapatos";
|
||||
}
|
||||
}
|
79
styles/sass/pages/product/vtex.flex-layout.scss
Normal file
79
styles/sass/pages/product/vtex.flex-layout.scss
Normal file
@ -0,0 +1,79 @@
|
||||
.flexRow--product-container {
|
||||
:global(.vtex-store-components-3-x-container) {
|
||||
@media (min-width: 1921px) {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
.stretchChildrenWidth {
|
||||
@media (min-width: 1921px) {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.flexRowContent--product-container {
|
||||
margin: 0;
|
||||
padding: 16px 40px;
|
||||
@media (min-width: 1921px) {
|
||||
width: 1920px;
|
||||
gap: 32px;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
flex-direction: column;
|
||||
.stretchChildrenWidth {
|
||||
padding: 0;
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
.flexRowContent--addToBag {
|
||||
@media (max-width: 768px) {
|
||||
flex-direction: column;
|
||||
}
|
||||
.stretchChildrenWidth {
|
||||
&:first-child {
|
||||
padding: 0;
|
||||
width: 128px !important;
|
||||
}
|
||||
&:last-child {
|
||||
padding-left: 10px;
|
||||
width: unset !important;
|
||||
flex: 1;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
padding: 0;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
:global(.vtex-button) {
|
||||
background-color: #000000;
|
||||
border: none;
|
||||
height: 49px;
|
||||
box-sizing: border-box;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
height: 74px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-add-to-cart-button-0-x-buttonText) {
|
||||
font-size: 0;
|
||||
&::after {
|
||||
content: "ADICIONAR À SACOLA";
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: #ffffff;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
width: 116px;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
25
styles/sass/pages/product/vtex.product-identifier.scss
Normal file
25
styles/sass/pages/product/vtex.product-identifier.scss
Normal file
@ -0,0 +1,25 @@
|
||||
.product-identifier--productReference {
|
||||
display: flex;
|
||||
justify-content: right;
|
||||
margin-top: 8px !important;
|
||||
margin-bottom: 24px !important;
|
||||
/* font-family: "Open Sans"; */
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-align: right;
|
||||
color: rgba(146, 146, 146, 0.48);
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
justify-content: start;
|
||||
}
|
||||
}
|
||||
|
||||
.product-identifier__label {
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.product-identifier__separator {
|
||||
font-size: 0;
|
||||
}
|
74
styles/sass/pages/product/vtex.product-price.scss
Normal file
74
styles/sass/pages/product/vtex.product-price.scss
Normal file
@ -0,0 +1,74 @@
|
||||
:global(.vtex-product-price-1-x-sellingPrice) {
|
||||
font-weight: 700;
|
||||
font-size: 25px;
|
||||
line-height: 38px;
|
||||
color: #000000 !important;
|
||||
}
|
||||
|
||||
.installments--installmentsSumary {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: #929292;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.currencyContainer--installmentsSumary {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.installmentsNumber--installmentsSumary--4 {
|
||||
font-weight: 700;
|
||||
&::after {
|
||||
content: "x";
|
||||
}
|
||||
}
|
||||
|
||||
.installmentsPrice {
|
||||
display: none;
|
||||
}
|
||||
.listPrice {
|
||||
margin: 8px;
|
||||
padding: 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.listPriceLabel {
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.listPriceValue {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #bababa;
|
||||
|
||||
&::before {
|
||||
content: "de ";
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: " por";
|
||||
text-decoration: line-through;
|
||||
}
|
||||
}
|
||||
|
||||
.sellingPriceLabel {
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.sellingPrice {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 24px;
|
||||
line-height: 33px;
|
||||
color: #000000;
|
||||
|
||||
@media (min-width: 1921px) {
|
||||
font-size: 25px;
|
||||
}
|
||||
}
|
29
styles/sass/pages/product/vtex.product-quantity.scss
Normal file
29
styles/sass/pages/product/vtex.product-quantity.scss
Normal file
@ -0,0 +1,29 @@
|
||||
.quantitySelectorContainer {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.quantitySelectorTitle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:global(.vtex-numeric-stepper-container) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 1px solid #cccccc;
|
||||
padding: 13px 16px;
|
||||
width: 128px;
|
||||
height: 49px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
:global(.vtex-numeric-stepper__plus-button),
|
||||
:global(.vtex-numeric-stepper__minus-button),
|
||||
:global(.vtex-numeric-stepper__input) {
|
||||
border: none;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
:global(.vtex-numeric-stepper__input) {
|
||||
width: 40px;
|
||||
}
|
26
styles/sass/pages/product/vtex.product-summary.scss
Normal file
26
styles/sass/pages/product/vtex.product-summary.scss
Normal file
@ -0,0 +1,26 @@
|
||||
.nameContainer {
|
||||
justify-content: center !important;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.brandName {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: #000000;
|
||||
padding: 16px 0 8px !important;
|
||||
}
|
||||
|
||||
.priceContainer {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.element {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.imageWrapper {
|
||||
margin-bottom: 16px;
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
.heading {
|
||||
font-size: 0;
|
||||
margin-bottom: 32px;
|
||||
margin-top: 0;
|
||||
@media (max-width: 1024px) {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: "Você também pode gostar:";
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 38px;
|
||||
color: #575757;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.container {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
112
styles/sass/pages/product/vtex.slider-layout.scss
Normal file
112
styles/sass/pages/product/vtex.slider-layout.scss
Normal file
@ -0,0 +1,112 @@
|
||||
.sliderTrackContainer {
|
||||
background-color: white;
|
||||
width: 1300px;
|
||||
margin: auto;
|
||||
|
||||
@media (min-width: 1921px) {
|
||||
width: 1920px;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
width: 944px;
|
||||
padding: 28px;
|
||||
}
|
||||
}
|
||||
|
||||
.sliderTrack--carousel {
|
||||
padding: 0 28px;
|
||||
|
||||
:global(.vtex-product-summary-2-x-containerNormal) {
|
||||
@media (min-width: 1921px) {
|
||||
max-width: 434px !important;
|
||||
height: 543px !important;
|
||||
}
|
||||
:global(.vtex-product-summary-2-x-imageContainer) {
|
||||
@media (min-width: 1921px) {
|
||||
width: 100%;
|
||||
height: 434px;
|
||||
|
||||
:global(.vtex-product-summary-2-x-imageNormal) {
|
||||
width: 100% !important;
|
||||
max-height: 434px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.paginationDotsContainer {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.paginationDot {
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
.paginationDot--isActive {
|
||||
width: 16px !important;
|
||||
height: 16px !important;
|
||||
border: 0.5px solid #000000;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.slideChildrenContainer {
|
||||
margin-bottom: 36px;
|
||||
}
|
||||
|
||||
.sliderRightArrow--carousel {
|
||||
right: 50px;
|
||||
@media (min-width: 1920px) {
|
||||
right: 0;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: url(assets/right-arrow.png);
|
||||
height: 30px;
|
||||
width: 12px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.caretIcon {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.sliderLeftArrow--carousel {
|
||||
left: 50px;
|
||||
|
||||
@media (min-width: 1920px) {
|
||||
left: 0;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
left: 10px;
|
||||
}
|
||||
&::after {
|
||||
content: url(assets/left-arrow.png);
|
||||
height: 30px;
|
||||
width: 12px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.caretIcon {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.slide--carousel {
|
||||
padding: 0 8px;
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
padding: 0 6px;
|
||||
}
|
||||
}
|
||||
|
||||
.sliderLayoutContainer {
|
||||
@media (min-width: 1920px) {
|
||||
width: 1920px;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
@ -1,3 +1,458 @@
|
||||
.newsletter{
|
||||
background: red;
|
||||
:global(.vtex-store-components-3-x-container) {
|
||||
@media (min-width: 1921px) {
|
||||
margin: auto !important;
|
||||
max-width: 1920px;
|
||||
}
|
||||
}
|
||||
|
||||
.productNameContainer--quickview {
|
||||
text-align: right;
|
||||
color: #575757;
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-size: 20px;
|
||||
line-height: 34px;
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.productBrand {
|
||||
@media (max-width: 768px) {
|
||||
width: 220px !important;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.skuSelectorContainer--sku-selector {
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.skuSelectorSubcontainer--tamanho {
|
||||
.skuSelectorItemTextValue {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #000000;
|
||||
}
|
||||
.skuSelectorOptionsList {
|
||||
gap: 16px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.skuSelectorItem--sku-selector {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
.skuSelectorInternalBox--sku-selector {
|
||||
border: 0;
|
||||
}
|
||||
.frameAround--sku-selector {
|
||||
border-radius: 100%;
|
||||
border: 1px solid #989898;
|
||||
}
|
||||
&--selected {
|
||||
.frameAround--sku-selector {
|
||||
border: 2px solid #000000;
|
||||
}
|
||||
}
|
||||
}
|
||||
.skuSelectorItemTextValue--sku-selector {
|
||||
padding: 0;
|
||||
}
|
||||
.skuSelectorNameContainer {
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.skuSelectorTextContainer {
|
||||
margin: 16px 0 8px 0;
|
||||
.skuSelectorName {
|
||||
font-size: 0;
|
||||
&::after {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
content: "OUTROS TAMANHOS";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.skuSelectorSubcontainer--cor {
|
||||
.skuSelectorOptionsList {
|
||||
gap: 16px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.skuSelectorItem--sku-selector {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
.skuSelectorInternalBox--sku-selector {
|
||||
border-radius: 100%;
|
||||
}
|
||||
.frameAround--sku-selector {
|
||||
border-radius: 100%;
|
||||
border: 1px solid #989898;
|
||||
}
|
||||
&--selected {
|
||||
.frameAround--sku-selector {
|
||||
border: 2px solid #000000;
|
||||
}
|
||||
}
|
||||
}
|
||||
.skuSelectorNameContainer {
|
||||
margin: 0;
|
||||
.skuSelectorTextContainer {
|
||||
margin: 10px 0 8px 0;
|
||||
.skuSelectorName {
|
||||
font-size: 0;
|
||||
&::after {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
content: "OUTRAS CORES";
|
||||
}
|
||||
}
|
||||
.skuSelectorSelectorImageValue {
|
||||
font-size: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.diagonalCross {
|
||||
background-color: black;
|
||||
transform: rotate(45deg) translate(-50%, -50%);
|
||||
width: 2px;
|
||||
top: 38%;
|
||||
left: 12%;
|
||||
height: 110%;
|
||||
}
|
||||
|
||||
.shippingContainer {
|
||||
position: relative;
|
||||
:global(.vtex-input-prefix__group) {
|
||||
width: 231px;
|
||||
height: 49px;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
:global(.vtex-button) {
|
||||
position: absolute;
|
||||
border: 0;
|
||||
width: 49px;
|
||||
height: 49px;
|
||||
top: 27px;
|
||||
left: 229px;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
right: 0;
|
||||
left: unset;
|
||||
}
|
||||
}
|
||||
:global(.vtex-button__label) {
|
||||
background-color: #000000;
|
||||
width: 49px;
|
||||
height: 49px;
|
||||
font-size: 0;
|
||||
box-sizing: b;
|
||||
&::after {
|
||||
content: "OK";
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
:global(.vtex-address-form__postalCode) {
|
||||
display: flex;
|
||||
padding: 0;
|
||||
margin-top: 16px;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
display: block;
|
||||
}
|
||||
|
||||
:global(.vtex-input) {
|
||||
width: 280px;
|
||||
}
|
||||
:global(.vtex-input__label) {
|
||||
font-size: 0;
|
||||
&::after {
|
||||
content: "CALCULAR FRETE:";
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
}
|
||||
}
|
||||
}
|
||||
:global(.vtex-address-form__postalCode-forgottenURL) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
justify-content: right;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
:first-child {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
text-decoration-line: underline;
|
||||
color: #000000;
|
||||
position: relative;
|
||||
top: 5px;
|
||||
left: 37px;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
position: initial;
|
||||
padding: 0;
|
||||
padding-top: 8px;
|
||||
}
|
||||
}
|
||||
:global(.vtex__icon-external-link) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.productImageTag--main {
|
||||
max-width: 100% !important;
|
||||
max-height: 100% !important;
|
||||
}
|
||||
.carouselGaleryThumbs {
|
||||
height: 90px;
|
||||
margin-top: 16px !important;
|
||||
@media (max-width: 1024px) {
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
display: block !important;
|
||||
}
|
||||
:global(.vtex-store-components-3-x-thumbImg) {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
:global(.vtex-store-components-3-x-productImagesThumb) {
|
||||
margin-right: 16px;
|
||||
width: 90px !important;
|
||||
height: 90px !important;
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.shippingTable {
|
||||
border: none;
|
||||
max-width: 326px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.shippingTableHead {
|
||||
display: contents;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.productImagesGallerySlide {
|
||||
@media (min-width: 1921px) {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
|
||||
.shippingTableRow {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
margin: 7.5px 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.shippingTableRadioBtn {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.shippingTableCellDeliveryEstimate {
|
||||
display: flex;
|
||||
order: 3;
|
||||
width: 150px;
|
||||
font-size: 12px;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #afafaf;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.shippingTableCellDeliveryPrice {
|
||||
display: flex;
|
||||
order: 2;
|
||||
width: 76px;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #afafaf;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.shippingTableCellDeliveryName {
|
||||
padding: 0;
|
||||
width: 100px;
|
||||
font-size: 12px;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #afafaf;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.shippingTableHeadDeliveryName {
|
||||
width: 100px;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-transform: uppercase;
|
||||
color: #202020;
|
||||
}
|
||||
|
||||
.shippingTableHeadDeliveryEstimate {
|
||||
width: 150px;
|
||||
display: flex;
|
||||
order: 2;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-transform: uppercase;
|
||||
color: #202020;
|
||||
}
|
||||
|
||||
.shippingTableHeadDeliveryPrice {
|
||||
width: 76px;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 0;
|
||||
line-height: 19px;
|
||||
text-transform: uppercase;
|
||||
color: #202020;
|
||||
&::after {
|
||||
content: "FRETE";
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
.subscriberContainer {
|
||||
.form {
|
||||
margin: 0;
|
||||
}
|
||||
.title {
|
||||
margin: 0;
|
||||
font-size: 0;
|
||||
&::after {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #868686;
|
||||
|
||||
content: "Produto indisponível";
|
||||
}
|
||||
}
|
||||
.subscribeLabel {
|
||||
font-size: 0;
|
||||
|
||||
&::after {
|
||||
content: "Deseja saber quando estiver disponível?";
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #868686;
|
||||
}
|
||||
}
|
||||
.content {
|
||||
flex-wrap: wrap;
|
||||
width: 100%;
|
||||
|
||||
@media (max-width: 639px) {
|
||||
flex-wrap: wrap !important;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
}
|
||||
.inputName {
|
||||
width: 49.5%;
|
||||
margin: 0;
|
||||
:global(.vtex-input-prefix__group) {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
.inputEmail {
|
||||
width: 49.5%;
|
||||
margin: 0;
|
||||
:global(.vtex-input-prefix__group) {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
.submit {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
:global(.vtex-button) {
|
||||
height: 49px;
|
||||
margin-top: 15px;
|
||||
width: 100%;
|
||||
background-color: black;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: #ffffff;
|
||||
}
|
||||
:global(.vtex-button__label) {
|
||||
font-size: 0;
|
||||
&::after {
|
||||
font-size: 18px;
|
||||
content: "AVISE-ME";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
158
styles/sass/pages/product/vtex.tab-layout.scss
Normal file
158
styles/sass/pages/product/vtex.tab-layout.scss
Normal file
@ -0,0 +1,158 @@
|
||||
.contentContainer {
|
||||
padding: 32px 72px 0 72px;
|
||||
@media (max-width: 1024px) {
|
||||
padding: 16px 24px 0 24px;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.contentItem {
|
||||
display: flex;
|
||||
@media (max-width: 1024px) {
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
background-color: #929292;
|
||||
bottom: -16px;
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-store-components-3-x-productDescriptionContainer) {
|
||||
margin-left: 32px;
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
margin: 0;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
:global(.vtex-store-components-3-x-productDescriptionTitle) {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 24px !important;
|
||||
color: #575757 !important;
|
||||
}
|
||||
:global(.vtex-store-components-3-x-productDescriptionText) {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: #929292;
|
||||
}
|
||||
}
|
||||
:global(.vtex-store-components-3-x-productImage) {
|
||||
width: 632px;
|
||||
height: 632px;
|
||||
|
||||
@media (min-width: 1921px) {
|
||||
width: 904px;
|
||||
height: 904px;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.listContainer {
|
||||
border-bottom: 1px solid #bfbfbf;
|
||||
width: 1360px;
|
||||
margin: auto;
|
||||
display: flex;
|
||||
gap: 120px;
|
||||
|
||||
@media (min-width: 1921px) {
|
||||
width: 1840px;
|
||||
gap: 260px;
|
||||
}
|
||||
|
||||
@media (max-width: 1360px) {
|
||||
gap: 0;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
gap: 0;
|
||||
max-width: 944px;
|
||||
border-top: 1px solid #bfbfbf;
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
:global(.vtex-button) {
|
||||
background-color: white;
|
||||
color: black;
|
||||
border: none;
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
height: fit-content;
|
||||
}
|
||||
}
|
||||
:global(.vtex-button__label) {
|
||||
@media (max-width: 1024px) {
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.listItem {
|
||||
position: relative;
|
||||
bottom: -5px;
|
||||
color: #bfbfbf;
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
height: 38px;
|
||||
margin: 8px 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: unset;
|
||||
}
|
||||
:global(.vtex-button__label) {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 38px;
|
||||
text-transform: capitalize;
|
||||
color: #bfbfbf;
|
||||
}
|
||||
}
|
||||
|
||||
.listItemActive {
|
||||
border-bottom: #000000 2px solid;
|
||||
position: relative;
|
||||
bottom: -5px;
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
border: none;
|
||||
}
|
||||
|
||||
:global(.vtex-button__label) {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 38px;
|
||||
text-transform: capitalize;
|
||||
color: #000000;
|
||||
}
|
||||
}
|
||||
|
||||
.container--description {
|
||||
@media (max-width: 768px) {
|
||||
padding: 0 40px;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user