feature/sabrinamiranda #1
1
react/Pix.tsx
Normal file
1
react/Pix.tsx
Normal file
@ -0,0 +1 @@
|
||||
export { default } from "./components/Pix/Pix";
|
@ -1,6 +1,8 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import { useCssHandles } from "vtex.css-handles";
|
||||
|
||||
import "./styles.css";
|
||||
|
||||
const CSS_HANDLES = ["html"] as const;
|
||||
|
||||
type HtmlProps = {
|
||||
|
334
react/components/Html/styles.css
Normal file
334
react/components/Html/styles.css
Normal file
@ -0,0 +1,334 @@
|
||||
[class*="html--pdp-breadcrumb"] {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
[class*="html--product-main"],
|
||||
[class*="html--product-availability"] {
|
||||
width: 94.4444%;
|
||||
margin: 0 auto;
|
||||
display: grid;
|
||||
grid-template-columns: 48.8% 51.2%;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
@media screen and (min-width: 1920px) {
|
||||
[class*="html--product-main"],
|
||||
[class*="html--product-availability"] {
|
||||
width: 71.875%;
|
||||
grid-template-columns: 50% 50%;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
[class*="html--product-main"],
|
||||
[class*="html--product-availability"] {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 92.1875%;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
[class*="html--product-main"],
|
||||
[class*="html--product-availability"] {
|
||||
width: 79%;
|
||||
}
|
||||
}
|
||||
|
||||
[class*="html--stack"] {
|
||||
grid-area: 1/1;
|
||||
}
|
||||
|
||||
[class*="html--right-col"],
|
||||
[class*="html--info-availability"] {
|
||||
grid-area: 1/2;
|
||||
margin-left: 32px;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
[class*="html--right-col"] {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
[class*="html--buy-button"] {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
[class*="html--add-to-cart-button"] button {
|
||||
background-color: #000000 !important;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
width: 100%;
|
||||
height: 49px;
|
||||
padding-top: 12px;
|
||||
padding-bottom: 12px;
|
||||
display: block !important;
|
||||
}
|
||||
[class*="html--add-to-cart-button"] button:hover {
|
||||
filter: opacity(88%);
|
||||
}
|
||||
[class*="html--add-to-cart-button"] button:active {
|
||||
filter: opacity(100%);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
[class*="html--add-to-cart-button"] button {
|
||||
height: 74px !important;
|
||||
}
|
||||
}
|
||||
|
||||
[class*="html--product-quantity-cart-button"] {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin-bottom: 16px;
|
||||
gap: 10px;
|
||||
|
||||
width: 100%;
|
||||
height: 49px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px){
|
||||
[class*="html--product-quantity-cart-button"] {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
[class*="html--product-quantity-cart-button"] input{
|
||||
height: 49px;
|
||||
width: 32px;
|
||||
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: #929292;
|
||||
}
|
||||
|
||||
[class*="html--product-quantity-cart-button"] button{
|
||||
height: 49px;
|
||||
background-color: #FFFFFF;
|
||||
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: #000000;
|
||||
border-radius: 0;
|
||||
|
||||
display: block !important;
|
||||
cursor: pointer;
|
||||
}
|
||||
[class*="html--product-quantity-cart-button"] button:hover {
|
||||
color: #929292;
|
||||
}
|
||||
[class*="html--product-quantity-cart-button"] button:active {
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
[class*="html--shipping-simulator"] {
|
||||
padding-top: 81px;
|
||||
}
|
||||
}
|
||||
|
||||
[class*="html--shipping-simulator"] button {
|
||||
background-color: #000000;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
width: 49px;
|
||||
height: 49px !important;
|
||||
|
||||
position: absolute;
|
||||
display: block !important;
|
||||
cursor: pointer;
|
||||
}
|
||||
[class*="html--shipping-simulator"] button:hover {
|
||||
filter: opacity(88%);
|
||||
}
|
||||
[class*="html--shipping-simulator"] button:active {
|
||||
filter: opacity(100%);
|
||||
}
|
||||
|
||||
@media screen and (min-width: 769px) {
|
||||
[class*="html--shipping-simulator"] button {
|
||||
left: 228px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
[class*="html--shipping-simulator"] button {
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
[class*="html--shipping-simulator"] a {
|
||||
color: #000000;
|
||||
}
|
||||
[class*="html--shipping-simulator"] a:hover {
|
||||
color: #929292;
|
||||
}
|
||||
[class*="html--shipping-simulator"] a:active {
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
[class*="html--shipping-simulator"] svg {
|
||||
display: none;
|
||||
}
|
||||
|
||||
[class*="html--message-availability"] form {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
[class*="html--info-availability"] .html--sku-selector-m3 {
|
||||
margin-top: 80px;
|
||||
}
|
||||
|
||||
/* Para ocultar o botão embalar para presente */
|
||||
[class*="html--right-col"] button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
[class*="html--pix"] {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
[class*="html--description"] {
|
||||
width: 100%;
|
||||
margin-left: 32px;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
[class*="html--description"] {
|
||||
margin-left: 0;
|
||||
margin-top: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
[class*="html--product-description"] {
|
||||
display: flex;
|
||||
}
|
||||
@media screen and ((min-width: 769) and (max-width: 1024px)) {
|
||||
[class*="html--product-description"] {
|
||||
margin-top: 16px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
[class*="html--product-description"] {
|
||||
position: relative;
|
||||
top: 9px;
|
||||
margin-top: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
[class*="html--product-description"] .contentItem{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
[class*="html--product-description"] button {
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 38px;
|
||||
background-color: transparent;
|
||||
border: transparent;
|
||||
color: #BFBFBF;
|
||||
height: 38px;
|
||||
}
|
||||
@media screen and (min-width: 1920px) {
|
||||
[class*="html--product-description"] button {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
[class*="html--product-description"] button:hover {
|
||||
border: transparent;
|
||||
background-color: transparent;
|
||||
color: #929292;
|
||||
|
||||
transform: translateY(1px);
|
||||
}
|
||||
|
||||
[class*="html--description2"] h2::after {
|
||||
content: " 2";
|
||||
}
|
||||
[class*="html--description3"] h2::after {
|
||||
content: " 3";
|
||||
}
|
||||
[class*="html--description4"] h2::after {
|
||||
content: " 4";
|
||||
}
|
||||
[class*="html--description5"] h2::after {
|
||||
content: " 5";
|
||||
}
|
||||
|
||||
[class*="html--newsletter"] {
|
||||
padding: 64px 0 0 0;
|
||||
margin-top: 17px;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
[class*="html--newsletter"] {
|
||||
padding-top: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
[class*="html--newsletter"] input {
|
||||
background-color: transparent;
|
||||
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: #929292;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
[class*="html--newsletter"] input {
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
[class*="html--newsletter"] button {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-align: center;
|
||||
color: #FFFFFF;
|
||||
|
||||
border-bottom: 2px solid #FFFFFF;
|
||||
}
|
||||
@media screen and ((min-width: 640px) and (max-width: 1024px)) {
|
||||
[class*="html--newsletter"] button {
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 639px) {
|
||||
[class*="html--newsletter"] button {
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
}
|
||||
}
|
||||
[class*="html--newsletter"] button:hover {
|
||||
color: #929292;
|
||||
border-bottom: 2px solid #929292;
|
||||
border-top: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
[class*="html--newsletter"] button:active {
|
||||
color: #FFFFFF;
|
||||
border-bottom: 2px solid #FFFFFF;
|
||||
}
|
||||
|
||||
[class*="html--newsletter"] div {
|
||||
border: none;
|
||||
background-color: #000000;
|
||||
}
|
||||
@media screen and (max-width: 639px) {
|
||||
[class*="html--newsletter"] div {
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
|
||||
[class*="html--product-summary-shelf"] {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
42
react/components/Pix/Pix.tsx
Normal file
42
react/components/Pix/Pix.tsx
Normal file
@ -0,0 +1,42 @@
|
||||
import React, { useEffect } from 'react';
|
||||
import { useProduct } from 'vtex.product-context';
|
||||
|
||||
import styles from './styles.css';
|
||||
|
||||
const Pix = () => {
|
||||
|
||||
// CEP Placeholder --------------------------------------------------------------
|
||||
|
||||
useEffect(() => {
|
||||
const inputCep = document.querySelector(".vtex-address-form-4-x-input");
|
||||
|
||||
inputCep?.setAttribute("placeholder", "Digite seu CEP");
|
||||
});
|
||||
|
||||
// Pix --------------------------------------------------------------------------
|
||||
|
||||
const productContextValue = useProduct();
|
||||
//console.log(productContextValue);
|
||||
const price = productContextValue?.product?.priceRange?.sellingPrice?.lowPrice;
|
||||
|
||||
const discount = (Number(price) * (10 / 100));
|
||||
|
||||
const pixValue = (Number(price) - Number(discount));
|
||||
|
||||
return (
|
||||
<>
|
||||
<img
|
||||
className={styles.pixImage}
|
||||
src=' https://agenciamagma.vteximg.com.br/arquivos/pix-sabrinamiranda.png'
|
||||
alt='Imagem Pix'
|
||||
/>
|
||||
|
||||
<div className={styles.pixText}>
|
||||
<p className={styles.pixPrice}>R$ {pixValue.toFixed(2).replace("." , ",")}</p>
|
||||
<p className={styles.pixDiscount}>10 % de desconto</p>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default Pix;
|
26
react/components/Pix/styles.css
Normal file
26
react/components/Pix/styles.css
Normal file
@ -0,0 +1,26 @@
|
||||
.pixImage {
|
||||
margin-right: 26px;
|
||||
width: 66px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.pixText {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.pixPrice {
|
||||
margin: 0;
|
||||
font-weight: 700;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: rgba(0, 0, 0, 0.58);
|
||||
}
|
||||
|
||||
.pixDiscount {
|
||||
margin: 0;
|
||||
font-weight: 300;
|
||||
font-size: 13px;
|
||||
line-height: 18px;
|
||||
color: #929292;
|
||||
}
|
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,10 +2,20 @@
|
||||
"add-to-cart-button": {
|
||||
"props": {
|
||||
"addToCartFeedback": "customEvent",
|
||||
"customPixelEventId": "add-to-cart-button"
|
||||
"customPixelEventId": "add-to-cart-button",
|
||||
"text": "ADICIONAR À SACOLA"
|
||||
}
|
||||
},
|
||||
|
||||
"html#add-to-cart-button": {
|
||||
"props":{
|
||||
"tag": "div",
|
||||
"testId": "add-to-cart-button",
|
||||
"blockClass": "add-to-cart-button"
|
||||
},
|
||||
"children": ["add-to-cart-button"]
|
||||
},
|
||||
|
||||
"minicart.v2": {
|
||||
"props": {
|
||||
"customPixelEventId": "add-to-cart-button"
|
||||
|
@ -3,7 +3,7 @@
|
||||
"props": {
|
||||
"position": "bottom"
|
||||
},
|
||||
"children": ["flex-layout.row#buy-button"]
|
||||
"children": ["html#buy-button"]
|
||||
},
|
||||
"product-assembly-options": {
|
||||
"children": [
|
||||
|
@ -3,13 +3,17 @@
|
||||
"children": [
|
||||
"html#breadcrumb",
|
||||
"condition-layout.product#availability",
|
||||
"flex-layout.row#description",
|
||||
"flex-layout.row#specifications-title",
|
||||
"product-specification-group#table",
|
||||
"shelf.relatedProducts",
|
||||
"product-questions-and-answers"
|
||||
"html#product-description",
|
||||
//"html#specifications-title",
|
||||
//"product-specification-group#table",
|
||||
//"shelf.relatedProducts",
|
||||
"product-questions-and-answers",
|
||||
"rich-text#shelf-title",
|
||||
"list-context.product-list#shelf",
|
||||
"html#newsletter"
|
||||
]
|
||||
},
|
||||
|
||||
"html#breadcrumb": {
|
||||
"props": {
|
||||
"tag": "section",
|
||||
@ -18,20 +22,69 @@
|
||||
},
|
||||
"children": ["breadcrumb"]
|
||||
},
|
||||
"flex-layout.row#specifications-title": {
|
||||
|
||||
/*
|
||||
"html#specifications-title": {
|
||||
"props": {
|
||||
"tag": "div",
|
||||
"blockClass": "specifications-title"
|
||||
},
|
||||
"children": ["rich-text#specifications"]
|
||||
},
|
||||
*/
|
||||
|
||||
/*
|
||||
"rich-text#specifications": {
|
||||
"props": {
|
||||
"text": "##### Product Specifications"
|
||||
}
|
||||
},
|
||||
"flex-layout.row#description": {
|
||||
*/
|
||||
|
||||
"product-images#description": {
|
||||
"props": {
|
||||
"marginBottom": 7
|
||||
"blockClass": "image-description",
|
||||
"aspectRatio": "1:1",
|
||||
"displayMode": "first-image"
|
||||
}
|
||||
},
|
||||
|
||||
"html#description": {
|
||||
"props": {
|
||||
"tag": "div",
|
||||
"blockClass": "description"
|
||||
},
|
||||
"children": ["product-description"]
|
||||
},
|
||||
"html#description2": {
|
||||
"props": {
|
||||
"tag": "div",
|
||||
"blockClass": "description2"
|
||||
},
|
||||
"children": ["product-description"]
|
||||
},
|
||||
"html#description3": {
|
||||
"props": {
|
||||
"tag": "div",
|
||||
"blockClass": "description3"
|
||||
},
|
||||
"children": ["product-description"]
|
||||
},
|
||||
"html#description4": {
|
||||
"props": {
|
||||
"tag": "div",
|
||||
"blockClass": "description4"
|
||||
},
|
||||
"children": ["product-description"]
|
||||
},
|
||||
"html#description5": {
|
||||
"props": {
|
||||
"tag": "div",
|
||||
"blockClass": "description5"
|
||||
},
|
||||
"children": ["product-description"]
|
||||
},
|
||||
|
||||
"condition-layout.product#availability": {
|
||||
"props": {
|
||||
"conditions": [
|
||||
@ -39,20 +92,17 @@
|
||||
"subject": "isProductAvailable"
|
||||
}
|
||||
],
|
||||
"Then": "flex-layout.row#product-main",
|
||||
"Else": "flex-layout.row#product-availability"
|
||||
"Then": "html#product-main",
|
||||
"Else": "html#product-availability"
|
||||
}
|
||||
},
|
||||
"flex-layout.row#product-main": {
|
||||
|
||||
"html#product-main": {
|
||||
"props": {
|
||||
"colGap": 7,
|
||||
"rowGap": 7,
|
||||
"marginTop": 4,
|
||||
"marginBottom": 7,
|
||||
"paddingTop": 7,
|
||||
"paddingBottom": 7
|
||||
"tag": "section",
|
||||
"blockClass": "product-main"
|
||||
},
|
||||
"children": ["flex-layout.col#stack", "flex-layout.col#right-col"]
|
||||
"children": ["html#stack", "html#right-col"]
|
||||
},
|
||||
|
||||
"stack-layout": {
|
||||
@ -60,7 +110,7 @@
|
||||
"blockClass": "product"
|
||||
},
|
||||
"children": [
|
||||
"flex-layout.row#product-image",
|
||||
"html#product-image",
|
||||
"product-bookmark",
|
||||
"product-specification-badges"
|
||||
]
|
||||
@ -75,52 +125,122 @@
|
||||
}
|
||||
},
|
||||
|
||||
"flex-layout.col#stack": {
|
||||
"children": ["stack-layout"],
|
||||
"html#stack": {
|
||||
"props": {
|
||||
"width": "60%",
|
||||
"rowGap": 0
|
||||
}
|
||||
"tag": "section",
|
||||
"blockClass": "stack"
|
||||
},
|
||||
"children": ["stack-layout"]
|
||||
},
|
||||
|
||||
"html#product-image": {
|
||||
"props":{
|
||||
"tag": "div",
|
||||
"testId": "product-images",
|
||||
"blockClass": "product-image"
|
||||
},
|
||||
"flex-layout.row#product-image": {
|
||||
"children": ["product-images"]
|
||||
},
|
||||
|
||||
"product-images": {
|
||||
"props": {
|
||||
"aspectRatio": {
|
||||
"desktop": "auto",
|
||||
"phone": "16:9"
|
||||
},
|
||||
"displayThumbnailsArrows": true
|
||||
"aspectRatio": "1:1",
|
||||
"displayThumbnailsArrows": false,
|
||||
"thumbnailsOrientation": "horizontal",
|
||||
"showNavigationArrows": false,
|
||||
"showPaginationDots": false,
|
||||
"thumbnailAspectRatio": "1:1"
|
||||
}
|
||||
},
|
||||
"flex-layout.col#right-col": {
|
||||
|
||||
"html#product-quantity": {
|
||||
"props": {
|
||||
"preventVerticalStretch": true,
|
||||
"rowGap": 0
|
||||
"tag": "div",
|
||||
"testId": "product-quantity",
|
||||
"blockClass": "product-quantity"
|
||||
},
|
||||
"children": ["product-quantity"]
|
||||
},
|
||||
|
||||
"html#product-quantity-cart-button": {
|
||||
"props": {
|
||||
"tag": "div",
|
||||
"blockClass": "product-quantity-cart-button"
|
||||
},
|
||||
"children": [
|
||||
"flex-layout.row#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",
|
||||
"product-assembly-options",
|
||||
"product-gifts",
|
||||
"flex-layout.row#buy-button",
|
||||
"availability-subscriber",
|
||||
"shipping-simulator",
|
||||
"share#default"
|
||||
"html#product-quantity",
|
||||
"html#buy-button"
|
||||
]
|
||||
},
|
||||
|
||||
"flex-layout.row#product-name": {
|
||||
"html#pix-price": {
|
||||
"props": {
|
||||
"marginBottom": 3
|
||||
"blockClass": "pix",
|
||||
"testId": "pix-price"
|
||||
},
|
||||
"children": ["pix-component"]
|
||||
},
|
||||
|
||||
"html#codigo": {
|
||||
"props": {
|
||||
"blockClass": "codigo",
|
||||
"testId": "product-code"
|
||||
},
|
||||
"children": ["product-identifier.product"]
|
||||
},
|
||||
|
||||
"html#right-col": {
|
||||
"props": {
|
||||
"tag": "section",
|
||||
"blockClass": "right-col"
|
||||
},
|
||||
"children": [
|
||||
"html#product-name",
|
||||
"html#codigo",
|
||||
"product-rating-summary",
|
||||
"flex-layout.row#selling-price",
|
||||
"html#product-installments",
|
||||
"html#pix-price",
|
||||
"html#sku-selector-m3",
|
||||
"html#product-quantity-cart-button",
|
||||
"product-assembly-options",
|
||||
"product-gifts",
|
||||
"availability-subscriber",
|
||||
"html#shipping-simulator"
|
||||
//"share#default"
|
||||
]
|
||||
},
|
||||
|
||||
"html#shipping-simulator": {
|
||||
"props": {
|
||||
"tag": "div",
|
||||
"testId": "shipping-simulator",
|
||||
"blockClass": "shipping-simulator"
|
||||
},
|
||||
"children": ["shipping-simulator"]
|
||||
},
|
||||
|
||||
"product-installments#m3": {
|
||||
"props": {
|
||||
"markers": ["highlight"],
|
||||
"blockClass": "m3-custom-installments",
|
||||
"message": "<highlight>{installmentsNumber} x</highlight> de <highlight>{installmentValue}</highlight> sem juros",
|
||||
"installmentsCriteria": "max-quantity-without-interest"
|
||||
}
|
||||
},
|
||||
|
||||
"html#product-installments": {
|
||||
"props": {
|
||||
"testId": "product-installments"
|
||||
},
|
||||
"children": ["product-installments#m3"]
|
||||
},
|
||||
|
||||
"html#product-name": {
|
||||
"props": {
|
||||
"tag": "div",
|
||||
"testId": "product-name",
|
||||
"blockClass": "product-name"
|
||||
},
|
||||
"children": ["vtex.store-components:product-name"]
|
||||
},
|
||||
@ -128,50 +248,62 @@
|
||||
"sku-selector": {
|
||||
"props": {
|
||||
"variationsSpacing": 3,
|
||||
"showValueNameForImageVariation": true
|
||||
"showValueNameForImageVariation": true,
|
||||
"imageHeight": 48,
|
||||
"imageWidth": 48
|
||||
}
|
||||
},
|
||||
|
||||
"flex-layout.row#buy-button": {
|
||||
"props": {
|
||||
"marginTop": 4,
|
||||
"marginBottom": 7
|
||||
"html#sku-selector-m3": {
|
||||
"props":{
|
||||
"tag": "section",
|
||||
"testId": "sku-selector",
|
||||
"blockClass": "sku-selector-m3"
|
||||
},
|
||||
"children": ["add-to-cart-button"]
|
||||
"children": ["sku-selector"]
|
||||
},
|
||||
|
||||
"flex-layout.row#product-availability": {
|
||||
"html#buy-button": {
|
||||
"props": {
|
||||
"colGap": 7,
|
||||
"marginTop": 4,
|
||||
"marginBottom": 7,
|
||||
"paddingTop": 7
|
||||
"tag": "div",
|
||||
"blockClass": "buy-button"
|
||||
},
|
||||
"children": ["html#add-to-cart-button"]
|
||||
},
|
||||
|
||||
"html#product-availability": {
|
||||
"props": {
|
||||
"tag": "section",
|
||||
"blockClass": "product-availability"
|
||||
},
|
||||
"children": [
|
||||
"flex-layout.col#stack",
|
||||
"flex-layout.col#right-col-availability"
|
||||
"html#stack",
|
||||
"html#right-col-availability"
|
||||
]
|
||||
},
|
||||
"flex-layout.col#right-col-availability": {
|
||||
|
||||
"html#right-col-availability": {
|
||||
"props": {
|
||||
"preventVerticalStretch": true,
|
||||
"rowGap": 0,
|
||||
"tag": "section",
|
||||
"blockClass": "info-availability"
|
||||
},
|
||||
"children": [
|
||||
"flex-layout.row#product-name",
|
||||
"product-identifier.product",
|
||||
"sku-selector",
|
||||
"flex-layout.row#availability"
|
||||
"html#product-name",
|
||||
"html#codigo",
|
||||
"html#availability",
|
||||
"html#sku-selector-m3"
|
||||
]
|
||||
},
|
||||
"flex-layout.row#availability": {
|
||||
|
||||
"html#availability": {
|
||||
"props": {
|
||||
"blockClass": "message-availability"
|
||||
"blockClass": "message-availability",
|
||||
"tag": "div"
|
||||
},
|
||||
"children": ["availability-subscriber"]
|
||||
},
|
||||
|
||||
/*
|
||||
"share#default": {
|
||||
"props": {
|
||||
"social": {
|
||||
@ -181,5 +313,186 @@
|
||||
"Pinterest": true
|
||||
}
|
||||
}
|
||||
},
|
||||
*/
|
||||
|
||||
"html#product-description": {
|
||||
"props": {
|
||||
"blockClass": "product-description",
|
||||
"tag": "section",
|
||||
"testId": "product-description"
|
||||
},
|
||||
"children": ["tab-layout#product"]
|
||||
},
|
||||
|
||||
"tab-layout#product": {
|
||||
"props": {
|
||||
"defaultActiveTabId": "product1",
|
||||
"blockClass": "product"
|
||||
},
|
||||
"children": ["tab-list#product", "tab-content#product"]
|
||||
},
|
||||
|
||||
"tab-list#product": {
|
||||
"props": {
|
||||
"blockClass": "list-product"
|
||||
},
|
||||
"children": [
|
||||
"tab-list.item#product1",
|
||||
"tab-list.item#product2",
|
||||
"tab-list.item#product3",
|
||||
"tab-list.item#product4",
|
||||
"tab-list.item#product5"
|
||||
]
|
||||
},
|
||||
|
||||
"tab-list.item#product1": {
|
||||
"props": {
|
||||
"tabId": "product1",
|
||||
"label": "Descrição",
|
||||
"defaultActiveTab": true
|
||||
}
|
||||
},
|
||||
"tab-list.item#product2": {
|
||||
"props": {
|
||||
"tabId": "product2",
|
||||
"label": "Descrição"
|
||||
}
|
||||
},
|
||||
"tab-list.item#product3": {
|
||||
"props": {
|
||||
"tabId": "product3",
|
||||
"label": "Descrição"
|
||||
}
|
||||
},
|
||||
"tab-list.item#product4": {
|
||||
"props": {
|
||||
"tabId": "product4",
|
||||
"label": "Descrição"
|
||||
}
|
||||
},
|
||||
"tab-list.item#product5": {
|
||||
"props": {
|
||||
"tabId": "product5",
|
||||
"label": "Descrição"
|
||||
}
|
||||
},
|
||||
|
||||
"tab-content#product": {
|
||||
"props": {
|
||||
"blockClass": "content-product"
|
||||
},
|
||||
"children": [
|
||||
"tab-content.item#product1",
|
||||
"tab-content.item#product2",
|
||||
"tab-content.item#product3",
|
||||
"tab-content.item#product4",
|
||||
"tab-content.item#product5"
|
||||
]
|
||||
},
|
||||
|
||||
"tab-content.item#product1": {
|
||||
"props": {
|
||||
"tabId": "product1"
|
||||
},
|
||||
"children": ["product-images#description", "html#description"]
|
||||
},
|
||||
"tab-content.item#product2": {
|
||||
"props": {
|
||||
"tabId": "product2"
|
||||
},
|
||||
"children": ["product-images#description", "html#description2"]
|
||||
},
|
||||
"tab-content.item#product3": {
|
||||
"props": {
|
||||
"tabId": "product3"
|
||||
},
|
||||
"children": ["product-images#description", "html#description3"]
|
||||
},
|
||||
"tab-content.item#product4": {
|
||||
"props": {
|
||||
"tabId": "product4"
|
||||
},
|
||||
"children": ["product-images#description", "html#description4"]
|
||||
},
|
||||
"tab-content.item#product5": {
|
||||
"props": {
|
||||
"tabId": "product5"
|
||||
},
|
||||
"children": ["product-images#description", "html#description5"]
|
||||
},
|
||||
|
||||
"newsletter#newsletter-product": {
|
||||
"props": {
|
||||
"blockClass": "newsletter-product",
|
||||
"label": "Receba ofertas e novidades por e-mail",
|
||||
"placeholder": "Digite seu e-mail",
|
||||
"submit": "ENVIAR"
|
||||
}
|
||||
},
|
||||
|
||||
"rich-text#newsletter-title": {
|
||||
"props": {
|
||||
"text": "# Assine nossa newsletter",
|
||||
"blockClass": "newsletter-title"
|
||||
}
|
||||
},
|
||||
|
||||
"html#newsletter": {
|
||||
"props": {
|
||||
"blockClass": "newsletter"
|
||||
},
|
||||
"children": ["rich-text#newsletter-title" , "newsletter#newsletter-product"]
|
||||
},
|
||||
|
||||
"rich-text#shelf-title": {
|
||||
"props": {
|
||||
"text": "#### Você também pode gostar:",
|
||||
"blockClass": "shelf-title"
|
||||
}
|
||||
},
|
||||
|
||||
"slider-layout#shelf": {
|
||||
"props": {
|
||||
"itemsPerPage": {
|
||||
"desktop": 4,
|
||||
"tablet": 3,
|
||||
"phone": 2
|
||||
},
|
||||
"infinite": true,
|
||||
"showNavigationArrows": "always",
|
||||
"blockClass": "carousel",
|
||||
"showPaginationDots": "always"
|
||||
}
|
||||
},
|
||||
|
||||
"html#slider-layout-shelf": {
|
||||
"props": {
|
||||
"blockClass": "slider-layout-shelf",
|
||||
"testId": "product-summary-list"
|
||||
},
|
||||
"children": ["slider-layout#shelf"]
|
||||
},
|
||||
|
||||
"product-summary.shelf#product-summary": {
|
||||
"children": ["html#product-summary-shelf"]
|
||||
},
|
||||
|
||||
"html#product-summary-shelf": {
|
||||
"props": {
|
||||
"blockClass": "product-summary-shelf",
|
||||
"testId": "vtex-product-summary"
|
||||
},
|
||||
"children": [
|
||||
"product-summary-image#shelf",
|
||||
"product-summary-name",
|
||||
"product-list-price#summary",
|
||||
"product-selling-price#summary"
|
||||
]
|
||||
},
|
||||
|
||||
"list-context.product-list#shelf": {
|
||||
"blocks": ["product-summary.shelf#product-summary"],
|
||||
"children": ["html#slider-layout-shelf"]
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,11 @@
|
||||
{
|
||||
"html#selling-price": {
|
||||
"props": {
|
||||
"testId": "product-price"
|
||||
},
|
||||
"children": ["product-selling-price"]
|
||||
},
|
||||
|
||||
"flex-layout.row#selling-price": {
|
||||
"props": {
|
||||
"colGap": 2,
|
||||
@ -7,7 +14,7 @@
|
||||
"marginBottom": 4
|
||||
},
|
||||
"children": [
|
||||
"product-selling-price"
|
||||
"html#selling-price"
|
||||
]
|
||||
},
|
||||
|
||||
|
@ -5,5 +5,8 @@
|
||||
"html": {
|
||||
"component": "html",
|
||||
"composition": "children"
|
||||
},
|
||||
"pix-component": {
|
||||
"component": "Pix"
|
||||
}
|
||||
}
|
||||
|
5
styles/configs/font-faces.css
Normal file
5
styles/configs/font-faces.css
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
src: url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&display=swap');
|
||||
}
|
@ -253,84 +253,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 , -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "700",
|
||||
"fontSize": "3rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"heading-2": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans , -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "700",
|
||||
"fontSize": "2.25rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"heading-3": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans , -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "700",
|
||||
"fontSize": "1.75rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"heading-4": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans , -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "1.5rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"heading-5": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans , -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "1.25rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"heading-6": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans , -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "1.25rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"body": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans , -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "1rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"small": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans , -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "0.875rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"mini": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans , -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "0.75rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"action": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans , -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "500",
|
||||
"fontSize": "1rem",
|
||||
"textTransform": "uppercase",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"action--small": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans , -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "500",
|
||||
"fontSize": "0.875rem",
|
||||
"textTransform": "uppercase",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"action--large": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "Open Sans , -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "500",
|
||||
"fontSize": "1.25rem",
|
||||
"textTransform": "uppercase",
|
||||
|
@ -8,9 +8,9 @@
|
||||
/* Media Query M3 */
|
||||
/* Grid breakpoints */
|
||||
.html {
|
||||
background-color: red;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
.html--pdp-breadcrumb {
|
||||
background-color: green;
|
||||
background-color: #FFFFFF;
|
||||
}
|
20
styles/css/vtex.add-to-cart-button.css
Normal file
20
styles/css/vtex.add-to-cart-button.css
Normal file
@ -0,0 +1,20 @@
|
||||
/*
|
||||
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 */
|
||||
.buttonText {
|
||||
font-weight: 400;
|
||||
font-size: 18px !important;
|
||||
line-height: 25px !important;
|
||||
color: #FFFFFF !important;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.buttonText {
|
||||
width: 168px;
|
||||
}
|
||||
}
|
55
styles/css/vtex.breadcrumb.css
Normal file
55
styles/css/vtex.breadcrumb.css
Normal file
@ -0,0 +1,55 @@
|
||||
/*
|
||||
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 {
|
||||
width: 94.4444%;
|
||||
margin: 0 auto;
|
||||
padding: 0 0 16px 0;
|
||||
}
|
||||
@media screen and (min-width: 1920px) {
|
||||
.container {
|
||||
width: 71.875%;
|
||||
}
|
||||
}
|
||||
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
|
||||
.container {
|
||||
width: 92.1875%;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.container {
|
||||
width: 79%;
|
||||
}
|
||||
}
|
||||
.container .homeIcon {
|
||||
display: none;
|
||||
}
|
||||
.container .homeLink::after {
|
||||
content: "Home";
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
}
|
||||
.container .link,
|
||||
.container .term {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
cursor: pointer;
|
||||
}
|
||||
.container .link:hover,
|
||||
.container .term:hover {
|
||||
color: #808080;
|
||||
}
|
||||
.container .link:active,
|
||||
.container .term:active {
|
||||
color: #929292;
|
||||
}
|
@ -1,98 +1,18 @@
|
||||
.flexRowContent--menu-link,
|
||||
.flexRowContent--main-header {
|
||||
padding: 0 0.5rem;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 40em) {
|
||||
.flexRowContent--menu-link,
|
||||
.flexRowContent--main-header {
|
||||
padding: 0 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 80rem) {
|
||||
.flexRowContent--menu-link,
|
||||
.flexRowContent--main-header {
|
||||
padding: 0 0.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
.flexRowContent--menu-link {
|
||||
background-color: #03044e;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.flexRowContent--main-header {
|
||||
background-color: #f0f0f0;
|
||||
/*
|
||||
0 - 600PX: Phone
|
||||
600 - 900px: Table portrait
|
||||
900 - 1200px: Tablet landscape
|
||||
[1200 - 1800] is where our nortal styles apply
|
||||
1800px + : Big desktop
|
||||
*/
|
||||
/* Media Query M3 */
|
||||
/* Grid breakpoints */
|
||||
.flexRowContent {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
margin: 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) {
|
||||
color: #ffffff;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.flexRowContent--main-header :global(.vtex-menu-2-x-styledLink) {
|
||||
color: #727273;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.flexRow--deals {
|
||||
background-color: #0F3E99;
|
||||
padding: 14px 0px;
|
||||
}
|
||||
|
||||
.flexRow--deals .stretchChildrenWidth {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.flexRow--deals .flexCol {
|
||||
align-items: center;
|
||||
margin-bottom: 5px;
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
.flexCol--filterCol {
|
||||
max-width: 500px;
|
||||
min-width: 230px;
|
||||
}
|
||||
|
||||
.flexCol--productCountCol {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.flexCol--orderByCol {
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.flexCol--orderByMobileCol {
|
||||
width: 42%;
|
||||
}
|
||||
|
||||
.flexCol--filterMobileCol {
|
||||
width: 38%;
|
||||
}
|
||||
|
||||
.flexRow--quickviewMainRow {
|
||||
display: flex;
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
.flexColChild--quickviewDetails:first-child {
|
||||
overflow-y: auto;
|
||||
height: 66% !important;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.flexColChild--quickviewDetails:last-child {
|
||||
height: 34% !important;
|
||||
}
|
||||
|
||||
.flexRow--addToCartRow {
|
||||
padding-bottom: 1rem;
|
||||
}
|
14
styles/css/vtex.menu.css
Normal file
14
styles/css/vtex.menu.css
Normal file
@ -0,0 +1,14 @@
|
||||
/*
|
||||
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 screen and (max-width: 1024px) {
|
||||
.styledLinkContainer {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
22
styles/css/vtex.minicart.css
Normal file
22
styles/css/vtex.minicart.css
Normal file
@ -0,0 +1,22 @@
|
||||
/*
|
||||
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 */
|
||||
.minicartCheckoutButton :local(button) {
|
||||
background-color: #000000;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
}
|
||||
.minicartCheckoutButton :local(button):hover {
|
||||
background-color: #000000;
|
||||
filter: opacity(88%);
|
||||
}
|
||||
.minicartCheckoutButton :local(button):active {
|
||||
background-color: #000000;
|
||||
filter: opacity(100%);
|
||||
}
|
16
styles/css/vtex.product-customizer.css
Normal file
16
styles/css/vtex.product-customizer.css
Normal file
@ -0,0 +1,16 @@
|
||||
/*
|
||||
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 */
|
||||
.productAssemblyGroupNameRow {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.textInputValue {
|
||||
display: none;
|
||||
}
|
@ -1,3 +1,32 @@
|
||||
.product-identifier--productReference {
|
||||
margin-bottom: 1rem;
|
||||
/*
|
||||
0 - 600PX: Phone
|
||||
600 - 900px: Table portrait
|
||||
900 - 1200px: Tablet landscape
|
||||
[1200 - 1800] is where our nortal styles apply
|
||||
1800px + : Big desktop
|
||||
*/
|
||||
/* Media Query M3 */
|
||||
/* Grid breakpoints */
|
||||
.product-identifier__label,
|
||||
.product-identifier__separator {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.product-identifier__value {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: rgba(146, 146, 146, 0.48);
|
||||
}
|
||||
|
||||
.product-identifier {
|
||||
display: flex;
|
||||
justify-content: right;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.product-identifier {
|
||||
justify-content: left;
|
||||
}
|
||||
}
|
@ -1,79 +1,66 @@
|
||||
.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 */
|
||||
.sellingPrice--hasListPrice {
|
||||
font-weight: 700;
|
||||
font-size: 25px;
|
||||
line-height: 38px;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.sellingPrice {
|
||||
color: #3f3f40;
|
||||
font-size: 1.25rem;
|
||||
.installments--m3-custom-installments {
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: #929292;
|
||||
}
|
||||
|
||||
.sellingPriceValue {
|
||||
font-size: 2.25rem;
|
||||
.installments-highlight--m3-custom-installments {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.installments {
|
||||
color: #727273;
|
||||
margin-bottom: 1rem;
|
||||
.listPriceValue--summary {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-decoration-line: line-through;
|
||||
color: #BABABA;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.listPriceValue--summary {
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
}
|
||||
}
|
||||
.listPriceValue--summary::before {
|
||||
content: "de ";
|
||||
}
|
||||
.listPriceValue--summary::after {
|
||||
content: " por";
|
||||
}
|
||||
|
||||
.savings {
|
||||
font-weight: 500;
|
||||
color: #79B03A;
|
||||
.sellingPrice--summary--hasListPrice {
|
||||
font-size: 24px;
|
||||
line-height: 33px;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.sellingPriceValue--summary {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
color: #2E2E2E;
|
||||
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
|
||||
.sellingPrice--summary--hasListPrice {
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
.savings--summary {
|
||||
background: #8BC34A;
|
||||
border-radius: 1000px;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
|
||||
padding-left: 0.5rem;
|
||||
padding-right: 0.5rem;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 600;
|
||||
vertical-align: baseline;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.savings-discount--summary {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 600;
|
||||
vertical-align: baseline;
|
||||
color: #FFFFFF;
|
||||
padding-left: 0.5rem;
|
||||
padding-right: 0.5rem;
|
||||
}
|
||||
|
||||
.listPrice--summary {
|
||||
margin-bottom: 0.25rem;
|
||||
font-size: .875rem;
|
||||
}
|
||||
|
||||
.installments--summary {
|
||||
margin-bottom: 2rem;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.savings--summaryPercentage {
|
||||
background: #0f3e99;
|
||||
border-radius: 1000px;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.savingsPercentage--summaryPercentage {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 600;
|
||||
vertical-align: baseline;
|
||||
color: #FFFFFF;
|
||||
padding: 0.25rem 0.5rem 0.25rem 0.5rem;
|
||||
@media screen and (max-width: 768px) {
|
||||
.sellingPrice--summary--hasListPrice {
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
}
|
16
styles/css/vtex.product-quantity.css
Normal file
16
styles/css/vtex.product-quantity.css
Normal file
@ -0,0 +1,16 @@
|
||||
/*
|
||||
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 */
|
||||
.quantitySelectorTitle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.quantitySelectorContainer {
|
||||
margin: 0;
|
||||
}
|
@ -1,42 +1,43 @@
|
||||
.skuSelectorContainer--quickview .skuSelectorItemImage .frameAround, .skuSelectorContainer--quickview .skuSelectorItemImage .skuSelectorInternalBox {
|
||||
border-radius: 50%;
|
||||
/*
|
||||
0 - 600PX: Phone
|
||||
600 - 900px: Table portrait
|
||||
900 - 1200px: Tablet landscape
|
||||
[1200 - 1800] is where our nortal styles apply
|
||||
1800px + : Big desktop
|
||||
*/
|
||||
/* Media Query M3 */
|
||||
/* Grid breakpoints */
|
||||
.nameContainer {
|
||||
padding: 16px 0 8px 0;
|
||||
}
|
||||
|
||||
.container :global(.vtex-modal-layout-0-x-triggerContainer) {
|
||||
opacity: 0;
|
||||
transition: opacity 200ms ease-in-out;
|
||||
.productBrand {
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.container:hover :global(.vtex-modal-layout-0-x-triggerContainer) {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 40em) {
|
||||
.container :global(.vtex-modal-layout-0-x-triggerContainer) {
|
||||
display: none;
|
||||
@media screen and (max-width: 1024px) {
|
||||
.productBrand {
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
}
|
||||
}
|
||||
|
||||
.nameContainer {
|
||||
justify-content: start;
|
||||
padding-top: 1rem;
|
||||
padding-bottom: 1rem;
|
||||
.containerNormal {
|
||||
margin: 0;
|
||||
}
|
||||
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
|
||||
.containerNormal {
|
||||
margin: 0 12px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.containerNormal {
|
||||
margin: 0 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.brandName {
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
color: #2E2E2E;
|
||||
}
|
||||
|
||||
.container {
|
||||
text-align: start;
|
||||
}
|
||||
|
||||
.imageContainer {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.image {
|
||||
border-radius: 0.25rem;
|
||||
.element {
|
||||
padding: 0;
|
||||
}
|
@ -7,3 +7,46 @@
|
||||
*/
|
||||
/* Media Query M3 */
|
||||
/* Grid breakpoints */
|
||||
.container--newsletter-title {
|
||||
background-color: #000000;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.headingLevel1--newsletter-title {
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 38px;
|
||||
text-align: center;
|
||||
color: #FFFFFF;
|
||||
margin: 32px 0 0 0;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.headingLevel1--newsletter-title {
|
||||
margin-top: 64px;
|
||||
}
|
||||
}
|
||||
|
||||
.heading-level-4 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.container--shelf-title {
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 38px;
|
||||
text-align: center;
|
||||
color: #575757;
|
||||
padding: 16px 0 32px 0;
|
||||
justify-content: center;
|
||||
}
|
||||
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
|
||||
.container--shelf-title {
|
||||
padding-bottom: 24px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.container--shelf-title {
|
||||
font-size: 20px;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
}
|
@ -1,31 +1,95 @@
|
||||
.sliderLayoutContainer {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/*
|
||||
0 - 600PX: Phone
|
||||
600 - 900px: Table portrait
|
||||
900 - 1200px: Tablet landscape
|
||||
[1200 - 1800] is where our nortal styles apply
|
||||
1800px + : Big desktop
|
||||
*/
|
||||
/* Media Query M3 */
|
||||
/* Grid breakpoints */
|
||||
.sliderLayoutContainer--carousel {
|
||||
background-color: #F0F0F0;
|
||||
min-height: 450px;
|
||||
width: 90%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
@media screen and (min-width: 1920px) {
|
||||
.sliderLayoutContainer--carousel {
|
||||
width: 69.375%;
|
||||
}
|
||||
}
|
||||
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
|
||||
.sliderLayoutContainer--carousel {
|
||||
width: 92.1875%;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.sliderLayoutContainer--carousel {
|
||||
width: 79%;
|
||||
}
|
||||
}
|
||||
|
||||
.sliderTrackContainer {
|
||||
max-width: 100%;
|
||||
.paginationDot {
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
background-color: #000000;
|
||||
padding: 0;
|
||||
margin: 0 6px;
|
||||
}
|
||||
|
||||
.paginationDot--isActive {
|
||||
height: 17px !important;
|
||||
width: 17px !important;
|
||||
border: 0.5px solid #000000;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
.paginationDotsContainer {
|
||||
margin-top: .5rem;
|
||||
margin-bottom: .5rem;
|
||||
align-items: center;
|
||||
bottom: -17px;
|
||||
}
|
||||
|
||||
.layoutContainer--shelf {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
max-width: 96rem;
|
||||
min-height: 550px;
|
||||
.sliderRightArrow--carousel,
|
||||
.sliderLeftArrow--carousel {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.slide--shelf {
|
||||
margin-bottom: 25px;
|
||||
padding-left: .5rem;
|
||||
padding-right: .5rem;
|
||||
min-height: 550px;
|
||||
.sliderRightArrow--carousel {
|
||||
right: -32px;
|
||||
}
|
||||
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
|
||||
.sliderRightArrow--carousel {
|
||||
right: -24px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.sliderRightArrow--carousel {
|
||||
right: -16px;
|
||||
}
|
||||
}
|
||||
|
||||
.sliderLeftArrow--carousel {
|
||||
left: -32px;
|
||||
}
|
||||
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
|
||||
.sliderLeftArrow--carousel {
|
||||
left: -24px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.sliderLeftArrow--carousel {
|
||||
left: -16px;
|
||||
}
|
||||
}
|
||||
|
||||
.sliderTrack--carousel {
|
||||
gap: 16px;
|
||||
}
|
||||
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
|
||||
.sliderTrack--carousel {
|
||||
gap: 12px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.sliderTrack--carousel {
|
||||
gap: 8px;
|
||||
}
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
@charset "UTF-8";
|
||||
/*
|
||||
0 - 600PX: Phone
|
||||
600 - 900px: Table portrait
|
||||
@ -10,3 +11,545 @@
|
||||
.newsletter {
|
||||
background: red;
|
||||
}
|
||||
|
||||
.container {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.thumbImg,
|
||||
.figure,
|
||||
.carouselThumbBorder {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
|
||||
.productImagesThumb {
|
||||
width: 90px !important;
|
||||
height: 90px !important;
|
||||
margin: 0 16px 0 0;
|
||||
}
|
||||
|
||||
.carouselGaleryThumbs {
|
||||
margin: 0 !important;
|
||||
}
|
||||
@media screen and (max-width: 639px) {
|
||||
.carouselGaleryThumbs {
|
||||
display: inline-flex;
|
||||
}
|
||||
}
|
||||
|
||||
.productImageTag,
|
||||
.productImageTag--main {
|
||||
max-width: 100%;
|
||||
max-height: 100% !important;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.productBrand--quickview {
|
||||
font-weight: 300;
|
||||
font-size: 20px;
|
||||
line-height: 34px;
|
||||
text-align: right;
|
||||
color: #575757;
|
||||
}
|
||||
|
||||
.productNameContainer--quickview {
|
||||
text-align: right;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.productNameContainer--quickview {
|
||||
text-align: left;
|
||||
padding-top: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
.skuSelectorNameContainer {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.skuSelectorContainer {
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.skuSelectorContainer :global(.vtex-store-components-3-x-skuSelectorItemImageValue) {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.skuSelectorName,
|
||||
.skuSelectorNameSeparator {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.skuSelectorSelectorImageValue {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.skuSelectorInternalBox {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
border: 1px solid #989898;
|
||||
position: relative;
|
||||
}
|
||||
.skuSelectorInternalBox:hover {
|
||||
border: 1.5px solid #949494;
|
||||
}
|
||||
|
||||
.skuSelectorItemImage :global(.vtex-store-components-3-x-skuSelectorInternalBox) {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.frameAround {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.skuSelectorItem {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.skuSelectorItemTextValue {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: rgba(185, 185, 185, 0.6);
|
||||
width: 20px;
|
||||
}
|
||||
.skuSelectorItemTextValue:hover {
|
||||
color: #949494;
|
||||
}
|
||||
|
||||
.skuSelectorItemImage {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.skuSelectorItem--selected {
|
||||
border: 2px solid #000000;
|
||||
border-radius: 50%;
|
||||
margin: 0;
|
||||
}
|
||||
.skuSelectorItem--selected :global(.vtex-store-components-3-x-skuSelectorItemTextValue) {
|
||||
color: #000000;
|
||||
}
|
||||
.skuSelectorItem--selected :global(.vtex-store-components-3-x-diagonalCross) {
|
||||
border: 1.5px solid #000000;
|
||||
}
|
||||
.skuSelectorItem--selected :global(.vtex-store-components-3-x-skuSelectorInternalBox) {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.skuSelectorOptionsList {
|
||||
gap: 16px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.diagonalCross {
|
||||
background-image: none;
|
||||
border: 1px solid #D5D5D5;
|
||||
transform: rotate(-45deg);
|
||||
position: absolute;
|
||||
left: -100%;
|
||||
right: -20%;
|
||||
top: 82.5%;
|
||||
bottom: 17.5%;
|
||||
}
|
||||
|
||||
.skuSelectorTextContainer {
|
||||
margin: 0 0 8px 0;
|
||||
}
|
||||
|
||||
.skuSelectorSubcontainer {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.skuSelectorSubcontainer--tamanho .skuSelectorName {
|
||||
font-size: 0;
|
||||
}
|
||||
.skuSelectorSubcontainer--tamanho .skuSelectorName::before {
|
||||
content: "OUTROS TAMANHOS:";
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.skuSelectorSubcontainer--cor .skuSelectorName {
|
||||
font-size: 0;
|
||||
}
|
||||
.skuSelectorSubcontainer--cor .skuSelectorName::before {
|
||||
content: "OUTRAS CORES";
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
}
|
||||
.skuSelectorSubcontainer--cor .skuSelectorTextContainer {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.shippingContainer {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
position: relative;
|
||||
}
|
||||
.shippingContainer :global(.vtex-input__label) {
|
||||
font-size: 0;
|
||||
}
|
||||
.shippingContainer :global(.vtex-input__label)::after {
|
||||
content: "Calcular Frete";
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.shippingContainer :global(.vtex-button__label) {
|
||||
font-size: 0;
|
||||
}
|
||||
.shippingContainer :global(.vtex-button__label)::after {
|
||||
content: "Ok";
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #FFFFFF;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) {
|
||||
width: 79vw;
|
||||
}
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
text-decoration-line: underline;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
top: 43px;
|
||||
left: 312px;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
|
||||
top: 85px;
|
||||
width: 79vw;
|
||||
left: 0;
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
.shippingContainer :global(.vtex-input-prefix__group) {
|
||||
height: 49px;
|
||||
width: 231px;
|
||||
border-radius: 0;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.shippingContainer :global(.vtex-input-prefix__group) {
|
||||
width: 79vw;
|
||||
}
|
||||
}
|
||||
.shippingContainer :global(.vtex-input__error) {
|
||||
position: absolute;
|
||||
margin: 2px;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form-4-x-input)::placeholder {
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
color: #AFAFAF;
|
||||
}
|
||||
|
||||
.shippingTable {
|
||||
margin: 16px 0 0 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.shippingTable {
|
||||
padding-top: 16px;
|
||||
margin-top: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
.shippingTableHead {
|
||||
display: table-header-group;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.shippingTableHeadDeliveryName,
|
||||
.shippingTableHeadDeliveryEstimate {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #202020;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.shippingTableHeadDeliveryPrice {
|
||||
font-size: 0;
|
||||
}
|
||||
.shippingTableHeadDeliveryPrice::after {
|
||||
content: "Frete";
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #202020;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.shippingTableRow {
|
||||
display: grid;
|
||||
grid-template-columns: 20% 15% 65%;
|
||||
}
|
||||
@media screen and (min-width: 1025px) and (max-width: 1100px) {
|
||||
.shippingTableRow {
|
||||
grid-template-columns: 25% 20% 65%;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 461px) and (max-width: 768px) {
|
||||
.shippingTableRow {
|
||||
grid-template-columns: 32% 25% 43%;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 460px) {
|
||||
.shippingTableRow {
|
||||
grid-template-columns: 37% 25% 38%;
|
||||
}
|
||||
}
|
||||
|
||||
.shippingTableCellDeliveryName,
|
||||
.shippingTableCellDeliveryName {
|
||||
grid-area: 1/1;
|
||||
}
|
||||
|
||||
.shippingTableHeadDeliveryEstimate,
|
||||
.shippingTableCellDeliveryEstimate {
|
||||
grid-area: 1/3;
|
||||
}
|
||||
|
||||
.shippingTableHeadDeliveryPrice,
|
||||
.shippingTableCellDeliveryPrice {
|
||||
grid-area: 1/2;
|
||||
}
|
||||
|
||||
.shippingTableCellDeliveryName,
|
||||
.shippingTableCellDeliveryEstimate,
|
||||
.shippingTableCellDeliveryPrice {
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #AFAFAF;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.shippingTableBody {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.shippingTableRadioBtn {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.title::before {
|
||||
content: "Produto indisponível";
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #868686;
|
||||
}
|
||||
|
||||
.subscribeLabel {
|
||||
font-size: 0;
|
||||
}
|
||||
.subscribeLabel::before {
|
||||
content: "Deseja saber quando estiver disponível?";
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #868686;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.content {
|
||||
margin: 0;
|
||||
position: relative;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.input,
|
||||
.submit {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.submit {
|
||||
position: absolute;
|
||||
top: 58px;
|
||||
width: 100%;
|
||||
border-radius: 0;
|
||||
}
|
||||
.submit :global(.vtex-button) {
|
||||
height: 49px;
|
||||
width: 100%;
|
||||
background: #000000;
|
||||
}
|
||||
.submit :global(.vtex-button__label) {
|
||||
font-size: 0;
|
||||
}
|
||||
.submit :global(.vtex-button__label)::before {
|
||||
content: "Avise-me";
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
text-transform: uppercase;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.input :global(.vtex-input__error) {
|
||||
position: absolute;
|
||||
top: 32px;
|
||||
}
|
||||
.input :global(.vtex-input-prefix__group) {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.subscriberContainer {
|
||||
width: 60.07%;
|
||||
}
|
||||
|
||||
.productDescriptionTitle {
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 32px;
|
||||
color: #575757;
|
||||
height: 40px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
@media screen and (min-width: 1920px) {
|
||||
.productDescriptionTitle {
|
||||
font-size: 32px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.productDescriptionTitle {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.productDescriptionText {
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: #929292;
|
||||
}
|
||||
@media screen and (min-width: 1920px) {
|
||||
.productDescriptionText {
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.productDescriptionText {
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.listContainer--list-product {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.productImageTag--image-description--main {
|
||||
width: 100% !important;
|
||||
margin: 0;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.label--newsletter-product {
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: #929292;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.label--newsletter-product {
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
}
|
||||
}
|
||||
|
||||
.inputGroup--newsletter-product {
|
||||
border-bottom: 1px solid #929292 !important;
|
||||
}
|
||||
@media screen and (max-width: 639px) {
|
||||
.inputGroup--newsletter-product {
|
||||
justify-content: space-between;
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
.inputGroup--newsletter-product :local(label) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.newsletter--newsletter-product .container {
|
||||
padding: 16px 0;
|
||||
margin: 0 auto;
|
||||
background-color: #000000;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.newsletter--newsletter-product .container {
|
||||
padding: 16px 0 29px 0;
|
||||
}
|
||||
}
|
||||
|
||||
.form--newsletter-product {
|
||||
max-width: 53.75%;
|
||||
padding: 0;
|
||||
}
|
||||
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
|
||||
.form--newsletter-product {
|
||||
max-width: 96.875%;
|
||||
margin: 0 16px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.form--newsletter-product {
|
||||
max-width: 95.833333%;
|
||||
margin: 0 16px;
|
||||
}
|
||||
}
|
@ -1,11 +1,12 @@
|
||||
.row--menu-row {
|
||||
padding-right: 24px;
|
||||
}
|
||||
|
||||
.row--menu-row .rowContainer {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.row--payment-methods {
|
||||
padding-top: 16px;
|
||||
/*
|
||||
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 */
|
||||
.footerLayout {
|
||||
padding: 32px 16px 0 16px !important;
|
||||
}
|
13
styles/css/vtex.styleguide.css
Normal file
13
styles/css/vtex.styleguide.css
Normal file
@ -0,0 +1,13 @@
|
||||
/*
|
||||
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 */
|
||||
.hideDecorators {
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
}
|
111
styles/css/vtex.tab-layout.css
Normal file
111
styles/css/vtex.tab-layout.css
Normal file
@ -0,0 +1,111 @@
|
||||
/*
|
||||
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 */
|
||||
.contentItem {
|
||||
display: flex;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.contentItem {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
.listContainer--list-product {
|
||||
width: 94.4444%;
|
||||
justify-content: space-around;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
border-bottom: 1px solid #BFBFBF;
|
||||
}
|
||||
@media screen and (min-width: 1920px) {
|
||||
.listContainer--list-product {
|
||||
width: 71.875%;
|
||||
}
|
||||
}
|
||||
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
|
||||
.listContainer--list-product {
|
||||
width: 92.1875%;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.listContainer--list-product {
|
||||
flex-direction: column;
|
||||
border-top: 1px solid #BFBFBF;
|
||||
gap: 16px;
|
||||
padding-top: 16px;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.listContainer--list-product {
|
||||
width: 79%;
|
||||
}
|
||||
}
|
||||
|
||||
.contentContainer--content-product {
|
||||
width: 90%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding-top: 32px;
|
||||
}
|
||||
@media screen and (min-width: 1920px) {
|
||||
.contentContainer--content-product {
|
||||
width: 69.375%;
|
||||
padding-top: 64px;
|
||||
}
|
||||
}
|
||||
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
|
||||
.contentContainer--content-product {
|
||||
width: 92.1875%;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.contentContainer--content-product {
|
||||
padding-top: 16px;
|
||||
border-bottom: 1px solid #BFBFBF;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.contentContainer--content-product {
|
||||
width: 79%;
|
||||
}
|
||||
}
|
||||
|
||||
.listItem {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.listItemActive {
|
||||
border-bottom: 2px solid #000000;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
.listItemActive {
|
||||
border-bottom: none;
|
||||
}
|
||||
}
|
||||
.listItemActive :last-child {
|
||||
background-color: transparent;
|
||||
color: #000000;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 38px;
|
||||
padding-top: 0 !important;
|
||||
padding-bottom: 0 !important;
|
||||
}
|
||||
@media screen and (min-width: 1920px) {
|
||||
.listItemActive :last-child {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
.listItemActive :last-child:hover {
|
||||
border-bottom: none;
|
||||
color: #000000;
|
||||
transform: none;
|
||||
}
|
17
styles/css/vtex.telemarketing.css
Normal file
17
styles/css/vtex.telemarketing.css
Normal file
@ -0,0 +1,17 @@
|
||||
/*
|
||||
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 */
|
||||
.telemarketingBar {
|
||||
padding: 0 16px !important;
|
||||
}
|
||||
|
||||
.container,
|
||||
.wrapper {
|
||||
background-color: #000000;
|
||||
}
|
@ -1,8 +1,7 @@
|
||||
.html {
|
||||
background-color: red;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
.html--pdp-breadcrumb {
|
||||
background-color: green;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
|
10
styles/sass/pages/product/vtex.add-to-cart-button.scss
Normal file
10
styles/sass/pages/product/vtex.add-to-cart-button.scss
Normal file
@ -0,0 +1,10 @@
|
||||
.buttonText {
|
||||
font-weight: 400;
|
||||
font-size: 18px !important;
|
||||
line-height: 25px !important;
|
||||
color: #FFFFFF !important;
|
||||
|
||||
@media screen and (max-width: 768px){
|
||||
width: 168px;
|
||||
}
|
||||
}
|
46
styles/sass/pages/product/vtex.breadcrumb.scss
Normal file
46
styles/sass/pages/product/vtex.breadcrumb.scss
Normal file
@ -0,0 +1,46 @@
|
||||
.container {
|
||||
width: 94.4444%;
|
||||
margin: 0 auto;
|
||||
padding: 0 0 16px 0;
|
||||
|
||||
@media screen and (min-width: 1920px) {
|
||||
width: 71.875%;
|
||||
}
|
||||
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
|
||||
width: 92.1875%;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
width: 79%;
|
||||
}
|
||||
|
||||
.homeIcon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.homeLink {
|
||||
&::after {
|
||||
content: "Home";
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
}
|
||||
}
|
||||
|
||||
.link,
|
||||
.term {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
color: #808080;
|
||||
}
|
||||
|
||||
&:active {
|
||||
color: #929292;
|
||||
}
|
||||
}
|
||||
}
|
9
styles/sass/pages/product/vtex.flex-layout.scss
Normal file
9
styles/sass/pages/product/vtex.flex-layout.scss
Normal file
@ -0,0 +1,9 @@
|
||||
.flexRowContent {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.flexRowContent--main-header-mobile {
|
||||
align-items: center;
|
||||
}
|
5
styles/sass/pages/product/vtex.menu.scss
Normal file
5
styles/sass/pages/product/vtex.menu.scss
Normal file
@ -0,0 +1,5 @@
|
||||
.styledLinkContainer {
|
||||
@media screen and (max-width: 1024px) {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
17
styles/sass/pages/product/vtex.minicart.scss
Normal file
17
styles/sass/pages/product/vtex.minicart.scss
Normal file
@ -0,0 +1,17 @@
|
||||
.minicartCheckoutButton {
|
||||
:local(button) {
|
||||
background-color: #000000;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
|
||||
&:hover {
|
||||
background-color: #000000;
|
||||
filter: opacity(88%);
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: #000000;
|
||||
filter: opacity(100%);
|
||||
}
|
||||
}
|
||||
}
|
7
styles/sass/pages/product/vtex.product-customizer.scss
Normal file
7
styles/sass/pages/product/vtex.product-customizer.scss
Normal file
@ -0,0 +1,7 @@
|
||||
.productAssemblyGroupNameRow {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.textInputValue {
|
||||
display: none;
|
||||
}
|
22
styles/sass/pages/product/vtex.product-identifier.scss
Normal file
22
styles/sass/pages/product/vtex.product-identifier.scss
Normal file
@ -0,0 +1,22 @@
|
||||
.product-identifier__label,
|
||||
.product-identifier__separator {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.product-identifier__value {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: rgba(146, 146, 146, 0.48);
|
||||
}
|
||||
|
||||
.product-identifier {
|
||||
display: flex;
|
||||
justify-content: right;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 24px;
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
justify-content: left;
|
||||
}
|
||||
}
|
56
styles/sass/pages/product/vtex.product-price.scss
Normal file
56
styles/sass/pages/product/vtex.product-price.scss
Normal file
@ -0,0 +1,56 @@
|
||||
.sellingPrice--hasListPrice {
|
||||
font-weight: 700;
|
||||
font-size: 25px;
|
||||
line-height: 38px;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.installments--m3-custom-installments {
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: #929292;
|
||||
}
|
||||
|
||||
.installments-highlight--m3-custom-installments {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.listPriceValue--summary {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-decoration-line: line-through;
|
||||
color: #BABABA;
|
||||
|
||||
@media screen and (max-width: 1024px){
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
&::before {
|
||||
content: "de ";
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: " por";
|
||||
}
|
||||
}
|
||||
|
||||
.sellingPrice--summary--hasListPrice {
|
||||
font-size: 24px;
|
||||
line-height: 33px;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 32px;
|
||||
|
||||
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
}
|
7
styles/sass/pages/product/vtex.product-quantity.scss
Normal file
7
styles/sass/pages/product/vtex.product-quantity.scss
Normal file
@ -0,0 +1,7 @@
|
||||
.quantitySelectorTitle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.quantitySelectorContainer {
|
||||
margin: 0;
|
||||
}
|
31
styles/sass/pages/product/vtex.product-summary.scss
Normal file
31
styles/sass/pages/product/vtex.product-summary.scss
Normal file
@ -0,0 +1,31 @@
|
||||
.nameContainer {
|
||||
padding: 16px 0 8px 0;
|
||||
}
|
||||
|
||||
.productBrand {
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: #000000;
|
||||
|
||||
@media screen and (max-width: 1024px){
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
}
|
||||
}
|
||||
|
||||
.containerNormal {
|
||||
margin: 0;
|
||||
|
||||
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
|
||||
margin: 0 12px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
margin: 0 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.element {
|
||||
padding: 0;
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
.container--newsletter-title {
|
||||
background-color: #000000;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.headingLevel1--newsletter-title {
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 38px;
|
||||
text-align: center;
|
||||
color: #FFFFFF;
|
||||
margin: 32px 0 0 0;
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
margin-top: 64px;
|
||||
}
|
||||
}
|
||||
|
||||
.heading-level-4 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.container--shelf-title {
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 38px;
|
||||
text-align: center;
|
||||
color: #575757;
|
||||
padding: 16px 0 32px 0;
|
||||
justify-content: center;
|
||||
|
||||
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
|
||||
padding-bottom: 24px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
font-size: 20px;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
}
|
76
styles/sass/pages/product/vtex.slider-layout.scss
Normal file
76
styles/sass/pages/product/vtex.slider-layout.scss
Normal file
@ -0,0 +1,76 @@
|
||||
.sliderLayoutContainer--carousel {
|
||||
width: 90%;
|
||||
margin: 0 auto;
|
||||
|
||||
@media screen and (min-width: 1920px) {
|
||||
width: 69.375%;
|
||||
}
|
||||
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
|
||||
width: 92.1875%;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
width: 79%;
|
||||
}
|
||||
}
|
||||
|
||||
.paginationDot {
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
background-color: #000000;
|
||||
padding: 0;
|
||||
margin: 0 6px;
|
||||
}
|
||||
|
||||
.paginationDot--isActive {
|
||||
height: 17px !important;
|
||||
width: 17px !important;
|
||||
border: 0.5px solid #000000;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
.paginationDotsContainer {
|
||||
align-items: center;
|
||||
bottom: -17px;
|
||||
}
|
||||
|
||||
.sliderRightArrow--carousel,
|
||||
.sliderLeftArrow--carousel {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.sliderRightArrow--carousel {
|
||||
right: -32px;
|
||||
|
||||
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
|
||||
right: -24px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
right: -16px;
|
||||
}
|
||||
}
|
||||
|
||||
.sliderLeftArrow--carousel {
|
||||
left: -32px;
|
||||
|
||||
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
|
||||
left: -24px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
left: -16px;
|
||||
}
|
||||
}
|
||||
|
||||
.sliderTrack--carousel {
|
||||
gap: 16px;
|
||||
|
||||
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
gap: 8px;
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,569 @@
|
||||
.newsletter{
|
||||
background: red;
|
||||
}
|
||||
|
||||
.container {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.thumbImg,
|
||||
.figure,
|
||||
.carouselThumbBorder {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
|
||||
.productImagesThumb {
|
||||
width: 90px !important;
|
||||
height: 90px !important;
|
||||
margin: 0 16px 0 0;
|
||||
}
|
||||
|
||||
.carouselGaleryThumbs {
|
||||
margin: 0 !important;
|
||||
|
||||
@media screen and (max-width: 639px) {
|
||||
display: inline-flex;
|
||||
}
|
||||
}
|
||||
|
||||
.productImageTag,
|
||||
.productImageTag--main {
|
||||
max-width: 100%;
|
||||
max-height: 100% !important;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.productBrand--quickview {
|
||||
font-weight: 300;
|
||||
font-size: 20px;
|
||||
line-height: 34px;
|
||||
text-align: right;
|
||||
color: #575757;
|
||||
}
|
||||
|
||||
.productNameContainer--quickview{
|
||||
text-align: right;
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
text-align: left;
|
||||
padding-top: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
.skuSelectorNameContainer {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.skuSelectorContainer {
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
margin-bottom: 16px;
|
||||
|
||||
:global(.vtex-store-components-3-x-skuSelectorItemImageValue) {
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
.skuSelectorName,
|
||||
.skuSelectorNameSeparator {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.skuSelectorSelectorImageValue {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.skuSelectorInternalBox {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
border: 1px solid #989898;
|
||||
position: relative;
|
||||
|
||||
&:hover {
|
||||
border: 1.5px solid #949494;
|
||||
}
|
||||
}
|
||||
|
||||
.skuSelectorItemImage {
|
||||
:global(.vtex-store-components-3-x-skuSelectorInternalBox) {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.frameAround {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.skuSelectorItem {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.skuSelectorItemTextValue {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: rgba(185, 185, 185, 0.6);
|
||||
width: 20px;
|
||||
|
||||
&:hover {
|
||||
color: #949494;
|
||||
}
|
||||
}
|
||||
|
||||
.skuSelectorItemImage {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.skuSelectorItem--selected{
|
||||
border: 2px solid #000000;
|
||||
border-radius: 50%;
|
||||
margin: 0;
|
||||
|
||||
:global(.vtex-store-components-3-x-skuSelectorItemTextValue) {
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
:global(.vtex-store-components-3-x-diagonalCross) {
|
||||
border: 1.5px solid #000000;
|
||||
}
|
||||
|
||||
:global(.vtex-store-components-3-x-skuSelectorInternalBox) {
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
.skuSelectorOptionsList {
|
||||
gap: 16px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.diagonalCross {
|
||||
background-image: none;
|
||||
|
||||
border: 1px solid #D5D5D5;
|
||||
transform: rotate(-45deg);
|
||||
|
||||
position: absolute;
|
||||
left: -100%;
|
||||
right: -20%;
|
||||
top: 82.5%;
|
||||
bottom: 17.5%;
|
||||
}
|
||||
|
||||
.skuSelectorTextContainer {
|
||||
margin: 0 0 8px 0;
|
||||
}
|
||||
|
||||
.skuSelectorSubcontainer {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.skuSelectorSubcontainer--tamanho {
|
||||
.skuSelectorName {
|
||||
font-size: 0;
|
||||
|
||||
&::before {
|
||||
content: "OUTROS TAMANHOS:";
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.skuSelectorSubcontainer--cor {
|
||||
.skuSelectorName {
|
||||
font-size: 0;
|
||||
|
||||
&::before {
|
||||
content: "OUTRAS CORES";
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
}
|
||||
}
|
||||
|
||||
.skuSelectorTextContainer {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.shippingContainer {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
|
||||
position: relative;
|
||||
|
||||
:global(.vtex-input__label) {
|
||||
font-size: 0;
|
||||
|
||||
&::after {
|
||||
content: "Calcular Frete";
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-button__label) {
|
||||
font-size: 0;
|
||||
|
||||
&::after {
|
||||
content: "Ok";
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #FFFFFF;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-address-form__postalCode) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0;
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
width: 79vw;
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-address-form__postalCode-forgottenURL) {
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
text-decoration-line: underline;
|
||||
padding: 0;
|
||||
|
||||
position: absolute;
|
||||
top: 43px;
|
||||
left: 312px;
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
top: 85px;
|
||||
width: 79vw;
|
||||
left: 0;
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-input-prefix__group ) {
|
||||
height: 49px;
|
||||
width: 231px;
|
||||
border-radius: 0;
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
width: 79vw;
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-input__error) {
|
||||
position: absolute;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
:global(.vtex-address-form-4-x-input) {
|
||||
&::placeholder {
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
color: #AFAFAF;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.shippingTable {
|
||||
margin: 16px 0 0 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
padding-top: 16px;
|
||||
margin-top: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
.shippingTableHead {
|
||||
display: table-header-group;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.shippingTableHeadDeliveryName,
|
||||
.shippingTableHeadDeliveryEstimate {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #202020;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.shippingTableHeadDeliveryPrice {
|
||||
font-size: 0;
|
||||
|
||||
&::after {
|
||||
content: "Frete";
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #202020;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.shippingTableRow {
|
||||
display: grid;
|
||||
grid-template-columns: 20% 15% 65%;
|
||||
|
||||
@media screen and (min-width: 1025px) and (max-width: 1100px) {
|
||||
grid-template-columns: 25% 20% 65%;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 461px) and (max-width: 768px) {
|
||||
grid-template-columns: 32% 25% 43%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 460px) {
|
||||
grid-template-columns: 37% 25% 38%;
|
||||
}
|
||||
}
|
||||
|
||||
.shippingTableCellDeliveryName,
|
||||
.shippingTableCellDeliveryName{
|
||||
grid-area: 1/1;
|
||||
}
|
||||
|
||||
.shippingTableHeadDeliveryEstimate,
|
||||
.shippingTableCellDeliveryEstimate {
|
||||
grid-area: 1/3;
|
||||
}
|
||||
|
||||
.shippingTableHeadDeliveryPrice,
|
||||
.shippingTableCellDeliveryPrice {
|
||||
grid-area: 1/2;
|
||||
}
|
||||
|
||||
.shippingTableCellDeliveryName,
|
||||
.shippingTableCellDeliveryEstimate,
|
||||
.shippingTableCellDeliveryPrice {
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #AFAFAF;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.shippingTableBody {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.shippingTableRadioBtn {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 0;
|
||||
margin: 0;
|
||||
|
||||
&::before {
|
||||
content: "Produto indisponível";
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #868686;
|
||||
}
|
||||
}
|
||||
|
||||
.subscribeLabel {
|
||||
font-size: 0;
|
||||
|
||||
&::before {
|
||||
content: "Deseja saber quando estiver disponível?";
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #868686;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
margin: 0;
|
||||
position: relative;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.input,
|
||||
.submit {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.submit {
|
||||
position: absolute;
|
||||
top: 58px;
|
||||
width: 100%;
|
||||
border-radius: 0;
|
||||
|
||||
:global(.vtex-button) {
|
||||
height: 49px;
|
||||
width: 100%;
|
||||
background: #000000;
|
||||
}
|
||||
|
||||
:global(.vtex-button__label) {
|
||||
font-size: 0;
|
||||
|
||||
&::before {
|
||||
content: "Avise-me";
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
text-transform: uppercase;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.input {
|
||||
:global(.vtex-input__error) {
|
||||
position: absolute;
|
||||
top: 32px;
|
||||
}
|
||||
|
||||
:global(.vtex-input-prefix__group) {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.subscriberContainer {
|
||||
width: 60.07%;
|
||||
}
|
||||
|
||||
.productDescriptionTitle {
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 32px;
|
||||
color: #575757;
|
||||
height: 40px;
|
||||
margin-bottom: 8px;
|
||||
|
||||
@media screen and (min-width: 1920px) {
|
||||
font-size: 32px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.productDescriptionText {
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: #929292;
|
||||
|
||||
@media screen and (min-width: 1920px) {
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.listContainer--list-product {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.productImageTag--image-description--main {
|
||||
width: 100% !important;
|
||||
margin: 0;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.label--newsletter-product {
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: #929292;
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
}
|
||||
}
|
||||
|
||||
.inputGroup--newsletter-product{
|
||||
border-bottom: 1px solid #929292 !important;
|
||||
|
||||
@media screen and (max-width: 639px) {
|
||||
justify-content: space-between;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
:local(label) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
.newsletter--newsletter-product {
|
||||
.container {
|
||||
padding: 16px 0;
|
||||
margin: 0 auto;
|
||||
background-color: #000000;
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
padding: 16px 0 29px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.form--newsletter-product {
|
||||
max-width: 53.75%;
|
||||
padding: 0;
|
||||
|
||||
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
|
||||
max-width: 96.875%;
|
||||
margin: 0 16px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
max-width: 95.833333%;
|
||||
margin: 0 16px;
|
||||
}
|
||||
}
|
||||
|
3
styles/sass/pages/product/vtex.store-footer.scss
Normal file
3
styles/sass/pages/product/vtex.store-footer.scss
Normal file
@ -0,0 +1,3 @@
|
||||
.footerLayout {
|
||||
padding: 32px 16px 0 16px!important;
|
||||
}
|
4
styles/sass/pages/product/vtex.styleguide.scss
Normal file
4
styles/sass/pages/product/vtex.styleguide.scss
Normal file
@ -0,0 +1,4 @@
|
||||
.hideDecorators {
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
}
|
95
styles/sass/pages/product/vtex.tab-layout.scss
Normal file
95
styles/sass/pages/product/vtex.tab-layout.scss
Normal file
@ -0,0 +1,95 @@
|
||||
.contentItem {
|
||||
display: flex;
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
.listContainer--list-product{
|
||||
width: 94.4444%;
|
||||
justify-content: space-around;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
||||
border-bottom: 1px solid #BFBFBF;
|
||||
|
||||
@media screen and (min-width: 1920px) {
|
||||
width: 71.875%;
|
||||
}
|
||||
|
||||
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
|
||||
width: 92.1875%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
flex-direction: column;
|
||||
border-top: 1px solid #BFBFBF;
|
||||
gap: 16px;
|
||||
padding-top: 16px;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
width: 79%;
|
||||
}
|
||||
}
|
||||
|
||||
.contentContainer--content-product {
|
||||
width: 90%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
||||
padding-top: 32px;
|
||||
|
||||
@media screen and (min-width: 1920px) {
|
||||
width: 69.375%;
|
||||
padding-top: 64px;
|
||||
}
|
||||
|
||||
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
|
||||
width: 92.1875%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
padding-top: 16px;
|
||||
border-bottom: 1px solid #BFBFBF;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
width: 79%;
|
||||
}
|
||||
}
|
||||
|
||||
.listItem {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.listItemActive {
|
||||
border-bottom: 2px solid #000000;
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
:last-child {
|
||||
background-color: transparent;
|
||||
color: #000000;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 38px;
|
||||
padding-top: 0 !important;
|
||||
padding-bottom: 0 !important;
|
||||
|
||||
@media screen and (min-width: 1920px) {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
border-bottom: none;
|
||||
color: #000000;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
}
|
8
styles/sass/pages/product/vtex.telemarketing.scss
Normal file
8
styles/sass/pages/product/vtex.telemarketing.scss
Normal file
@ -0,0 +1,8 @@
|
||||
.telemarketingBar {
|
||||
padding: 0 16px !important;
|
||||
}
|
||||
|
||||
.container,
|
||||
.wrapper {
|
||||
background-color: #000000;
|
||||
}
|
Loading…
Reference in New Issue
Block a user