@sharadox/sharadox-web-library 0.29.0 → 0.31.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 +4 -2
- package/distribution/component/button/index.module.css +1 -1
- package/distribution/component/button/index.module.scss +2 -0
- package/distribution/component/capability/index.module.css +1 -1
- package/distribution/component/capability/index.module.scss +5 -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 +5 -4
- 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 +54 -42
- package/distribution/component/hero/index.module.css +1 -1
- package/distribution/component/hero/index.module.scss +2 -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.module.css +1 -1
- package/distribution/component/process/index.module.scss +1 -0
- package/distribution/component/process/step/index.module.css +1 -1
- package/distribution/component/process/step/index.module.scss +1 -0
- 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 +2 -0
- 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.d.ts +4 -4
- package/distribution/component/service-object/product-launch/index.d.ts.map +1 -1
- package/distribution/component/service-object/product-launch/index.js +33 -7
- 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 +184 -159
- 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 +6 -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 +131 -82
- 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/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/component/touchpoint/index.js +1 -1
- package/distribution/component/touchpoint/index.js.map +1 -1
- package/distribution/component/touchpoint/index.module.css +1 -1
- package/distribution/component/touchpoint/index.module.scss +1 -0
- package/distribution/component/touchpoint/plate/index.module.css +1 -1
- package/distribution/component/touchpoint/plate/index.module.scss +6 -0
- package/distribution/content/contact/index.d.ts +4 -4
- package/distribution/content/services/index.d.ts +14 -14
- package/distribution/content/services/index.js +9 -9
- 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 +2 -0
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:hosting-sway 12s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:scale(1.15) rotateX(-12deg) rotateY(-24deg)}@keyframes hosting-sway{0%,100%{transform:scale(1.15) rotateX(-12deg) rotateY(-24deg)}50%{transform:scale(1.15) rotateX(-8deg) rotateY(14deg)}}.server{--width: 120px;--height: 30px;--depth: 84px;--radius: 3px
|
|
1
|
+
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:hosting-sway 12s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:scale(1.15) rotateX(-12deg) rotateY(-24deg)}@keyframes hosting-sway{0%,100%{transform:scale(1.15) rotateX(-12deg) rotateY(-24deg)}50%{transform:scale(1.15) rotateX(-8deg) rotateY(14deg)}}.server{--width: 120px;--height: 30px;--depth: 84px;--radius: 3px}.server:nth-child(1){transform:translateY(-36px)}.server:nth-child(3){transform:translateY(36px)}.panel{position:absolute;inset:0;display:flex;align-items:center;gap:6px;padding:0 12px}.panel i{width:6px;height:6px;border-radius:50%;background:var(--foreground);box-shadow:0 0 6px color-mix(in srgb, var(--foreground) 35%, transparent);animation:hosting-blink 1.1s steps(2, jump-none) infinite}@media(prefers-reduced-motion: reduce){.panel i{animation:none}}.panel b{flex:1;height:12px;margin-left:10px;background:repeating-linear-gradient(90deg, color-mix(in srgb, var(--foreground) 45%, transparent) 0 2px, transparent 2px 6px)}@keyframes hosting-blink{0%{opacity:1}100%{opacity:.35}}.panel[data-incident]{animation:hosting-incident 8s linear infinite}@media(prefers-reduced-motion: reduce){.panel[data-incident]{animation:none}}@keyframes hosting-incident{0%,40%{opacity:1;filter:none}42%,56%{opacity:.15}60%{opacity:1;filter:drop-shadow(0 0 8px color-mix(in srgb, var(--foreground) 35%, transparent))}72%,100%{opacity:1;filter:none}}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use "style/token" as *;
|
|
2
2
|
@use "style/object" as *;
|
|
3
3
|
|
|
4
|
-
/* One round: steady running,
|
|
4
|
+
/* One round: steady running, a server going dark (from 40%), back up (from 58%), and steady running again. */
|
|
5
5
|
$round: 8s;
|
|
6
6
|
|
|
7
7
|
.object {
|
|
@@ -23,9 +23,6 @@ $round: 8s;
|
|
|
23
23
|
--height: 30px;
|
|
24
24
|
--depth: 84px;
|
|
25
25
|
--radius: 3px;
|
|
26
|
-
--fill-amount: 8%;
|
|
27
|
-
--front-amount: 10%;
|
|
28
|
-
--edge-amount: 60%;
|
|
29
26
|
&:nth-child(1) {
|
|
30
27
|
transform: translateY(-36px);
|
|
31
28
|
}
|
|
@@ -46,14 +43,14 @@ $round: 8s;
|
|
|
46
43
|
height: 6px;
|
|
47
44
|
border-radius: 50%;
|
|
48
45
|
background: var(--foreground);
|
|
49
|
-
box-shadow: 0 0 6px tint(
|
|
46
|
+
box-shadow: 0 0 6px tint($glow);
|
|
50
47
|
@include loop(hosting-blink 1.1s steps(2, jump-none) infinite);
|
|
51
48
|
}
|
|
52
49
|
b {
|
|
53
50
|
flex: 1;
|
|
54
51
|
height: 12px;
|
|
55
52
|
margin-left: 10px;
|
|
56
|
-
background: repeating-linear-gradient(90deg, tint(
|
|
53
|
+
background: repeating-linear-gradient(90deg, tint($detail) 0 2px, transparent 2px 6px);
|
|
57
54
|
}
|
|
58
55
|
}
|
|
59
56
|
@keyframes hosting-blink {
|
|
@@ -64,7 +61,7 @@ $round: 8s;
|
|
|
64
61
|
opacity: 0.35;
|
|
65
62
|
}
|
|
66
63
|
}
|
|
67
|
-
/* The server with the incident: its lights go out, then come back once it is fixed. */
|
|
64
|
+
/* The server with the incident: its lights go out, then come back on once it is fixed. */
|
|
68
65
|
.panel[data-incident] {
|
|
69
66
|
@include loop(hosting-incident $round linear infinite);
|
|
70
67
|
}
|
|
@@ -80,7 +77,7 @@ $round: 8s;
|
|
|
80
77
|
}
|
|
81
78
|
60% {
|
|
82
79
|
opacity: 1;
|
|
83
|
-
filter: drop-shadow(0 0 8px tint(
|
|
80
|
+
filter: drop-shadow(0 0 8px tint($glow));
|
|
84
81
|
}
|
|
85
82
|
72%,
|
|
86
83
|
100% {
|
|
@@ -88,41 +85,3 @@ $round: 8s;
|
|
|
88
85
|
filter: none;
|
|
89
86
|
}
|
|
90
87
|
}
|
|
91
|
-
/* The ring of light and the tick when the server is back up. */
|
|
92
|
-
.fixed {
|
|
93
|
-
@include centered(30px, 30px);
|
|
94
|
-
border-radius: 50%;
|
|
95
|
-
border: 1.5px solid var(--foreground);
|
|
96
|
-
background: var(--background);
|
|
97
|
-
transform: translateX(92px) translateZ(44px);
|
|
98
|
-
opacity: 0;
|
|
99
|
-
@include loop(hosting-fixed $round $ease infinite);
|
|
100
|
-
&::after {
|
|
101
|
-
content: "";
|
|
102
|
-
position: absolute;
|
|
103
|
-
left: 9px;
|
|
104
|
-
top: 6px;
|
|
105
|
-
width: 7px;
|
|
106
|
-
height: 12px;
|
|
107
|
-
border-right: 2px solid var(--foreground);
|
|
108
|
-
border-bottom: 2px solid var(--foreground);
|
|
109
|
-
transform: rotate(45deg);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
@keyframes hosting-fixed {
|
|
113
|
-
0%,
|
|
114
|
-
57% {
|
|
115
|
-
opacity: 0;
|
|
116
|
-
transform: translateX(92px) translateZ(44px) scale(0.4);
|
|
117
|
-
}
|
|
118
|
-
62%,
|
|
119
|
-
84% {
|
|
120
|
-
opacity: 1;
|
|
121
|
-
transform: translateX(92px) translateZ(44px) scale(1);
|
|
122
|
-
}
|
|
123
|
-
92%,
|
|
124
|
-
100% {
|
|
125
|
-
opacity: 0;
|
|
126
|
-
transform: translateX(92px) translateZ(44px) scale(1);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:ios-turn 10s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(-6deg) rotateY(26deg)}@keyframes ios-turn{0%,100%{transform:rotateX(-6deg) rotateY(28deg)}50%{transform:rotateX(-2deg) rotateY(-20deg)}}.phone{--width: 88px;--height: 178px;--depth: 9px;--radius: 20px
|
|
1
|
+
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:ios-turn 10s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(-6deg) rotateY(26deg)}@keyframes ios-turn{0%,100%{transform:rotateX(-6deg) rotateY(28deg)}50%{transform:rotateX(-2deg) rotateY(-20deg)}}.phone{--width: 88px;--height: 178px;--depth: 9px;--radius: 20px}.screen{position:absolute;inset:3px;overflow:hidden;border-radius:17px}.island{position:absolute;left:50%;top:6px;width:28px;height:9px;border-radius:9px;background:var(--foreground);transform:translateX(-50%);animation:ios-island 6s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.island{animation:none}}.island i{position:absolute;left:8px;right:8px;bottom:5px;height:2px;border-radius:1px;background:linear-gradient(90deg, var(--background) var(--done, 0%), color-mix(in srgb, var(--foreground) 70%, transparent) var(--done, 0%));opacity:0;animation:ios-activity 6s linear infinite}@media(prefers-reduced-motion: reduce){.island i{animation:none}}@keyframes ios-island{0%,8%,46%,100%{width:28px;height:9px}16%,38%{width:72px;height:20px}}@keyframes ios-activity{0%,14%{opacity:0;--done: 0%}18%{opacity:1}36%{opacity:1;--done: 100%}40%,100%{opacity:0;--done: 100%}}@property --done{syntax:"<percentage>";inherits:false;initial-value:0%}.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:30%;border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);background:linear-gradient(150deg, color-mix(in srgb, var(--foreground) 20%, transparent), color-mix(in srgb, var(--foreground) 10%, transparent));animation:ios-jiggle 6s linear infinite}@media(prefers-reduced-motion: reduce){.apps i{animation:none}}.apps i:nth-child(odd){animation-name:ios-jiggle-other}@keyframes ios-jiggle{0%,52%,88%,100%{transform:rotate(0)}54%{transform:rotate(-4deg)}58%{transform:rotate(4deg)}62%{transform:rotate(-4deg)}66%{transform:rotate(4deg)}70%{transform:rotate(-4deg)}74%{transform:rotate(4deg)}78%{transform:rotate(-4deg)}82%{transform:rotate(4deg)}86%{transform:rotate(-4deg)}}@keyframes ios-jiggle-other{0%,52%,88%,100%{transform:rotate(0)}54%{transform:rotate(4deg)}58%{transform:rotate(-4deg)}62%{transform:rotate(4deg)}66%{transform:rotate(-4deg)}70%{transform:rotate(4deg)}74%{transform:rotate(-4deg)}78%{transform:rotate(4deg)}82%{transform:rotate(-4deg)}86%{transform:rotate(4deg)}}.dots{position:absolute;left:0;right:0;bottom:40px;display:flex;justify-content:center;gap:4px}.dots i{width:3px;height:3px;border-radius:50%;background:color-mix(in srgb, var(--foreground) 45%, transparent)}.dots i:first-child{background:var(--foreground)}.dock{position:absolute;left:5px;right:5px;bottom:12px;display:grid;grid-template-columns:repeat(4, 1fr);gap:6px;padding:4px;border-radius:9px;background:color-mix(in srgb, var(--foreground) 20%, transparent)}.dock i{aspect-ratio:1;border-radius:30%;border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);background:linear-gradient(150deg, color-mix(in srgb, var(--foreground) 45%, transparent), color-mix(in srgb, var(--foreground) 20%, transparent))}.indicator{position:absolute;left:50%;bottom:4px;width:30px;height:3px;margin-left:-15px;border-radius:2px;background:color-mix(in srgb, var(--foreground) 45%, transparent)}
|
|
@@ -23,8 +23,6 @@ $round: 6s;
|
|
|
23
23
|
--height: 178px;
|
|
24
24
|
--depth: 9px;
|
|
25
25
|
--radius: 20px;
|
|
26
|
-
--front-amount: 4%;
|
|
27
|
-
--edge-amount: 55%;
|
|
28
26
|
}
|
|
29
27
|
.screen {
|
|
30
28
|
position: absolute;
|
|
@@ -50,7 +48,7 @@ $round: 6s;
|
|
|
50
48
|
bottom: 5px;
|
|
51
49
|
height: 2px;
|
|
52
50
|
border-radius: 1px;
|
|
53
|
-
background: linear-gradient(90deg, var(--background) var(--done, 0%), tint(
|
|
51
|
+
background: linear-gradient(90deg, var(--background) var(--done, 0%), tint($strong) var(--done, 0%));
|
|
54
52
|
opacity: 0;
|
|
55
53
|
@include loop(ios-activity $round linear infinite);
|
|
56
54
|
}
|
|
@@ -95,6 +93,9 @@ $round: 6s;
|
|
|
95
93
|
}
|
|
96
94
|
/* App icons: rounded squares, four to a row, jiggling for a moment as when they are being arranged. */
|
|
97
95
|
.apps {
|
|
96
|
+
align-items: stretch;
|
|
97
|
+
align-content: stretch;
|
|
98
|
+
justify-content: stretch;
|
|
98
99
|
position: absolute;
|
|
99
100
|
inset: 26px 9px auto;
|
|
100
101
|
display: grid;
|
|
@@ -103,8 +104,8 @@ $round: 6s;
|
|
|
103
104
|
i {
|
|
104
105
|
aspect-ratio: 1;
|
|
105
106
|
border-radius: 30%;
|
|
106
|
-
border: 1px solid tint(
|
|
107
|
-
background: linear-gradient(150deg, tint(
|
|
107
|
+
border: 1px solid tint($edge);
|
|
108
|
+
background: linear-gradient(150deg, tint($faint), tint($hint));
|
|
108
109
|
@include loop(ios-jiggle $round linear infinite);
|
|
109
110
|
&:nth-child(odd) {
|
|
110
111
|
animation-name: ios-jiggle-other;
|
|
@@ -149,7 +150,7 @@ $round: 6s;
|
|
|
149
150
|
width: 3px;
|
|
150
151
|
height: 3px;
|
|
151
152
|
border-radius: 50%;
|
|
152
|
-
background: tint(
|
|
153
|
+
background: tint($detail);
|
|
153
154
|
&:first-child {
|
|
154
155
|
background: var(--foreground);
|
|
155
156
|
}
|
|
@@ -166,12 +167,12 @@ $round: 6s;
|
|
|
166
167
|
gap: 6px;
|
|
167
168
|
padding: 4px;
|
|
168
169
|
border-radius: 9px;
|
|
169
|
-
background: tint(
|
|
170
|
+
background: tint($faint);
|
|
170
171
|
i {
|
|
171
172
|
aspect-ratio: 1;
|
|
172
173
|
border-radius: 30%;
|
|
173
|
-
border: 1px solid tint(
|
|
174
|
-
background: linear-gradient(150deg, tint(
|
|
174
|
+
border: 1px solid tint($edge);
|
|
175
|
+
background: linear-gradient(150deg, tint($detail), tint($faint));
|
|
175
176
|
}
|
|
176
177
|
}
|
|
177
178
|
.indicator {
|
|
@@ -182,5 +183,5 @@ $round: 6s;
|
|
|
182
183
|
height: 3px;
|
|
183
184
|
margin-left: -15px;
|
|
184
185
|
border-radius: 2px;
|
|
185
|
-
background: tint(
|
|
186
|
+
background: tint($detail);
|
|
186
187
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:lead-turn 18s linear infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:translateY(10px) rotateX(-22deg) rotateY(0deg)}@keyframes lead-turn{to{transform:translateY(10px) rotateX(-22deg) rotateY(360deg)}}.ring{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;border-radius:50%;border:1px solid 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:lead-turn 18s linear infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:translateY(10px) rotateX(-22deg) rotateY(0deg)}@keyframes lead-turn{to{transform:translateY(10px) rotateX(-22deg) rotateY(360deg)}}.ring{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;border-radius:50%;border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);background:color-mix(in srgb, var(--foreground) 10%, transparent)}.ring[data-ring="0"]{width:160px;height:160px;margin:-80px 0 0 -80px;transform:translateY(-62px) rotateX(90deg)}.ring[data-ring="1"]{width:124px;height:124px;margin:-62px 0 0 -62px;transform:translateY(-34px) rotateX(90deg)}.ring[data-ring="2"]{width:88px;height:88px;margin:-44px 0 0 -44px;transform:translateY(-6px) rotateX(90deg)}.ring[data-ring="3"]{width:52px;height:52px;margin:-26px 0 0 -26px;transform:translateY(22px) rotateX(90deg)}.ring[data-ring="4"]{width:26px;height:26px;margin:-13px 0 0 -13px;transform:translateY(50px) rotateX(90deg)}.path{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d}.path i{position:absolute;width:8px;height:8px;margin:-4px 0 0 -4px;border-radius:50%;background:var(--foreground);box-shadow:0 0 8px color-mix(in srgb, var(--foreground) 35%, transparent);opacity:0;animation:lead-fall 3s cubic-bezier(0.45, 0, 0.7, 1) infinite}@media(prefers-reduced-motion: reduce){.path i{animation:none}}@keyframes lead-fall{0%{transform:translate3d(0, -110px, 70px);opacity:0}15%{opacity:1}40%{transform:translate3d(0, -62px, 74px)}85%{transform:translate3d(0, 50px, 0);opacity:1}100%{transform:translate3d(0, 82px, 0);opacity:0}}.lead{position:absolute;left:50%;top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;transform-style:preserve-3d;border-radius:50%;background:var(--foreground);transform:translateY(82px);box-shadow:0 0 16px color-mix(in srgb, var(--foreground) 35%, transparent);animation:lead-pulse .5s ease-in-out infinite alternate}@media(prefers-reduced-motion: reduce){.lead{animation:none}}@keyframes lead-pulse{to{box-shadow:0 0 26px 4px color-mix(in srgb, var(--foreground) 35%, transparent)}}
|
|
@@ -22,8 +22,8 @@ $heights:
|
|
|
22
22
|
.ring {
|
|
23
23
|
@include centered(0px, 0px);
|
|
24
24
|
border-radius: 50%;
|
|
25
|
-
border: 1px solid tint(
|
|
26
|
-
background: tint(
|
|
25
|
+
border: 1px solid tint($edge);
|
|
26
|
+
background: tint($hint);
|
|
27
27
|
@for $index from 0 through 4 {
|
|
28
28
|
&[data-ring="#{$index}"] {
|
|
29
29
|
width: list.nth($sizes, $index + 1);
|
|
@@ -42,7 +42,7 @@ $heights:
|
|
|
42
42
|
margin: -4px 0 0 -4px;
|
|
43
43
|
border-radius: 50%;
|
|
44
44
|
background: var(--foreground);
|
|
45
|
-
box-shadow: 0 0 8px tint(
|
|
45
|
+
box-shadow: 0 0 8px tint($glow);
|
|
46
46
|
opacity: 0;
|
|
47
47
|
@include loop(lead-fall 3s cubic-bezier(0.45, 0, 0.7, 1) infinite);
|
|
48
48
|
}
|
|
@@ -72,11 +72,11 @@ $heights:
|
|
|
72
72
|
border-radius: 50%;
|
|
73
73
|
background: var(--foreground);
|
|
74
74
|
transform: translateY(82px);
|
|
75
|
-
box-shadow: 0 0 16px tint(
|
|
75
|
+
box-shadow: 0 0 16px tint($glow);
|
|
76
76
|
@include loop(lead-pulse 0.5s ease-in-out infinite alternate);
|
|
77
77
|
}
|
|
78
78
|
@keyframes lead-pulse {
|
|
79
79
|
to {
|
|
80
|
-
box-shadow: 0 0 26px 4px tint(
|
|
80
|
+
box-shadow: 0 0 26px 4px tint($glow);
|
|
81
81
|
}
|
|
82
82
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use "style/token" as *;
|
|
2
|
+
@use "style/object" as *;
|
|
2
3
|
|
|
3
4
|
.mark {
|
|
4
5
|
--size: 36px;
|
|
@@ -11,7 +12,7 @@
|
|
|
11
12
|
transform-style: preserve-3d;
|
|
12
13
|
border-radius: 50%;
|
|
13
14
|
background: var(--background);
|
|
14
|
-
border: 1px solid tint(
|
|
15
|
+
border: 1px solid tint($strong);
|
|
15
16
|
&::before {
|
|
16
17
|
content: "";
|
|
17
18
|
position: absolute;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;transform:rotateX(-12deg)}.shirt{position:absolute;left:50%;top:50%;width:150px;height:150px;margin:-75px 0 0 -75px;transform-style:preserve-3d;animation:merch-sway 8s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.shirt{animation:none}}.shirt{transform:translate3d(-58px, 4px, -20px) rotateY(18deg);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;transform:rotateX(-12deg)}.shirt{position:absolute;left:50%;top:50%;width:150px;height:150px;margin:-75px 0 0 -75px;transform-style:preserve-3d;animation:merch-sway 8s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.shirt{animation:none}}.shirt{transform:translate3d(-58px, 4px, -20px) rotateY(18deg);background:color-mix(in srgb, var(--foreground) 20%, transparent);clip-path:polygon(30% 6%, 41% 6%, 50% 13%, 59% 6%, 70% 6%, 97% 24%, 86% 42%, 75% 36%, 75% 96%, 25% 96%, 25% 36%, 14% 42%, 3% 24%)}@keyframes merch-sway{0%,100%{transform:translate3d(-58px, 4px, -20px) rotateY(24deg) rotateZ(-2deg)}50%{transform:translate3d(-58px, 0px, -20px) rotateY(-10deg) rotateZ(2deg)}}.collar{position:absolute;left:41%;top:6%;width:18%;height:9%;border-radius:0 0 50% 50%;background:color-mix(in srgb, var(--foreground) 45%, transparent)}.mark{position:absolute;left:50%;top:38%;width:22px;height:22px;margin-left:-11px;border-radius:3px;border:5px solid var(--foreground);transform:rotate(45deg)}.bottle{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:merch-turn 7s linear infinite}@media(prefers-reduced-motion: reduce){.bottle{animation:none}}.bottle{transform:translate3d(76px, 12px, 30px)}@keyframes merch-turn{from{transform:translate3d(76px, 12px, 30px) rotateY(0deg)}to{transform:translate3d(76px, 12px, 30px) rotateY(360deg)}}.side{position:absolute;left:50%;top:50%;width:11px;height:112px;margin:-56px 0 0 -5.5px;transform-style:preserve-3d;border-top:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);border-bottom:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);border-radius:2px;background:color-mix(in srgb, var(--foreground) 10%, transparent);box-shadow:inset 1px 0 0 color-mix(in srgb, var(--foreground) 35%, transparent);backface-visibility:hidden}.side[data-label]{background:linear-gradient(transparent 30%, color-mix(in srgb, var(--foreground) 45%, transparent) 30%, color-mix(in srgb, var(--foreground) 45%, transparent) 66%, transparent 66%),color-mix(in srgb, var(--foreground) 10%, transparent)}.cap{position:absolute;left:50%;top:50%;width:11px;height:20px;margin:-10px 0 0 -5.5px;transform-style:preserve-3d;border-radius:2px;background:color-mix(in srgb, var(--foreground) 20%, transparent);border-top:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);backface-visibility:hidden}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
@include centered(150px, 150px);
|
|
11
11
|
@include loop(merch-sway 8s ease-in-out infinite);
|
|
12
12
|
transform: translate3d(-58px, 4px, -20px) rotateY(18deg);
|
|
13
|
-
background: tint(
|
|
13
|
+
background: tint($faint);
|
|
14
14
|
clip-path: polygon(
|
|
15
15
|
30% 6%,
|
|
16
16
|
41% 6%,
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
width: 18%;
|
|
44
44
|
height: 9%;
|
|
45
45
|
border-radius: 0 0 50% 50%;
|
|
46
|
-
background: tint(
|
|
46
|
+
background: tint($detail);
|
|
47
47
|
}
|
|
48
48
|
.mark {
|
|
49
49
|
position: absolute;
|
|
@@ -72,20 +72,20 @@
|
|
|
72
72
|
}
|
|
73
73
|
.side {
|
|
74
74
|
@include centered(11px, 112px);
|
|
75
|
-
border-top: 1px solid tint(
|
|
76
|
-
border-bottom: 1px solid tint(
|
|
75
|
+
border-top: 1px solid tint($edge);
|
|
76
|
+
border-bottom: 1px solid tint($edge);
|
|
77
77
|
border-radius: 2px;
|
|
78
|
-
background: tint(
|
|
79
|
-
box-shadow: inset 1px 0 0 tint(
|
|
78
|
+
background: tint($hint);
|
|
79
|
+
box-shadow: inset 1px 0 0 tint($glow);
|
|
80
80
|
backface-visibility: hidden;
|
|
81
81
|
&[data-label] {
|
|
82
|
-
background: linear-gradient(transparent 30%, tint(
|
|
82
|
+
background: linear-gradient(transparent 30%, tint($detail) 30%, tint($detail) 66%, transparent 66%), tint($hint);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
.cap {
|
|
86
86
|
@include centered(11px, 20px);
|
|
87
87
|
border-radius: 2px;
|
|
88
|
-
background: tint(
|
|
89
|
-
border-top: 1px solid tint(
|
|
88
|
+
background: tint($faint);
|
|
89
|
+
border-top: 1px solid tint($edge);
|
|
90
90
|
backface-visibility: hidden;
|
|
91
91
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.person{--size: 22px;--person: color-mix(in srgb, var(--foreground)
|
|
1
|
+
.person{--size: 22px;--person: color-mix(in srgb, var(--foreground) 45%, transparent);position:absolute;width:var(--size);height:var(--size);margin:calc(var(--size)/-2) 0 0 calc(var(--size)/-2)}.person::before{content:"";position:absolute;left:30%;top:0;width:40%;height:40%;border-radius:50%;background:var(--person)}.person::after{content:"";position:absolute;left:6%;bottom:0;width:88%;height:50%;border-radius:50% 50% 18% 18%/70% 70% 18% 18%;background:var(--person)}@property --person{syntax:"<color>";inherits:true;initial-value:rgba(0,0,0,0)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:platform-sway 12s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:scale(1.18) rotateX(34deg) rotateZ(-10deg)}@keyframes platform-sway{0%,100%{transform:scale(1.18) rotateX(34deg) rotateZ(-10deg)}50%{transform:scale(1.18) rotateX(26deg) rotateZ(4deg)}}.board{position:absolute;left:50%;top:50%;width:200px;height:150px;margin:-75px 0 0 -100px;transform-style:preserve-3d;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:platform-sway 12s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:scale(1.18) rotateX(34deg) rotateZ(-10deg)}@keyframes platform-sway{0%,100%{transform:scale(1.18) rotateX(34deg) rotateZ(-10deg)}50%{transform:scale(1.18) rotateX(26deg) rotateZ(4deg)}}.board{position:absolute;left:50%;top:50%;width:200px;height:150px;margin:-75px 0 0 -100px;transform-style:preserve-3d;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:10px;background:radial-gradient(circle, color-mix(in srgb, var(--foreground) 10%, transparent) 1px, transparent 1.5px) 0 0/12px 12px;box-shadow:0 24px 50px -26px color-mix(in srgb, var(--foreground) 35%, transparent)}.lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.lines path{fill:none;stroke:color-mix(in srgb, var(--foreground) 20%, transparent);stroke-width:1.2;stroke-dasharray:3 4}.message{position:absolute;left:0;top:0;width:12px;height:9px;border-radius:2px;background:var(--foreground);box-shadow:0 0 10px color-mix(in srgb, var(--foreground) 35%, transparent);offset-rotate:0deg;opacity:0;animation:platform-message 8s linear infinite backwards}@media(prefers-reduced-motion: reduce){.message{animation:none}}@keyframes platform-message{0%{offset-distance:0%;opacity:0;animation-timing-function:cubic-bezier(0.5, 0, 0.5, 1)}3%{opacity:1}22%{opacity:1}25%{offset-distance:100%;opacity:0}100%{offset-distance:100%;opacity:0}}.seat{position:absolute;width:0;height:0}.seat::before{content:"";position:absolute;left:-17px;top:-17px;width:34px;height:34px;border-radius:50%;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);animation:platform-received 8s ease-out infinite backwards}@media(prefers-reduced-motion: reduce){.seat::before{animation:none}}.seat::before{animation-delay:var(--received)}@keyframes platform-received{0%{background:color-mix(in srgb, var(--foreground) 20%, transparent);border-color:var(--foreground);box-shadow:0 0 18px color-mix(in srgb, var(--foreground) 35%, transparent)}14%,100%{background:color-mix(in srgb, var(--foreground) 10%, transparent);border-color:color-mix(in srgb, var(--foreground) 20%, transparent);box-shadow:none}}.person{--size: 20px;--person: color-mix(in srgb, var(--foreground) 70%, transparent)}.system{justify-content:stretch;position:absolute;left:50%;top:50%;width:64px;height:46px;margin:-23px 0 0 -32px;transform-style:preserve-3d;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);display:grid;align-content:end;gap:5px;padding:8px;border-radius:6px;background:var(--background);box-shadow:0 0 22px -6px color-mix(in srgb, var(--foreground) 35%, transparent)}.gear{position:absolute;right:6px;top:5px;width:11px;height:11px;border-radius:50%;border:3px dotted var(--foreground);animation:platform-gear 4s linear infinite}@media(prefers-reduced-motion: reduce){.gear{animation:none}}@keyframes platform-gear{to{transform:rotate(360deg)}}.task{height:4px;border-radius:2px;background:linear-gradient(90deg, var(--foreground) 0 var(--done, 100%), color-mix(in srgb, var(--foreground) 20%, transparent) var(--done, 100%));animation:platform-task 8s ease-in-out infinite backwards}@media(prefers-reduced-motion: reduce){.task{animation:none}}@keyframes platform-task{0%{--done: 0%}12%,100%{--done: 100%}}@property --done{syntax:"<percentage>";inherits:false;initial-value:100%}
|
|
@@ -21,10 +21,10 @@ $round: 8s;
|
|
|
21
21
|
/* The company: a board with the system in the middle and its people around it. */
|
|
22
22
|
.board {
|
|
23
23
|
@include centered(200px, 150px);
|
|
24
|
-
@include face
|
|
24
|
+
@include face;
|
|
25
25
|
border-radius: 10px;
|
|
26
|
-
background: radial-gradient(circle, tint(
|
|
27
|
-
box-shadow: 0 24px 50px -26px tint(
|
|
26
|
+
background: radial-gradient(circle, tint($hint) 1px, transparent 1.5px) 0 0 / 12px 12px;
|
|
27
|
+
box-shadow: 0 24px 50px -26px tint($glow);
|
|
28
28
|
}
|
|
29
29
|
.lines {
|
|
30
30
|
position: absolute;
|
|
@@ -34,7 +34,7 @@ $round: 8s;
|
|
|
34
34
|
overflow: visible;
|
|
35
35
|
path {
|
|
36
36
|
fill: none;
|
|
37
|
-
stroke: tint(
|
|
37
|
+
stroke: tint($faint);
|
|
38
38
|
stroke-width: 1.2;
|
|
39
39
|
stroke-dasharray: 3 4;
|
|
40
40
|
}
|
|
@@ -48,7 +48,7 @@ $round: 8s;
|
|
|
48
48
|
height: 9px;
|
|
49
49
|
border-radius: 2px;
|
|
50
50
|
background: var(--foreground);
|
|
51
|
-
box-shadow: 0 0 10px tint(
|
|
51
|
+
box-shadow: 0 0 10px tint($glow);
|
|
52
52
|
offset-rotate: 0deg;
|
|
53
53
|
opacity: 0;
|
|
54
54
|
@include loop(platform-message $round linear infinite backwards);
|
|
@@ -87,39 +87,40 @@ $round: 8s;
|
|
|
87
87
|
width: 34px;
|
|
88
88
|
height: 34px;
|
|
89
89
|
border-radius: 50%;
|
|
90
|
-
@include face
|
|
90
|
+
@include face;
|
|
91
91
|
@include loop(platform-received $round ease-out infinite backwards);
|
|
92
92
|
animation-delay: var(--received);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
@keyframes platform-received {
|
|
96
96
|
0% {
|
|
97
|
-
background: tint(
|
|
97
|
+
background: tint($faint);
|
|
98
98
|
border-color: var(--foreground);
|
|
99
|
-
box-shadow: 0 0 18px tint(
|
|
99
|
+
box-shadow: 0 0 18px tint($glow);
|
|
100
100
|
}
|
|
101
101
|
14%,
|
|
102
102
|
100% {
|
|
103
|
-
background: tint(
|
|
104
|
-
border-color: tint(
|
|
103
|
+
background: tint($hint);
|
|
104
|
+
border-color: tint($faint);
|
|
105
105
|
box-shadow: none;
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
.person {
|
|
109
109
|
--size: 20px;
|
|
110
|
-
--person: #{tint(
|
|
110
|
+
--person: #{tint($strong)};
|
|
111
111
|
}
|
|
112
112
|
/* The system: a screen whose gear keeps turning and whose tasks tick themselves off as messages pass. */
|
|
113
113
|
.system {
|
|
114
|
+
justify-content: stretch;
|
|
114
115
|
@include centered(64px, 46px);
|
|
115
|
-
@include face
|
|
116
|
+
@include face;
|
|
116
117
|
display: grid;
|
|
117
118
|
align-content: end;
|
|
118
119
|
gap: 5px;
|
|
119
120
|
padding: 8px;
|
|
120
121
|
border-radius: 6px;
|
|
121
122
|
background: var(--background);
|
|
122
|
-
box-shadow: 0 0 22px -6px tint(
|
|
123
|
+
box-shadow: 0 0 22px -6px tint($glow);
|
|
123
124
|
}
|
|
124
125
|
.gear {
|
|
125
126
|
position: absolute;
|
|
@@ -139,7 +140,7 @@ $round: 8s;
|
|
|
139
140
|
.task {
|
|
140
141
|
height: 4px;
|
|
141
142
|
border-radius: 2px;
|
|
142
|
-
background: linear-gradient(90deg, var(--foreground) 0 var(--done, 100%), tint(
|
|
143
|
+
background: linear-gradient(90deg, var(--foreground) 0 var(--done, 100%), tint($faint) var(--done, 100%));
|
|
143
144
|
@include loop(platform-task $round ease-in-out infinite backwards);
|
|
144
145
|
}
|
|
145
146
|
@keyframes platform-task {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Printing: a flyer standing behind a stack of business cards; the top card lifts off the stack and flips over to
|
|
3
3
|
* show the brand's mark on its back, then settles again.
|
|
4
4
|
*/
|
|
5
5
|
export declare function PrintDesign(): import("react").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import styles from "./index.module.css";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Printing: a flyer standing behind a stack of business cards; the top card lifts off the stack and flips over to
|
|
5
5
|
* show the brand's mark on its back, then settles again.
|
|
6
6
|
*/
|
|
7
7
|
export function PrintDesign() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:print-sway 11s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(-16deg) rotateY(-22deg)}@keyframes print-sway{0%,100%{transform:rotateX(-16deg) rotateY(-26deg)}50%{transform:rotateX(-10deg) rotateY(12deg)}}.flyer{position:absolute;left:50%;top:50%;width:104px;height:146px;margin:-73px 0 0 -52px;transform-style:preserve-3d;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:print-sway 11s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(-16deg) rotateY(-22deg)}@keyframes print-sway{0%,100%{transform:rotateX(-16deg) rotateY(-26deg)}50%{transform:rotateX(-10deg) rotateY(12deg)}}.flyer{justify-content:stretch;align-items:stretch;position:absolute;left:50%;top:50%;width:104px;height:146px;margin:-73px 0 0 -52px;transform-style:preserve-3d;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);display:grid;grid-template-rows:1fr auto auto;gap:8px;padding:10px;border-radius:3px;transform:translate3d(40px, -18px, -60px) rotateY(-8deg)}.picture{border-radius:2px;background:linear-gradient(150deg, color-mix(in srgb, var(--foreground) 45%, transparent), color-mix(in srgb, var(--foreground) 10%, transparent))}.heading{width:70%;height:7px;border-radius:2px;background:color-mix(in srgb, var(--foreground) 45%, transparent)}.lines{justify-content:stretch;display:grid;gap:4px}.lines i{height:3px;border-radius:2px;background:color-mix(in srgb, var(--foreground) 20%, transparent)}.lines i:last-child{width:60%}.stack{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;transform:translate3d(-34px, 46px, 20px) rotateX(70deg)}.card{position:absolute;left:50%;top:50%;width:112px;height:64px;margin:-32px 0 0 -56px;transform-style:preserve-3d;border-radius:4px;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)}.top{position:absolute;left:50%;top:50%;width:112px;height:64px;margin:-32px 0 0 -56px;transform-style:preserve-3d;border-radius:4px;animation:print-flip 5s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.top{animation:none}}.top{transform:translateZ(14px)}@keyframes print-flip{0%,12%{transform:translateZ(14px) rotateX(0deg)}45%,62%{transform:translateZ(70px) rotateX(-110deg) rotateZ(-10deg)}88%,100%{transform:translateZ(14px) rotateX(-180deg)}}.front,.back{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);position:absolute;inset:0;border-radius:inherit;backface-visibility:hidden}.front{justify-content:stretch;display:grid;align-content:center;gap:5px;padding:0 12px}.name{width:56%;height:6px;border-radius:2px;background:color-mix(in srgb, var(--foreground) 45%, transparent)}.detail{width:40%;height:3px;border-radius:2px;background:color-mix(in srgb, var(--foreground) 20%, transparent)}.back{display:grid;place-items:center;background:color-mix(in srgb, var(--foreground) 20%, transparent);transform:rotateX(180deg)}.mark{width:20px;height:20px;border-radius:3px;border:5px solid var(--foreground);transform:rotate(45deg)}
|
|
@@ -17,8 +17,10 @@
|
|
|
17
17
|
}
|
|
18
18
|
/* An A5 flyer, upright behind the cards. */
|
|
19
19
|
.flyer {
|
|
20
|
+
justify-content: stretch;
|
|
21
|
+
align-items: stretch;
|
|
20
22
|
@include centered(104px, 146px);
|
|
21
|
-
@include face
|
|
23
|
+
@include face;
|
|
22
24
|
display: grid;
|
|
23
25
|
grid-template-rows: 1fr auto auto;
|
|
24
26
|
gap: 8px;
|
|
@@ -28,21 +30,22 @@
|
|
|
28
30
|
}
|
|
29
31
|
.picture {
|
|
30
32
|
border-radius: 2px;
|
|
31
|
-
background: linear-gradient(150deg, tint(
|
|
33
|
+
background: linear-gradient(150deg, tint($detail), tint($hint));
|
|
32
34
|
}
|
|
33
35
|
.heading {
|
|
34
36
|
width: 70%;
|
|
35
37
|
height: 7px;
|
|
36
38
|
border-radius: 2px;
|
|
37
|
-
background: tint(
|
|
39
|
+
background: tint($detail);
|
|
38
40
|
}
|
|
39
41
|
.lines {
|
|
42
|
+
justify-content: stretch;
|
|
40
43
|
display: grid;
|
|
41
44
|
gap: 4px;
|
|
42
45
|
i {
|
|
43
46
|
height: 3px;
|
|
44
47
|
border-radius: 2px;
|
|
45
|
-
background: tint(
|
|
48
|
+
background: tint($faint);
|
|
46
49
|
&:last-child {
|
|
47
50
|
width: 60%;
|
|
48
51
|
}
|
|
@@ -59,7 +62,7 @@
|
|
|
59
62
|
}
|
|
60
63
|
.card {
|
|
61
64
|
@include business-card;
|
|
62
|
-
@include face
|
|
65
|
+
@include face;
|
|
63
66
|
}
|
|
64
67
|
/* The top card, lifting, flipping over and settling back. */
|
|
65
68
|
.top {
|
|
@@ -83,13 +86,14 @@
|
|
|
83
86
|
}
|
|
84
87
|
.front,
|
|
85
88
|
.back {
|
|
86
|
-
@include face
|
|
89
|
+
@include face;
|
|
87
90
|
position: absolute;
|
|
88
91
|
inset: 0;
|
|
89
92
|
border-radius: inherit;
|
|
90
93
|
backface-visibility: hidden;
|
|
91
94
|
}
|
|
92
95
|
.front {
|
|
96
|
+
justify-content: stretch;
|
|
93
97
|
display: grid;
|
|
94
98
|
align-content: center;
|
|
95
99
|
gap: 5px;
|
|
@@ -99,18 +103,18 @@
|
|
|
99
103
|
width: 56%;
|
|
100
104
|
height: 6px;
|
|
101
105
|
border-radius: 2px;
|
|
102
|
-
background: tint(
|
|
106
|
+
background: tint($detail);
|
|
103
107
|
}
|
|
104
108
|
.detail {
|
|
105
109
|
width: 40%;
|
|
106
110
|
height: 3px;
|
|
107
111
|
border-radius: 2px;
|
|
108
|
-
background: tint(
|
|
112
|
+
background: tint($faint);
|
|
109
113
|
}
|
|
110
114
|
.back {
|
|
111
115
|
display: grid;
|
|
112
116
|
place-items: center;
|
|
113
|
-
background: tint(
|
|
117
|
+
background: tint($faint);
|
|
114
118
|
transform: rotateX(180deg);
|
|
115
119
|
}
|
|
116
120
|
/* The brand's mark: a diamond with a hole, like the seal's. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Product launches: the countdown and the lift-off. Numbers count down from 3, each
|
|
3
|
-
* next
|
|
4
|
-
*
|
|
5
|
-
* stands on its pad.
|
|
2
|
+
* Product launches: the countdown and the lift-off, in 3D. Numbers count down from 3, each flowing smoothly into the
|
|
3
|
+
* next inside a ring that runs out, beside a round rocket (a body of panels, a nose cone, fins and a window) turning
|
|
4
|
+
* slowly on its pad. At zero its engine lights, smoke rolls out all around the pad and the rocket rises, faster and
|
|
5
|
+
* faster, out of sight, before the next one stands ready. With reduced motion, the rocket stands on its pad.
|
|
6
6
|
*/
|
|
7
7
|
export declare function ProductLaunch(): import("react").JSX.Element;
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/product-launch/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/product-launch/index.tsx"],"names":[],"mappings":"AAwBA;;;;;GAKG;AACH,wBAAgB,aAAa,gCAmE5B"}
|
|
@@ -1,16 +1,42 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Cuboid } from "@sharadox/sharadox-web-library/component/service-object/cuboid";
|
|
2
3
|
import styles from "./index.module.css";
|
|
3
4
|
/** The countdown, one number a second, each flowing into the next. */
|
|
4
5
|
const COUNTDOWN = ["3", "2", "1"];
|
|
5
|
-
/**
|
|
6
|
-
const
|
|
6
|
+
/** The rocket's round body is made of this many flat panels around its axis, like a lathe. */
|
|
7
|
+
const SIDES = 8;
|
|
8
|
+
/** How far each panel stands from the axis, and its width, so the panels close into a ring. */
|
|
9
|
+
const APOTHEM = 13;
|
|
10
|
+
const PANEL = 2 * APOTHEM * Math.tan(Math.PI / SIDES);
|
|
11
|
+
/** The nose cone: its height, and the length and lean of each of its panels. */
|
|
12
|
+
const NOSE = 26;
|
|
13
|
+
const SLANT = Math.hypot(NOSE, APOTHEM);
|
|
14
|
+
const LEAN = (Math.atan(APOTHEM / NOSE) * 180) / Math.PI;
|
|
15
|
+
/** Fins around the base, evenly spaced. */
|
|
16
|
+
const FINS = 4;
|
|
17
|
+
/** Puffs of smoke spreading over the pad at lift-off, all the way round. */
|
|
18
|
+
const SMOKE = 8;
|
|
19
|
+
/** How lit a panel facing this way is (a light from the front left), as a share of the foreground color. */
|
|
20
|
+
const light = (angle) => `${Math.round(5 + 18 * (0.5 + 0.5 * Math.cos(((angle + 40) * Math.PI) / 180)))}%`;
|
|
21
|
+
const sides = Array.from({ length: SIDES }, (_, side) => (360 / SIDES) * side);
|
|
7
22
|
/**
|
|
8
|
-
* Product launches: the countdown and the lift-off. Numbers count down from 3, each
|
|
9
|
-
* next
|
|
10
|
-
*
|
|
11
|
-
* stands on its pad.
|
|
23
|
+
* Product launches: the countdown and the lift-off, in 3D. Numbers count down from 3, each flowing smoothly into the
|
|
24
|
+
* next inside a ring that runs out, beside a round rocket (a body of panels, a nose cone, fins and a window) turning
|
|
25
|
+
* slowly on its pad. At zero its engine lights, smoke rolls out all around the pad and the rocket rises, faster and
|
|
26
|
+
* faster, out of sight, before the next one stands ready. With reduced motion, the rocket stands on its pad.
|
|
12
27
|
*/
|
|
13
28
|
export function ProductLaunch() {
|
|
14
|
-
return (_jsxs("div", { className: styles.object, children: [
|
|
29
|
+
return (_jsxs("div", { className: styles.object, children: [_jsx(Cuboid, { className: styles.pad }), _jsx("div", { className: styles.smoke, children: Array.from({ length: SMOKE }, (_, puff) => (_jsx("i", { style: { "--angle": `${(360 / SMOKE) * puff}deg` } }, puff))) }), _jsxs("div", { className: styles.rocket, children: [_jsxs("div", { className: styles.spin, children: [sides.map((angle) => (_jsx("span", { className: styles.panel, style: {
|
|
30
|
+
left: -PANEL / 2,
|
|
31
|
+
width: PANEL,
|
|
32
|
+
transform: `rotateY(${angle}deg) translateZ(${APOTHEM}px)`,
|
|
33
|
+
"--light": light(angle),
|
|
34
|
+
}, children: angle === 0 && _jsx("i", { className: styles.window }) }, angle))), sides.map((angle) => (_jsx("span", { className: styles.nose, style: {
|
|
35
|
+
left: -PANEL / 2,
|
|
36
|
+
width: PANEL,
|
|
37
|
+
height: SLANT,
|
|
38
|
+
transform: `rotateY(${angle}deg) translateZ(${APOTHEM}px) rotateX(${LEAN}deg)`,
|
|
39
|
+
"--light": light(angle),
|
|
40
|
+
} }, angle))), Array.from({ length: FINS }, (_, fin) => (_jsx("span", { className: styles.fin, style: { transform: `rotateY(${(360 / FINS) * fin + 45}deg) translateX(${APOTHEM + 8}px)` } }, fin))), _jsx("span", { className: styles.flame }), _jsx("span", { className: styles.flame, style: { transform: "rotateY(90deg)" } })] }), _jsx("span", { className: styles.trail })] }), _jsxs("div", { className: styles.countdown, children: [_jsxs("svg", { className: styles.ring, viewBox: "0 0 60 60", children: [_jsx("circle", { cx: "30", cy: "30", r: "27", pathLength: 100 }), _jsx("circle", { className: styles.time, cx: "30", cy: "30", r: "27", pathLength: 100 })] }), COUNTDOWN.map((number, index) => (_jsx("span", { className: styles.number, style: { animationDelay: `${index * 1.2}s` }, children: number }, number)))] })] }));
|
|
15
41
|
}
|
|
16
42
|
//# sourceMappingURL=index.js.map
|