@sharadox/sharadox-web-library 0.30.0 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/distribution/component/about/feed/index.d.ts +8 -0
- package/distribution/component/about/feed/index.d.ts.map +1 -0
- package/distribution/component/about/feed/index.js +16 -0
- package/distribution/component/about/feed/index.js.map +1 -0
- package/distribution/component/about/feed/index.module.css +1 -0
- package/distribution/component/about/feed/index.module.scss +190 -0
- package/distribution/component/{touchpoint → about/feed}/type.d.ts +1 -1
- package/distribution/component/about/feed/type.d.ts.map +1 -0
- package/distribution/component/about/feed/type.js.map +1 -0
- package/distribution/component/about/index.d.ts +8 -0
- package/distribution/component/about/index.d.ts.map +1 -0
- package/distribution/component/about/index.js +20 -0
- package/distribution/component/about/index.js.map +1 -0
- package/distribution/component/about/index.module.css +1 -0
- package/distribution/component/about/index.module.scss +129 -0
- package/distribution/component/about/type.d.ts +5 -0
- package/distribution/component/about/type.d.ts.map +1 -0
- package/distribution/component/about/type.js.map +1 -0
- package/distribution/component/button/index.module.css +1 -1
- package/distribution/component/button/index.module.scss +2 -0
- package/distribution/component/capability/index.d.ts +1 -1
- package/distribution/component/capability/index.d.ts.map +1 -1
- package/distribution/component/capability/index.js +3 -2
- package/distribution/component/capability/index.js.map +1 -1
- package/distribution/component/capability/index.module.css +1 -1
- package/distribution/component/capability/index.module.scss +46 -0
- package/distribution/component/consent/index.module.css +1 -1
- package/distribution/component/consent/index.module.scss +2 -0
- package/distribution/component/contact/form/chip/index.module.css +1 -1
- package/distribution/component/contact/form/chip/index.module.scss +2 -0
- package/distribution/component/contact/form/index.d.ts +2 -1
- package/distribution/component/contact/form/index.d.ts.map +1 -1
- package/distribution/component/contact/form/index.js +3 -2
- package/distribution/component/contact/form/index.js.map +1 -1
- package/distribution/component/contact/form/index.module.css +1 -1
- package/distribution/component/contact/form/index.module.scss +30 -0
- package/distribution/component/contact/index.d.ts +1 -1
- package/distribution/component/contact/index.d.ts.map +1 -1
- package/distribution/component/contact/index.js +2 -2
- package/distribution/component/contact/index.js.map +1 -1
- package/distribution/component/contact/index.module.css +1 -1
- package/distribution/component/contact/index.module.scss +15 -5
- package/distribution/component/footer/index.d.ts +4 -3
- package/distribution/component/footer/index.d.ts.map +1 -1
- package/distribution/component/footer/index.js +6 -5
- package/distribution/component/footer/index.js.map +1 -1
- package/distribution/component/footer/index.module.css +1 -1
- package/distribution/component/footer/index.module.scss +33 -43
- package/distribution/component/hero/index.module.css +1 -1
- package/distribution/component/hero/index.module.scss +8 -0
- package/distribution/component/license/index.module.css +1 -1
- package/distribution/component/license/index.module.scss +7 -0
- package/distribution/component/navigation/index.module.css +1 -1
- package/distribution/component/navigation/index.module.scss +6 -0
- package/distribution/component/privacy-page/index.module.css +1 -1
- package/distribution/component/privacy-page/index.module.scss +7 -0
- package/distribution/component/process/index.d.ts +1 -1
- package/distribution/component/process/index.d.ts.map +1 -1
- package/distribution/component/process/index.js +13 -3
- package/distribution/component/process/index.js.map +1 -1
- package/distribution/component/process/index.module.css +1 -1
- package/distribution/component/process/index.module.scss +3 -0
- package/distribution/component/process/measure-stops/index.d.ts +10 -0
- package/distribution/component/process/measure-stops/index.d.ts.map +1 -0
- package/distribution/component/process/measure-stops/index.js +21 -0
- package/distribution/component/process/measure-stops/index.js.map +1 -0
- package/distribution/component/process/step/index.d.ts +2 -2
- package/distribution/component/process/step/index.d.ts.map +1 -1
- package/distribution/component/process/step/index.js +4 -5
- package/distribution/component/process/step/index.js.map +1 -1
- package/distribution/component/process/step/index.module.css +1 -1
- package/distribution/component/process/step/index.module.scss +1 -0
- package/distribution/component/process/step/type.d.ts +2 -2
- package/distribution/component/process/step/type.d.ts.map +1 -1
- package/distribution/component/section/index.module.css +1 -1
- package/distribution/component/section/index.module.scss +2 -0
- package/distribution/component/section-indicator/index.module.css +1 -1
- package/distribution/component/section-indicator/index.module.scss +19 -1
- package/distribution/component/service-card/index.module.css +1 -1
- package/distribution/component/service-card/index.module.scss +2 -0
- package/distribution/component/service-index/index.module.css +1 -1
- package/distribution/component/service-index/index.module.scss +3 -0
- package/distribution/component/service-object/android-application/index.module.css +1 -1
- package/distribution/component/service-object/android-application/index.module.scss +18 -17
- package/distribution/component/service-object/brand-awareness/index.module.css +1 -1
- package/distribution/component/service-object/brand-awareness/index.module.scss +7 -7
- package/distribution/component/service-object/branding/index.d.ts +3 -2
- package/distribution/component/service-object/branding/index.d.ts.map +1 -1
- package/distribution/component/service-object/branding/index.js +4 -3
- package/distribution/component/service-object/branding/index.js.map +1 -1
- package/distribution/component/service-object/branding/index.module.css +1 -1
- package/distribution/component/service-object/branding/index.module.scss +136 -80
- package/distribution/component/service-object/branding-design/index.d.ts +2 -2
- package/distribution/component/service-object/branding-design/index.d.ts.map +1 -1
- package/distribution/component/service-object/branding-design/index.js +34 -11
- package/distribution/component/service-object/branding-design/index.js.map +1 -1
- package/distribution/component/service-object/branding-design/index.module.css +1 -1
- package/distribution/component/service-object/branding-design/index.module.scss +12 -12
- package/distribution/component/service-object/cuboid/index.module.css +1 -1
- package/distribution/component/service-object/cuboid/index.module.scss +3 -3
- package/distribution/component/service-object/e-commerce/index.module.css +1 -1
- package/distribution/component/service-object/e-commerce/index.module.scss +3 -7
- package/distribution/component/service-object/hosting/index.d.ts +1 -1
- package/distribution/component/service-object/hosting/index.d.ts.map +1 -1
- package/distribution/component/service-object/hosting/index.js +2 -2
- package/distribution/component/service-object/hosting/index.js.map +1 -1
- package/distribution/component/service-object/hosting/index.module.css +1 -1
- package/distribution/component/service-object/hosting/index.module.scss +5 -46
- package/distribution/component/service-object/ios-application/index.module.css +1 -1
- package/distribution/component/service-object/ios-application/index.module.scss +11 -10
- package/distribution/component/service-object/lead-generation/index.module.css +1 -1
- package/distribution/component/service-object/lead-generation/index.module.scss +5 -5
- package/distribution/component/service-object/mark/index.module.scss +2 -1
- package/distribution/component/service-object/merchandise/index.module.css +1 -1
- package/distribution/component/service-object/merchandise/index.module.scss +9 -9
- package/distribution/component/service-object/person/index.module.css +1 -1
- package/distribution/component/service-object/person/index.module.scss +2 -1
- package/distribution/component/service-object/platform/index.module.css +1 -1
- package/distribution/component/service-object/platform/index.module.scss +15 -14
- package/distribution/component/service-object/print-design/index.d.ts +1 -1
- package/distribution/component/service-object/print-design/index.js +1 -1
- package/distribution/component/service-object/print-design/index.module.css +1 -1
- package/distribution/component/service-object/print-design/index.module.scss +13 -9
- package/distribution/component/service-object/product-launch/index.js +1 -1
- package/distribution/component/service-object/product-launch/index.js.map +1 -1
- package/distribution/component/service-object/product-launch/index.module.css +1 -1
- package/distribution/component/service-object/product-launch/index.module.scss +8 -10
- package/distribution/component/service-object/professional-email/index.module.css +1 -1
- package/distribution/component/service-object/professional-email/index.module.scss +12 -11
- package/distribution/component/service-object/progressive-web-application/index.module.css +1 -1
- package/distribution/component/service-object/progressive-web-application/index.module.scss +10 -9
- package/distribution/component/service-object/rebranding/index.d.ts +3 -2
- package/distribution/component/service-object/rebranding/index.d.ts.map +1 -1
- package/distribution/component/service-object/rebranding/index.js +19 -3
- package/distribution/component/service-object/rebranding/index.js.map +1 -1
- package/distribution/component/service-object/rebranding/index.module.css +1 -1
- package/distribution/component/service-object/rebranding/index.module.scss +65 -71
- package/distribution/component/service-object/sales-generation/index.module.css +1 -1
- package/distribution/component/service-object/sales-generation/index.module.scss +5 -8
- package/distribution/component/service-object/social-media-strategy/index.module.css +1 -1
- package/distribution/component/service-object/social-media-strategy/index.module.scss +20 -13
- package/distribution/component/service-object/website/index.module.css +1 -1
- package/distribution/component/service-object/website/index.module.scss +12 -8
- package/distribution/component/service-unlisted/index.module.css +1 -1
- package/distribution/component/service-unlisted/index.module.scss +5 -3
- package/distribution/component/services/index.module.css +1 -1
- package/distribution/component/services/index.module.scss +1 -0
- package/distribution/component/structured-data/index.js +1 -1
- package/distribution/component/structured-data/index.js.map +1 -1
- package/distribution/content/about/index.d.ts +100 -0
- package/distribution/content/about/index.d.ts.map +1 -0
- package/distribution/content/about/index.js +71 -0
- package/distribution/content/about/index.js.map +1 -0
- package/distribution/content/capability/index.d.ts +27 -1
- package/distribution/content/capability/index.d.ts.map +1 -1
- package/distribution/content/capability/index.js +13 -1
- package/distribution/content/capability/index.js.map +1 -1
- package/distribution/content/contact/index.d.ts +5 -5
- package/distribution/content/navigation/index.d.ts +4 -4
- package/distribution/content/navigation/index.js +1 -1
- package/distribution/content/navigation/index.js.map +1 -1
- package/distribution/content/section/index.d.ts +5 -5
- package/distribution/content/section/index.js +1 -1
- package/distribution/content/section/index.js.map +1 -1
- package/distribution/content/section-indicator/index.d.ts +4 -4
- package/distribution/content/section-indicator/index.d.ts.map +1 -1
- package/distribution/content/section-indicator/index.js +1 -8
- package/distribution/content/section-indicator/index.js.map +1 -1
- package/distribution/content/services/index.d.ts +26 -26
- package/distribution/content/services/index.d.ts.map +1 -1
- package/distribution/content/services/index.js +80 -30
- package/distribution/content/services/index.js.map +1 -1
- package/distribution/content/site/index.js +4 -4
- package/distribution/content/site/index.js.map +1 -1
- package/distribution/style/object/index.scss +30 -4
- package/llms.txt +4 -2
- package/package.json +3 -3
- package/distribution/component/statement/index.d.ts +0 -4
- package/distribution/component/statement/index.d.ts.map +0 -1
- package/distribution/component/statement/index.js +0 -10
- package/distribution/component/statement/index.js.map +0 -1
- package/distribution/component/statement/index.module.css +0 -1
- package/distribution/component/statement/index.module.scss +0 -10
- package/distribution/component/statement/type.d.ts +0 -4
- package/distribution/component/statement/type.d.ts.map +0 -1
- package/distribution/component/statement/type.js.map +0 -1
- package/distribution/component/touchpoint/index.d.ts +0 -7
- package/distribution/component/touchpoint/index.d.ts.map +0 -1
- package/distribution/component/touchpoint/index.js +0 -26
- package/distribution/component/touchpoint/index.js.map +0 -1
- package/distribution/component/touchpoint/index.module.css +0 -1
- package/distribution/component/touchpoint/index.module.scss +0 -75
- package/distribution/component/touchpoint/plate/index.d.ts +0 -4
- package/distribution/component/touchpoint/plate/index.d.ts.map +0 -1
- package/distribution/component/touchpoint/plate/index.js +0 -9
- package/distribution/component/touchpoint/plate/index.js.map +0 -1
- package/distribution/component/touchpoint/plate/index.module.css +0 -1
- package/distribution/component/touchpoint/plate/index.module.scss +0 -129
- package/distribution/component/touchpoint/plate/type.d.ts +0 -8
- package/distribution/component/touchpoint/plate/type.d.ts.map +0 -1
- package/distribution/component/touchpoint/plate/type.js.map +0 -1
- package/distribution/component/touchpoint/type.d.ts.map +0 -1
- package/distribution/component/touchpoint/type.js +0 -2
- package/distribution/component/touchpoint/type.js.map +0 -1
- package/distribution/content/statement/index.d.ts +0 -6
- package/distribution/content/statement/index.d.ts.map +0 -1
- package/distribution/content/statement/index.js +0 -6
- package/distribution/content/statement/index.js.map +0 -1
- package/distribution/content/touchpoint/index.d.ts +0 -37
- package/distribution/content/touchpoint/index.d.ts.map +0 -1
- package/distribution/content/touchpoint/index.js +0 -17
- package/distribution/content/touchpoint/index.js.map +0 -1
- /package/distribution/component/{statement → about/feed}/type.js +0 -0
- /package/distribution/component/{touchpoint/plate → about}/type.js +0 -0
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
@use "style/token" as *;
|
|
2
2
|
|
|
3
3
|
.navigation {
|
|
4
|
+
/* Its text reads from the left (the page default is centered). */
|
|
5
|
+
text-align: left;
|
|
4
6
|
position: fixed;
|
|
5
7
|
z-index: 50;
|
|
6
8
|
inset: 0 0 auto;
|
|
@@ -77,6 +79,7 @@
|
|
|
77
79
|
|
|
78
80
|
/* Two lines that cross into an X while the menu is open; only where the links don't fit in the bar. */
|
|
79
81
|
.toggle {
|
|
82
|
+
align-items: stretch;
|
|
80
83
|
display: none;
|
|
81
84
|
flex-direction: column;
|
|
82
85
|
justify-content: center;
|
|
@@ -105,6 +108,8 @@
|
|
|
105
108
|
}
|
|
106
109
|
/* The bar's frosted background, under the bar, so the two read as one. */
|
|
107
110
|
.menu {
|
|
111
|
+
text-align: left;
|
|
112
|
+
align-items: stretch;
|
|
108
113
|
position: fixed;
|
|
109
114
|
inset: 65px 0 0;
|
|
110
115
|
z-index: 49;
|
|
@@ -123,6 +128,7 @@
|
|
|
123
128
|
margin-bottom: auto;
|
|
124
129
|
}
|
|
125
130
|
> a {
|
|
131
|
+
justify-content: flex-start;
|
|
126
132
|
display: flex;
|
|
127
133
|
align-items: baseline;
|
|
128
134
|
gap: 14px;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.page{padding-top:clamp(140px,16vw,200px)}.title{margin:28px 0 0;font-size:clamp(36px,6vw,64px);line-height:1.05;letter-spacing:-0.03em}.text{max-width:72ch;margin-top:12px;color:var(--foreground-2);line-height:1.7}.text small{font-family:var(--monospace);font-size:12px}.text h2{margin:56px 0 14px;padding-top:28px;color:var(--foreground);font-size:clamp(20px,2.4vw,26px);letter-spacing:-0.01em;background:linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0/8px 1px repeat-x}.text p,.text ul{margin:0 0 16px}.text ul{padding-left:22px}.text li{margin-bottom:8px}
|
|
1
|
+
.page{text-align:left;padding-top:clamp(140px,16vw,200px)}.title{margin:28px 0 0;font-size:clamp(36px,6vw,64px);line-height:1.05;letter-spacing:-0.03em}.text{max-width:72ch;margin-top:12px;color:var(--foreground-2);line-height:1.7}.text small{font-family:var(--monospace);font-size:12px}.text h2{margin:56px 0 14px;padding-top:28px;color:var(--foreground);font-size:clamp(20px,2.4vw,26px);letter-spacing:-0.01em;background:linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0/8px 1px repeat-x}.text p,.text ul{margin:0 0 16px}.text ul{padding-left:22px}.text li{margin-bottom:8px}.text,.text *{align-content:normal}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
@use "style/token" as *;
|
|
2
2
|
|
|
3
3
|
.page {
|
|
4
|
+
/* Its text reads from the left (the page default is centered). */
|
|
5
|
+
text-align: left;
|
|
4
6
|
padding-top: clamp(140px, 16vw, 200px);
|
|
5
7
|
}
|
|
6
8
|
.title {
|
|
@@ -37,3 +39,8 @@
|
|
|
37
39
|
margin-bottom: 8px;
|
|
38
40
|
}
|
|
39
41
|
}
|
|
42
|
+
/* The policy is running text: normal flow throughout, so its headings', paragraphs' and lists' margins fold together. */
|
|
43
|
+
.text,
|
|
44
|
+
.text * {
|
|
45
|
+
align-content: normal;
|
|
46
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ProcessProperties } from "@sharadox/sharadox-web-library/component/process/type";
|
|
2
|
-
/** Four steps on a line that draws itself as you scroll through the section. */
|
|
2
|
+
/** Four steps on a line that draws itself as you scroll through the section, each dot lighting as it is reached. */
|
|
3
3
|
export declare function Process({ locale }: ProcessProperties): import("react").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/process/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/process/index.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uDAAuD,CAAC;AAE/F,oHAAoH;AACpH,wBAAgB,OAAO,CAAC,EAAE,MAAM,EAAE,EAAE,iBAAiB,+BAmCpD"}
|
|
@@ -1,21 +1,31 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { motion, useScroll, useTransform } from "motion/react";
|
|
4
|
-
import { useRef } from "react";
|
|
4
|
+
import { useEffect, useRef, useState } from "react";
|
|
5
5
|
import { Section } from "@sharadox/sharadox-web-library/component/section";
|
|
6
6
|
import { SectionHeading } from "@sharadox/sharadox-web-library/component/section-heading";
|
|
7
7
|
import { PROCESS } from "@sharadox/sharadox-web-library/content/process";
|
|
8
8
|
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
9
9
|
import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
10
10
|
import styles from "./index.module.css";
|
|
11
|
+
import { measureStops } from "@sharadox/sharadox-web-library/component/process/measure-stops";
|
|
11
12
|
import { Step } from "@sharadox/sharadox-web-library/component/process/step";
|
|
12
|
-
/** Four steps on a line that draws itself as you scroll through the section. */
|
|
13
|
+
/** Four steps on a line that draws itself as you scroll through the section, each dot lighting as it is reached. */
|
|
13
14
|
export function Process({ locale }) {
|
|
14
15
|
const container = useRef(null);
|
|
15
16
|
const { scrollYProgress } = useScroll({ target: container, offset: ["start 75%", "end 55%"] });
|
|
16
17
|
// How much of the line is drawn: across on wide screens, down on phones (see the styles).
|
|
17
18
|
const drawn = useTransform(scrollYProgress, [0, 1], ["0%", "100%"]);
|
|
18
19
|
const steps = PROCESS.steps;
|
|
19
|
-
|
|
20
|
+
const line = useRef(null);
|
|
21
|
+
const [stops, setStops] = useState(null);
|
|
22
|
+
useEffect(() => {
|
|
23
|
+
const measure = () => setStops(measureStops(line.current));
|
|
24
|
+
measure();
|
|
25
|
+
const observer = new ResizeObserver(measure);
|
|
26
|
+
observer.observe(container.current);
|
|
27
|
+
return () => observer.disconnect();
|
|
28
|
+
}, []);
|
|
29
|
+
return (_jsxs(Section, { id: SECTION.process.id, children: [_jsx(SectionHeading, { eyebrow: translate(PROCESS.eyebrow, locale), title: translate(PROCESS.title, locale) }), _jsxs("div", { ref: container, className: styles.process, children: [_jsx("div", { ref: line, className: styles.line, "aria-hidden": true, children: _jsx(motion.span, { style: { "--drawn": drawn } }) }), steps.map((step, index) => (_jsx(Step, { at: stops?.[index] ?? index / (steps.length - 1), progress: scrollYProgress, number: step.number, title: translate(step.title, locale), text: translate(step.text, locale) }, step.number)))] })] }));
|
|
20
30
|
}
|
|
21
31
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/process/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAsB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/process/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAsB,MAAM,OAAO,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,gEAAgE,CAAC;AAC9F,OAAO,EAAE,IAAI,EAAE,MAAM,uDAAuD,CAAC;AAG7E,oHAAoH;AACpH,MAAM,UAAU,OAAO,CAAC,EAAE,MAAM,EAAqB;IACnD,MAAM,SAAS,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAC/C,MAAM,EAAE,eAAe,EAAE,GAAG,SAAS,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,WAAW,EAAE,SAAS,CAAC,EAAE,CAAC,CAAC;IAC/F,0FAA0F;IAC1F,MAAM,KAAK,GAAG,YAAY,CAAC,eAAe,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;IACpE,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;IAC5B,MAAM,IAAI,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAC1C,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAkB,IAAI,CAAC,CAAC;IAC1D,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,OAAO,GAAG,GAAG,EAAE,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,OAAQ,CAAC,CAAC,CAAC;QAC5D,OAAO,EAAE,CAAC;QACV,MAAM,QAAQ,GAAG,IAAI,cAAc,CAAC,OAAO,CAAC,CAAC;QAC7C,QAAQ,CAAC,OAAO,CAAC,SAAS,CAAC,OAAQ,CAAC,CAAC;QACrC,OAAO,GAAG,EAAE,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC;IACrC,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,OAAO,CACL,MAAC,OAAO,IAAC,EAAE,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,aAC7B,KAAC,cAAc,IAAC,OAAO,EAAE,SAAS,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,GAAI,EACxG,eAAK,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC,OAAO,aAC5C,cAAK,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,IAAI,iCACpC,KAAC,MAAM,CAAC,IAAI,IAAC,KAAK,EAAE,EAAE,SAAS,EAAE,KAAK,EAAmB,GAAI,GACzD,EACL,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAC1B,KAAC,IAAI,IAEH,EAAE,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,GAAG,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,EAChD,QAAQ,EAAE,eAAe,EACzB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,EACpC,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,IAL7B,IAAI,CAAC,MAAM,CAMhB,CACH,CAAC,IACE,IACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.process{position:relative;display:grid;grid-template-columns:repeat(4, 1fr);gap:24px;padding-top:34px}@media(max-width: 860px){.process{grid-template-columns:1fr;gap:44px;padding:0 0 0 30px}}.line{position:absolute;left:0;right:0;top:6px;height:1px;background:linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0/8px 1px repeat-x}.line span{display:block;width:var(--drawn, 0%);height:100%;background:linear-gradient(90deg, color-mix(in srgb, var(--foreground) 20%, transparent), var(--foreground));box-shadow:0 0 12px color-mix(in srgb, var(--foreground) 60%, transparent)}@media(max-width: 860px){.line{left:5px;right:auto;top:0;bottom:0;width:1px;height:auto}.line span{width:100%;height:var(--drawn, 0%);background:linear-gradient(180deg, color-mix(in srgb, var(--foreground) 20%, transparent), var(--foreground))}}
|
|
1
|
+
.process{align-items:stretch;position:relative;display:grid;grid-template-columns:repeat(4, 1fr);gap:24px;padding-top:34px}@media(max-width: 860px){.process{grid-template-columns:1fr;gap:44px;padding:0 0 0 30px}}.line{align-content:start;position:absolute;left:0;right:0;top:6px;height:1px;background:linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0/8px 1px repeat-x}.line span{display:block;width:var(--drawn, 0%);height:100%;background:linear-gradient(90deg, color-mix(in srgb, var(--foreground) 20%, transparent), var(--foreground));box-shadow:0 0 12px color-mix(in srgb, var(--foreground) 60%, transparent)}@media(max-width: 860px){.line{left:5px;right:auto;top:0;bottom:0;width:1px;height:auto}.line span{width:100%;height:var(--drawn, 0%);background:linear-gradient(180deg, color-mix(in srgb, var(--foreground) 20%, transparent), var(--foreground))}}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use "style/token" as *;
|
|
2
2
|
|
|
3
3
|
.process {
|
|
4
|
+
align-items: stretch;
|
|
4
5
|
position: relative;
|
|
5
6
|
display: grid;
|
|
6
7
|
grid-template-columns: repeat(4, 1fr);
|
|
@@ -12,7 +13,9 @@
|
|
|
12
13
|
padding: 0 0 0 30px;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
16
|
+
/* The drawn part starts at the line's start (the top, on phones), never from its middle. */
|
|
15
17
|
.line {
|
|
18
|
+
align-content: start;
|
|
16
19
|
position: absolute;
|
|
17
20
|
left: 0;
|
|
18
21
|
right: 0;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Where each dot sits along the line, from 0 to 1: across on wide screens, down on phones. The dots are the elements
|
|
3
|
+
* marked `data-dot` beside the line, in its parent. Null where nothing has a size yet, so the steps fall back to even
|
|
4
|
+
* spacing.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* setStops(measureStops(line)); // [0, 0.26, 0.51, 0.77] across a four-column row
|
|
8
|
+
*/
|
|
9
|
+
export declare function measureStops(line: HTMLElement): number[] | null;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/process/measure-stops/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,WAAW,GAAG,MAAM,EAAE,GAAG,IAAI,CAU/D"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Where each dot sits along the line, from 0 to 1: across on wide screens, down on phones. The dots are the elements
|
|
3
|
+
* marked `data-dot` beside the line, in its parent. Null where nothing has a size yet, so the steps fall back to even
|
|
4
|
+
* spacing.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* setStops(measureStops(line)); // [0, 0.26, 0.51, 0.77] across a four-column row
|
|
8
|
+
*/
|
|
9
|
+
export function measureStops(line) {
|
|
10
|
+
const box = line.getBoundingClientRect();
|
|
11
|
+
const across = box.width >= box.height;
|
|
12
|
+
const length = across ? box.width : box.height;
|
|
13
|
+
if (!length)
|
|
14
|
+
return null;
|
|
15
|
+
return [...line.parentElement.querySelectorAll("[data-dot]")].map((dot) => {
|
|
16
|
+
const place = dot.getBoundingClientRect();
|
|
17
|
+
const center = across ? place.left + place.width / 2 - box.left : place.top + place.height / 2 - box.top;
|
|
18
|
+
return Math.min(1, Math.max(0, center / length));
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/process/measure-stops/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,UAAU,YAAY,CAAC,IAAiB;IAC5C,MAAM,GAAG,GAAG,IAAI,CAAC,qBAAqB,EAAE,CAAC;IACzC,MAAM,MAAM,GAAG,GAAG,CAAC,KAAK,IAAI,GAAG,CAAC,MAAM,CAAC;IACvC,MAAM,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC;IAC/C,IAAI,CAAC,MAAM;QAAE,OAAO,IAAI,CAAC;IACzB,OAAO,CAAC,GAAG,IAAI,CAAC,aAAc,CAAC,gBAAgB,CAAc,YAAY,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;QACtF,MAAM,KAAK,GAAG,GAAG,CAAC,qBAAqB,EAAE,CAAC;QAC1C,MAAM,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,KAAK,GAAG,CAAC,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC;QACzG,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC;IACnD,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { StepProperties } from "@sharadox/sharadox-web-library/component/process/step/type";
|
|
2
|
-
/** One process step
|
|
3
|
-
export declare function Step({
|
|
2
|
+
/** One process step: brightens as the line nears it, and lights its dot the moment the line reaches it. */
|
|
3
|
+
export declare function Step({ at, progress, number, title, text }: StepProperties): import("react").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/process/step/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4DAA4D,CAAC;AAEjG
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/process/step/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4DAA4D,CAAC;AAEjG,2GAA2G;AAC3G,wBAAgB,IAAI,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,cAAc,+BAWzE"}
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { motion, useTransform } from "motion/react";
|
|
4
4
|
import styles from "./index.module.css";
|
|
5
|
-
/** One process step
|
|
6
|
-
export function Step({
|
|
7
|
-
const at = index / (count - 1);
|
|
5
|
+
/** One process step: brightens as the line nears it, and lights its dot the moment the line reaches it. */
|
|
6
|
+
export function Step({ at, progress, number, title, text }) {
|
|
8
7
|
const opacity = useTransform(progress, [Math.max(0, at - 0.25), at], [0.3, 1]);
|
|
9
|
-
const glow = useTransform(progress, [Math.max(0, at - 0.
|
|
10
|
-
return (_jsxs(motion.div, { className: styles.step, style: { opacity }, children: [_jsx(motion.span, { className: styles.dot, style: { opacity: glow }, "aria-hidden": true }), _jsx("span", { className: `monospace ${styles.number}`, children: number }), _jsx("h3", { children: title }), _jsx("p", { children: text })] }));
|
|
8
|
+
const glow = useTransform(progress, [Math.max(0, at - 0.01), at], [0, 1]);
|
|
9
|
+
return (_jsxs(motion.div, { className: styles.step, style: { opacity }, children: [_jsx(motion.span, { className: styles.dot, style: { opacity: glow }, "data-dot": true, "aria-hidden": true }), _jsx("span", { className: `monospace ${styles.number}`, children: number }), _jsx("h3", { children: title }), _jsx("p", { children: text })] }));
|
|
11
10
|
}
|
|
12
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/process/step/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/process/step/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,2GAA2G;AAC3G,MAAM,UAAU,IAAI,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAkB;IACxE,MAAM,OAAO,GAAG,YAAY,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC;IAC/E,MAAM,IAAI,GAAG,YAAY,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAC1E,OAAO,CACL,MAAC,MAAM,CAAC,GAAG,IAAC,SAAS,EAAE,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,aACpD,KAAC,MAAM,CAAC,IAAI,IAAC,SAAS,EAAE,MAAM,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,0CAAyB,EACrF,eAAM,SAAS,EAAE,aAAa,MAAM,CAAC,MAAM,EAAE,YAAG,MAAM,GAAQ,EAC9D,uBAAK,KAAK,GAAM,EAChB,sBAAI,IAAI,GAAK,IACF,CACd,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.step{position:relative}.step h3{margin:14px 0 10px;font-size:clamp(1.5rem,2.4vw,2rem)}.step p{color:var(--foreground-2);max-width:24ch}.dot{position:absolute;top:-33px;left:0;width:11px;height:11px;border-radius:50%;background:var(--foreground);box-shadow:0 0 14px 2px color-mix(in srgb, var(--foreground) 70%, transparent)}@media(max-width: 860px){.dot{top:4px;left:-30px}}.number{font-size:12px;color:var(--foreground-3)}
|
|
1
|
+
.step{align-content:start;position:relative}.step h3{margin:14px 0 10px;font-size:clamp(1.5rem,2.4vw,2rem)}.step p{color:var(--foreground-2);max-width:24ch}.dot{position:absolute;top:-33px;left:0;width:11px;height:11px;border-radius:50%;background:var(--foreground);box-shadow:0 0 14px 2px color-mix(in srgb, var(--foreground) 70%, transparent)}@media(max-width: 860px){.dot{top:4px;left:-30px}}.number{font-size:12px;color:var(--foreground-3)}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { MotionValue } from "motion/react";
|
|
2
2
|
export interface StepProperties {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/** How far along the line this step's dot sits, from 0 (its start) to 1 (its end). */
|
|
4
|
+
at: number;
|
|
5
5
|
progress: MotionValue<number>;
|
|
6
6
|
number: string;
|
|
7
7
|
title: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/process/step/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,MAAM,WAAW,cAAc;IAC7B,
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/process/step/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,MAAM,WAAW,cAAc;IAC7B,sFAAsF;IACtF,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.section{position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin-inline:auto;border-inline:1px solid var(--line)}.padded{padding:clamp(72px,10vw,128px) var(--padding)}.line{position:absolute;left:calc(-1*var(--gutter));right:calc(-1*var(--gutter));top:-0.5px;height:1px;background:linear-gradient(90deg, transparent, var(--line) var(--gutter), var(--line) calc(100% - var(--gutter)), transparent);transform-origin:left}@media(prefers-reduced-motion: no-preference){@supports(animation-timeline: view()){.line{animation:draw linear both;animation-timeline:view();animation-range:entry 0% entry 60%}}}@keyframes draw{from{transform:scaleX(0)}}
|
|
1
|
+
.section{text-align:left;position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin-inline:auto;border-inline:1px solid var(--line)}.padded{padding:clamp(72px,10vw,128px) var(--padding)}.line{position:absolute;left:calc(-1*var(--gutter));right:calc(-1*var(--gutter));top:-0.5px;height:1px;background:linear-gradient(90deg, transparent, var(--line) var(--gutter), var(--line) calc(100% - var(--gutter)), transparent);transform-origin:left}@media(prefers-reduced-motion: no-preference){@supports(animation-timeline: view()){.line{animation:draw linear both;animation-timeline:view();animation-range:entry 0% entry 60%}}}@keyframes draw{from{transform:scaleX(0)}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.indicator{
|
|
1
|
+
.indicator{text-align:left;--page: 0;--within: 0;position:fixed;z-index:40;left:calc(50% + min(100% - 2*var(--gutter),var(--maximum-width))/2 + 14px);top:50%;transform:translateY(-50%);padding:14px 0;animation:enter 1s 1.2s cubic-bezier(0.22, 1, 0.36, 1) both}:global(:root[data-soft-navigation]) .indicator{animation-duration:0s !important;animation-delay:0s !important}.indicator ol{position:relative;display:grid;gap:14px;margin:0;padding:0;list-style:none}@media(max-width: 1180px){.indicator{display:none}}@keyframes enter{from{opacity:0;transform:translate(16px, -50%)}}.rail{position:absolute;right:0;top:0;bottom:0;width:1px;background:linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 6px repeat-y}.rail span{position:absolute;inset:0 0 auto;height:calc(var(--page)*100%);background:linear-gradient(180deg, transparent, var(--foreground));box-shadow:0 0 8px color-mix(in srgb, var(--foreground) 60%, transparent)}.indicator a{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:10px;height:26px;padding-right:0;color:var(--foreground-3);transition:color .3s}.indicator a:hover{color:var(--foreground)}.number{font-size:10.5px;letter-spacing:.04em;transition:color .3s}.tick{position:relative;width:12px;height:1px;background:var(--line-2);transition:width .6s cubic-bezier(0.22, 1, 0.36, 1),background .3s}.tick span{position:absolute;inset:0 auto 0 0;width:0;background:var(--foreground)}.name{position:absolute;right:64px;padding:5px 11px;border-radius:99px;border:1px solid var(--line-2);background:color-mix(in srgb, var(--background) 75%, transparent);backdrop-filter:blur(10px);color:var(--foreground);font-size:12.5px;font-weight:500;letter-spacing:-0.01em;white-space:nowrap;opacity:0;transform:translateX(8px);filter:blur(4px);pointer-events:none;transition:opacity .35s,transform .5s cubic-bezier(0.22, 1, 0.36, 1),filter .35s}.indicator:hover .name{opacity:1;transform:none;filter:none}.current{color:var(--foreground) !important}.current .tick{width:34px;background:color-mix(in srgb, var(--foreground) 25%, transparent)}.current .tick span{width:calc(var(--within)*100%);box-shadow:0 0 8px color-mix(in srgb, var(--foreground) 70%, transparent)}.current .name{animation:flash 2.2s cubic-bezier(0.22, 1, 0.36, 1) both}@keyframes flash{0%{opacity:0;transform:translateX(10px);filter:blur(4px)}15%,70%{opacity:1;transform:none;filter:none}100%{opacity:0;transform:translateX(4px);filter:blur(2px)}}.indicator:hover .current .name{animation:none}@media(max-width: 1399px){.indicator{left:calc(50% + min(100% - 2*var(--gutter),var(--maximum-width))/2 + 8px)}.number{display:none}.tick{width:8px}.current .tick{width:18px}}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
@use "style/token" as *;
|
|
2
2
|
|
|
3
3
|
.indicator {
|
|
4
|
+
/* Its text reads from the left (the page default is centered). */
|
|
5
|
+
text-align: left;
|
|
4
6
|
--page: 0;
|
|
5
7
|
--within: 0;
|
|
6
8
|
position: fixed;
|
|
7
9
|
z-index: 40;
|
|
8
|
-
|
|
10
|
+
/* Outside the grid frame: just past its right line, in the margin beside it. */
|
|
11
|
+
left: calc(50% + min(100% - 2 * var(--gutter), var(--maximum-width)) / 2 + 14px);
|
|
9
12
|
top: 50%;
|
|
10
13
|
transform: translateY(-50%);
|
|
11
14
|
padding: 14px 0;
|
|
@@ -142,3 +145,18 @@
|
|
|
142
145
|
.indicator:hover .current .name {
|
|
143
146
|
animation: none;
|
|
144
147
|
}
|
|
148
|
+
/* Where the margin beside the frame is too narrow for the numbers (under 1400px wide), ticks only, shorter. */
|
|
149
|
+
@include below(1399px) {
|
|
150
|
+
.indicator {
|
|
151
|
+
left: calc(50% + min(100% - 2 * var(--gutter), var(--maximum-width)) / 2 + 8px);
|
|
152
|
+
}
|
|
153
|
+
.number {
|
|
154
|
+
display: none;
|
|
155
|
+
}
|
|
156
|
+
.tick {
|
|
157
|
+
width: 8px;
|
|
158
|
+
}
|
|
159
|
+
.current .tick {
|
|
160
|
+
width: 18px;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.card{--pointer-x: -500px;--pointer-y: -500px;position:relative;height:100%;background:var(--background);isolation:isolate}.card::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(420px circle at var(--pointer-x) var(--pointer-y), color-mix(in srgb, var(--foreground) 7%, transparent), transparent 60%)}.inner{
|
|
1
|
+
.card{--pointer-x: -500px;--pointer-y: -500px;position:relative;height:100%;background:var(--background);isolation:isolate}.card::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(420px circle at var(--pointer-x) var(--pointer-y), color-mix(in srgb, var(--foreground) 7%, transparent), transparent 60%)}.inner{align-items:stretch;--tilt-x: 0deg;--tilt-y: 0deg;display:flex;flex-direction:column;height:100%}.visual{position:relative;height:270px;border-bottom:1px dashed var(--line-2);background:radial-gradient(90% 80% at 50% 45%, color-mix(in srgb, var(--foreground) 6%, transparent), transparent 70%),radial-gradient(circle, var(--line-2) 1px, transparent 1.4px) 0 0/18px 18px}@media(max-width: 640px){.visual{height:250px}}.copy{justify-content:flex-start;flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:24px 26px 28px}.copy h4{margin:0;font-size:1.3rem;font-weight:600;letter-spacing:-0.03em}.copy p{margin-bottom:14px;color:var(--foreground-2);max-width:44ch;text-wrap:pretty}.action{margin-top:auto}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.index{position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;display:grid;grid-template-columns:repeat(4, 1fr);border:1px solid var(--line)}@media(max-width: 960px){.index{grid-template-columns:repeat(2, 1fr)}}.cell{position:relative;display:grid;align-content:start;gap:6px;padding:22px 22px 24px;overflow:hidden;animation:rise .9s cubic-bezier(0.22, 1, 0.36, 1) both}:global(:root[data-soft-navigation]) .cell{animation-duration:0s !important;animation-delay:0s !important}.cell:not(:last-of-type){border-right:1px solid var(--line)}.cell::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg, color-mix(in srgb, var(--foreground) 7%, transparent), transparent);opacity:0;transition:opacity .4s}.cell:hover::before{opacity:1}.cell:hover .arrow{opacity:1;transform:none}@media(max-width: 960px){.cell{border-right:0 !important;border-bottom:1px solid var(--line)}.cell:nth-of-type(odd){border-right:1px solid var(--line) !important}.cell:nth-last-of-type(-n + 2){border-bottom:0}}@keyframes rise{from{opacity:0;transform:translateY(10px)}}.number{font-size:11.5px;color:var(--foreground-3)}.title{font-weight:600;letter-spacing:-0.02em;font-size:15.5px}.kinds{font-size:11.5px;color:var(--foreground-2)}.arrow{position:absolute;top:18px;right:18px;width:16px;height:16px;opacity:0;transform:translate(-4px, -4px);transition:opacity .3s,transform .4s cubic-bezier(0.22, 1, 0.36, 1)}
|
|
1
|
+
.index{align-items:stretch;text-align:left;position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;display:grid;grid-template-columns:repeat(4, 1fr);border:1px solid var(--line)}@media(max-width: 960px){.index{grid-template-columns:repeat(2, 1fr)}}.cell{justify-content:stretch;position:relative;display:grid;align-content:start;gap:6px;padding:22px 22px 24px;overflow:hidden;animation:rise .9s cubic-bezier(0.22, 1, 0.36, 1) both}:global(:root[data-soft-navigation]) .cell{animation-duration:0s !important;animation-delay:0s !important}.cell:not(:last-of-type){border-right:1px solid var(--line)}.cell::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg, color-mix(in srgb, var(--foreground) 7%, transparent), transparent);opacity:0;transition:opacity .4s}.cell:hover::before{opacity:1}.cell:hover .arrow{opacity:1;transform:none}@media(max-width: 960px){.cell{border-right:0 !important;border-bottom:1px solid var(--line)}.cell:nth-of-type(odd){border-right:1px solid var(--line) !important}.cell:nth-last-of-type(-n + 2){border-bottom:0}}@keyframes rise{from{opacity:0;transform:translateY(10px)}}.number{font-size:11.5px;color:var(--foreground-3)}.title{font-weight:600;letter-spacing:-0.02em;font-size:15.5px}.kinds{font-size:11.5px;color:var(--foreground-2)}.arrow{position:absolute;top:18px;right:18px;width:16px;height:16px;opacity:0;transform:translate(-4px, -4px);transition:opacity .3s,transform .4s cubic-bezier(0.22, 1, 0.36, 1)}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
@use "style/token" as *;
|
|
2
2
|
|
|
3
3
|
.index {
|
|
4
|
+
align-items: stretch;
|
|
5
|
+
text-align: left;
|
|
4
6
|
position: relative;
|
|
5
7
|
width: min(100% - 2 * var(--gutter), var(--maximum-width));
|
|
6
8
|
margin: 0 auto;
|
|
@@ -12,6 +14,7 @@
|
|
|
12
14
|
}
|
|
13
15
|
}
|
|
14
16
|
.cell {
|
|
17
|
+
justify-content: stretch;
|
|
15
18
|
position: relative;
|
|
16
19
|
display: grid;
|
|
17
20
|
align-content: start;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:android-turn 10s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(10deg) rotateY(-28deg)}@keyframes android-turn{0%,100%{transform:rotateX(10deg) rotateY(-30deg)}50%{transform:rotateX(6deg) rotateY(20deg)}}.phone{--width: 88px;--height: 176px;--depth: 9px;--radius: 10px
|
|
1
|
+
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:android-turn 10s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(10deg) rotateY(-28deg)}@keyframes android-turn{0%,100%{transform:rotateX(10deg) rotateY(-30deg)}50%{transform:rotateX(6deg) rotateY(20deg)}}.phone{--width: 88px;--height: 176px;--depth: 9px;--radius: 10px}.screen{position:absolute;inset:3px;overflow:hidden;border-radius:8px}.camera{position:absolute;left:50%;top:6px;width:6px;height:6px;margin-left:-3px;border-radius:50%;background:var(--foreground);box-shadow:0 0 0 1.5px var(--background)}.status{position:absolute;left:7px;right:7px;top:7px;height:4px;background:linear-gradient(color-mix(in srgb, var(--foreground) 45%, transparent), color-mix(in srgb, var(--foreground) 45%, transparent)) left/12px 100% no-repeat,linear-gradient(color-mix(in srgb, var(--foreground) 45%, transparent), color-mix(in srgb, var(--foreground) 45%, transparent)) right/14px 100% no-repeat}.apps{align-items:stretch;align-content:stretch;justify-content:stretch;position:absolute;inset:26px 9px auto;display:grid;grid-template-columns:repeat(4, 1fr);gap:9px 6px}.apps i{aspect-ratio:1;border-radius:50%;border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);background:color-mix(in srgb, var(--foreground) 20%, transparent)}.apps i:nth-child(3n+1){background:color-mix(in srgb, var(--foreground) 45%, transparent)}.search{position:absolute;left:9px;right:9px;bottom:26px;height:14px;border-radius:7px;border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);background:radial-gradient(circle at 9px 50%, color-mix(in srgb, var(--foreground) 70%, transparent) 3px, transparent 3.5px),color-mix(in srgb, var(--foreground) 10%, transparent)}.buttons{position:absolute;left:20px;right:20px;bottom:7px;display:flex;align-items:center;justify-content:space-between}.buttons i{width:8px;height:8px;border:1.5px solid color-mix(in srgb, var(--foreground) 50%, transparent)}.back{width:0 !important;height:0 !important;border:0 !important;border-top:4.5px solid rgba(0,0,0,0) !important;border-bottom:4.5px solid rgba(0,0,0,0) !important;border-right:7px solid color-mix(in srgb, var(--foreground) 50%, transparent) !important}.home{border-radius:50%}.recent{border-radius:2px}.shade{position:absolute;left:0;right:0;top:0;display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:18px 7px 12px;border-radius:0 0 12px 12px;background:var(--background);border-bottom:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);box-shadow:0 8px 18px -8px color-mix(in srgb, var(--foreground) 35%, transparent);transform:translateY(-105%);animation:android-shade 6s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.shade{animation:none}}.shade i{height:16px;border-radius:8px;border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);background:radial-gradient(circle at 8px 50%, color-mix(in srgb, var(--foreground) 45%, transparent) 3px, transparent 3.5px),color-mix(in srgb, var(--foreground) 10%, transparent);animation:android-toggle 6s ease-out infinite}@media(prefers-reduced-motion: reduce){.shade i{animation:none}}.shade b{grid-column:1/-1;justify-self:center;width:18px;height:3px;margin-top:3px;border-radius:2px;background:color-mix(in srgb, var(--foreground) 45%, transparent)}@keyframes android-shade{0%,20%{transform:translateY(-105%)}32%,72%{transform:translateY(0)}84%,100%{transform:translateY(-105%)}}@keyframes android-toggle{0%,38%{background:radial-gradient(circle at 8px 50%, color-mix(in srgb, var(--foreground) 45%, transparent) 3px, transparent 3.5px),color-mix(in srgb, var(--foreground) 10%, transparent)}44%,100%{background:radial-gradient(circle at 8px 50%, var(--background) 3px, transparent 3.5px),var(--foreground)}}
|
|
@@ -23,8 +23,6 @@ $round: 6s;
|
|
|
23
23
|
--height: 176px;
|
|
24
24
|
--depth: 9px;
|
|
25
25
|
--radius: 10px;
|
|
26
|
-
--front-amount: 4%;
|
|
27
|
-
--edge-amount: 55%;
|
|
28
26
|
}
|
|
29
27
|
.screen {
|
|
30
28
|
position: absolute;
|
|
@@ -51,11 +49,14 @@ $round: 6s;
|
|
|
51
49
|
top: 7px;
|
|
52
50
|
height: 4px;
|
|
53
51
|
background:
|
|
54
|
-
linear-gradient(tint(
|
|
55
|
-
linear-gradient(tint(
|
|
52
|
+
linear-gradient(tint($detail), tint($detail)) left / 12px 100% no-repeat,
|
|
53
|
+
linear-gradient(tint($detail), tint($detail)) right / 14px 100% no-repeat;
|
|
56
54
|
}
|
|
57
55
|
/* Round app icons, four to a row. */
|
|
58
56
|
.apps {
|
|
57
|
+
align-items: stretch;
|
|
58
|
+
align-content: stretch;
|
|
59
|
+
justify-content: stretch;
|
|
59
60
|
position: absolute;
|
|
60
61
|
inset: 26px 9px auto;
|
|
61
62
|
display: grid;
|
|
@@ -64,10 +65,10 @@ $round: 6s;
|
|
|
64
65
|
i {
|
|
65
66
|
aspect-ratio: 1;
|
|
66
67
|
border-radius: 50%;
|
|
67
|
-
border: 1px solid tint(
|
|
68
|
-
background: tint(
|
|
68
|
+
border: 1px solid tint($edge);
|
|
69
|
+
background: tint($faint);
|
|
69
70
|
&:nth-child(3n + 1) {
|
|
70
|
-
background: tint(
|
|
71
|
+
background: tint($detail);
|
|
71
72
|
}
|
|
72
73
|
}
|
|
73
74
|
}
|
|
@@ -79,8 +80,8 @@ $round: 6s;
|
|
|
79
80
|
bottom: 26px;
|
|
80
81
|
height: 14px;
|
|
81
82
|
border-radius: 7px;
|
|
82
|
-
border: 1px solid tint(
|
|
83
|
-
background: radial-gradient(circle at 9px 50%, tint(
|
|
83
|
+
border: 1px solid tint($edge);
|
|
84
|
+
background: radial-gradient(circle at 9px 50%, tint($strong) 3px, transparent 3.5px), tint($hint);
|
|
84
85
|
}
|
|
85
86
|
/* The three buttons: back, home and recent apps. */
|
|
86
87
|
.buttons {
|
|
@@ -94,7 +95,7 @@ $round: 6s;
|
|
|
94
95
|
i {
|
|
95
96
|
width: 8px;
|
|
96
97
|
height: 8px;
|
|
97
|
-
border: 1.5px solid tint(
|
|
98
|
+
border: 1.5px solid tint($edge);
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
101
|
.back {
|
|
@@ -103,7 +104,7 @@ $round: 6s;
|
|
|
103
104
|
border: 0 !important;
|
|
104
105
|
border-top: 4.5px solid transparent !important;
|
|
105
106
|
border-bottom: 4.5px solid transparent !important;
|
|
106
|
-
border-right: 7px solid tint(
|
|
107
|
+
border-right: 7px solid tint($edge) !important;
|
|
107
108
|
}
|
|
108
109
|
.home {
|
|
109
110
|
border-radius: 50%;
|
|
@@ -123,16 +124,16 @@ $round: 6s;
|
|
|
123
124
|
padding: 18px 7px 12px;
|
|
124
125
|
border-radius: 0 0 12px 12px;
|
|
125
126
|
background: var(--background);
|
|
126
|
-
border-bottom: 1px solid tint(
|
|
127
|
-
box-shadow: 0 8px 18px -8px tint(
|
|
127
|
+
border-bottom: 1px solid tint($edge);
|
|
128
|
+
box-shadow: 0 8px 18px -8px tint($glow);
|
|
128
129
|
transform: translateY(-105%);
|
|
129
130
|
@include loop(android-shade $round $ease infinite);
|
|
130
131
|
// A toggle: a rounded pill with a round icon, dim when off, lit when on.
|
|
131
132
|
i {
|
|
132
133
|
height: 16px;
|
|
133
134
|
border-radius: 8px;
|
|
134
|
-
border: 1px solid tint(
|
|
135
|
-
background: radial-gradient(circle at 8px 50%, tint(
|
|
135
|
+
border: 1px solid tint($edge);
|
|
136
|
+
background: radial-gradient(circle at 8px 50%, tint($detail) 3px, transparent 3.5px), tint($hint);
|
|
136
137
|
@include loop(android-toggle $round ease-out infinite);
|
|
137
138
|
}
|
|
138
139
|
// The handle at the bottom of the shade.
|
|
@@ -143,7 +144,7 @@ $round: 6s;
|
|
|
143
144
|
height: 3px;
|
|
144
145
|
margin-top: 3px;
|
|
145
146
|
border-radius: 2px;
|
|
146
|
-
background: tint(
|
|
147
|
+
background: tint($detail);
|
|
147
148
|
}
|
|
148
149
|
}
|
|
149
150
|
@keyframes android-shade {
|
|
@@ -163,7 +164,7 @@ $round: 6s;
|
|
|
163
164
|
@keyframes android-toggle {
|
|
164
165
|
0%,
|
|
165
166
|
38% {
|
|
166
|
-
background: radial-gradient(circle at 8px 50%, tint(
|
|
167
|
+
background: radial-gradient(circle at 8px 50%, tint($detail) 3px, transparent 3.5px), tint($hint);
|
|
167
168
|
}
|
|
168
169
|
44%,
|
|
169
170
|
100% {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:awareness-sway 12s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:scale(1.08) rotateX(16deg) rotateY(-12deg)}@keyframes awareness-sway{0%,100%{transform:scale(1.08) rotateX(16deg) rotateY(-12deg)}50%{transform:scale(1.08) rotateX(10deg) rotateY(10deg)}}.scene{position:absolute;left:50%;top:50%;width:220px;height:184px;margin:-92px 0 0 -110px;transform-style:preserve-3d;transform:translateY(-6px)}.billboard{position:absolute;width:70px;height:34px;margin:-17px 0 0 -35px;box-sizing:border-box;background:color-mix(in srgb, var(--foreground)
|
|
1
|
+
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:awareness-sway 12s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:scale(1.08) rotateX(16deg) rotateY(-12deg)}@keyframes awareness-sway{0%,100%{transform:scale(1.08) rotateX(16deg) rotateY(-12deg)}50%{transform:scale(1.08) rotateX(10deg) rotateY(10deg)}}.scene{position:absolute;left:50%;top:50%;width:220px;height:184px;margin:-92px 0 0 -110px;transform-style:preserve-3d;transform:translateY(-6px)}.billboard{position:absolute;width:70px;height:34px;margin:-17px 0 0 -35px;box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 9%, var(--background));border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);border-radius:4px;animation:awareness-billboard 8s ease-out infinite}@media(prefers-reduced-motion: reduce){.billboard{animation:none}}.billboard::before,.billboard::after{content:"";position:absolute;top:100%;width:1px;height:10px;background:color-mix(in srgb, var(--foreground) 45%, transparent)}.billboard::before{left:20%}.billboard::after{right:20%}@keyframes awareness-billboard{0%{box-shadow:none}4%{box-shadow:0 0 24px -2px color-mix(in srgb, var(--foreground) 35%, transparent)}54%{box-shadow:none}}.advert{--size: 24px}.someone{position:absolute;width:0;height:0;transform:scale(var(--scale))}.person{--size: 24px;--person: var(--foreground)}.thought{position:absolute;left:4px;top:-40px;width:26px;height:26px}.thought::before,.thought::after{content:"";position:absolute;border-radius:50%;background:color-mix(in srgb, var(--foreground) 45%, transparent)}.thought::before{left:-1px;bottom:-7px;width:4px;height:4px}.thought::after{left:-5px;bottom:-12px;width:3px;height:3px}.recall{--size: 24px;left:50%;top:50%}.someone[data-step="0"] .thought{animation:awareness-thought-0 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="0"] .thought{animation:none}}.someone[data-step="0"] .person{animation:awareness-person-0 8s ease-out infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="0"] .person{animation:none}}@keyframes awareness-thought-0{0%,14%{opacity:0;transform:translateY(6px) scale(0.3)}19%,64%{opacity:1;transform:translateY(0) scale(1);filter:none}68%{transform:translateY(-3px) scale(1.15);filter:drop-shadow(0 0 8px color-mix(in srgb, var(--foreground) 35%, transparent))}74%,88%{opacity:1;transform:translateY(0) scale(1);filter:none}94%,100%{opacity:0;transform:translateY(-6px) scale(0.6)}}@keyframes awareness-person-0{0%,14%{--person: color-mix(in srgb, var(--foreground) 45%, transparent)}19%,88%{--person: var(--foreground)}94%,100%{--person: color-mix(in srgb, var(--foreground) 45%, transparent)}}.someone[data-step="1"] .thought{animation:awareness-thought-1 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="1"] .thought{animation:none}}.someone[data-step="1"] .person{animation:awareness-person-1 8s ease-out infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="1"] .person{animation:none}}@keyframes awareness-thought-1{0%,25%{opacity:0;transform:translateY(6px) scale(0.3)}30%,64%{opacity:1;transform:translateY(0) scale(1);filter:none}68%{transform:translateY(-3px) scale(1.15);filter:drop-shadow(0 0 8px color-mix(in srgb, var(--foreground) 35%, transparent))}74%,88%{opacity:1;transform:translateY(0) scale(1);filter:none}94%,100%{opacity:0;transform:translateY(-6px) scale(0.6)}}@keyframes awareness-person-1{0%,25%{--person: color-mix(in srgb, var(--foreground) 45%, transparent)}30%,88%{--person: var(--foreground)}94%,100%{--person: color-mix(in srgb, var(--foreground) 45%, transparent)}}.someone[data-step="2"] .thought{animation:awareness-thought-2 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="2"] .thought{animation:none}}.someone[data-step="2"] .person{animation:awareness-person-2 8s ease-out infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="2"] .person{animation:none}}@keyframes awareness-thought-2{0%,36%{opacity:0;transform:translateY(6px) scale(0.3)}41%,64%{opacity:1;transform:translateY(0) scale(1);filter:none}68%{transform:translateY(-3px) scale(1.15);filter:drop-shadow(0 0 8px color-mix(in srgb, var(--foreground) 35%, transparent))}74%,88%{opacity:1;transform:translateY(0) scale(1);filter:none}94%,100%{opacity:0;transform:translateY(-6px) scale(0.6)}}@keyframes awareness-person-2{0%,36%{--person: color-mix(in srgb, var(--foreground) 45%, transparent)}41%,88%{--person: var(--foreground)}94%,100%{--person: color-mix(in srgb, var(--foreground) 45%, transparent)}}.someone[data-step="3"] .thought{animation:awareness-thought-3 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="3"] .thought{animation:none}}.someone[data-step="3"] .person{animation:awareness-person-3 8s ease-out infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="3"] .person{animation:none}}@keyframes awareness-thought-3{0%,47%{opacity:0;transform:translateY(6px) scale(0.3)}52%,64%{opacity:1;transform:translateY(0) scale(1);filter:none}68%{transform:translateY(-3px) scale(1.15);filter:drop-shadow(0 0 8px color-mix(in srgb, var(--foreground) 35%, transparent))}74%,88%{opacity:1;transform:translateY(0) scale(1);filter:none}94%,100%{opacity:0;transform:translateY(-6px) scale(0.6)}}@keyframes awareness-person-3{0%,47%{--person: color-mix(in srgb, var(--foreground) 45%, transparent)}52%,88%{--person: var(--foreground)}94%,100%{--person: color-mix(in srgb, var(--foreground) 45%, transparent)}}
|
|
@@ -35,7 +35,7 @@ $clear: 88%;
|
|
|
35
35
|
width: 70px;
|
|
36
36
|
height: 34px;
|
|
37
37
|
margin: -17px 0 0 -35px;
|
|
38
|
-
@include face
|
|
38
|
+
@include face;
|
|
39
39
|
border-radius: 4px;
|
|
40
40
|
@include loop(awareness-billboard $round ease-out infinite);
|
|
41
41
|
// Its two legs.
|
|
@@ -46,7 +46,7 @@ $clear: 88%;
|
|
|
46
46
|
top: 100%;
|
|
47
47
|
width: 1px;
|
|
48
48
|
height: 10px;
|
|
49
|
-
background: tint(
|
|
49
|
+
background: tint($detail);
|
|
50
50
|
}
|
|
51
51
|
&::before {
|
|
52
52
|
left: 20%;
|
|
@@ -60,7 +60,7 @@ $clear: 88%;
|
|
|
60
60
|
box-shadow: none;
|
|
61
61
|
}
|
|
62
62
|
#{$billboard} {
|
|
63
|
-
box-shadow: 0 0 24px -2px tint(
|
|
63
|
+
box-shadow: 0 0 24px -2px tint($glow);
|
|
64
64
|
}
|
|
65
65
|
#{$together - 10%} {
|
|
66
66
|
box-shadow: none;
|
|
@@ -92,7 +92,7 @@ $clear: 88%;
|
|
|
92
92
|
content: "";
|
|
93
93
|
position: absolute;
|
|
94
94
|
border-radius: 50%;
|
|
95
|
-
background: tint(
|
|
95
|
+
background: tint($detail);
|
|
96
96
|
}
|
|
97
97
|
&::before {
|
|
98
98
|
left: -1px;
|
|
@@ -137,7 +137,7 @@ $clear: 88%;
|
|
|
137
137
|
}
|
|
138
138
|
#{$together + 4%} {
|
|
139
139
|
transform: translateY(-3px) scale(1.15);
|
|
140
|
-
filter: drop-shadow(0 0 8px tint(
|
|
140
|
+
filter: drop-shadow(0 0 8px tint($glow));
|
|
141
141
|
}
|
|
142
142
|
#{$together + 10%},
|
|
143
143
|
#{$clear} {
|
|
@@ -154,7 +154,7 @@ $clear: 88%;
|
|
|
154
154
|
@keyframes awareness-person-#{$index} {
|
|
155
155
|
0%,
|
|
156
156
|
#{$at} {
|
|
157
|
-
--person: #{tint(
|
|
157
|
+
--person: #{tint($detail)};
|
|
158
158
|
}
|
|
159
159
|
#{$at + 5%},
|
|
160
160
|
#{$clear} {
|
|
@@ -162,7 +162,7 @@ $clear: 88%;
|
|
|
162
162
|
}
|
|
163
163
|
#{$clear + 6%},
|
|
164
164
|
100% {
|
|
165
|
-
--person: #{tint(
|
|
165
|
+
--person: #{tint($detail)};
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Branding: defining the brand
|
|
3
|
-
*
|
|
2
|
+
* Branding: defining who the brand is, drawn as its identity card being filled in. Its mark appears, its name is
|
|
3
|
+
* written, then who it speaks to, its voice, its colors and its type; once the card is complete it lifts, and the
|
|
4
|
+
* round starts again with a blank card.
|
|
4
5
|
*/
|
|
5
6
|
export declare function Branding(): import("react").JSX.Element;
|
|
6
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/branding/index.tsx"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/branding/index.tsx"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,wBAAgB,QAAQ,gCA0BvB"}
|