@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
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/product-launch/index.tsx"],"names":[],"mappings":";AACA,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,sEAAsE;AACtE,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;AAClC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/product-launch/index.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:launch-sway 12s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:scale(1.
|
|
1
|
+
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:launch-sway 12s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:scale(1.15) rotateX(-14deg) rotateY(-18deg)}@keyframes launch-sway{0%,100%{transform:scale(1.15) rotateX(-14deg) rotateY(-18deg)}50%{transform:scale(1.15) rotateX(-8deg) rotateY(14deg)}}.pad{--width: 96px;--height: 10px;--depth: 96px;--radius: 3px;transform:translateY(57px)}.rocket{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;transform:translateY(52px);animation:launch-rocket 6s infinite}@media(prefers-reduced-motion: reduce){.rocket{animation:none}}@keyframes launch-rocket{0%,60%{transform:translateY(52px)}63%{transform:translateY(54px);animation-timing-function:cubic-bezier(0.55, 0, 0.9, 0.4)}84%{transform:translateY(-308px)}85%,92%{transform:translateY(52px) scale(0);animation-timing-function:cubic-bezier(0.22, 1, 0.36, 1)}100%{transform:translateY(52px) scale(1)}}.spin{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:launch-spin 9s linear infinite}@media(prefers-reduced-motion: reduce){.spin{animation:none}}@keyframes launch-spin{to{transform:rotateY(360deg)}}.panel{position:absolute;top:-54px;height:54px;background:color-mix(in srgb, var(--foreground) var(--light), var(--background));border-top:1px solid color-mix(in srgb, var(--foreground) 50%, transparent)}.window{position:absolute;left:50%;top:14px;width:9px;height:9px;margin-left:-4.5px;border-radius:50%;background:var(--background);border:1.5px solid var(--foreground)}.nose{position:absolute;bottom:54px;transform-origin:50% 100%;clip-path:polygon(50% 0, 100% 100%, 0 100%);background:color-mix(in srgb, var(--foreground) var(--light), var(--background))}.fin{position:absolute;left:-8px;top:-24px;width:16px;height:26px;clip-path:polygon(0 0, 100% 60%, 100% 100%, 0 100%);background:color-mix(in srgb, var(--foreground) 16%, var(--background))}.flame{position:absolute;left:-8px;top:0;width:16px;height:30px;clip-path:polygon(0 0, 100% 0, 50% 100%);background:linear-gradient(180deg, var(--foreground), color-mix(in srgb, var(--foreground) 20%, transparent));transform-origin:50% 0;scale:1 0;animation:launch-flame 6s linear infinite}@media(prefers-reduced-motion: reduce){.flame{animation:none}}@keyframes launch-flame{0%,58%{scale:1 0}61%{scale:1 1.2}62%{scale:1 .8}64%{scale:1 1.25}66%{scale:1 .8}68%{scale:1 1.25}70%{scale:1 .8}72%{scale:1 1.25}74%{scale:1 .8}76%{scale:1 1.25}78%{scale:1 .8}80%{scale:1 1.25}82%{scale:1 .8}84%,100%{scale:1 0}}.trail{position:absolute;left:-1.5px;top:26px;width:3px;height:80px;background:linear-gradient(180deg, color-mix(in srgb, var(--foreground) 70%, transparent), transparent);transform-origin:top;transform:scaleY(0);animation:launch-trail 6s ease-in infinite}@media(prefers-reduced-motion: reduce){.trail{animation:none}}@keyframes launch-trail{0%,62%{transform:scaleY(0);opacity:1}80%{transform:scaleY(1);opacity:1}84%,100%{transform:scaleY(1);opacity:0}}.smoke{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;transform:translateY(44px)}.smoke i{position:absolute;left:-14px;top:-14px;width:28px;height:28px;border-radius:50%;background:radial-gradient(circle, color-mix(in srgb, var(--foreground) 45%, transparent), transparent 70%);opacity:0;animation:launch-smoke 6s ease-out infinite}@media(prefers-reduced-motion: reduce){.smoke i{animation:none}}@keyframes launch-smoke{0%,60%{opacity:0;transform:rotateY(var(--angle)) translateZ(0) rotateY(calc(-1 * var(--angle))) scale(0.4)}64%{opacity:1}86%,100%{opacity:0;transform:rotateY(var(--angle)) translateZ(64px) rotateY(calc(-1 * var(--angle))) scale(2)}}.countdown{position:absolute;left:-118px;top:-92px;width:64px;height:64px;transform:translateZ(30px);opacity:0;animation:launch-countdown 6s ease-out infinite}@media(prefers-reduced-motion: reduce){.countdown{animation:none}}@keyframes launch-countdown{0%,58%{opacity:1;transform:translateZ(30px) scale(1)}66%,100%{opacity:0;transform:translateZ(30px) scale(0.8)}}.ring{position:absolute;inset:0;overflow:visible;transform:rotate(-90deg)}.ring circle{fill:none;stroke:color-mix(in srgb, var(--foreground) 20%, transparent);stroke-width:2}.ring .time{stroke:var(--foreground);stroke-linecap:round;stroke-dasharray:100 100;animation:launch-time 6s linear infinite}@media(prefers-reduced-motion: reduce){.ring .time{animation:none}}@keyframes launch-time{0%{stroke-dashoffset:0}60%,100%{stroke-dashoffset:100}}.number{position:absolute;inset:0;display:grid;place-items:center;font-family:var(--font-display, inherit);font-size:30px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--foreground);opacity:0;animation:launch-number 6s cubic-bezier(0.22, 1, 0.36, 1) infinite backwards}@media(prefers-reduced-motion: reduce){.number{animation:none}}@keyframes launch-number{0%{opacity:0;transform:translateY(14px) scale(1.25);filter:blur(6px)}6%,16%{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}23%,100%{opacity:0;transform:translateY(-14px) scale(0.85);filter:blur(6px)}}
|
|
@@ -6,28 +6,204 @@
|
|
|
6
6
|
* 84%), and the next rocket standing ready (from 90%). Every part runs on the same clock.
|
|
7
7
|
*/
|
|
8
8
|
$round: 6s;
|
|
9
|
+
/* The rocket's body: its height, and the top of the pad it stands on. */
|
|
10
|
+
$body: 54px;
|
|
11
|
+
$pad-top: 52px;
|
|
9
12
|
|
|
10
13
|
.object {
|
|
11
14
|
@include centered(0px, 0px);
|
|
12
15
|
@include loop(launch-sway 12s ease-in-out infinite);
|
|
13
|
-
transform: scale(1.
|
|
16
|
+
transform: scale(1.15) rotateX(-14deg) rotateY(-18deg);
|
|
14
17
|
}
|
|
15
18
|
@keyframes launch-sway {
|
|
16
19
|
0%,
|
|
17
20
|
100% {
|
|
18
|
-
transform: scale(1.
|
|
21
|
+
transform: scale(1.15) rotateX(-14deg) rotateY(-18deg);
|
|
19
22
|
}
|
|
20
23
|
50% {
|
|
21
|
-
transform: scale(1.
|
|
24
|
+
transform: scale(1.15) rotateX(-8deg) rotateY(14deg);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
/* The launch pad: a low, wide block. */
|
|
28
|
+
.pad {
|
|
29
|
+
--width: 96px;
|
|
30
|
+
--height: 10px;
|
|
31
|
+
--depth: 96px;
|
|
32
|
+
--radius: 3px;
|
|
33
|
+
transform: translateY($pad-top + 5px);
|
|
34
|
+
}
|
|
35
|
+
/* The rocket stands on the pad, turning slowly on its axis; at zero it rises, faster and faster, out of sight. */
|
|
36
|
+
.rocket {
|
|
37
|
+
@include centered(0px, 0px);
|
|
38
|
+
transform: translateY($pad-top);
|
|
39
|
+
@include loop(launch-rocket $round infinite);
|
|
40
|
+
}
|
|
41
|
+
/* Shown and hidden by scale, not opacity, which would flatten the rocket. */
|
|
42
|
+
@keyframes launch-rocket {
|
|
43
|
+
0%,
|
|
44
|
+
60% {
|
|
45
|
+
transform: translateY($pad-top);
|
|
46
|
+
}
|
|
47
|
+
63% {
|
|
48
|
+
transform: translateY($pad-top + 2px);
|
|
49
|
+
animation-timing-function: cubic-bezier(0.55, 0, 0.9, 0.4);
|
|
50
|
+
}
|
|
51
|
+
84% {
|
|
52
|
+
transform: translateY($pad-top - 360px);
|
|
53
|
+
}
|
|
54
|
+
85%,
|
|
55
|
+
92% {
|
|
56
|
+
transform: translateY($pad-top) scale(0);
|
|
57
|
+
animation-timing-function: $ease;
|
|
58
|
+
}
|
|
59
|
+
100% {
|
|
60
|
+
transform: translateY($pad-top) scale(1);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
.spin {
|
|
64
|
+
@include centered(0px, 0px);
|
|
65
|
+
@include loop(launch-spin 9s linear infinite);
|
|
66
|
+
}
|
|
67
|
+
@keyframes launch-spin {
|
|
68
|
+
to {
|
|
69
|
+
transform: rotateY(360deg);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
/* A panel of the round body, lit by how it faces the light; the window sits on the front one. */
|
|
73
|
+
.panel {
|
|
74
|
+
position: absolute;
|
|
75
|
+
top: -$body;
|
|
76
|
+
height: $body;
|
|
77
|
+
background: surface(var(--light));
|
|
78
|
+
border-top: 1px solid tint($edge);
|
|
79
|
+
}
|
|
80
|
+
.window {
|
|
81
|
+
position: absolute;
|
|
82
|
+
left: 50%;
|
|
83
|
+
top: 14px;
|
|
84
|
+
width: 9px;
|
|
85
|
+
height: 9px;
|
|
86
|
+
margin-left: -4.5px;
|
|
87
|
+
border-radius: 50%;
|
|
88
|
+
background: var(--background);
|
|
89
|
+
border: 1.5px solid var(--foreground);
|
|
90
|
+
}
|
|
91
|
+
/* A panel of the nose cone, leaning in to the tip. */
|
|
92
|
+
.nose {
|
|
93
|
+
position: absolute;
|
|
94
|
+
bottom: $body;
|
|
95
|
+
transform-origin: 50% 100%;
|
|
96
|
+
clip-path: polygon(50% 0, 100% 100%, 0 100%);
|
|
97
|
+
background: surface(var(--light));
|
|
98
|
+
}
|
|
99
|
+
/* A fin standing out from the base. */
|
|
100
|
+
.fin {
|
|
101
|
+
position: absolute;
|
|
102
|
+
left: -8px;
|
|
103
|
+
top: -24px;
|
|
104
|
+
width: 16px;
|
|
105
|
+
height: 26px;
|
|
106
|
+
clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%);
|
|
107
|
+
background: surface($raised);
|
|
108
|
+
}
|
|
109
|
+
/* The engine's flame: two crossed sheets of light under the rocket, lit at zero, flickering as it burns. */
|
|
110
|
+
.flame {
|
|
111
|
+
position: absolute;
|
|
112
|
+
left: -8px;
|
|
113
|
+
top: 0;
|
|
114
|
+
width: 16px;
|
|
115
|
+
height: 30px;
|
|
116
|
+
clip-path: polygon(0 0, 100% 0, 50% 100%);
|
|
117
|
+
background: linear-gradient(180deg, var(--foreground), tint($faint));
|
|
118
|
+
transform-origin: 50% 0;
|
|
119
|
+
scale: 1 0;
|
|
120
|
+
@include loop(launch-flame $round linear infinite);
|
|
121
|
+
}
|
|
122
|
+
@keyframes launch-flame {
|
|
123
|
+
0%,
|
|
124
|
+
58% {
|
|
125
|
+
scale: 1 0;
|
|
126
|
+
}
|
|
127
|
+
61% {
|
|
128
|
+
scale: 1 1.2;
|
|
129
|
+
}
|
|
130
|
+
@for $step from 0 through 10 {
|
|
131
|
+
#{62% + $step * 2%} {
|
|
132
|
+
scale: 1 if($step % 2 == 0, 0.8, 1.25);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
84%,
|
|
136
|
+
100% {
|
|
137
|
+
scale: 1 0;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
/* The trail left behind, stretching as the rocket climbs and fading. */
|
|
141
|
+
.trail {
|
|
142
|
+
position: absolute;
|
|
143
|
+
left: -1.5px;
|
|
144
|
+
top: 26px;
|
|
145
|
+
width: 3px;
|
|
146
|
+
height: 80px;
|
|
147
|
+
background: linear-gradient(180deg, tint($strong), transparent);
|
|
148
|
+
transform-origin: top;
|
|
149
|
+
transform: scaleY(0);
|
|
150
|
+
@include loop(launch-trail $round ease-in infinite);
|
|
151
|
+
}
|
|
152
|
+
@keyframes launch-trail {
|
|
153
|
+
0%,
|
|
154
|
+
62% {
|
|
155
|
+
transform: scaleY(0);
|
|
156
|
+
opacity: 1;
|
|
157
|
+
}
|
|
158
|
+
80% {
|
|
159
|
+
transform: scaleY(1);
|
|
160
|
+
opacity: 1;
|
|
161
|
+
}
|
|
162
|
+
84%,
|
|
163
|
+
100% {
|
|
164
|
+
transform: scaleY(1);
|
|
165
|
+
opacity: 0;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
/* Smoke rolling out over the pad all the way round at lift-off. */
|
|
169
|
+
.smoke {
|
|
170
|
+
@include centered(0px, 0px);
|
|
171
|
+
transform: translateY($pad-top - 8px);
|
|
172
|
+
i {
|
|
173
|
+
position: absolute;
|
|
174
|
+
left: -14px;
|
|
175
|
+
top: -14px;
|
|
176
|
+
width: 28px;
|
|
177
|
+
height: 28px;
|
|
178
|
+
border-radius: 50%;
|
|
179
|
+
background: radial-gradient(circle, tint($detail), transparent 70%);
|
|
180
|
+
opacity: 0;
|
|
181
|
+
@include loop(launch-smoke $round ease-out infinite);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
@keyframes launch-smoke {
|
|
185
|
+
0%,
|
|
186
|
+
60% {
|
|
187
|
+
opacity: 0;
|
|
188
|
+
transform: rotateY(var(--angle)) translateZ(0) rotateY(calc(-1 * var(--angle))) scale(0.4);
|
|
189
|
+
}
|
|
190
|
+
64% {
|
|
191
|
+
opacity: 1;
|
|
192
|
+
}
|
|
193
|
+
86%,
|
|
194
|
+
100% {
|
|
195
|
+
opacity: 0;
|
|
196
|
+
transform: rotateY(var(--angle)) translateZ(64px) rotateY(calc(-1 * var(--angle))) scale(2);
|
|
22
197
|
}
|
|
23
198
|
}
|
|
24
199
|
/* The countdown, beside the rocket: a ring that runs out over the three seconds, the numbers inside it. */
|
|
25
200
|
.countdown {
|
|
26
201
|
position: absolute;
|
|
27
|
-
left: -
|
|
28
|
-
top: -
|
|
202
|
+
left: -118px;
|
|
203
|
+
top: -92px;
|
|
29
204
|
width: 64px;
|
|
30
205
|
height: 64px;
|
|
206
|
+
transform: translateZ(30px);
|
|
31
207
|
opacity: 0;
|
|
32
208
|
@include loop(launch-countdown $round ease-out infinite);
|
|
33
209
|
}
|
|
@@ -35,12 +211,12 @@ $round: 6s;
|
|
|
35
211
|
0%,
|
|
36
212
|
58% {
|
|
37
213
|
opacity: 1;
|
|
38
|
-
transform: scale(1);
|
|
214
|
+
transform: translateZ(30px) scale(1);
|
|
39
215
|
}
|
|
40
216
|
66%,
|
|
41
217
|
100% {
|
|
42
218
|
opacity: 0;
|
|
43
|
-
transform: scale(0.8);
|
|
219
|
+
transform: translateZ(30px) scale(0.8);
|
|
44
220
|
}
|
|
45
221
|
}
|
|
46
222
|
.ring {
|
|
@@ -50,7 +226,7 @@ $round: 6s;
|
|
|
50
226
|
transform: rotate(-90deg);
|
|
51
227
|
circle {
|
|
52
228
|
fill: none;
|
|
53
|
-
stroke: tint(
|
|
229
|
+
stroke: tint($faint);
|
|
54
230
|
stroke-width: 2;
|
|
55
231
|
}
|
|
56
232
|
.time {
|
|
@@ -102,154 +278,3 @@ $round: 6s;
|
|
|
102
278
|
filter: blur(6px);
|
|
103
279
|
}
|
|
104
280
|
}
|
|
105
|
-
/* The launch pad, and the smoke that spreads over it at lift-off. */
|
|
106
|
-
.pad {
|
|
107
|
-
position: absolute;
|
|
108
|
-
left: -50px;
|
|
109
|
-
top: 74px;
|
|
110
|
-
width: 100px;
|
|
111
|
-
height: 4px;
|
|
112
|
-
border-radius: 2px;
|
|
113
|
-
background: tint(30%);
|
|
114
|
-
i {
|
|
115
|
-
position: absolute;
|
|
116
|
-
left: 50%;
|
|
117
|
-
top: -14px;
|
|
118
|
-
width: 26px;
|
|
119
|
-
height: 26px;
|
|
120
|
-
margin-left: -13px;
|
|
121
|
-
border-radius: 50%;
|
|
122
|
-
background: radial-gradient(circle, tint(40%), transparent 70%);
|
|
123
|
-
opacity: 0;
|
|
124
|
-
@include loop(launch-smoke $round ease-out infinite);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
@keyframes launch-smoke {
|
|
128
|
-
0%,
|
|
129
|
-
60% {
|
|
130
|
-
opacity: 0;
|
|
131
|
-
transform: translateX(0) scale(0.4);
|
|
132
|
-
}
|
|
133
|
-
64% {
|
|
134
|
-
opacity: 1;
|
|
135
|
-
}
|
|
136
|
-
84%,
|
|
137
|
-
100% {
|
|
138
|
-
opacity: 0;
|
|
139
|
-
transform: translateX(calc(var(--side) * 70px)) translateY(-10px) scale(2.2);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
/* The rocket: standing on the pad, rising faster and faster at zero, then the next one appearing in its place. */
|
|
143
|
-
.rocket {
|
|
144
|
-
position: absolute;
|
|
145
|
-
left: -20px;
|
|
146
|
-
top: -18px;
|
|
147
|
-
width: 40px;
|
|
148
|
-
height: 92px;
|
|
149
|
-
@include loop(launch-rocket $round infinite);
|
|
150
|
-
svg {
|
|
151
|
-
position: absolute;
|
|
152
|
-
inset: 0;
|
|
153
|
-
overflow: visible;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
@keyframes launch-rocket {
|
|
157
|
-
0%,
|
|
158
|
-
60% {
|
|
159
|
-
opacity: 1;
|
|
160
|
-
transform: translateY(0);
|
|
161
|
-
}
|
|
162
|
-
63% {
|
|
163
|
-
transform: translateY(2px);
|
|
164
|
-
animation-timing-function: cubic-bezier(0.55, 0, 0.9, 0.4);
|
|
165
|
-
}
|
|
166
|
-
84% {
|
|
167
|
-
opacity: 1;
|
|
168
|
-
transform: translateY(-340px);
|
|
169
|
-
}
|
|
170
|
-
85% {
|
|
171
|
-
opacity: 0;
|
|
172
|
-
transform: translateY(0) scale(0.6);
|
|
173
|
-
}
|
|
174
|
-
92% {
|
|
175
|
-
opacity: 0;
|
|
176
|
-
transform: translateY(0) scale(0.6);
|
|
177
|
-
animation-timing-function: $ease;
|
|
178
|
-
}
|
|
179
|
-
100% {
|
|
180
|
-
opacity: 1;
|
|
181
|
-
transform: translateY(0) scale(1);
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
.body {
|
|
185
|
-
fill: var(--background);
|
|
186
|
-
stroke: var(--foreground);
|
|
187
|
-
stroke-width: 1.5;
|
|
188
|
-
}
|
|
189
|
-
.window {
|
|
190
|
-
fill: tint(30%);
|
|
191
|
-
stroke: var(--foreground);
|
|
192
|
-
stroke-width: 1.5;
|
|
193
|
-
}
|
|
194
|
-
.fin {
|
|
195
|
-
fill: tint(40%);
|
|
196
|
-
stroke: var(--foreground);
|
|
197
|
-
stroke-width: 1.2;
|
|
198
|
-
stroke-linejoin: round;
|
|
199
|
-
}
|
|
200
|
-
/* The engine's flame: lit at zero, flickering as it burns. */
|
|
201
|
-
.flame {
|
|
202
|
-
fill: var(--foreground);
|
|
203
|
-
filter: drop-shadow(0 0 6px tint(80%));
|
|
204
|
-
transform-box: fill-box;
|
|
205
|
-
transform-origin: 50% 0;
|
|
206
|
-
transform: scaleY(0);
|
|
207
|
-
@include loop(launch-flame $round linear infinite);
|
|
208
|
-
}
|
|
209
|
-
@keyframes launch-flame {
|
|
210
|
-
0%,
|
|
211
|
-
58% {
|
|
212
|
-
transform: scaleY(0);
|
|
213
|
-
}
|
|
214
|
-
61% {
|
|
215
|
-
transform: scaleY(1.2);
|
|
216
|
-
}
|
|
217
|
-
@for $step from 0 through 10 {
|
|
218
|
-
#{62% + $step * 2%} {
|
|
219
|
-
transform: scaleY(if($step % 2 == 0, 0.8, 1.25));
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
84%,
|
|
223
|
-
100% {
|
|
224
|
-
transform: scaleY(0);
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
/* The trail left behind, stretching as the rocket climbs and fading. */
|
|
228
|
-
.trail {
|
|
229
|
-
position: absolute;
|
|
230
|
-
left: 50%;
|
|
231
|
-
top: 86px;
|
|
232
|
-
width: 3px;
|
|
233
|
-
height: 120px;
|
|
234
|
-
margin-left: -1.5px;
|
|
235
|
-
background: linear-gradient(180deg, tint(70%), transparent);
|
|
236
|
-
transform-origin: top;
|
|
237
|
-
transform: scaleY(0);
|
|
238
|
-
@include loop(launch-trail $round ease-in infinite);
|
|
239
|
-
}
|
|
240
|
-
@keyframes launch-trail {
|
|
241
|
-
0%,
|
|
242
|
-
62% {
|
|
243
|
-
transform: scaleY(0);
|
|
244
|
-
opacity: 1;
|
|
245
|
-
}
|
|
246
|
-
80% {
|
|
247
|
-
transform: scaleY(1.6);
|
|
248
|
-
opacity: 1;
|
|
249
|
-
}
|
|
250
|
-
84%,
|
|
251
|
-
100% {
|
|
252
|
-
transform: scaleY(1.6);
|
|
253
|
-
opacity: 0;
|
|
254
|
-
}
|
|
255
|
-
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:email-sway 9s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(10deg) rotateY(18deg)}@keyframes email-sway{0%,100%{transform:rotateX(10deg) rotateY(22deg)}50%{transform:rotateX(4deg) rotateY(6deg)}}.envelope{position:absolute;left:50%;top:50%;width:136px;height:88px;margin:-44px 0 0 -68px;transform-style:preserve-3d;transform:translate3d(0, -26px, -30px)}.letter{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:email-sway 9s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(10deg) rotateY(18deg)}@keyframes email-sway{0%,100%{transform:rotateX(10deg) rotateY(22deg)}50%{transform:rotateX(4deg) rotateY(6deg)}}.envelope{position:absolute;left:50%;top:50%;width:136px;height:88px;margin:-44px 0 0 -68px;transform-style:preserve-3d;transform:translate3d(0, -26px, -30px)}.letter{justify-content:stretch;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:email-letter 6s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.letter{animation:none}}.letter{position:absolute;inset:8px 12px 6px;display:grid;align-content:start;gap:6px;padding:10px;border-radius:3px;background:var(--background);transform:translateZ(1px)}.letter i{height:4px;border-radius:2px;background:color-mix(in srgb, var(--foreground) 45%, transparent)}.letter i:first-child{width:50%;background:color-mix(in srgb, var(--foreground) 70%, transparent)}.letter i:last-child{width:70%}@keyframes email-letter{0%,22%{transform:translate3d(0, 0, 1px)}42%,70%{transform:translate3d(0, -42px, 1px)}88%,100%{transform:translate3d(0, 0, 1px)}}.pocket{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:4px;background:linear-gradient(to top right, transparent calc(50% - 0.5px), color-mix(in srgb, var(--foreground) 45%, transparent) 50%, transparent calc(50% + 0.5px)) left bottom/50% 100% no-repeat,linear-gradient(to top left, transparent calc(50% - 0.5px), color-mix(in srgb, var(--foreground) 45%, transparent) 50%, transparent calc(50% + 0.5px)) right bottom/50% 100% no-repeat,color-mix(in srgb, var(--foreground) 9%, var(--background));transform:translateZ(4px)}.flap{animation:email-flap 6s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.flap{animation:none}}.flap{position:absolute;inset:0 0 auto;height:52px;background:color-mix(in srgb, var(--foreground) 16%, var(--background));clip-path:polygon(0 0, 100% 0, 50% 100%);transform-origin:top;transform:translateZ(5px) rotateX(0deg)}@keyframes email-flap{0%,10%{transform:translateZ(5px) rotateX(0deg)}28%,80%{transform:translateZ(-2px) rotateX(-180deg)}96%,100%{transform:translateZ(5px) rotateX(0deg)}}.address{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;left:50%;top:50%;display:flex;align-items:center;height:34px;padding:0 14px;border-radius:999px;background:var(--background);box-shadow:0 18px 40px -18px color-mix(in srgb, var(--foreground) 35%, transparent);font-size:13px;white-space:nowrap;transform:translate3d(-50%, 44px, 40px)}.address b{margin-left:1px;font-weight:600;color:var(--foreground)}.names{display:inline-grid;justify-items:end;color:color-mix(in srgb, var(--foreground) 45%, transparent)}.names span{grid-area:1/1;opacity:0;animation:email-name 9s cubic-bezier(0.22, 1, 0.36, 1) infinite backwards}@media(prefers-reduced-motion: reduce){.names span{animation:none}}@media(prefers-reduced-motion: reduce){.names span:last-child{opacity:1}}@keyframes email-name{0%{opacity:0;transform:translateY(8px)}6%,30%{opacity:1;transform:translateY(0)}36%,100%{opacity:0;transform:translateY(-8px)}}
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
}
|
|
22
22
|
/* The letter, behind the pocket, rising out while the flap is open. */
|
|
23
23
|
.letter {
|
|
24
|
-
|
|
24
|
+
justify-content: stretch;
|
|
25
|
+
@include face;
|
|
25
26
|
@include loop(email-letter 6s $ease infinite);
|
|
26
27
|
position: absolute;
|
|
27
28
|
inset: 8px 12px 6px;
|
|
@@ -35,10 +36,10 @@
|
|
|
35
36
|
i {
|
|
36
37
|
height: 4px;
|
|
37
38
|
border-radius: 2px;
|
|
38
|
-
background: tint(
|
|
39
|
+
background: tint($detail);
|
|
39
40
|
&:first-child {
|
|
40
41
|
width: 50%;
|
|
41
|
-
background: tint(
|
|
42
|
+
background: tint($strong);
|
|
42
43
|
}
|
|
43
44
|
&:last-child {
|
|
44
45
|
width: 70%;
|
|
@@ -61,16 +62,16 @@
|
|
|
61
62
|
}
|
|
62
63
|
/* The envelope's front: a pocket with the folds meeting in the middle. */
|
|
63
64
|
.pocket {
|
|
64
|
-
@include face
|
|
65
|
+
@include face;
|
|
65
66
|
position: absolute;
|
|
66
67
|
inset: 0;
|
|
67
68
|
border-radius: 4px;
|
|
68
69
|
background:
|
|
69
|
-
linear-gradient(to top right, transparent calc(50% - 0.5px), tint(
|
|
70
|
+
linear-gradient(to top right, transparent calc(50% - 0.5px), tint($detail) 50%, transparent calc(50% + 0.5px)) left
|
|
70
71
|
bottom / 50% 100% no-repeat,
|
|
71
|
-
linear-gradient(to top left, transparent calc(50% - 0.5px), tint(
|
|
72
|
+
linear-gradient(to top left, transparent calc(50% - 0.5px), tint($detail) 50%, transparent calc(50% + 0.5px)) right
|
|
72
73
|
bottom / 50% 100% no-repeat,
|
|
73
|
-
|
|
74
|
+
surface();
|
|
74
75
|
transform: translateZ(4px);
|
|
75
76
|
}
|
|
76
77
|
/* The flap, hinged along the top, folding up and back. */
|
|
@@ -79,7 +80,7 @@
|
|
|
79
80
|
position: absolute;
|
|
80
81
|
inset: 0 0 auto;
|
|
81
82
|
height: 52px;
|
|
82
|
-
background:
|
|
83
|
+
background: surface($raised);
|
|
83
84
|
clip-path: polygon(0 0, 100% 0, 50% 100%);
|
|
84
85
|
transform-origin: top;
|
|
85
86
|
transform: translateZ(5px) rotateX(0deg);
|
|
@@ -100,7 +101,7 @@
|
|
|
100
101
|
}
|
|
101
102
|
/* The address, floating in front: the name changes, the domain stays. */
|
|
102
103
|
.address {
|
|
103
|
-
@include face
|
|
104
|
+
@include face;
|
|
104
105
|
position: absolute;
|
|
105
106
|
left: 50%;
|
|
106
107
|
top: 50%;
|
|
@@ -110,7 +111,7 @@
|
|
|
110
111
|
padding: 0 14px;
|
|
111
112
|
border-radius: 999px;
|
|
112
113
|
background: var(--background);
|
|
113
|
-
box-shadow: 0 18px 40px -18px tint(
|
|
114
|
+
box-shadow: 0 18px 40px -18px tint($glow);
|
|
114
115
|
font-size: 13px;
|
|
115
116
|
white-space: nowrap;
|
|
116
117
|
transform: translate3d(-50%, 44px, 40px);
|
|
@@ -123,7 +124,7 @@
|
|
|
123
124
|
.names {
|
|
124
125
|
display: inline-grid;
|
|
125
126
|
justify-items: end;
|
|
126
|
-
color: tint(
|
|
127
|
+
color: tint($detail);
|
|
127
128
|
span {
|
|
128
129
|
grid-area: 1 / 1;
|
|
129
130
|
opacity: 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:pwa-sway 12s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(-14deg) rotateY(18deg)}@media(max-width: 480px){.object{scale:.8}}@keyframes pwa-sway{0%,100%{transform:rotateX(-14deg) rotateY(22deg)}50%{transform:rotateX(-10deg) rotateY(-22deg)}}.codebase{--width: 46px;--height: 46px;--depth: 46px;--radius: 6px;--
|
|
1
|
+
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:pwa-sway 12s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(-14deg) rotateY(18deg)}@media(max-width: 480px){.object{scale:.8}}@keyframes pwa-sway{0%,100%{transform:rotateX(-14deg) rotateY(22deg)}50%{transform:rotateX(-10deg) rotateY(-22deg)}}.codebase{--width: 46px;--height: 46px;--depth: 46px;--radius: 6px;--top-amount: 16%;transform:translateY(34px);animation:pwa-pulse 4s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.codebase{animation:none}}@keyframes pwa-pulse{0%,100%{transform:translateY(34px) scale3d(1, 1, 1)}8%{transform:translateY(34px) scale3d(1.12, 1.12, 1.12)}20%{transform:translateY(34px) scale3d(1, 1, 1)}}.code{position:absolute;inset:0}.code i{position:absolute;top:50%;width:8px;height:8px;margin-top:-4px;border:solid var(--foreground);border-width:0 0 2px 2px}.code i:nth-child(1){left:9px;transform:rotate(45deg)}.code i:nth-child(2){left:50%;width:2px;height:16px;margin:-8px 0 0 -1px;border:0;background:var(--foreground);transform:rotate(20deg)}.code i:nth-child(3){right:9px;transform:rotate(-135deg)}.place{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d}.device{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;padding:7px;border-radius:6px}.device[data-kind=computer]{width:156px;height:98px;left:-78px;top:-49px}.device[data-kind=tablet]{width:78px;height:104px;left:-39px;top:-52px;border-radius:9px;transform:rotateY(28deg)}.device[data-kind=phone]{width:46px;height:90px;left:-23px;top:-45px;padding:9px 5px;border-radius:9px;transform:rotateY(-28deg)}.stand{position:absolute;left:-22px;top:49px;width:44px;height:14px;border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);border-top:0;border-radius:0 0 6px 6px;background:color-mix(in srgb, var(--foreground) 10%, transparent)}.app{align-items:stretch;align-content:stretch;justify-content:stretch;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:6px 1fr .7fr;gap:4px;height:100%}.app i{border-radius:2px;background:color-mix(in srgb, var(--foreground) 20%, transparent);animation:pwa-light 4s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.app i{animation:none}}.header{grid-column:1/-1}.picture{grid-column:1/-1}@keyframes pwa-light{0%,30%,100%{background:color-mix(in srgb, var(--foreground) 20%, transparent)}44%,64%{background:color-mix(in srgb, var(--foreground) 45%, transparent)}}.packet{position:absolute;left:50%;top:50%;width:10px;height:10px;margin:-5px 0 0 -5px;transform-style:preserve-3d;border-radius:3px;background:var(--foreground);opacity:0;animation:pwa-send 4s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.packet{animation:none}}@keyframes pwa-send{0%,6%{opacity:0;transform:translate3d(0, 34px, 0) scale(0.6)}12%{opacity:1}38%{opacity:1;transform:translate3d(var(--to-x), var(--to-y), var(--to-z)) scale(1)}46%,100%{opacity:0;transform:translate3d(var(--to-x), var(--to-y), var(--to-z)) scale(1.6)}}
|
|
@@ -27,9 +27,7 @@ $period: 4s;
|
|
|
27
27
|
--height: 46px;
|
|
28
28
|
--depth: 46px;
|
|
29
29
|
--radius: 6px;
|
|
30
|
-
--
|
|
31
|
-
--top-amount: 22%;
|
|
32
|
-
--edge-amount: 70%;
|
|
30
|
+
--top-amount: #{$raised};
|
|
33
31
|
transform: translateY(34px);
|
|
34
32
|
@include loop(pwa-pulse $period $ease infinite);
|
|
35
33
|
}
|
|
@@ -81,7 +79,7 @@ $period: 4s;
|
|
|
81
79
|
}
|
|
82
80
|
/* Each device faces the codebase a little. */
|
|
83
81
|
.device {
|
|
84
|
-
@include face
|
|
82
|
+
@include face;
|
|
85
83
|
position: absolute;
|
|
86
84
|
padding: 7px;
|
|
87
85
|
border-radius: 6px;
|
|
@@ -115,13 +113,16 @@ $period: 4s;
|
|
|
115
113
|
top: 49px;
|
|
116
114
|
width: 44px;
|
|
117
115
|
height: 14px;
|
|
118
|
-
border: 1px solid tint(
|
|
116
|
+
border: 1px solid tint($edge);
|
|
119
117
|
border-top: 0;
|
|
120
118
|
border-radius: 0 0 6px 6px;
|
|
121
|
-
background: tint(
|
|
119
|
+
background: tint($hint);
|
|
122
120
|
}
|
|
123
121
|
/* The same app on every screen; all of them light up when the packets land. */
|
|
124
122
|
.app {
|
|
123
|
+
align-items: stretch;
|
|
124
|
+
align-content: stretch;
|
|
125
|
+
justify-content: stretch;
|
|
125
126
|
display: grid;
|
|
126
127
|
grid-template-columns: 1fr 1fr;
|
|
127
128
|
grid-template-rows: 6px 1fr 0.7fr;
|
|
@@ -129,7 +130,7 @@ $period: 4s;
|
|
|
129
130
|
height: 100%;
|
|
130
131
|
i {
|
|
131
132
|
border-radius: 2px;
|
|
132
|
-
background: tint(
|
|
133
|
+
background: tint($faint);
|
|
133
134
|
@include loop(pwa-light $period $ease infinite);
|
|
134
135
|
}
|
|
135
136
|
}
|
|
@@ -143,11 +144,11 @@ $period: 4s;
|
|
|
143
144
|
0%,
|
|
144
145
|
30%,
|
|
145
146
|
100% {
|
|
146
|
-
background: tint(
|
|
147
|
+
background: tint($faint);
|
|
147
148
|
}
|
|
148
149
|
44%,
|
|
149
150
|
64% {
|
|
150
|
-
background: tint(
|
|
151
|
+
background: tint($detail);
|
|
151
152
|
}
|
|
152
153
|
}
|
|
153
154
|
/* The app flying from the codebase to each device, all at the same moment. */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Rebranding:
|
|
3
|
-
* and
|
|
2
|
+
* Rebranding: the same brand, brought up to date. The dated mark (a heavy, double-ringed badge with a band across it
|
|
3
|
+
* and a chunky name) turns and reshapes into the fresh one (a clean diamond and a fine name), keeping its center and
|
|
4
|
+
* its place, and the change rolls out to the business card and the app icon behind it. Then it starts over.
|
|
4
5
|
*/
|
|
5
6
|
export declare function Rebranding(): 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/rebranding/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/rebranding/index.tsx"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,wBAAgB,UAAU,gCAezB"}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import styles from "./index.module.css";
|
|
3
|
+
/** Where the brand shows, besides its main sign: a business card and an app icon, updated after it in turn. */
|
|
4
|
+
const TOUCHPOINTS = ["card", "icon"];
|
|
3
5
|
/**
|
|
4
|
-
* Rebranding:
|
|
5
|
-
* and
|
|
6
|
+
* Rebranding: the same brand, brought up to date. The dated mark (a heavy, double-ringed badge with a band across it
|
|
7
|
+
* and a chunky name) turns and reshapes into the fresh one (a clean diamond and a fine name), keeping its center and
|
|
8
|
+
* its place, and the change rolls out to the business card and the app icon behind it. Then it starts over.
|
|
6
9
|
*/
|
|
7
10
|
export function Rebranding() {
|
|
8
|
-
return (
|
|
11
|
+
return (_jsxs("div", { className: styles.object, children: [TOUCHPOINTS.map((touchpoint) => (_jsxs("div", { className: styles.touchpoint, "data-touchpoint": touchpoint, children: [_jsx("i", { className: styles.mark }), _jsx("i", { className: styles.name })] }, touchpoint))), _jsxs("div", { className: styles.sign, children: [_jsx("i", { className: styles.mark }), _jsx("i", { className: styles.name })] })] }));
|
|
9
12
|
}
|
|
10
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/rebranding/index.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/rebranding/index.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,+GAA+G;AAC/G,MAAM,WAAW,GAAG,CAAC,MAAM,EAAE,MAAM,CAAU,CAAC;AAE9C;;;;GAIG;AACH,MAAM,UAAU,UAAU;IACxB,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,MAAM,aAC1B,WAAW,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CAC/B,eAAsB,SAAS,EAAE,MAAM,CAAC,UAAU,qBAAmB,UAAU,aAC7E,YAAG,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,EAC7B,YAAG,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,KAFrB,UAAU,CAGd,CACP,CAAC,EACF,eAAK,SAAS,EAAE,MAAM,CAAC,IAAI,aACzB,YAAG,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,EAC7B,YAAG,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,IACzB,IACF,CACP,CAAC;AACJ,CAAC"}
|