@sharadox/sharadox-web-library 0.30.0 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/distribution/component/about/feed/index.d.ts +8 -0
- package/distribution/component/about/feed/index.d.ts.map +1 -0
- package/distribution/component/about/feed/index.js +16 -0
- package/distribution/component/about/feed/index.js.map +1 -0
- package/distribution/component/about/feed/index.module.css +1 -0
- package/distribution/component/about/feed/index.module.scss +190 -0
- package/distribution/component/{touchpoint → about/feed}/type.d.ts +1 -1
- package/distribution/component/about/feed/type.d.ts.map +1 -0
- package/distribution/component/about/feed/type.js.map +1 -0
- package/distribution/component/about/index.d.ts +8 -0
- package/distribution/component/about/index.d.ts.map +1 -0
- package/distribution/component/about/index.js +20 -0
- package/distribution/component/about/index.js.map +1 -0
- package/distribution/component/about/index.module.css +1 -0
- package/distribution/component/about/index.module.scss +129 -0
- package/distribution/component/about/type.d.ts +5 -0
- package/distribution/component/about/type.d.ts.map +1 -0
- package/distribution/component/about/type.js.map +1 -0
- package/distribution/component/button/index.module.css +1 -1
- package/distribution/component/button/index.module.scss +2 -0
- package/distribution/component/capability/index.d.ts +1 -1
- package/distribution/component/capability/index.d.ts.map +1 -1
- package/distribution/component/capability/index.js +3 -2
- package/distribution/component/capability/index.js.map +1 -1
- package/distribution/component/capability/index.module.css +1 -1
- package/distribution/component/capability/index.module.scss +46 -0
- package/distribution/component/consent/index.module.css +1 -1
- package/distribution/component/consent/index.module.scss +2 -0
- package/distribution/component/contact/form/chip/index.module.css +1 -1
- package/distribution/component/contact/form/chip/index.module.scss +2 -0
- package/distribution/component/contact/form/index.d.ts +2 -1
- package/distribution/component/contact/form/index.d.ts.map +1 -1
- package/distribution/component/contact/form/index.js +3 -2
- package/distribution/component/contact/form/index.js.map +1 -1
- package/distribution/component/contact/form/index.module.css +1 -1
- package/distribution/component/contact/form/index.module.scss +30 -0
- package/distribution/component/contact/index.d.ts +1 -1
- package/distribution/component/contact/index.d.ts.map +1 -1
- package/distribution/component/contact/index.js +2 -2
- package/distribution/component/contact/index.js.map +1 -1
- package/distribution/component/contact/index.module.css +1 -1
- package/distribution/component/contact/index.module.scss +15 -5
- package/distribution/component/footer/index.d.ts +4 -3
- package/distribution/component/footer/index.d.ts.map +1 -1
- package/distribution/component/footer/index.js +6 -5
- package/distribution/component/footer/index.js.map +1 -1
- package/distribution/component/footer/index.module.css +1 -1
- package/distribution/component/footer/index.module.scss +33 -43
- package/distribution/component/hero/index.module.css +1 -1
- package/distribution/component/hero/index.module.scss +8 -0
- package/distribution/component/license/index.module.css +1 -1
- package/distribution/component/license/index.module.scss +7 -0
- package/distribution/component/navigation/index.module.css +1 -1
- package/distribution/component/navigation/index.module.scss +6 -0
- package/distribution/component/privacy-page/index.module.css +1 -1
- package/distribution/component/privacy-page/index.module.scss +7 -0
- package/distribution/component/process/index.d.ts +1 -1
- package/distribution/component/process/index.d.ts.map +1 -1
- package/distribution/component/process/index.js +13 -3
- package/distribution/component/process/index.js.map +1 -1
- package/distribution/component/process/index.module.css +1 -1
- package/distribution/component/process/index.module.scss +3 -0
- package/distribution/component/process/measure-stops/index.d.ts +10 -0
- package/distribution/component/process/measure-stops/index.d.ts.map +1 -0
- package/distribution/component/process/measure-stops/index.js +21 -0
- package/distribution/component/process/measure-stops/index.js.map +1 -0
- package/distribution/component/process/step/index.d.ts +2 -2
- package/distribution/component/process/step/index.d.ts.map +1 -1
- package/distribution/component/process/step/index.js +4 -5
- package/distribution/component/process/step/index.js.map +1 -1
- package/distribution/component/process/step/index.module.css +1 -1
- package/distribution/component/process/step/index.module.scss +1 -0
- package/distribution/component/process/step/type.d.ts +2 -2
- package/distribution/component/process/step/type.d.ts.map +1 -1
- package/distribution/component/section/index.module.css +1 -1
- package/distribution/component/section/index.module.scss +2 -0
- package/distribution/component/section-indicator/index.module.css +1 -1
- package/distribution/component/section-indicator/index.module.scss +19 -1
- package/distribution/component/service-card/index.module.css +1 -1
- package/distribution/component/service-card/index.module.scss +2 -0
- package/distribution/component/service-index/index.module.css +1 -1
- package/distribution/component/service-index/index.module.scss +3 -0
- package/distribution/component/service-object/android-application/index.module.css +1 -1
- package/distribution/component/service-object/android-application/index.module.scss +18 -17
- package/distribution/component/service-object/brand-awareness/index.module.css +1 -1
- package/distribution/component/service-object/brand-awareness/index.module.scss +7 -7
- package/distribution/component/service-object/branding/index.d.ts +3 -2
- package/distribution/component/service-object/branding/index.d.ts.map +1 -1
- package/distribution/component/service-object/branding/index.js +4 -3
- package/distribution/component/service-object/branding/index.js.map +1 -1
- package/distribution/component/service-object/branding/index.module.css +1 -1
- package/distribution/component/service-object/branding/index.module.scss +136 -80
- package/distribution/component/service-object/branding-design/index.d.ts +2 -2
- package/distribution/component/service-object/branding-design/index.d.ts.map +1 -1
- package/distribution/component/service-object/branding-design/index.js +34 -11
- package/distribution/component/service-object/branding-design/index.js.map +1 -1
- package/distribution/component/service-object/branding-design/index.module.css +1 -1
- package/distribution/component/service-object/branding-design/index.module.scss +12 -12
- package/distribution/component/service-object/cuboid/index.module.css +1 -1
- package/distribution/component/service-object/cuboid/index.module.scss +3 -3
- package/distribution/component/service-object/e-commerce/index.module.css +1 -1
- package/distribution/component/service-object/e-commerce/index.module.scss +3 -7
- package/distribution/component/service-object/hosting/index.d.ts +1 -1
- package/distribution/component/service-object/hosting/index.d.ts.map +1 -1
- package/distribution/component/service-object/hosting/index.js +2 -2
- package/distribution/component/service-object/hosting/index.js.map +1 -1
- package/distribution/component/service-object/hosting/index.module.css +1 -1
- package/distribution/component/service-object/hosting/index.module.scss +5 -46
- package/distribution/component/service-object/ios-application/index.module.css +1 -1
- package/distribution/component/service-object/ios-application/index.module.scss +11 -10
- package/distribution/component/service-object/lead-generation/index.module.css +1 -1
- package/distribution/component/service-object/lead-generation/index.module.scss +5 -5
- package/distribution/component/service-object/mark/index.module.scss +2 -1
- package/distribution/component/service-object/merchandise/index.module.css +1 -1
- package/distribution/component/service-object/merchandise/index.module.scss +9 -9
- package/distribution/component/service-object/person/index.module.css +1 -1
- package/distribution/component/service-object/person/index.module.scss +2 -1
- package/distribution/component/service-object/platform/index.module.css +1 -1
- package/distribution/component/service-object/platform/index.module.scss +15 -14
- package/distribution/component/service-object/print-design/index.d.ts +1 -1
- package/distribution/component/service-object/print-design/index.js +1 -1
- package/distribution/component/service-object/print-design/index.module.css +1 -1
- package/distribution/component/service-object/print-design/index.module.scss +13 -9
- package/distribution/component/service-object/product-launch/index.js +1 -1
- package/distribution/component/service-object/product-launch/index.js.map +1 -1
- package/distribution/component/service-object/product-launch/index.module.css +1 -1
- package/distribution/component/service-object/product-launch/index.module.scss +8 -10
- package/distribution/component/service-object/professional-email/index.module.css +1 -1
- package/distribution/component/service-object/professional-email/index.module.scss +12 -11
- package/distribution/component/service-object/progressive-web-application/index.module.css +1 -1
- package/distribution/component/service-object/progressive-web-application/index.module.scss +10 -9
- package/distribution/component/service-object/rebranding/index.d.ts +3 -2
- package/distribution/component/service-object/rebranding/index.d.ts.map +1 -1
- package/distribution/component/service-object/rebranding/index.js +19 -3
- package/distribution/component/service-object/rebranding/index.js.map +1 -1
- package/distribution/component/service-object/rebranding/index.module.css +1 -1
- package/distribution/component/service-object/rebranding/index.module.scss +65 -71
- package/distribution/component/service-object/sales-generation/index.module.css +1 -1
- package/distribution/component/service-object/sales-generation/index.module.scss +5 -8
- package/distribution/component/service-object/social-media-strategy/index.module.css +1 -1
- package/distribution/component/service-object/social-media-strategy/index.module.scss +20 -13
- package/distribution/component/service-object/website/index.module.css +1 -1
- package/distribution/component/service-object/website/index.module.scss +12 -8
- package/distribution/component/service-unlisted/index.module.css +1 -1
- package/distribution/component/service-unlisted/index.module.scss +5 -3
- package/distribution/component/services/index.module.css +1 -1
- package/distribution/component/services/index.module.scss +1 -0
- package/distribution/component/structured-data/index.js +1 -1
- package/distribution/component/structured-data/index.js.map +1 -1
- package/distribution/content/about/index.d.ts +100 -0
- package/distribution/content/about/index.d.ts.map +1 -0
- package/distribution/content/about/index.js +71 -0
- package/distribution/content/about/index.js.map +1 -0
- package/distribution/content/capability/index.d.ts +27 -1
- package/distribution/content/capability/index.d.ts.map +1 -1
- package/distribution/content/capability/index.js +13 -1
- package/distribution/content/capability/index.js.map +1 -1
- package/distribution/content/contact/index.d.ts +5 -5
- package/distribution/content/navigation/index.d.ts +4 -4
- package/distribution/content/navigation/index.js +1 -1
- package/distribution/content/navigation/index.js.map +1 -1
- package/distribution/content/section/index.d.ts +5 -5
- package/distribution/content/section/index.js +1 -1
- package/distribution/content/section/index.js.map +1 -1
- package/distribution/content/section-indicator/index.d.ts +4 -4
- package/distribution/content/section-indicator/index.d.ts.map +1 -1
- package/distribution/content/section-indicator/index.js +1 -8
- package/distribution/content/section-indicator/index.js.map +1 -1
- package/distribution/content/services/index.d.ts +26 -26
- package/distribution/content/services/index.d.ts.map +1 -1
- package/distribution/content/services/index.js +80 -30
- package/distribution/content/services/index.js.map +1 -1
- package/distribution/content/site/index.js +4 -4
- package/distribution/content/site/index.js.map +1 -1
- package/distribution/style/object/index.scss +30 -4
- package/llms.txt +4 -2
- package/package.json +3 -3
- package/distribution/component/statement/index.d.ts +0 -4
- package/distribution/component/statement/index.d.ts.map +0 -1
- package/distribution/component/statement/index.js +0 -10
- package/distribution/component/statement/index.js.map +0 -1
- package/distribution/component/statement/index.module.css +0 -1
- package/distribution/component/statement/index.module.scss +0 -10
- package/distribution/component/statement/type.d.ts +0 -4
- package/distribution/component/statement/type.d.ts.map +0 -1
- package/distribution/component/statement/type.js.map +0 -1
- package/distribution/component/touchpoint/index.d.ts +0 -7
- package/distribution/component/touchpoint/index.d.ts.map +0 -1
- package/distribution/component/touchpoint/index.js +0 -26
- package/distribution/component/touchpoint/index.js.map +0 -1
- package/distribution/component/touchpoint/index.module.css +0 -1
- package/distribution/component/touchpoint/index.module.scss +0 -75
- package/distribution/component/touchpoint/plate/index.d.ts +0 -4
- package/distribution/component/touchpoint/plate/index.d.ts.map +0 -1
- package/distribution/component/touchpoint/plate/index.js +0 -9
- package/distribution/component/touchpoint/plate/index.js.map +0 -1
- package/distribution/component/touchpoint/plate/index.module.css +0 -1
- package/distribution/component/touchpoint/plate/index.module.scss +0 -129
- package/distribution/component/touchpoint/plate/type.d.ts +0 -8
- package/distribution/component/touchpoint/plate/type.d.ts.map +0 -1
- package/distribution/component/touchpoint/plate/type.js.map +0 -1
- package/distribution/component/touchpoint/type.d.ts.map +0 -1
- package/distribution/component/touchpoint/type.js +0 -2
- package/distribution/component/touchpoint/type.js.map +0 -1
- package/distribution/content/statement/index.d.ts +0 -6
- package/distribution/content/statement/index.d.ts.map +0 -1
- package/distribution/content/statement/index.js +0 -6
- package/distribution/content/statement/index.js.map +0 -1
- package/distribution/content/touchpoint/index.d.ts +0 -37
- package/distribution/content/touchpoint/index.d.ts.map +0 -1
- package/distribution/content/touchpoint/index.js +0 -17
- package/distribution/content/touchpoint/index.js.map +0 -1
- /package/distribution/component/{statement → about/feed}/type.js +0 -0
- /package/distribution/component/{touchpoint/plate → about}/type.js +0 -0
|
@@ -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: one logo, before and after. A divider sways gently left and right across it: on its left the dated
|
|
3
|
+
* version (a lopsided star with a gradient, a hard drop shadow, a gloss and a chunky name), on its right the same
|
|
4
|
+
* star reimagined (even, crisp, in a fine ring, with a light name).
|
|
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":"AAmBA;;;;GAIG;AACH,wBAAgB,UAAU,gCA0BzB"}
|
|
@@ -1,10 +1,26 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import styles from "./index.module.css";
|
|
3
|
+
/** A five-pointed star around (50, 46) of the drawing, from each point's reach and the dents' between them. */
|
|
4
|
+
function star(outer, inner, turn) {
|
|
5
|
+
const corners = outer.flatMap((reach, index) => {
|
|
6
|
+
const at = (angle, radius) => {
|
|
7
|
+
const radians = ((angle + turn - 90) * Math.PI) / 180;
|
|
8
|
+
return `${(50 + radius * Math.cos(radians)).toFixed(1)} ${(46 + radius * Math.sin(radians)).toFixed(1)}`;
|
|
9
|
+
};
|
|
10
|
+
return [at(index * 72, reach), at(index * 72 + 36, inner[index])];
|
|
11
|
+
});
|
|
12
|
+
return `M${corners.join(" L")}Z`;
|
|
13
|
+
}
|
|
14
|
+
/** The dated star: lopsided points, tilted, as if drawn by hand. */
|
|
15
|
+
const BEFORE = star([37, 30, 40, 28, 35], [19, 15, 21, 14, 18], -9);
|
|
16
|
+
/** The same star, reimagined: even, balanced, upright. */
|
|
17
|
+
const AFTER = star([37, 37, 37, 37, 37], [15, 15, 15, 15, 15], 0);
|
|
3
18
|
/**
|
|
4
|
-
* Rebranding:
|
|
5
|
-
* and
|
|
19
|
+
* Rebranding: one logo, before and after. A divider sways gently left and right across it: on its left the dated
|
|
20
|
+
* version (a lopsided star with a gradient, a hard drop shadow, a gloss and a chunky name), on its right the same
|
|
21
|
+
* star reimagined (even, crisp, in a fine ring, with a light name).
|
|
6
22
|
*/
|
|
7
23
|
export function Rebranding() {
|
|
8
|
-
return (_jsx("div", { className: styles.object, children: _jsxs("div", { className: styles.tile, children: [_jsxs("
|
|
24
|
+
return (_jsx("div", { className: styles.object, children: _jsxs("div", { className: styles.tile, children: [_jsxs("svg", { className: styles.before, viewBox: "0 0 100 100", children: [_jsx("defs", { children: _jsxs("linearGradient", { id: "rebranding-bevel", x1: "0", y1: "0", x2: "1", y2: "1", children: [_jsx("stop", { offset: "0", className: styles.light }), _jsx("stop", { offset: "0.55", className: styles.middle }), _jsx("stop", { offset: "1", className: styles.dark })] }) }), _jsx("path", { className: styles.shadow, d: BEFORE, transform: "translate(5 5)" }), _jsx("path", { className: styles.dated, d: BEFORE, fill: "url(#rebranding-bevel)" }), _jsx("ellipse", { className: styles.gloss, cx: "40", cy: "34", rx: "9", ry: "4", transform: "rotate(-25 40 34)" }), _jsx("rect", { className: styles.chunky, x: "24", y: "86", width: "52", height: "8", rx: "1" })] }), _jsxs("svg", { className: styles.after, viewBox: "0 0 100 100", children: [_jsx("circle", { className: styles.ring, cx: "50", cy: "46", r: "42" }), _jsx("path", { className: styles.fresh, d: AFTER }), _jsx("rect", { className: styles.name, x: "34", y: "94", width: "32", height: "2", rx: "1" })] }), _jsx("span", { className: styles.divider })] }) }));
|
|
9
25
|
}
|
|
10
26
|
//# 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":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@property --rebranding-
|
|
1
|
+
@property --rebranding-split{syntax:"<percentage>";inherits:true;initial-value:50%}.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:rebranding-float 10s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(10deg) rotateY(-18deg)}@keyframes rebranding-float{0%,100%{transform:rotateX(10deg) rotateY(-22deg)}50%{transform:rotateX(4deg) rotateY(-6deg)}}.tile{position:absolute;left:50%;top:50%;width:208px;height:140px;margin:-70px 0 0 -104px;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);animation:rebranding-sway 4.5s ease-in-out infinite alternate}@media(prefers-reduced-motion: reduce){.tile{animation:none}}.tile{--rebranding-split: 50%;overflow:hidden;border-radius:10px;box-shadow:0 24px 50px -24px color-mix(in srgb, var(--foreground) 35%, transparent)}.tile svg{position:absolute;inset:10px 0 6px;width:100%;height:calc(100% - 16px)}@keyframes rebranding-sway{0%{--rebranding-split: 30%}100%{--rebranding-split: 70%}}.before{clip-path:inset(0 calc(100% - var(--rebranding-split)) 0 0)}.after{clip-path:inset(0 0 0 var(--rebranding-split))}.light{stop-color:color-mix(in srgb, var(--foreground) 55%, var(--background))}.middle{stop-color:color-mix(in srgb, var(--foreground) 25%, var(--background))}.dark{stop-color:color-mix(in srgb, var(--foreground) 8%, var(--background))}.shadow{fill:color-mix(in srgb, var(--foreground) 20%, transparent)}.dated{stroke:color-mix(in srgb, var(--foreground) 70%, transparent);stroke-width:3.5;stroke-linejoin:miter}.gloss{fill:color-mix(in srgb, var(--foreground) 70%, transparent);opacity:.6}.chunky{fill:color-mix(in srgb, var(--foreground) 45%, transparent)}.ring{fill:none;stroke:color-mix(in srgb, var(--foreground) 50%, transparent);stroke-width:.8}.fresh{fill:var(--foreground);stroke:var(--foreground);stroke-width:2;stroke-linejoin:round}.name{fill:var(--foreground)}.divider{position:absolute;inset:0 auto 0 var(--rebranding-split);width:2px;margin-left:-1px;background:var(--foreground);box-shadow:0 0 12px color-mix(in srgb, var(--foreground) 35%, transparent)}.divider::after{content:"";position:absolute;top:50%;left:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;border:2px solid var(--foreground);background:var(--background)}
|
|
@@ -1,110 +1,104 @@
|
|
|
1
1
|
@use "style/token" as *;
|
|
2
2
|
@use "style/object" as *;
|
|
3
3
|
|
|
4
|
-
/*
|
|
5
|
-
@property --rebranding-
|
|
4
|
+
/* Where the divider is, from the left: the dated logo shows to its left, the reimagined one to its right. */
|
|
5
|
+
@property --rebranding-split {
|
|
6
6
|
syntax: "<percentage>";
|
|
7
7
|
inherits: true;
|
|
8
|
-
initial-value:
|
|
8
|
+
initial-value: 50%;
|
|
9
9
|
}
|
|
10
10
|
.object {
|
|
11
11
|
@include centered(0px, 0px);
|
|
12
|
-
@include loop(rebranding-float
|
|
13
|
-
transform: rotateX(10deg) rotateY(-
|
|
12
|
+
@include loop(rebranding-float 10s ease-in-out infinite);
|
|
13
|
+
transform: rotateX(10deg) rotateY(-18deg);
|
|
14
14
|
}
|
|
15
15
|
@keyframes rebranding-float {
|
|
16
16
|
0%,
|
|
17
17
|
100% {
|
|
18
|
-
transform: rotateX(10deg) rotateY(-
|
|
18
|
+
transform: rotateX(10deg) rotateY(-22deg);
|
|
19
19
|
}
|
|
20
20
|
50% {
|
|
21
|
-
transform: rotateX(4deg) rotateY(-
|
|
21
|
+
transform: rotateX(4deg) rotateY(-6deg);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
.tile {
|
|
25
|
-
@include centered(
|
|
26
|
-
@include
|
|
27
|
-
|
|
25
|
+
@include centered(208px, 140px);
|
|
26
|
+
@include face;
|
|
27
|
+
@include loop(rebranding-sway 4.5s ease-in-out infinite alternate);
|
|
28
|
+
--rebranding-split: 50%;
|
|
28
29
|
overflow: hidden;
|
|
29
30
|
border-radius: 10px;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
--rebranding-reveal: 0%;
|
|
31
|
+
box-shadow: 0 24px 50px -24px tint($glow);
|
|
32
|
+
svg {
|
|
33
|
+
position: absolute;
|
|
34
|
+
inset: 10px 0 6px;
|
|
35
|
+
width: 100%;
|
|
36
|
+
height: calc(100% - 16px);
|
|
37
37
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
}
|
|
39
|
+
/* The divider sways a little either side of the middle, so both halves keep showing. */
|
|
40
|
+
@keyframes rebranding-sway {
|
|
41
|
+
0% {
|
|
42
|
+
--rebranding-split: 30%;
|
|
41
43
|
}
|
|
42
|
-
94%,
|
|
43
44
|
100% {
|
|
44
|
-
--rebranding-
|
|
45
|
+
--rebranding-split: 70%;
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
|
-
.before
|
|
48
|
+
.before {
|
|
49
|
+
clip-path: inset(0 calc(100% - var(--rebranding-split)) 0 0);
|
|
50
|
+
}
|
|
48
51
|
.after {
|
|
49
|
-
|
|
50
|
-
inset: 0;
|
|
51
|
-
display: grid;
|
|
52
|
-
place-content: center;
|
|
53
|
-
justify-items: center;
|
|
54
|
-
gap: 10px;
|
|
52
|
+
clip-path: inset(0 0 0 var(--rebranding-split));
|
|
55
53
|
}
|
|
56
|
-
/* The dated
|
|
57
|
-
.
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
.badge {
|
|
61
|
-
position: relative;
|
|
62
|
-
width: 40px;
|
|
63
|
-
height: 40px;
|
|
64
|
-
border-radius: 50%;
|
|
65
|
-
border: 4px double tint(35%);
|
|
66
|
-
&::after {
|
|
67
|
-
content: "";
|
|
68
|
-
position: absolute;
|
|
69
|
-
inset: 13px -10px;
|
|
70
|
-
border-radius: 2px;
|
|
71
|
-
background: tint(30%);
|
|
72
|
-
}
|
|
54
|
+
/* The dated logo: a bevel gradient, a thick outline, a hard offset shadow, a gloss and a chunky name. */
|
|
55
|
+
.light {
|
|
56
|
+
stop-color: color-mix(in srgb, var(--foreground) 55%, var(--background));
|
|
73
57
|
}
|
|
74
|
-
.
|
|
75
|
-
|
|
76
|
-
height: 9px;
|
|
77
|
-
border-radius: 1px;
|
|
78
|
-
background: repeating-linear-gradient(90deg, tint(30%) 0 8px, transparent 8px 10px);
|
|
58
|
+
.middle {
|
|
59
|
+
stop-color: color-mix(in srgb, var(--foreground) 25%, var(--background));
|
|
79
60
|
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
}
|
|
86
|
-
.
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
61
|
+
.dark {
|
|
62
|
+
stop-color: color-mix(in srgb, var(--foreground) 8%, var(--background));
|
|
63
|
+
}
|
|
64
|
+
.shadow {
|
|
65
|
+
fill: tint($faint);
|
|
66
|
+
}
|
|
67
|
+
.dated {
|
|
68
|
+
stroke: tint($strong);
|
|
69
|
+
stroke-width: 3.5;
|
|
70
|
+
stroke-linejoin: miter;
|
|
71
|
+
}
|
|
72
|
+
.gloss {
|
|
73
|
+
fill: tint($strong);
|
|
74
|
+
opacity: 0.6;
|
|
75
|
+
}
|
|
76
|
+
.chunky {
|
|
77
|
+
fill: tint($detail);
|
|
78
|
+
}
|
|
79
|
+
/* The reimagined logo: the same star, even and crisp, in a fine ring, with a light name. */
|
|
80
|
+
.ring {
|
|
81
|
+
fill: none;
|
|
82
|
+
stroke: tint($edge);
|
|
83
|
+
stroke-width: 0.8;
|
|
84
|
+
}
|
|
85
|
+
.fresh {
|
|
86
|
+
fill: var(--foreground);
|
|
87
|
+
stroke: var(--foreground);
|
|
88
|
+
stroke-width: 2;
|
|
89
|
+
stroke-linejoin: round;
|
|
93
90
|
}
|
|
94
91
|
.name {
|
|
95
|
-
|
|
96
|
-
height: 5px;
|
|
97
|
-
margin-top: 6px;
|
|
98
|
-
border-radius: 3px;
|
|
99
|
-
background: var(--foreground);
|
|
92
|
+
fill: var(--foreground);
|
|
100
93
|
}
|
|
101
|
-
/* The divider, with its handle,
|
|
94
|
+
/* The divider, with its handle, between the two. */
|
|
102
95
|
.divider {
|
|
103
96
|
position: absolute;
|
|
104
|
-
inset: 0 auto 0 var(--rebranding-
|
|
97
|
+
inset: 0 auto 0 var(--rebranding-split);
|
|
105
98
|
width: 2px;
|
|
106
99
|
margin-left: -1px;
|
|
107
100
|
background: var(--foreground);
|
|
101
|
+
box-shadow: 0 0 12px tint($glow);
|
|
108
102
|
&::after {
|
|
109
103
|
content: "";
|
|
110
104
|
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;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)}}
|