Merge pull request 'feat(pix-bloc): Adiciona o bloco do pix e seu sass' (#2) from feature/PixBlock into development
Reviewed-on: #2
This commit is contained in:
commit
7450aa1dd2
BIN
assets/images/pix-106 1.png
Normal file
BIN
assets/images/pix-106 1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
@ -66,7 +66,8 @@
|
||||
"vtex.tab-layout": "0.x",
|
||||
"vtex.condition-layout": "2.x",
|
||||
"vtex.css-handles": "1.x",
|
||||
"vtex.product-context": "0.x"
|
||||
"vtex.product-context": "0.x",
|
||||
"vtex.store-newsletter": "1.x"
|
||||
},
|
||||
"$schema": "https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema"
|
||||
}
|
||||
|
1
react/Prices.tsx
Normal file
1
react/Prices.tsx
Normal file
@ -0,0 +1 @@
|
||||
export { default } from "./components/Prices/Prices";
|
58
react/components/Prices/Prices.tsx
Normal file
58
react/components/Prices/Prices.tsx
Normal file
@ -0,0 +1,58 @@
|
||||
import React from "react";
|
||||
import styles from "./styles.css";
|
||||
import { useProduct } from "vtex.product-context";
|
||||
|
||||
export default function Prices() {
|
||||
const product = useProduct();
|
||||
console.log(product);
|
||||
return (
|
||||
<div>
|
||||
<span className={styles.fullPrice}>
|
||||
R${" "}
|
||||
{product?.selectedItem?.sellers[0].commertialOffer.Installments[3].TotalValuePlusInterestRate.toString().replace(
|
||||
".",
|
||||
","
|
||||
)}{" "}
|
||||
</span>
|
||||
<div className={styles.installmentsNumber}>
|
||||
<span className={styles.BiginstallmentsNumberText}>
|
||||
{
|
||||
product?.selectedItem?.sellers[0].commertialOffer.Installments[3]
|
||||
.NumberOfInstallments
|
||||
}{" "}
|
||||
x
|
||||
</span>
|
||||
<span className={styles.installmentsNumberText}> de </span>
|
||||
<span className={styles.BiginstallmentsNumberText}>
|
||||
R${" "}
|
||||
{product?.selectedItem?.sellers[0].commertialOffer.Installments[3].Value.toString().replace(
|
||||
".",
|
||||
","
|
||||
)}
|
||||
</span>
|
||||
<span className={styles.installmentsNumberText}> sem juros</span>
|
||||
</div>
|
||||
<div className={styles.pixWrapper}>
|
||||
<img className={styles.pixImage}
|
||||
src="https://agenciamagma.vteximg.com.br/arquivos/pix-daviklein.svg"
|
||||
alt="pix-image"
|
||||
/>
|
||||
<div className={styles.PixValues}>
|
||||
<span className={styles.PixValuesPrice}>
|
||||
R${" "}
|
||||
{(
|
||||
Number(
|
||||
product?.selectedItem?.sellers[0].commertialOffer
|
||||
.Installments[0].TotalValuePlusInterestRate
|
||||
) * 0.9
|
||||
)
|
||||
.toFixed(2)
|
||||
.toString()
|
||||
.replace(".", ",")}
|
||||
</span>
|
||||
<span className={styles.PixValuesText}>10 % de desconto</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
65
react/components/Prices/styles.css
Normal file
65
react/components/Prices/styles.css
Normal file
@ -0,0 +1,65 @@
|
||||
.pixWrapper {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.fullPrice {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 25px;
|
||||
line-height: 38px;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.installmentsNumberText {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: #929292;
|
||||
}
|
||||
|
||||
.BiginstallmentsNumberText {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
color: #929292;
|
||||
}
|
||||
|
||||
.pixWrapper {
|
||||
display: flex;
|
||||
gap: 26px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.pixImage {
|
||||
width: 66px;
|
||||
height: 24px;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.PixValues {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.PixValuesPrice {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: rgba(0, 0, 0, 0.58);
|
||||
}
|
||||
|
||||
.PixValuesText {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-size: 13px;
|
||||
line-height: 18px;
|
||||
color: #929292;
|
||||
}
|
@ -3,11 +3,10 @@
|
||||
"children": [
|
||||
"html#breadcrumb",
|
||||
"condition-layout.product#availability",
|
||||
"flex-layout.row#description",
|
||||
"flex-layout.row#specifications-title",
|
||||
"product-specification-group#table",
|
||||
"tab-layout#descricao",
|
||||
"shelf.relatedProducts",
|
||||
"product-questions-and-answers"
|
||||
"product-questions-and-answers",
|
||||
"newsletter-form#formulario-newsletter"
|
||||
]
|
||||
},
|
||||
"html#breadcrumb": {
|
||||
@ -28,9 +27,91 @@
|
||||
},
|
||||
"flex-layout.row#description": {
|
||||
"props": {
|
||||
"marginBottom": 7
|
||||
"blockClass": "description"
|
||||
},
|
||||
"children": ["product-description"]
|
||||
"children": ["product-images", "product-description"]
|
||||
},
|
||||
"tab-layout#descricao": {
|
||||
"children": ["tab-list#descricao", "tab-content#descricao"]
|
||||
},
|
||||
"tab-list#descricao": {
|
||||
"children": [
|
||||
"tab-list.item#descricao1",
|
||||
"tab-list.item#descricao2",
|
||||
"tab-list.item#descricao3",
|
||||
"tab-list.item#descricao4",
|
||||
"tab-list.item#descricao5"
|
||||
]
|
||||
},
|
||||
"tab-content#descricao": {
|
||||
"children": [
|
||||
"tab-content.item#descricao1",
|
||||
"tab-content.item#descricao2",
|
||||
"tab-content.item#descricao3",
|
||||
"tab-content.item#descricao4",
|
||||
"tab-content.item#descricao5"
|
||||
]
|
||||
},
|
||||
"tab-list.item#descricao1": {
|
||||
"props": {
|
||||
"tabId": "descricao1",
|
||||
"label": "Descrição",
|
||||
"defaultActiveTab": true
|
||||
}
|
||||
},
|
||||
"tab-list.item#descricao2": {
|
||||
"props": {
|
||||
"tabId": "descricao2",
|
||||
"label": "Descrição"
|
||||
}
|
||||
},
|
||||
"tab-list.item#descricao3": {
|
||||
"props": {
|
||||
"tabId": "descricao3",
|
||||
"label": "Descrição"
|
||||
}
|
||||
},
|
||||
"tab-list.item#descricao4": {
|
||||
"props": {
|
||||
"tabId": "descricao4",
|
||||
"label": "Descrição"
|
||||
}
|
||||
},
|
||||
"tab-list.item#descricao5": {
|
||||
"props": {
|
||||
"tabId": "descricao5",
|
||||
"label": "Descrição"
|
||||
}
|
||||
},
|
||||
"tab-content.item#descricao1": {
|
||||
"children": ["flex-layout.row#description"],
|
||||
"props": {
|
||||
"tabId": "descricao1"
|
||||
}
|
||||
},
|
||||
"tab-content.item#descricao2": {
|
||||
"children": ["flex-layout.row#description"],
|
||||
"props": {
|
||||
"tabId": "descricao2"
|
||||
}
|
||||
},
|
||||
"tab-content.item#descricao3": {
|
||||
"children": ["flex-layout.row#description"],
|
||||
"props": {
|
||||
"tabId": "descricao3"
|
||||
}
|
||||
},
|
||||
"tab-content.item#descricao4": {
|
||||
"children": ["flex-layout.row#description"],
|
||||
"props": {
|
||||
"tabId": "descricao4"
|
||||
}
|
||||
},
|
||||
"tab-content.item#descricao5": {
|
||||
"children": ["flex-layout.row#description"],
|
||||
"props": {
|
||||
"tabId": "descricao5"
|
||||
}
|
||||
},
|
||||
"condition-layout.product#availability": {
|
||||
"props": {
|
||||
@ -65,7 +146,6 @@
|
||||
"product-specification-badges"
|
||||
]
|
||||
},
|
||||
|
||||
"product-specification-badges": {
|
||||
"props": {
|
||||
"specificationGroupName": "Group",
|
||||
@ -82,6 +162,32 @@
|
||||
"rowGap": 0
|
||||
}
|
||||
},
|
||||
"flex-layout.col#newsletter-wrapper": {
|
||||
"children": ["newsletter-form#formulario-newsletter"]
|
||||
},
|
||||
"newsletter-form#formulario-newsletter": {
|
||||
"children": [
|
||||
"newsletter-input-email#texto-email",
|
||||
"newsletter-submit#texto-submit"
|
||||
],
|
||||
"props": {
|
||||
"blockClass": "formulario-newsletter",
|
||||
"placeholderText": "Digite seu e-mail"
|
||||
}
|
||||
},
|
||||
"newsletter-input-email#texto-email": {
|
||||
"props": {
|
||||
"placeholderText": "Digite seu e-mail",
|
||||
"blockClass": "texto-email",
|
||||
"inputLabel": "Assine nossa newsletter"
|
||||
}
|
||||
},
|
||||
"newsletter-submit#texto-submit": {
|
||||
"props": {
|
||||
"blockClass": "texto-submit",
|
||||
"submitButtonLabel": "ENVIAR"
|
||||
}
|
||||
},
|
||||
"flex-layout.row#product-image": {
|
||||
"children": ["product-images"]
|
||||
},
|
||||
@ -91,7 +197,10 @@
|
||||
"desktop": "auto",
|
||||
"phone": "16:9"
|
||||
},
|
||||
"displayThumbnailsArrows": true
|
||||
"showPaginationDots": false,
|
||||
"thumbnailsOrientation": "horizontal",
|
||||
"displayThumbnailsArrows": false,
|
||||
"showNavigationArrows": false
|
||||
}
|
||||
},
|
||||
"flex-layout.col#right-col": {
|
||||
@ -101,20 +210,16 @@
|
||||
},
|
||||
"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",
|
||||
"componente-prices",
|
||||
"product-separator",
|
||||
"sku-selector",
|
||||
"product-quantity",
|
||||
"product-assembly-options",
|
||||
"product-gifts",
|
||||
"flex-layout.row#buy-button",
|
||||
"availability-subscriber",
|
||||
"shipping-simulator",
|
||||
"share#default"
|
||||
"shipping-simulator"
|
||||
]
|
||||
},
|
||||
|
||||
|
@ -6,9 +6,7 @@
|
||||
"preventHorizontalStretch": true,
|
||||
"marginBottom": 4
|
||||
},
|
||||
"children": [
|
||||
"product-selling-price"
|
||||
]
|
||||
"children": ["product-selling-price"]
|
||||
},
|
||||
|
||||
"flex-layout.row#list-price-savings": {
|
||||
@ -18,10 +16,6 @@
|
||||
"preventHorizontalStretch": true,
|
||||
"marginBottom": 2,
|
||||
"marginTop": 5
|
||||
},
|
||||
"children": [
|
||||
"product-list-price",
|
||||
"product-price-savings"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -29,11 +29,7 @@
|
||||
"colSizing": "auto",
|
||||
"colGap": 3,
|
||||
"blockClass": "savingsSummaryListDesktop"
|
||||
},
|
||||
"children": [
|
||||
"product-price-savings#summaryPercentage",
|
||||
"product-price-savings#summary"
|
||||
]
|
||||
}
|
||||
},
|
||||
"flex-layout.row#summaryListDesktop": {
|
||||
"props":{
|
||||
|
@ -81,9 +81,7 @@
|
||||
},
|
||||
"product-price-savings#summary": {
|
||||
"props": {
|
||||
"markers": [
|
||||
"discount"
|
||||
],
|
||||
"markers": ["discount"],
|
||||
"blockClass": "summary"
|
||||
}
|
||||
}
|
||||
|
@ -1,9 +1,6 @@
|
||||
{
|
||||
"modal-trigger#quickview": {
|
||||
"children": [
|
||||
"icon-expand",
|
||||
"modal-layout#quickview"
|
||||
],
|
||||
"children": ["icon-expand", "modal-layout#quickview"],
|
||||
"props": {
|
||||
"blockClass": "quickview"
|
||||
}
|
||||
@ -63,9 +60,7 @@
|
||||
},
|
||||
|
||||
"flex-layout.col#quickview-product-quantity": {
|
||||
"children": [
|
||||
"product-summary-quantity#quickview"
|
||||
]
|
||||
"children": ["product-summary-quantity#quickview"]
|
||||
},
|
||||
"product-summary-quantity#quickview": {
|
||||
"props": {
|
||||
@ -74,18 +69,14 @@
|
||||
}
|
||||
},
|
||||
"flex-layout.col#quickview-add-to-card-button": {
|
||||
"children": [
|
||||
"add-to-cart-button"
|
||||
],
|
||||
"children": ["add-to-cart-button"],
|
||||
"props": {
|
||||
"width": "grow"
|
||||
}
|
||||
},
|
||||
|
||||
"flex-layout.row#quickview-actions-2": {
|
||||
"children": [
|
||||
"link.product#button-pdp"
|
||||
]
|
||||
"children": ["link.product#button-pdp"]
|
||||
},
|
||||
"link.product#button-pdp": {
|
||||
"props": {
|
||||
@ -107,15 +98,10 @@
|
||||
}
|
||||
},
|
||||
"flex-layout.col#quickview-images": {
|
||||
"children": [
|
||||
"product-images#quickview"
|
||||
]
|
||||
"children": ["product-images#quickview"]
|
||||
},
|
||||
"flex-layout.col#quickview-product-details": {
|
||||
"children": [
|
||||
"modal-content#quickview",
|
||||
"modal-actions#quickview"
|
||||
],
|
||||
"children": ["modal-content#quickview", "modal-actions#quickview"],
|
||||
"props": {
|
||||
"preventVerticalStretch": true,
|
||||
"blockClass": "quickviewDetails"
|
||||
@ -134,7 +120,7 @@
|
||||
"blockClass": "quickview"
|
||||
}
|
||||
},
|
||||
"product-images#quickview" : {
|
||||
"product-images#quickview": {
|
||||
"props": {
|
||||
"blockClass": "quickview",
|
||||
"showNavigationArrows": true
|
||||
|
@ -5,5 +5,8 @@
|
||||
"html": {
|
||||
"component": "html",
|
||||
"composition": "children"
|
||||
},
|
||||
"componente-prices": {
|
||||
"component": "Prices"
|
||||
}
|
||||
}
|
||||
|
465
styles/configs/font-faces.css
Normal file
465
styles/configs/font-faces.css
Normal file
@ -0,0 +1,465 @@
|
||||
/* cyrillic-ext */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0B4taVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,
|
||||
U+FE2E-FE2F;
|
||||
}
|
||||
/* cyrillic */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0B4kaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||
}
|
||||
/* greek-ext */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0B4saVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+1F00-1FFF;
|
||||
}
|
||||
/* greek */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0B4jaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0370-03FF;
|
||||
}
|
||||
/* hebrew */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0B4iaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
|
||||
}
|
||||
/* vietnamese */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0B4vaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
|
||||
U+01AF-01B0, U+1EA0-1EF9, U+20AB;
|
||||
}
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0B4uaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
||||
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0B4gaVI.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
||||
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
||||
U+FEFF, U+FFFD;
|
||||
}
|
||||
/* cyrillic-ext */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4taVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,
|
||||
U+FE2E-FE2F;
|
||||
}
|
||||
/* cyrillic */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4kaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||
}
|
||||
/* greek-ext */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4saVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+1F00-1FFF;
|
||||
}
|
||||
/* greek */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4jaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0370-03FF;
|
||||
}
|
||||
/* hebrew */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4iaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
|
||||
}
|
||||
/* vietnamese */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4vaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
|
||||
U+01AF-01B0, U+1EA0-1EF9, U+20AB;
|
||||
}
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4uaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
||||
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVI.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
||||
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
||||
U+FEFF, U+FFFD;
|
||||
}
|
||||
/* cyrillic-ext */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjr0B4taVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,
|
||||
U+FE2E-FE2F;
|
||||
}
|
||||
/* cyrillic */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjr0B4kaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||
}
|
||||
/* greek-ext */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjr0B4saVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+1F00-1FFF;
|
||||
}
|
||||
/* greek */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjr0B4jaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0370-03FF;
|
||||
}
|
||||
/* hebrew */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjr0B4iaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
|
||||
}
|
||||
/* vietnamese */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjr0B4vaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
|
||||
U+01AF-01B0, U+1EA0-1EF9, U+20AB;
|
||||
}
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjr0B4uaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
||||
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjr0B4gaVI.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
||||
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
||||
U+FEFF, U+FFFD;
|
||||
}
|
||||
/* cyrillic-ext */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1x4taVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,
|
||||
U+FE2E-FE2F;
|
||||
}
|
||||
/* cyrillic */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1x4kaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||
}
|
||||
/* greek-ext */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1x4saVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+1F00-1FFF;
|
||||
}
|
||||
/* greek */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1x4jaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0370-03FF;
|
||||
}
|
||||
/* hebrew */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1x4iaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
|
||||
}
|
||||
/* vietnamese */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1x4vaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
|
||||
U+01AF-01B0, U+1EA0-1EF9, U+20AB;
|
||||
}
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1x4uaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
||||
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1x4gaVI.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
||||
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
||||
U+FEFF, U+FFFD;
|
||||
}
|
||||
/* cyrillic-ext */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4taVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,
|
||||
U+FE2E-FE2F;
|
||||
}
|
||||
/* cyrillic */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4kaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||
}
|
||||
/* greek-ext */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4saVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+1F00-1FFF;
|
||||
}
|
||||
/* greek */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4jaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0370-03FF;
|
||||
}
|
||||
/* hebrew */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4iaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
|
||||
}
|
||||
/* vietnamese */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4vaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
|
||||
U+01AF-01B0, U+1EA0-1EF9, U+20AB;
|
||||
}
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4uaVIGxA.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
||||
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4gaVI.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
||||
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
||||
U+FEFF, U+FFFD;
|
||||
}
|
@ -1,349 +1,351 @@
|
||||
{
|
||||
"typeScale": [
|
||||
3, 2.25, 1.5, 1.25, 1, 0.875, 0.75
|
||||
],
|
||||
"spacing": [0.125, 0.25, 0.5, 0.75, 1, 1.5, 2, 3, 4, 8, 16],
|
||||
"customMedia": [
|
||||
{ "s": 20 },
|
||||
{ "ns": {
|
||||
"value": 40,
|
||||
"minWidth": true
|
||||
}
|
||||
},
|
||||
{ "m": {
|
||||
"value": 40,
|
||||
"minWidth": true
|
||||
}
|
||||
},
|
||||
{ "l": {
|
||||
"value": 64,
|
||||
"minWidth": true
|
||||
}
|
||||
},
|
||||
{ "xl": {
|
||||
"value": 80,
|
||||
"minWidth": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"colors": {
|
||||
"black-90": "rgba(0,0,0,.9)",
|
||||
"black-80": "rgba(0,0,0,.8)",
|
||||
"black-70": "rgba(0,0,0,.7)",
|
||||
"black-60": "rgba(0,0,0,.6)",
|
||||
"black-50": "rgba(0,0,0,.5)",
|
||||
"black-40": "rgba(0,0,0,.4)",
|
||||
"black-30": "rgba(0,0,0,.3)",
|
||||
"black-20": "rgba(0,0,0,.2)",
|
||||
"black-10": "rgba(0,0,0,.1)",
|
||||
"black-05": "rgba(0,0,0,.05)",
|
||||
"black-025": "rgba(0,0,0,.025)",
|
||||
"black-0125": "rgba(0,0,0,.0125)",
|
||||
"typeScale": [3, 2.25, 1.5, 1.25, 1, 0.875, 0.75],
|
||||
"spacing": [0.125, 0.25, 0.5, 0.75, 1, 1.5, 2, 3, 4, 8, 16],
|
||||
"customMedia": [
|
||||
{ "s": 20 },
|
||||
{
|
||||
"ns": {
|
||||
"value": 40,
|
||||
"minWidth": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"m": {
|
||||
"value": 40,
|
||||
"minWidth": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"l": {
|
||||
"value": 64,
|
||||
"minWidth": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"xl": {
|
||||
"value": 80,
|
||||
"minWidth": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"colors": {
|
||||
"black-90": "rgba(0,0,0,.9)",
|
||||
"black-80": "rgba(0,0,0,.8)",
|
||||
"black-70": "rgba(0,0,0,.7)",
|
||||
"black-60": "rgba(0,0,0,.6)",
|
||||
"black-50": "rgba(0,0,0,.5)",
|
||||
"black-40": "rgba(0,0,0,.4)",
|
||||
"black-30": "rgba(0,0,0,.3)",
|
||||
"black-20": "rgba(0,0,0,.2)",
|
||||
"black-10": "rgba(0,0,0,.1)",
|
||||
"black-05": "rgba(0,0,0,.05)",
|
||||
"black-025": "rgba(0,0,0,.025)",
|
||||
"black-0125": "rgba(0,0,0,.0125)",
|
||||
|
||||
"white-90": "rgba(255,255,255,.9)",
|
||||
"white-80": "rgba(255,255,255,.8)",
|
||||
"white-70": "rgba(255,255,255,.7)",
|
||||
"white-60": "rgba(255,255,255,.6)",
|
||||
"white-50": "rgba(255,255,255,.5)",
|
||||
"white-40": "rgba(255,255,255,.4)",
|
||||
"white-30": "rgba(255,255,255,.3)",
|
||||
"white-20": "rgba(255,255,255,.2)",
|
||||
"white-10": "rgba(255,255,255,.1)",
|
||||
"white-05": "rgba(255,255,255,.05)",
|
||||
"white-025": "rgba(255,255,255,.025)",
|
||||
"white-0125": "rgba(255,255,255,.0125)"
|
||||
"white-90": "rgba(255,255,255,.9)",
|
||||
"white-80": "rgba(255,255,255,.8)",
|
||||
"white-70": "rgba(255,255,255,.7)",
|
||||
"white-60": "rgba(255,255,255,.6)",
|
||||
"white-50": "rgba(255,255,255,.5)",
|
||||
"white-40": "rgba(255,255,255,.4)",
|
||||
"white-30": "rgba(255,255,255,.3)",
|
||||
"white-20": "rgba(255,255,255,.2)",
|
||||
"white-10": "rgba(255,255,255,.1)",
|
||||
"white-05": "rgba(255,255,255,.05)",
|
||||
"white-025": "rgba(255,255,255,.025)",
|
||||
"white-0125": "rgba(255,255,255,.0125)"
|
||||
},
|
||||
"semanticColors": {
|
||||
"background": {
|
||||
"base": "#ffffff",
|
||||
"base--inverted": "#03044e",
|
||||
"action-primary": "#0F3E99",
|
||||
"action-secondary": "#eef3f7",
|
||||
"emphasis": "#f71963",
|
||||
"disabled": "#f2f4f5",
|
||||
"success": "#8bc34a",
|
||||
"success--faded": "#eafce3",
|
||||
"danger": "#ff4c4c",
|
||||
"danger--faded": "#ffe6e6",
|
||||
"warning": "#ffb100",
|
||||
"warning--faded": "#fff6e0",
|
||||
"muted-1": "#727273",
|
||||
"muted-2": "#979899",
|
||||
"muted-3": "#cacbcc",
|
||||
"muted-4": "#e3e4e6",
|
||||
"muted-5": "#f2f4f5"
|
||||
},
|
||||
"hover-background": {
|
||||
"action-primary": "#072c75",
|
||||
"action-secondary": "#dbe9fd",
|
||||
"emphasis": "#dd1659",
|
||||
"success": "#8bc34a",
|
||||
"success--faded": "#eafce3",
|
||||
"danger": "#e13232",
|
||||
"danger--faded": "#ffe6e6",
|
||||
"warning": "#ffb100",
|
||||
"warning--faded": "#fff6e0",
|
||||
"muted-1": "#727273",
|
||||
"muted-2": "#979899",
|
||||
"muted-3": "#cacbcc",
|
||||
"muted-4": "#e3e4e6",
|
||||
"muted-5": "#f2f4f5"
|
||||
},
|
||||
"active-background": {
|
||||
"action-primary": "#0c389f",
|
||||
"action-secondary": "#d2defc",
|
||||
"emphasis": "#dd1659",
|
||||
"success": "#8bc34a",
|
||||
"success--faded": "#eafce3",
|
||||
"danger": "#ff4c4c",
|
||||
"danger--faded": "#ffe6e6",
|
||||
"warning": "#ffb100",
|
||||
"warning--faded": "#fff6e0",
|
||||
"muted-1": "#727273",
|
||||
"muted-2": "#979899",
|
||||
"muted-3": "#cacbcc",
|
||||
"muted-4": "#e3e4e6",
|
||||
"muted-5": "#f2f4f5"
|
||||
},
|
||||
"text": {
|
||||
"action-primary": "#0F3E99",
|
||||
"action-secondary": "#eef3f7",
|
||||
"link": "#0F3E99",
|
||||
"emphasis": "#f71963",
|
||||
"disabled": "#979899",
|
||||
"success": "#8bc34a",
|
||||
"success--faded": "#eafce3",
|
||||
"danger": "#ff4c4c",
|
||||
"danger--faded": "#ffe6e6",
|
||||
"warning": "#ffb100",
|
||||
"warning--faded": "#fff6e0",
|
||||
"muted-1": "#727273",
|
||||
"muted-2": "#979899",
|
||||
"muted-3": "#cacbcc",
|
||||
"muted-4": "#e3e4e6",
|
||||
"muted-5": "#f2f4f5"
|
||||
},
|
||||
"visited-text": {
|
||||
"link": "#0c389f"
|
||||
},
|
||||
"hover-text": {
|
||||
"action-primary": "#072c75",
|
||||
"action-secondary": "#dbe9fd",
|
||||
"link": "#0c389f",
|
||||
"emphasis": "#dd1659",
|
||||
"success": "#8bc34a",
|
||||
"success--faded": "#eafce3",
|
||||
"danger": "#e13232",
|
||||
"danger--faded": "#ffe6e6",
|
||||
"warning": "#ffb100",
|
||||
"warning--faded": "#fff6e0"
|
||||
},
|
||||
"active-text": {
|
||||
"link": "#0c389f",
|
||||
"emphasis": "#dd1659",
|
||||
"success": "#8bc34a",
|
||||
"success--faded": "#eafce3",
|
||||
"danger": "#ff4c4c",
|
||||
"danger--faded": "#ffe6e6",
|
||||
"warning": "#ffb100",
|
||||
"warning--faded": "#fff6e0"
|
||||
},
|
||||
"border": {
|
||||
"action-primary": "#0F3E99",
|
||||
"action-secondary": "#eef3f7",
|
||||
"emphasis": "#f71963",
|
||||
"disabled": "#e3e4e6",
|
||||
"success": "#8bc34a",
|
||||
"success--faded": "#eafce3",
|
||||
"danger": "#ff4c4c",
|
||||
"danger--faded": "#ffe6e6",
|
||||
"warning": "#ffb100",
|
||||
"warning--faded": "#fff6e0",
|
||||
"muted-1": "#727273",
|
||||
"muted-2": "#979899",
|
||||
"muted-3": "#cacbcc",
|
||||
"muted-4": "#e3e4e6",
|
||||
"muted-5": "#f2f4f5"
|
||||
},
|
||||
"hover-border": {
|
||||
"action-primary": "#072c75",
|
||||
"action-secondary": "#dbe9fd",
|
||||
"emphasis": "#dd1659",
|
||||
"success": "#8bc34a",
|
||||
"success--faded": "#eafce3",
|
||||
"danger": "#e13232",
|
||||
"danger--faded": "#ffe6e6",
|
||||
"warning": "#ffb100",
|
||||
"warning--faded": "#fff6e0",
|
||||
"muted-1": "#727273",
|
||||
"muted-2": "#979899",
|
||||
"muted-3": "#cacbcc",
|
||||
"muted-4": "#e3e4e6",
|
||||
"muted-5": "#f2f4f5"
|
||||
},
|
||||
"active-border": {
|
||||
"action-primary": "#0c389f",
|
||||
"action-secondary": "#d2defc",
|
||||
"emphasis": "#dd1659",
|
||||
"success": "#8bc34a",
|
||||
"success--faded": "#eafce3",
|
||||
"danger": "#ff4c4c",
|
||||
"danger--faded": "#ffe6e6",
|
||||
"warning": "#ffb100",
|
||||
"warning--faded": "#fff6e0",
|
||||
"muted-1": "#727273",
|
||||
"muted-2": "#979899",
|
||||
"muted-3": "#cacbcc",
|
||||
"muted-4": "#e3e4e6",
|
||||
"muted-5": "#f2f4f5"
|
||||
},
|
||||
"on": {
|
||||
"base": "#3f3f40",
|
||||
"base--inverted": "#ffffff",
|
||||
"action-primary": "#ffffff",
|
||||
"action-secondary": "#0F3E99",
|
||||
"emphasis": "#ffffff",
|
||||
"disabled": "#979899",
|
||||
"success": "#ffffff",
|
||||
"success--faded": "#3f3f40",
|
||||
"danger": "#ffffff",
|
||||
"danger--faded": "#3f3f40",
|
||||
"warning": "#ffffff",
|
||||
"warning--faded": "#1a1a1a",
|
||||
"muted-1": "#ffffff",
|
||||
"muted-2": "#ffffff",
|
||||
"muted-3": "#3f3f40",
|
||||
"muted-4": "#3f3f40",
|
||||
"muted-5": "#3f3f40"
|
||||
},
|
||||
"hover-on": {
|
||||
"action-primary": "#ffffff",
|
||||
"action-secondary": "#0F3E99",
|
||||
"emphasis": "#ffffff",
|
||||
"success": "#ffffff",
|
||||
"success--faded": "#3f3f40",
|
||||
"danger": "#ffffff",
|
||||
"danger--faded": "#3f3f40",
|
||||
"warning": "#ffffff",
|
||||
"warning--faded": "#1a1a1a"
|
||||
},
|
||||
"active-on": {
|
||||
"action-primary": "#ffffff",
|
||||
"action-secondary": "#0F3E99",
|
||||
"emphasis": "#ffffff",
|
||||
"success": "#ffffff",
|
||||
"success--faded": "#3f3f40",
|
||||
"danger": "#ffffff",
|
||||
"danger--faded": "#3f3f40",
|
||||
"warning": "#ffffff",
|
||||
"warning--faded": "#1a1a1a"
|
||||
}
|
||||
},
|
||||
"borderWidths": [0, 0.125, 0.25, 0.5, 1, 2],
|
||||
"borderRadius": [0, 0.125, 0.25, 0.5, 1],
|
||||
"widths": [1, 2, 4, 8, 16],
|
||||
"maxWidths": [1, 2, 4, 8, 16, 32, 48, 64, 96],
|
||||
"heights": [1, 2, 4, 8, 16],
|
||||
"sizes": [
|
||||
{ "name": "small", "value": 2 },
|
||||
{ "name": "regular", "value": 2.5 },
|
||||
{ "name": "large", "value": 3 }
|
||||
],
|
||||
"typography": {
|
||||
"measure": [30, 34, 20],
|
||||
"styles": {
|
||||
"heading-1": {
|
||||
"fontFamily": "Open Sans, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "700",
|
||||
"fontSize": "3rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"semanticColors": {
|
||||
"background": {
|
||||
"base": "#ffffff",
|
||||
"base--inverted": "#03044e",
|
||||
"action-primary": "#0F3E99",
|
||||
"action-secondary": "#eef3f7",
|
||||
"emphasis": "#f71963",
|
||||
"disabled": "#f2f4f5",
|
||||
"success": "#8bc34a",
|
||||
"success--faded": "#eafce3",
|
||||
"danger": "#ff4c4c",
|
||||
"danger--faded": "#ffe6e6",
|
||||
"warning": "#ffb100",
|
||||
"warning--faded": "#fff6e0",
|
||||
"muted-1": "#727273",
|
||||
"muted-2": "#979899",
|
||||
"muted-3": "#cacbcc",
|
||||
"muted-4": "#e3e4e6",
|
||||
"muted-5": "#f2f4f5"
|
||||
},
|
||||
"hover-background": {
|
||||
"action-primary": "#072c75",
|
||||
"action-secondary": "#dbe9fd",
|
||||
"emphasis": "#dd1659",
|
||||
"success": "#8bc34a",
|
||||
"success--faded": "#eafce3",
|
||||
"danger": "#e13232",
|
||||
"danger--faded": "#ffe6e6",
|
||||
"warning": "#ffb100",
|
||||
"warning--faded": "#fff6e0",
|
||||
"muted-1": "#727273",
|
||||
"muted-2": "#979899",
|
||||
"muted-3": "#cacbcc",
|
||||
"muted-4": "#e3e4e6",
|
||||
"muted-5": "#f2f4f5"
|
||||
},
|
||||
"active-background": {
|
||||
"action-primary": "#0c389f",
|
||||
"action-secondary": "#d2defc",
|
||||
"emphasis": "#dd1659",
|
||||
"success": "#8bc34a",
|
||||
"success--faded": "#eafce3",
|
||||
"danger": "#ff4c4c",
|
||||
"danger--faded": "#ffe6e6",
|
||||
"warning": "#ffb100",
|
||||
"warning--faded": "#fff6e0",
|
||||
"muted-1": "#727273",
|
||||
"muted-2": "#979899",
|
||||
"muted-3": "#cacbcc",
|
||||
"muted-4": "#e3e4e6",
|
||||
"muted-5": "#f2f4f5"
|
||||
},
|
||||
"text": {
|
||||
"action-primary": "#0F3E99",
|
||||
"action-secondary": "#eef3f7",
|
||||
"link": "#0F3E99",
|
||||
"emphasis": "#f71963",
|
||||
"disabled": "#979899",
|
||||
"success": "#8bc34a",
|
||||
"success--faded": "#eafce3",
|
||||
"danger": "#ff4c4c",
|
||||
"danger--faded": "#ffe6e6",
|
||||
"warning": "#ffb100",
|
||||
"warning--faded": "#fff6e0",
|
||||
"muted-1": "#727273",
|
||||
"muted-2": "#979899",
|
||||
"muted-3": "#cacbcc",
|
||||
"muted-4": "#e3e4e6",
|
||||
"muted-5": "#f2f4f5"
|
||||
},
|
||||
"visited-text": {
|
||||
"link": "#0c389f"
|
||||
},
|
||||
"hover-text": {
|
||||
"action-primary": "#072c75",
|
||||
"action-secondary": "#dbe9fd",
|
||||
"link": "#0c389f",
|
||||
"emphasis": "#dd1659",
|
||||
"success": "#8bc34a",
|
||||
"success--faded": "#eafce3",
|
||||
"danger": "#e13232",
|
||||
"danger--faded": "#ffe6e6",
|
||||
"warning": "#ffb100",
|
||||
"warning--faded": "#fff6e0"
|
||||
},
|
||||
"active-text": {
|
||||
"link": "#0c389f",
|
||||
"emphasis": "#dd1659",
|
||||
"success": "#8bc34a",
|
||||
"success--faded": "#eafce3",
|
||||
"danger": "#ff4c4c",
|
||||
"danger--faded": "#ffe6e6",
|
||||
"warning": "#ffb100",
|
||||
"warning--faded": "#fff6e0"
|
||||
},
|
||||
"border": {
|
||||
"action-primary": "#0F3E99",
|
||||
"action-secondary": "#eef3f7",
|
||||
"emphasis": "#f71963",
|
||||
"disabled": "#e3e4e6",
|
||||
"success": "#8bc34a",
|
||||
"success--faded": "#eafce3",
|
||||
"danger": "#ff4c4c",
|
||||
"danger--faded": "#ffe6e6",
|
||||
"warning": "#ffb100",
|
||||
"warning--faded": "#fff6e0",
|
||||
"muted-1": "#727273",
|
||||
"muted-2": "#979899",
|
||||
"muted-3": "#cacbcc",
|
||||
"muted-4": "#e3e4e6",
|
||||
"muted-5": "#f2f4f5"
|
||||
},
|
||||
"hover-border": {
|
||||
"action-primary": "#072c75",
|
||||
"action-secondary": "#dbe9fd",
|
||||
"emphasis": "#dd1659",
|
||||
"success": "#8bc34a",
|
||||
"success--faded": "#eafce3",
|
||||
"danger": "#e13232",
|
||||
"danger--faded": "#ffe6e6",
|
||||
"warning": "#ffb100",
|
||||
"warning--faded": "#fff6e0",
|
||||
"muted-1": "#727273",
|
||||
"muted-2": "#979899",
|
||||
"muted-3": "#cacbcc",
|
||||
"muted-4": "#e3e4e6",
|
||||
"muted-5": "#f2f4f5"
|
||||
},
|
||||
"active-border": {
|
||||
"action-primary": "#0c389f",
|
||||
"action-secondary": "#d2defc",
|
||||
"emphasis": "#dd1659",
|
||||
"success": "#8bc34a",
|
||||
"success--faded": "#eafce3",
|
||||
"danger": "#ff4c4c",
|
||||
"danger--faded": "#ffe6e6",
|
||||
"warning": "#ffb100",
|
||||
"warning--faded": "#fff6e0",
|
||||
"muted-1": "#727273",
|
||||
"muted-2": "#979899",
|
||||
"muted-3": "#cacbcc",
|
||||
"muted-4": "#e3e4e6",
|
||||
"muted-5": "#f2f4f5"
|
||||
},
|
||||
"on": {
|
||||
"base": "#3f3f40",
|
||||
"base--inverted": "#ffffff",
|
||||
"action-primary": "#ffffff",
|
||||
"action-secondary": "#0F3E99",
|
||||
"emphasis": "#ffffff",
|
||||
"disabled": "#979899",
|
||||
"success": "#ffffff",
|
||||
"success--faded": "#3f3f40",
|
||||
"danger": "#ffffff",
|
||||
"danger--faded": "#3f3f40",
|
||||
"warning": "#ffffff",
|
||||
"warning--faded": "#1a1a1a",
|
||||
"muted-1": "#ffffff",
|
||||
"muted-2": "#ffffff",
|
||||
"muted-3": "#3f3f40",
|
||||
"muted-4": "#3f3f40",
|
||||
"muted-5": "#3f3f40"
|
||||
},
|
||||
"hover-on": {
|
||||
"action-primary": "#ffffff",
|
||||
"action-secondary": "#0F3E99",
|
||||
"emphasis": "#ffffff",
|
||||
"success": "#ffffff",
|
||||
"success--faded": "#3f3f40",
|
||||
"danger": "#ffffff",
|
||||
"danger--faded": "#3f3f40",
|
||||
"warning": "#ffffff",
|
||||
"warning--faded": "#1a1a1a"
|
||||
},
|
||||
"active-on": {
|
||||
"action-primary": "#ffffff",
|
||||
"action-secondary": "#0F3E99",
|
||||
"emphasis": "#ffffff",
|
||||
"success": "#ffffff",
|
||||
"success--faded": "#3f3f40",
|
||||
"danger": "#ffffff",
|
||||
"danger--faded": "#3f3f40",
|
||||
"warning": "#ffffff",
|
||||
"warning--faded": "#1a1a1a"
|
||||
}
|
||||
"heading-2": {
|
||||
"fontFamily": "Open Sans, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "700",
|
||||
"fontSize": "2.25rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"borderWidths": [0, 0.125, 0.25, 0.5, 1, 2],
|
||||
"borderRadius": [0, 0.125, 0.25, 0.5, 1],
|
||||
"widths": [1, 2, 4, 8, 16],
|
||||
"maxWidths": [1, 2, 4, 8, 16, 32, 48, 64, 96],
|
||||
"heights": [1, 2, 4, 8, 16],
|
||||
"sizes": [
|
||||
{"name": "small", "value": 2},
|
||||
{"name": "regular", "value": 2.5},
|
||||
{"name": "large", "value": 3}
|
||||
],
|
||||
"typography":{
|
||||
"measure": [30, 34, 20],
|
||||
"styles": {
|
||||
"heading-1": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"fontWeight": "500",
|
||||
"fontSize": "1.25rem",
|
||||
"textTransform": "uppercase",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"code": {
|
||||
"fontFamily": "Consolas, monaco, monospace",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "1rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
}
|
||||
}
|
||||
"heading-3": {
|
||||
"fontFamily": "Open Sans, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "700",
|
||||
"fontSize": "1.75rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"opacity": [1, 0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2, 0.1, 0.05, 0.025, 0]
|
||||
"heading-4": {
|
||||
"fontFamily": "Open Sans, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "1.5rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"heading-5": {
|
||||
"fontFamily": "Open Sans, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "1.25rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"heading-6": {
|
||||
"fontFamily": "Open Sans, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "1.25rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"body": {
|
||||
"fontFamily": "Open Sans, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "1rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"small": {
|
||||
"fontFamily": "Open Sans, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "0.875rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"mini": {
|
||||
"fontFamily": "Open Sans, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "0.75rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"action": {
|
||||
"fontFamily": "Open Sans, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "500",
|
||||
"fontSize": "1rem",
|
||||
"textTransform": "uppercase",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"action--small": {
|
||||
"fontFamily": "Open Sans, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "500",
|
||||
"fontSize": "0.875rem",
|
||||
"textTransform": "uppercase",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"action--large": {
|
||||
"fontFamily": "Open Sans, San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontWeight": "500",
|
||||
"fontSize": "1.25rem",
|
||||
"textTransform": "uppercase",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"code": {
|
||||
"fontFamily": "Consolas, monaco, monospace",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "1rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"opacity": [1, 0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2, 0.1, 0.05, 0.025, 0]
|
||||
}
|
||||
|
@ -1,3 +1,11 @@
|
||||
.product-identifier--productReference {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.product-identifier__label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.product-identifier__separator {
|
||||
display: none;
|
||||
}
|
||||
|
22
styles/css/vtex.shipping-simulator.css
Normal file
22
styles/css/vtex.shipping-simulator.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 */
|
||||
.shippingContainer {
|
||||
display: none !important;
|
||||
}
|
||||
.shippingContainer :global(.vtex-button__label) {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 0px;
|
||||
width: 49px;
|
||||
height: 49px;
|
||||
background: #000000;
|
||||
}
|
@ -7,6 +7,162 @@
|
||||
*/
|
||||
/* Media Query M3 */
|
||||
/* Grid breakpoints */
|
||||
.newsletter {
|
||||
background: red;
|
||||
.shippingContainer {
|
||||
display: flex;
|
||||
margin: 0;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) {
|
||||
display: flex;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) {
|
||||
line-height: normal;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) :first-child {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) :first-child :first-child {
|
||||
display: none;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) :global(.vtex-input__label) {
|
||||
font-size: 0;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) :global(.vtex-input__label)::before {
|
||||
content: "CALCULAR FRETE:";
|
||||
font-family: "Open Sans", sans-serif;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) :global(.vtex-input-prefix__group) {
|
||||
width: 231px;
|
||||
height: 49px;
|
||||
margin: 0;
|
||||
padding: 16.5px 0 16.5px 16px;
|
||||
border: 1px solid #cccccc;
|
||||
border-radius: 0;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) :global(.vtex-input-prefix__group) :global(.vtex-address-form-4-x-input) {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 8px 0;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) :global(.vtex-input__error) {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) {
|
||||
display: flex;
|
||||
position: absolute;
|
||||
padding: 0;
|
||||
left: 312px;
|
||||
top: 41.5px;
|
||||
}
|
||||
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) :last-child {
|
||||
color: #000;
|
||||
}
|
||||
.shippingContainer :global(.vtex-button) {
|
||||
display: flex;
|
||||
width: 49px;
|
||||
height: 49px;
|
||||
margin-bottom: 5px;
|
||||
background: #000;
|
||||
border: 1px solid #000;
|
||||
border-radius: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
.shippingContainer :global(.vtex-button) :global(.vtex-button__label) {
|
||||
padding: 0;
|
||||
font-size: 0;
|
||||
}
|
||||
.shippingContainer :global(.vtex-button) :global(.vtex-button__label)::before {
|
||||
content: "OK";
|
||||
font-family: "Open Sans", sans-serif;
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.shippingTable {
|
||||
border: 0;
|
||||
width: auto;
|
||||
}
|
||||
.shippingTable .shippingTableHead {
|
||||
display: block;
|
||||
}
|
||||
.shippingTable .shippingTableHead .shippingTableRow {
|
||||
display: grid;
|
||||
grid-template-columns: 103px 56px 136px;
|
||||
grid-template-areas: "A B C";
|
||||
column-gap: 32px;
|
||||
}
|
||||
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryName,
|
||||
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryEstimate,
|
||||
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #202020;
|
||||
text-transform: uppercase;
|
||||
padding: 0;
|
||||
}
|
||||
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryName {
|
||||
text-align: left;
|
||||
grid-area: A;
|
||||
}
|
||||
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryEstimate {
|
||||
grid-area: C;
|
||||
text-align: left;
|
||||
}
|
||||
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice {
|
||||
text-align: left;
|
||||
grid-area: B;
|
||||
font-size: 0;
|
||||
}
|
||||
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice::after {
|
||||
content: "Valor";
|
||||
font-size: 14px;
|
||||
}
|
||||
.shippingTable .shippingTableBody .shippingTableRow {
|
||||
display: grid;
|
||||
grid-template-columns: 103px 56px 136px;
|
||||
grid-template-areas: "A B C";
|
||||
column-gap: 32px;
|
||||
margin-top: 15px;
|
||||
}
|
||||
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCell {
|
||||
padding: 0;
|
||||
}
|
||||
.shippingTable .shippingTableBody .shippingTableRow .shippingTableRadioBtn {
|
||||
display: none;
|
||||
}
|
||||
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryName {
|
||||
grid-area: A;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryEstimate {
|
||||
white-space: nowrap;
|
||||
grid-area: C;
|
||||
}
|
||||
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryPrice {
|
||||
grid-area: B;
|
||||
}
|
@ -1,3 +1,180 @@
|
||||
.newsletter{
|
||||
background: red;
|
||||
}
|
||||
.shippingContainer {
|
||||
display: flex;
|
||||
margin: 0;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
|
||||
:global(.vtex-address-form__postalCode) {
|
||||
display: flex;
|
||||
|
||||
:global(.vtex-address-form__postalCode-forgottenURL) {
|
||||
line-height: normal;
|
||||
|
||||
:first-child {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
:first-child {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-input) {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
:global(.vtex-input__label) {
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
:global(.vtex-input__label)::before {
|
||||
content: "CALCULAR FRETE:";
|
||||
|
||||
font-family: "Open Sans", sans-serif;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #929292;
|
||||
}
|
||||
|
||||
:global(.vtex-input-prefix__group) {
|
||||
width: 231px;
|
||||
height: 49px;
|
||||
margin: 0;
|
||||
padding: 16.5px 0 16.5px 16px;
|
||||
|
||||
border: 1px solid #cccccc;
|
||||
border-radius: 0;
|
||||
|
||||
:global(.vtex-address-form-4-x-input) {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 8px 0;
|
||||
}
|
||||
}
|
||||
:global(.vtex-input__error) {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-address-form__postalCode-forgottenURL) {
|
||||
display: flex;
|
||||
position: absolute;
|
||||
padding: 0;
|
||||
left: 312px;
|
||||
top: 41.5px;
|
||||
|
||||
:last-child {
|
||||
color: #000;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
:global(.vtex-button) {
|
||||
display: flex;
|
||||
width: 49px;
|
||||
height: 49px;
|
||||
margin-bottom: 5px;
|
||||
|
||||
background: #000;
|
||||
border: 1px solid #000;
|
||||
border-radius: 0;
|
||||
|
||||
cursor: pointer;
|
||||
|
||||
:global(.vtex-button__label) {
|
||||
padding: 0;
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
:global(.vtex-button__label)::before {
|
||||
content: "OK";
|
||||
font-family: "Open Sans", sans-serif;
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.shippingTable {
|
||||
border: 0;
|
||||
width: auto;
|
||||
.shippingTableHead {
|
||||
display: block;
|
||||
.shippingTableRow {
|
||||
display: grid;
|
||||
grid-template-columns: 103px 56px 136px;
|
||||
grid-template-areas: "A B C";
|
||||
column-gap: 32px;
|
||||
.shippingTableHeadDeliveryName,
|
||||
.shippingTableHeadDeliveryEstimate,
|
||||
.shippingTableHeadDeliveryPrice {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: #202020;
|
||||
text-transform: uppercase;
|
||||
padding: 0;
|
||||
}
|
||||
.shippingTableHeadDeliveryName {
|
||||
text-align: left;
|
||||
grid-area: A;
|
||||
}
|
||||
.shippingTableHeadDeliveryEstimate {
|
||||
grid-area: C;
|
||||
text-align: left;
|
||||
}
|
||||
.shippingTableHeadDeliveryPrice {
|
||||
text-align: left;
|
||||
grid-area: B;
|
||||
font-size: 0;
|
||||
&::after {
|
||||
content: "Valor";
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.shippingTableBody {
|
||||
.shippingTableRow {
|
||||
display: grid;
|
||||
grid-template-columns: 103px 56px 136px;
|
||||
grid-template-areas: "A B C";
|
||||
column-gap: 32px;
|
||||
margin-top: 15px;
|
||||
.shippingTableCell {
|
||||
padding: 0;
|
||||
}
|
||||
.shippingTableRadioBtn {
|
||||
display: none;
|
||||
}
|
||||
.shippingTableCellDeliveryName {
|
||||
grid-area: A;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
.shippingTableCellDeliveryEstimate {
|
||||
white-space: nowrap;
|
||||
grid-area: C;
|
||||
}
|
||||
.shippingTableCellDeliveryPrice {
|
||||
grid-area: B;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user