@sharadox/sharadox-web-library 0.30.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.js +1 -1
- package/distribution/component/service-object/product-launch/index.js.map +1 -1
- package/distribution/component/service-object/product-launch/index.module.css +1 -1
- package/distribution/component/service-object/product-launch/index.module.scss +8 -10
- package/distribution/component/service-object/professional-email/index.module.css +1 -1
- package/distribution/component/service-object/professional-email/index.module.scss +12 -11
- package/distribution/component/service-object/progressive-web-application/index.module.css +1 -1
- package/distribution/component/service-object/progressive-web-application/index.module.scss +10 -9
- package/distribution/component/service-object/rebranding/index.d.ts +3 -2
- package/distribution/component/service-object/rebranding/index.d.ts.map +1 -1
- package/distribution/component/service-object/rebranding/index.js +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 +1 -0
- package/package.json +2 -2
|
@@ -30,8 +30,6 @@ $pad-top: 52px;
|
|
|
30
30
|
--height: 10px;
|
|
31
31
|
--depth: 96px;
|
|
32
32
|
--radius: 3px;
|
|
33
|
-
--fill-amount: 8%;
|
|
34
|
-
--edge-amount: 50%;
|
|
35
33
|
transform: translateY($pad-top + 5px);
|
|
36
34
|
}
|
|
37
35
|
/* The rocket stands on the pad, turning slowly on its axis; at zero it rises, faster and faster, out of sight. */
|
|
@@ -76,8 +74,8 @@ $pad-top: 52px;
|
|
|
76
74
|
position: absolute;
|
|
77
75
|
top: -$body;
|
|
78
76
|
height: $body;
|
|
79
|
-
background:
|
|
80
|
-
border-top: 1px solid tint(
|
|
77
|
+
background: surface(var(--light));
|
|
78
|
+
border-top: 1px solid tint($edge);
|
|
81
79
|
}
|
|
82
80
|
.window {
|
|
83
81
|
position: absolute;
|
|
@@ -96,7 +94,7 @@ $pad-top: 52px;
|
|
|
96
94
|
bottom: $body;
|
|
97
95
|
transform-origin: 50% 100%;
|
|
98
96
|
clip-path: polygon(50% 0, 100% 100%, 0 100%);
|
|
99
|
-
background:
|
|
97
|
+
background: surface(var(--light));
|
|
100
98
|
}
|
|
101
99
|
/* A fin standing out from the base. */
|
|
102
100
|
.fin {
|
|
@@ -106,7 +104,7 @@ $pad-top: 52px;
|
|
|
106
104
|
width: 16px;
|
|
107
105
|
height: 26px;
|
|
108
106
|
clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%);
|
|
109
|
-
background:
|
|
107
|
+
background: surface($raised);
|
|
110
108
|
}
|
|
111
109
|
/* The engine's flame: two crossed sheets of light under the rocket, lit at zero, flickering as it burns. */
|
|
112
110
|
.flame {
|
|
@@ -116,7 +114,7 @@ $pad-top: 52px;
|
|
|
116
114
|
width: 16px;
|
|
117
115
|
height: 30px;
|
|
118
116
|
clip-path: polygon(0 0, 100% 0, 50% 100%);
|
|
119
|
-
background: linear-gradient(180deg, var(--foreground), tint(
|
|
117
|
+
background: linear-gradient(180deg, var(--foreground), tint($faint));
|
|
120
118
|
transform-origin: 50% 0;
|
|
121
119
|
scale: 1 0;
|
|
122
120
|
@include loop(launch-flame $round linear infinite);
|
|
@@ -146,7 +144,7 @@ $pad-top: 52px;
|
|
|
146
144
|
top: 26px;
|
|
147
145
|
width: 3px;
|
|
148
146
|
height: 80px;
|
|
149
|
-
background: linear-gradient(180deg, tint(
|
|
147
|
+
background: linear-gradient(180deg, tint($strong), transparent);
|
|
150
148
|
transform-origin: top;
|
|
151
149
|
transform: scaleY(0);
|
|
152
150
|
@include loop(launch-trail $round ease-in infinite);
|
|
@@ -178,7 +176,7 @@ $pad-top: 52px;
|
|
|
178
176
|
width: 28px;
|
|
179
177
|
height: 28px;
|
|
180
178
|
border-radius: 50%;
|
|
181
|
-
background: radial-gradient(circle, tint(
|
|
179
|
+
background: radial-gradient(circle, tint($detail), transparent 70%);
|
|
182
180
|
opacity: 0;
|
|
183
181
|
@include loop(launch-smoke $round ease-out infinite);
|
|
184
182
|
}
|
|
@@ -228,7 +226,7 @@ $pad-top: 52px;
|
|
|
228
226
|
transform: rotate(-90deg);
|
|
229
227
|
circle {
|
|
230
228
|
fill: none;
|
|
231
|
-
stroke: tint(
|
|
229
|
+
stroke: tint($faint);
|
|
232
230
|
stroke-width: 2;
|
|
233
231
|
}
|
|
234
232
|
.time {
|
|
@@ -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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:rebranding-float 9s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(10deg) rotateY(-20deg)}@keyframes rebranding-float{0%,100%{transform:rotateX(10deg) rotateY(-24deg)}50%{transform:rotateX(4deg) rotateY(-8deg)}}.sign{position:absolute;left:50%;top:50%;width:150px;height:112px;margin:-56px 0 0 -75px;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;place-content:center;justify-items:center;gap:14px;border-radius:10px;box-shadow:0 24px 50px -24px color-mix(in srgb, var(--foreground) 35%, transparent);transform:translateZ(20px)}.touchpoint{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;display:grid;place-content:center;justify-items:center;gap:6px}.touchpoint[data-touchpoint=card]{left:-168px;top:-70px;width:84px;height:50px;border-radius:4px;transform:translateZ(-30px)}.touchpoint[data-touchpoint=icon]{left:96px;top:4px;width:52px;height:52px;border-radius:13px;transform:translateZ(-20px)}.touchpoint[data-touchpoint=icon] .name{display:none}.mark{--size: 40px;position:relative;width:var(--size);height:var(--size);box-sizing:border-box;border:calc(var(--size)/10) double color-mix(in srgb, var(--foreground) 45%, transparent);border-radius:50%;animation:rebranding-mark 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.mark{animation:none}}.mark::after{content:"";position:absolute;inset:38% -22%;border-radius:2px;background:color-mix(in srgb, var(--foreground) 45%, transparent);animation:rebranding-band 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.mark::after{animation:none}}.touchpoint .mark{--size: 20px}@keyframes rebranding-mark{0%,20%{border-style:double;border-color:color-mix(in srgb, var(--foreground) 45%, transparent);border-radius:50%;transform:rotate(0deg) scale(1)}26%{border-style:solid;border-color:var(--foreground);border-radius:30%;transform:rotate(120deg) scale(0.8)}34%,86%{border-style:solid;border-color:var(--foreground);border-radius:10%;transform:rotate(225deg) scale(0.78)}94%,100%{border-style:double;border-color:color-mix(in srgb, var(--foreground) 45%, transparent);border-radius:50%;transform:rotate(360deg) scale(1)}}@keyframes rebranding-band{0%,20%{transform:scale(1)}30%,90%{transform:scale(0)}96%,100%{transform:scale(1)}}.name{width:64px;height:8px;border-radius:1px;background:repeating-linear-gradient(90deg, color-mix(in srgb, var(--foreground) 45%, transparent) 0 7px, transparent 7px 9px);animation:rebranding-name 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.name{animation:none}}.touchpoint .name{width:40px;height:5px}@keyframes rebranding-name{0%,22%{background:repeating-linear-gradient(90deg, color-mix(in srgb, var(--foreground) 45%, transparent) 0 7px, transparent 7px 9px);transform:scaleY(1)}34%,86%{background:repeating-linear-gradient(90deg, var(--foreground) 0 7px, var(--foreground) 7px 9px);transform:scaleY(0.45)}94%,100%{background:repeating-linear-gradient(90deg, color-mix(in srgb, var(--foreground) 45%, transparent) 0 7px, transparent 7px 9px);transform:scaleY(1)}}.touchpoint[data-touchpoint=card] .mark,.touchpoint[data-touchpoint=card] .mark::after,.touchpoint[data-touchpoint=card] .name{animation-delay:.4s}.touchpoint[data-touchpoint=icon] .mark,.touchpoint[data-touchpoint=icon] .mark::after{animation-delay:.8s}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
@use "style/token" as *;
|
|
2
2
|
@use "style/object" as *;
|
|
3
3
|
|
|
4
|
-
/*
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
inherits: true;
|
|
8
|
-
initial-value: 0%;
|
|
9
|
-
}
|
|
4
|
+
/* One round: the dated brand (to 20%), the change (to 34%), the fresh brand (to 86%), and back for the next round. */
|
|
5
|
+
$round: 8s;
|
|
6
|
+
|
|
10
7
|
.object {
|
|
11
8
|
@include centered(0px, 0px);
|
|
12
9
|
@include loop(rebranding-float 9s ease-in-out infinite);
|
|
@@ -21,100 +18,152 @@
|
|
|
21
18
|
transform: rotateX(4deg) rotateY(-8deg);
|
|
22
19
|
}
|
|
23
20
|
}
|
|
24
|
-
.
|
|
25
|
-
|
|
26
|
-
@include
|
|
27
|
-
|
|
28
|
-
|
|
21
|
+
/* The main sign, in front. */
|
|
22
|
+
.sign {
|
|
23
|
+
@include centered(150px, 112px);
|
|
24
|
+
@include face;
|
|
25
|
+
display: grid;
|
|
26
|
+
place-content: center;
|
|
27
|
+
justify-items: center;
|
|
28
|
+
gap: 14px;
|
|
29
29
|
border-radius: 10px;
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
box-shadow: 0 24px 50px -24px tint($glow);
|
|
31
|
+
transform: translateZ(20px);
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
--rebranding-reveal: 0%;
|
|
37
|
-
}
|
|
38
|
-
42%,
|
|
39
|
-
76% {
|
|
40
|
-
--rebranding-reveal: 100%;
|
|
41
|
-
}
|
|
42
|
-
94%,
|
|
43
|
-
100% {
|
|
44
|
-
--rebranding-reveal: 0%;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
.before,
|
|
48
|
-
.after {
|
|
33
|
+
/* The other places the brand shows, behind: a business card up on the left, an app icon down on the right. */
|
|
34
|
+
.touchpoint {
|
|
35
|
+
@include face;
|
|
49
36
|
position: absolute;
|
|
50
|
-
inset: 0;
|
|
51
37
|
display: grid;
|
|
52
38
|
place-content: center;
|
|
53
39
|
justify-items: center;
|
|
54
|
-
gap:
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
40
|
+
gap: 6px;
|
|
41
|
+
&[data-touchpoint="card"] {
|
|
42
|
+
left: -168px;
|
|
43
|
+
top: -70px;
|
|
44
|
+
width: 84px;
|
|
45
|
+
height: 50px;
|
|
46
|
+
border-radius: 4px;
|
|
47
|
+
transform: translateZ(-30px);
|
|
48
|
+
}
|
|
49
|
+
&[data-touchpoint="icon"] {
|
|
50
|
+
left: 96px;
|
|
51
|
+
top: 4px;
|
|
52
|
+
width: 52px;
|
|
53
|
+
height: 52px;
|
|
54
|
+
border-radius: 13px;
|
|
55
|
+
transform: translateZ(-20px);
|
|
56
|
+
.name {
|
|
57
|
+
display: none;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
59
60
|
}
|
|
60
|
-
|
|
61
|
+
/* The mark: a dated badge (a double ring with a band across it) that turns and reshapes into a clean diamond. */
|
|
62
|
+
.mark {
|
|
63
|
+
--size: 40px;
|
|
61
64
|
position: relative;
|
|
62
|
-
width:
|
|
63
|
-
height:
|
|
65
|
+
width: var(--size);
|
|
66
|
+
height: var(--size);
|
|
67
|
+
box-sizing: border-box;
|
|
68
|
+
border: calc(var(--size) / 10) double tint($detail);
|
|
64
69
|
border-radius: 50%;
|
|
65
|
-
|
|
70
|
+
@include loop(rebranding-mark $round $ease infinite);
|
|
66
71
|
&::after {
|
|
67
72
|
content: "";
|
|
68
73
|
position: absolute;
|
|
69
|
-
inset:
|
|
74
|
+
inset: 38% -22%;
|
|
70
75
|
border-radius: 2px;
|
|
71
|
-
background: tint(
|
|
76
|
+
background: tint($detail);
|
|
77
|
+
@include loop(rebranding-band $round $ease infinite);
|
|
78
|
+
}
|
|
79
|
+
.touchpoint & {
|
|
80
|
+
--size: 20px;
|
|
72
81
|
}
|
|
73
82
|
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
@keyframes rebranding-mark {
|
|
84
|
+
0%,
|
|
85
|
+
20% {
|
|
86
|
+
border-style: double;
|
|
87
|
+
border-color: tint($detail);
|
|
88
|
+
border-radius: 50%;
|
|
89
|
+
transform: rotate(0deg) scale(1);
|
|
90
|
+
}
|
|
91
|
+
26% {
|
|
92
|
+
border-style: solid;
|
|
93
|
+
border-color: var(--foreground);
|
|
94
|
+
border-radius: 30%;
|
|
95
|
+
transform: rotate(120deg) scale(0.8);
|
|
96
|
+
}
|
|
97
|
+
34%,
|
|
98
|
+
86% {
|
|
99
|
+
border-style: solid;
|
|
100
|
+
border-color: var(--foreground);
|
|
101
|
+
border-radius: 10%;
|
|
102
|
+
transform: rotate(225deg) scale(0.78);
|
|
103
|
+
}
|
|
104
|
+
94%,
|
|
105
|
+
100% {
|
|
106
|
+
border-style: double;
|
|
107
|
+
border-color: tint($detail);
|
|
108
|
+
border-radius: 50%;
|
|
109
|
+
transform: rotate(360deg) scale(1);
|
|
110
|
+
}
|
|
85
111
|
}
|
|
86
|
-
.
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
112
|
+
/* The band across the badge, gone in the fresh mark. */
|
|
113
|
+
@keyframes rebranding-band {
|
|
114
|
+
0%,
|
|
115
|
+
20% {
|
|
116
|
+
transform: scale(1);
|
|
117
|
+
}
|
|
118
|
+
30%,
|
|
119
|
+
90% {
|
|
120
|
+
transform: scale(0);
|
|
121
|
+
}
|
|
122
|
+
96%,
|
|
123
|
+
100% {
|
|
124
|
+
transform: scale(1);
|
|
125
|
+
}
|
|
93
126
|
}
|
|
127
|
+
/* The name: chunky blocks that tighten into one fine line. */
|
|
94
128
|
.name {
|
|
95
|
-
width:
|
|
96
|
-
height:
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
129
|
+
width: 64px;
|
|
130
|
+
height: 8px;
|
|
131
|
+
border-radius: 1px;
|
|
132
|
+
background: repeating-linear-gradient(90deg, tint($detail) 0 7px, transparent 7px 9px);
|
|
133
|
+
@include loop(rebranding-name $round $ease infinite);
|
|
134
|
+
.touchpoint & {
|
|
135
|
+
width: 40px;
|
|
136
|
+
height: 5px;
|
|
137
|
+
}
|
|
100
138
|
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
139
|
+
@keyframes rebranding-name {
|
|
140
|
+
0%,
|
|
141
|
+
22% {
|
|
142
|
+
background: repeating-linear-gradient(90deg, tint($detail) 0 7px, transparent 7px 9px);
|
|
143
|
+
transform: scaleY(1);
|
|
144
|
+
}
|
|
145
|
+
34%,
|
|
146
|
+
86% {
|
|
147
|
+
background: repeating-linear-gradient(90deg, var(--foreground) 0 7px, var(--foreground) 7px 9px);
|
|
148
|
+
transform: scaleY(0.45);
|
|
149
|
+
}
|
|
150
|
+
94%,
|
|
151
|
+
100% {
|
|
152
|
+
background: repeating-linear-gradient(90deg, tint($detail) 0 7px, transparent 7px 9px);
|
|
153
|
+
transform: scaleY(1);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
/* The change rolls out: the card a beat after the sign, the icon a beat after the card. */
|
|
157
|
+
.touchpoint[data-touchpoint="card"] {
|
|
158
|
+
.mark,
|
|
159
|
+
.mark::after,
|
|
160
|
+
.name {
|
|
161
|
+
animation-delay: 0.4s;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
.touchpoint[data-touchpoint="icon"] {
|
|
165
|
+
.mark,
|
|
166
|
+
.mark::after {
|
|
167
|
+
animation-delay: 0.8s;
|
|
119
168
|
}
|
|
120
169
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:sales-sway 10s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:translateY(46px) rotateX(-24deg) rotateY(-36deg)}@keyframes sales-sway{0%,100%{transform:translateY(46px) rotateX(-24deg) rotateY(-40deg)}50%{transform:translateY(46px) rotateX(-20deg) rotateY(-12deg)}}.base{position:absolute;left:50%;top:50%;width:170px;height:60px;margin:-30px 0 0 -85px;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:sales-sway 10s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:translateY(46px) rotateX(-24deg) rotateY(-36deg)}@keyframes sales-sway{0%,100%{transform:translateY(46px) rotateX(-24deg) rotateY(-40deg)}50%{transform:translateY(46px) rotateX(-20deg) rotateY(-12deg)}}.base{position:absolute;left:50%;top:50%;width:170px;height:60px;margin:-30px 0 0 -85px;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:4px;transform:rotateX(90deg);background:radial-gradient(circle, color-mix(in srgb, var(--foreground) 20%, transparent) 1px, transparent 1.5px) 0 0/10px 10px}.column{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;transform-origin:0 0;animation:sales-grow 4.5s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.column{animation:none}}.column[data-bar="0"]{left:calc(50% + -64px);--target: 0.32;animation-delay:0s}.column[data-bar="1"]{left:calc(50% + -32px);--target: 0.5;animation-delay:0.12s}.column[data-bar="2"]{left:calc(50% + 0px);--target: 0.42;animation-delay:0.24s}.column[data-bar="3"]{left:calc(50% + 32px);--target: 0.72;animation-delay:0.36s}.column[data-bar="4"]{left:calc(50% + 64px);--target: 1;animation-delay:0.48s}@keyframes sales-grow{0%,8%{transform:scaleY(0.08)}45%,85%{transform:scaleY(var(--target))}100%{transform:scaleY(0.08)}}.bar{--width: 20px;--height: 130px;--depth: 20px;--top-amount: 45%;transform:translateY(-65px)}.column[data-bar="4"] .bar{--fill-amount: 16%;--top-amount: 100%}
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
}
|
|
19
19
|
.base {
|
|
20
20
|
@include centered(170px, 60px);
|
|
21
|
-
@include face
|
|
21
|
+
@include face;
|
|
22
22
|
border-radius: 4px;
|
|
23
23
|
transform: rotateX(90deg);
|
|
24
|
-
background: radial-gradient(circle, tint(
|
|
24
|
+
background: radial-gradient(circle, tint($faint) 1px, transparent 1.5px) 0 0 / 10px 10px;
|
|
25
25
|
}
|
|
26
26
|
$heights: 0.32, 0.5, 0.42, 0.72, 1;
|
|
27
27
|
.column {
|
|
@@ -53,13 +53,10 @@ $heights: 0.32, 0.5, 0.42, 0.72, 1;
|
|
|
53
53
|
--width: 20px;
|
|
54
54
|
--height: 130px;
|
|
55
55
|
--depth: 20px;
|
|
56
|
-
--
|
|
57
|
-
--edge-amount: 60%;
|
|
58
|
-
--top-amount: 45%;
|
|
56
|
+
--top-amount: #{$detail};
|
|
59
57
|
transform: translateY(-65px);
|
|
60
58
|
}
|
|
61
59
|
.column[data-bar="4"] .bar {
|
|
62
|
-
--fill-amount:
|
|
63
|
-
--
|
|
64
|
-
--top-amount: 90%;
|
|
60
|
+
--fill-amount: #{$raised};
|
|
61
|
+
--top-amount: 100%;
|
|
65
62
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:social-sway 12s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(-10deg) rotateY(-20deg)}@keyframes social-sway{0%,100%{transform:rotateX(-10deg) rotateY(-24deg)}50%{transform:rotateX(-6deg) rotateY(20deg)}}.post{position:absolute;left:50%;top:50%;width:112px;height:148px;margin:-74px 0 0 -56px;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:social-sway 12s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(-10deg) rotateY(-20deg)}@keyframes social-sway{0%,100%{transform:rotateX(-10deg) rotateY(-24deg)}50%{transform:rotateX(-6deg) rotateY(20deg)}}.post{justify-content:stretch;align-items:stretch;position:absolute;left:50%;top:50%;width:112px;height:148px;margin:-74px 0 0 -56px;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:auto 1fr auto;gap:7px;padding:8px;border-radius:10px}.older{transform:translate3d(-24px, -18px, -46px);opacity:.55}.newest{transform:translate3d(0, 6px, 0)}.author{justify-content:flex-start;display:flex;align-items:center;gap:6px}.author i:first-child{width:14px;height:14px;border-radius:50%;border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);background:color-mix(in srgb, var(--foreground) 20%, transparent)}.author i:last-child{width:44px;height:4px;border-radius:2px;background:color-mix(in srgb, var(--foreground) 20%, transparent)}.picture{border-radius:5px;background:linear-gradient(145deg, color-mix(in srgb, var(--foreground) 20%, transparent), color-mix(in srgb, var(--foreground) 10%, transparent));border:1px solid color-mix(in srgb, var(--foreground) 20%, transparent)}.actions{justify-content:flex-start;display:flex;align-items:center;gap:9px}.actions i{position:relative;width:10px;height:10px}.like{width:7px;height:7px;background:var(--foreground);transform:rotate(-45deg)}.like::before,.like::after{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:var(--foreground)}.like::before{top:-3.5px;left:0}.like::after{left:3.5px;top:0}.like{width:7px !important;height:7px !important;margin:2px 0 0 1px;animation:social-beat 1.4s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.like{animation:none}}@keyframes social-beat{0%,100%{transform:rotate(-45deg) scale(1)}15%{transform:rotate(-45deg) scale(1.3)}}.comment{border:1.5px solid color-mix(in srgb, var(--foreground) 50%, transparent);border-radius:50% 50% 50% 0}.share{border:solid color-mix(in srgb, var(--foreground) 50%, transparent);border-width:1.5px 1.5px 0 0;transform:rotate(45deg) scale(0.8)}.heart{position:absolute;top:40px;width:10px;height:10px;background:var(--foreground);transform:rotate(-45deg)}.heart::before,.heart::after{content:"";position:absolute;width:10px;height:10px;border-radius:50%;background:var(--foreground)}.heart::before{top:-5px;left:0}.heart::after{left:5px;top:0}.heart{opacity:0;animation:social-float 3.5s ease-out infinite}@media(prefers-reduced-motion: reduce){.heart{animation:none}}@keyframes social-float{0%{opacity:0;transform:translate3d(0, 0, 10px) rotate(-45deg) scale(0.5)}15%{opacity:1}100%{opacity:0;transform:translate3d(0, -110px, 70px) rotate(-45deg) scale(1.1)}}.calendar{align-content:stretch;justify-content:stretch;align-items:stretch;position:absolute;left:50%;top:50%;width:70px;height:54px;margin:-27px 0 0 -35px;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-columns:repeat(4, 1fr);gap:4px;padding:7px;border-radius:7px;transform:translate3d(-118px, 30px, 14px) rotateY(24deg)}.calendar i{border-radius:2px;border:1px solid color-mix(in srgb, var(--foreground) 20%, transparent);animation:social-plan 4.2s steps(1, end) infinite}@media(prefers-reduced-motion: reduce){.calendar i{animation:none}}@keyframes social-plan{0%,8%{background:rgba(0,0,0,0)}9%,100%{background:color-mix(in srgb, var(--foreground) 45%, transparent)}}.growth{position:absolute;left:50%;top:50%;width:58px;height:60px;margin:-30px 0 0 -29px;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:flex;align-items:flex-end;gap:5px;padding:8px;border-radius:7px;transform:translate3d(112px, -34px, 26px) rotateY(-22deg)}.growth i{flex:1;border-radius:2px;background:color-mix(in srgb, var(--foreground) 45%, transparent);transform-origin:bottom;animation:social-grow 3.2s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.growth i{animation:none}}.growth i:nth-child(1){height:30%}.growth i:nth-child(2){height:48%}.growth i:nth-child(3){height:70%}.growth i:nth-child(4){height:100%}@keyframes social-grow{0%{transform:scaleY(0.2)}50%,100%{transform:scaleY(1)}}
|