@sharadox/sharadox-web-library 0.6.6 → 0.7.1

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.
Files changed (300) hide show
  1. package/README.md +46 -8
  2. package/distribution/action/send-contact/index.d.ts +5 -6
  3. package/distribution/action/send-contact/index.d.ts.map +1 -1
  4. package/distribution/action/send-contact/index.js +13 -49
  5. package/distribution/action/send-contact/index.js.map +1 -1
  6. package/distribution/action/send-contact/type.d.ts +1 -3
  7. package/distribution/action/send-contact/type.d.ts.map +1 -1
  8. package/distribution/component/button/index.module.css +1 -58
  9. package/distribution/component/button/index.module.scss +60 -0
  10. package/distribution/component/capability/index.js +2 -2
  11. package/distribution/component/capability/index.module.css +1 -94
  12. package/distribution/component/capability/index.module.scss +85 -0
  13. package/distribution/component/capability/type.d.ts +1 -1
  14. package/distribution/component/consent/index.d.ts +1 -4
  15. package/distribution/component/consent/index.d.ts.map +1 -1
  16. package/distribution/component/consent/index.js +19 -32
  17. package/distribution/component/consent/index.js.map +1 -1
  18. package/distribution/component/consent/index.module.css +1 -183
  19. package/distribution/component/consent/index.module.scss +45 -0
  20. package/distribution/component/consent/preferences-link/index.js +1 -1
  21. package/distribution/component/consent/type.d.ts +1 -1
  22. package/distribution/component/contact/form/index.d.ts.map +1 -1
  23. package/distribution/component/contact/form/index.js +4 -4
  24. package/distribution/component/contact/form/index.js.map +1 -1
  25. package/distribution/component/contact/form/index.module.css +1 -168
  26. package/distribution/component/contact/form/index.module.scss +163 -0
  27. package/distribution/component/contact/form/type.d.ts +1 -1
  28. package/distribution/component/contact/index.js +2 -2
  29. package/distribution/component/contact/index.module.css +1 -56
  30. package/distribution/component/contact/index.module.scss +52 -0
  31. package/distribution/component/contact/type.d.ts +1 -1
  32. package/distribution/component/cross/index.d.ts.map +1 -1
  33. package/distribution/component/cross/index.js +2 -1
  34. package/distribution/component/cross/index.js.map +1 -1
  35. package/distribution/component/cross/index.module.css +1 -53
  36. package/distribution/component/cross/index.module.scss +50 -0
  37. package/distribution/component/eyebrow/index.d.ts.map +1 -1
  38. package/distribution/component/eyebrow/index.js +2 -1
  39. package/distribution/component/eyebrow/index.js.map +1 -1
  40. package/distribution/component/eyebrow/index.module.css +1 -9
  41. package/distribution/component/eyebrow/index.module.scss +9 -0
  42. package/distribution/component/footer/index.js +4 -4
  43. package/distribution/component/footer/index.js.map +1 -1
  44. package/distribution/component/footer/index.module.css +1 -138
  45. package/distribution/component/footer/index.module.scss +125 -0
  46. package/distribution/component/footer/type.d.ts +1 -1
  47. package/distribution/component/globe/index.d.ts +2 -2
  48. package/distribution/component/globe/index.d.ts.map +1 -1
  49. package/distribution/component/globe/index.js +23 -32
  50. package/distribution/component/globe/index.js.map +1 -1
  51. package/distribution/component/globe/index.module.css +1 -25
  52. package/distribution/component/globe/index.module.scss +7 -0
  53. package/distribution/component/hero/guide/index.module.css +1 -97
  54. package/distribution/component/hero/guide/index.module.scss +94 -0
  55. package/distribution/component/hero/index.js +1 -1
  56. package/distribution/component/hero/index.module.css +1 -124
  57. package/distribution/component/hero/index.module.scss +109 -0
  58. package/distribution/component/hero/type.d.ts +1 -1
  59. package/distribution/component/language-switch/index.js +4 -4
  60. package/distribution/component/language-switch/index.js.map +1 -1
  61. package/distribution/component/language-switch/index.module.css +1 -20
  62. package/distribution/component/language-switch/index.module.scss +22 -0
  63. package/distribution/component/language-switch/type.d.ts +1 -1
  64. package/distribution/component/marquee/index.js +1 -1
  65. package/distribution/component/marquee/index.module.css +1 -43
  66. package/distribution/component/marquee/index.module.scss +39 -0
  67. package/distribution/component/navigation/index.d.ts.map +1 -1
  68. package/distribution/component/navigation/index.js +3 -2
  69. package/distribution/component/navigation/index.js.map +1 -1
  70. package/distribution/component/navigation/index.module.css +1 -81
  71. package/distribution/component/navigation/index.module.scss +76 -0
  72. package/distribution/component/navigation/type.d.ts +1 -1
  73. package/distribution/component/process/index.js +1 -1
  74. package/distribution/component/process/index.module.css +1 -43
  75. package/distribution/component/process/index.module.scss +40 -0
  76. package/distribution/component/process/step/index.module.css +1 -33
  77. package/distribution/component/process/step/index.module.scss +31 -0
  78. package/distribution/component/process/type.d.ts +1 -1
  79. package/distribution/component/section/index.d.ts.map +1 -1
  80. package/distribution/component/section/index.js +2 -1
  81. package/distribution/component/section/index.js.map +1 -1
  82. package/distribution/component/section/index.module.css +1 -35
  83. package/distribution/component/section/index.module.scss +32 -0
  84. package/distribution/component/section-heading/index.js +1 -1
  85. package/distribution/component/section-heading/index.module.css +1 -7
  86. package/distribution/component/section-heading/index.module.scss +7 -0
  87. package/distribution/component/section-indicator/index.js +2 -2
  88. package/distribution/component/section-indicator/index.module.css +1 -145
  89. package/distribution/component/section-indicator/index.module.scss +143 -0
  90. package/distribution/component/section-indicator/type.d.ts +1 -1
  91. package/distribution/component/service-index/index.js +1 -1
  92. package/distribution/component/service-index/index.module.css +1 -88
  93. package/distribution/component/service-index/index.module.scss +83 -0
  94. package/distribution/component/service-index/type.d.ts +1 -1
  95. package/distribution/component/services/campaign-visual/index.d.ts.map +1 -1
  96. package/distribution/component/services/campaign-visual/index.js +4 -3
  97. package/distribution/component/services/campaign-visual/index.js.map +1 -1
  98. package/distribution/component/services/campaign-visual/index.module.css +1 -128
  99. package/distribution/component/services/campaign-visual/index.module.scss +122 -0
  100. package/distribution/component/services/campaign-visual/stage/index.js +3 -3
  101. package/distribution/component/services/campaign-visual/stage/index.js.map +1 -1
  102. package/distribution/component/services/campaign-visual/stage/type.d.ts +1 -1
  103. package/distribution/component/services/campaign-visual/type.d.ts +1 -1
  104. package/distribution/component/services/cell/index.d.ts.map +1 -1
  105. package/distribution/component/services/cell/index.js +4 -3
  106. package/distribution/component/services/cell/index.js.map +1 -1
  107. package/distribution/component/services/cell/index.module.css +1 -86
  108. package/distribution/component/services/cell/index.module.scss +81 -0
  109. package/distribution/component/services/design-visual/index.d.ts.map +1 -1
  110. package/distribution/component/services/design-visual/index.js +3 -2
  111. package/distribution/component/services/design-visual/index.js.map +1 -1
  112. package/distribution/component/services/design-visual/index.module.css +1 -130
  113. package/distribution/component/services/design-visual/index.module.scss +117 -0
  114. package/distribution/component/services/index.js +2 -2
  115. package/distribution/component/services/index.module.css +1 -84
  116. package/distribution/component/services/index.module.scss +66 -0
  117. package/distribution/component/services/mobile-visual/index.d.ts.map +1 -1
  118. package/distribution/component/services/mobile-visual/index.js +2 -1
  119. package/distribution/component/services/mobile-visual/index.js.map +1 -1
  120. package/distribution/component/services/mobile-visual/index.module.css +1 -104
  121. package/distribution/component/services/mobile-visual/index.module.scss +93 -0
  122. package/distribution/component/services/mobile-visual/type.d.ts +1 -1
  123. package/distribution/component/services/platform-visual/index.module.css +1 -46
  124. package/distribution/component/services/platform-visual/index.module.scss +39 -0
  125. package/distribution/component/services/social-visual/index.d.ts.map +1 -1
  126. package/distribution/component/services/social-visual/index.js +6 -5
  127. package/distribution/component/services/social-visual/index.js.map +1 -1
  128. package/distribution/component/services/social-visual/index.module.css +1 -131
  129. package/distribution/component/services/social-visual/index.module.scss +120 -0
  130. package/distribution/component/services/social-visual/type.d.ts +1 -1
  131. package/distribution/component/services/type.d.ts +1 -1
  132. package/distribution/component/services/web-visual/index.d.ts.map +1 -1
  133. package/distribution/component/services/web-visual/index.js +3 -2
  134. package/distribution/component/services/web-visual/index.js.map +1 -1
  135. package/distribution/component/services/web-visual/index.module.css +1 -142
  136. package/distribution/component/services/web-visual/index.module.scss +132 -0
  137. package/distribution/component/share-image/index.d.ts +1 -2
  138. package/distribution/component/share-image/index.d.ts.map +1 -1
  139. package/distribution/component/share-image/index.js +3 -3
  140. package/distribution/component/share-image/index.js.map +1 -1
  141. package/distribution/component/share-image/type.d.ts +1 -1
  142. package/distribution/component/statement/index.js +1 -1
  143. package/distribution/component/statement/index.module.css +1 -11
  144. package/distribution/component/statement/index.module.scss +10 -0
  145. package/distribution/component/structured-data/index.d.ts.map +1 -1
  146. package/distribution/component/structured-data/index.js +48 -53
  147. package/distribution/component/structured-data/index.js.map +1 -1
  148. package/distribution/component/structured-data/type.d.ts +1 -1
  149. package/distribution/component/style-switch/index.d.ts +2 -2
  150. package/distribution/component/style-switch/index.d.ts.map +1 -1
  151. package/distribution/component/style-switch/index.js +11 -18
  152. package/distribution/component/style-switch/index.js.map +1 -1
  153. package/distribution/component/style-switch/index.module.css +1 -36
  154. package/distribution/component/style-switch/index.module.scss +37 -0
  155. package/distribution/component/style-switch/type.d.ts +1 -1
  156. package/distribution/component/touchpoint/index.js +3 -3
  157. package/distribution/component/touchpoint/index.module.css +1 -85
  158. package/distribution/component/touchpoint/index.module.scss +75 -0
  159. package/distribution/component/touchpoint/plate/index.module.css +1 -136
  160. package/distribution/component/touchpoint/plate/index.module.scss +129 -0
  161. package/distribution/component/touchpoint/type.d.ts +1 -1
  162. package/distribution/component/wordmark/index.module.css +1 -23
  163. package/distribution/component/wordmark/index.module.scss +22 -0
  164. package/distribution/content/locale/index.d.ts +6 -0
  165. package/distribution/content/locale/index.d.ts.map +1 -0
  166. package/distribution/content/locale/index.js +7 -0
  167. package/distribution/content/locale/index.js.map +1 -0
  168. package/distribution/{utility → content}/locale/type.d.ts +3 -2
  169. package/distribution/content/locale/type.d.ts.map +1 -0
  170. package/distribution/{utility → content}/locale/type.js.map +1 -1
  171. package/distribution/content/style/index.d.ts +47 -43
  172. package/distribution/content/style/index.d.ts.map +1 -1
  173. package/distribution/content/style/index.js +20 -13
  174. package/distribution/content/style/index.js.map +1 -1
  175. package/distribution/utility/separate/index.d.ts +6 -1
  176. package/distribution/utility/separate/index.d.ts.map +1 -1
  177. package/distribution/utility/separate/index.js +8 -2
  178. package/distribution/utility/separate/index.js.map +1 -1
  179. package/llms.txt +10 -0
  180. package/package.json +37 -27
  181. package/distribution/component/consent/toggle/index.d.ts +0 -4
  182. package/distribution/component/consent/toggle/index.d.ts.map +0 -1
  183. package/distribution/component/consent/toggle/index.js +0 -7
  184. package/distribution/component/consent/toggle/index.js.map +0 -1
  185. package/distribution/component/consent/toggle/type.d.ts +0 -10
  186. package/distribution/component/consent/toggle/type.d.ts.map +0 -1
  187. package/distribution/component/consent/toggle/type.js.map +0 -1
  188. package/distribution/component/cursor/index.d.ts +0 -3
  189. package/distribution/component/cursor/index.d.ts.map +0 -1
  190. package/distribution/component/cursor/index.js +0 -45
  191. package/distribution/component/cursor/index.js.map +0 -1
  192. package/distribution/component/cursor/index.module.css +0 -55
  193. package/distribution/component/globe/arc/index.d.ts +0 -4
  194. package/distribution/component/globe/arc/index.d.ts.map +0 -1
  195. package/distribution/component/globe/arc/index.js +0 -29
  196. package/distribution/component/globe/arc/index.js.map +0 -1
  197. package/distribution/component/globe/arc/type.d.ts +0 -12
  198. package/distribution/component/globe/arc/type.d.ts.map +0 -1
  199. package/distribution/component/globe/arc/type.js +0 -2
  200. package/distribution/component/globe/arc/type.js.map +0 -1
  201. package/distribution/component/globe/color/index.d.ts +0 -4
  202. package/distribution/component/globe/color/index.d.ts.map +0 -1
  203. package/distribution/component/globe/color/index.js +0 -16
  204. package/distribution/component/globe/color/index.js.map +0 -1
  205. package/distribution/component/globe/color/type.d.ts +0 -13
  206. package/distribution/component/globe/color/type.d.ts.map +0 -1
  207. package/distribution/component/globe/color/type.js +0 -2
  208. package/distribution/component/globe/color/type.js.map +0 -1
  209. package/distribution/component/globe/dots/index.d.ts +0 -4
  210. package/distribution/component/globe/dots/index.d.ts.map +0 -1
  211. package/distribution/component/globe/dots/index.js +0 -38
  212. package/distribution/component/globe/dots/index.js.map +0 -1
  213. package/distribution/component/globe/dots/type.d.ts +0 -7
  214. package/distribution/component/globe/dots/type.d.ts.map +0 -1
  215. package/distribution/component/globe/dots/type.js +0 -2
  216. package/distribution/component/globe/dots/type.js.map +0 -1
  217. package/distribution/component/globe/marker/index.d.ts +0 -4
  218. package/distribution/component/globe/marker/index.d.ts.map +0 -1
  219. package/distribution/component/globe/marker/index.js +0 -21
  220. package/distribution/component/globe/marker/index.js.map +0 -1
  221. package/distribution/component/globe/marker/type.d.ts +0 -9
  222. package/distribution/component/globe/marker/type.d.ts.map +0 -1
  223. package/distribution/component/globe/marker/type.js +0 -2
  224. package/distribution/component/globe/marker/type.js.map +0 -1
  225. package/distribution/component/globe/shader/arc/index.d.ts +0 -6
  226. package/distribution/component/globe/shader/arc/index.d.ts.map +0 -1
  227. package/distribution/component/globe/shader/arc/index.js +0 -24
  228. package/distribution/component/globe/shader/arc/index.js.map +0 -1
  229. package/distribution/component/globe/shader/atmosphere/index.d.ts +0 -6
  230. package/distribution/component/globe/shader/atmosphere/index.d.ts.map +0 -1
  231. package/distribution/component/globe/shader/atmosphere/index.js +0 -15
  232. package/distribution/component/globe/shader/atmosphere/index.js.map +0 -1
  233. package/distribution/component/globe/shader/body/index.d.ts +0 -6
  234. package/distribution/component/globe/shader/body/index.d.ts.map +0 -1
  235. package/distribution/component/globe/shader/body/index.js +0 -15
  236. package/distribution/component/globe/shader/body/index.js.map +0 -1
  237. package/distribution/component/globe/shader/dot/index.d.ts +0 -6
  238. package/distribution/component/globe/shader/dot/index.d.ts.map +0 -1
  239. package/distribution/component/globe/shader/dot/index.js +0 -29
  240. package/distribution/component/globe/shader/dot/index.js.map +0 -1
  241. package/distribution/component/globe/shader/glow-vertex/index.d.ts +0 -3
  242. package/distribution/component/globe/shader/glow-vertex/index.d.ts.map +0 -1
  243. package/distribution/component/globe/shader/glow-vertex/index.js +0 -9
  244. package/distribution/component/globe/shader/glow-vertex/index.js.map +0 -1
  245. package/distribution/component/globe/world/index.d.ts +0 -4
  246. package/distribution/component/globe/world/index.d.ts.map +0 -1
  247. package/distribution/component/globe/world/index.js +0 -39
  248. package/distribution/component/globe/world/index.js.map +0 -1
  249. package/distribution/component/globe/world/type.d.ts +0 -10
  250. package/distribution/component/globe/world/type.d.ts.map +0 -1
  251. package/distribution/component/globe/world/type.js +0 -2
  252. package/distribution/component/globe/world/type.js.map +0 -1
  253. package/distribution/component/locale-link/index.d.ts +0 -4
  254. package/distribution/component/locale-link/index.d.ts.map +0 -1
  255. package/distribution/component/locale-link/index.js +0 -9
  256. package/distribution/component/locale-link/index.js.map +0 -1
  257. package/distribution/component/locale-link/type.d.ts +0 -10
  258. package/distribution/component/locale-link/type.d.ts.map +0 -1
  259. package/distribution/component/locale-link/type.js +0 -2
  260. package/distribution/component/locale-link/type.js.map +0 -1
  261. package/distribution/hook/globe-drag/index.d.ts +0 -10
  262. package/distribution/hook/globe-drag/index.d.ts.map +0 -1
  263. package/distribution/hook/globe-drag/index.js +0 -99
  264. package/distribution/hook/globe-drag/index.js.map +0 -1
  265. package/distribution/hook/globe-drag/type.d.ts +0 -11
  266. package/distribution/hook/globe-drag/type.d.ts.map +0 -1
  267. package/distribution/hook/globe-drag/type.js +0 -2
  268. package/distribution/hook/globe-drag/type.js.map +0 -1
  269. package/distribution/hook/land-points/index.d.ts +0 -3
  270. package/distribution/hook/land-points/index.d.ts.map +0 -1
  271. package/distribution/hook/land-points/index.js +0 -17
  272. package/distribution/hook/land-points/index.js.map +0 -1
  273. package/distribution/style/token/index.css +0 -1
  274. package/distribution/utility/hex-channel/index.d.ts +0 -3
  275. package/distribution/utility/hex-channel/index.d.ts.map +0 -1
  276. package/distribution/utility/hex-channel/index.js +0 -8
  277. package/distribution/utility/hex-channel/index.js.map +0 -1
  278. package/distribution/utility/latitude-longitude-to-vector/index.d.ts +0 -7
  279. package/distribution/utility/latitude-longitude-to-vector/index.d.ts.map +0 -1
  280. package/distribution/utility/latitude-longitude-to-vector/index.js +0 -12
  281. package/distribution/utility/latitude-longitude-to-vector/index.js.map +0 -1
  282. package/distribution/utility/locale/index.d.ts +0 -6
  283. package/distribution/utility/locale/index.d.ts.map +0 -1
  284. package/distribution/utility/locale/index.js +0 -8
  285. package/distribution/utility/locale/index.js.map +0 -1
  286. package/distribution/utility/locale/type.d.ts.map +0 -1
  287. package/distribution/utility/locale/type.js +0 -2
  288. package/distribution/utility/parse-contact/index.d.ts +0 -4
  289. package/distribution/utility/parse-contact/index.d.ts.map +0 -1
  290. package/distribution/utility/parse-contact/index.js +0 -23
  291. package/distribution/utility/parse-contact/index.js.map +0 -1
  292. package/distribution/utility/parse-contact/type.d.ts +0 -20
  293. package/distribution/utility/parse-contact/type.d.ts.map +0 -1
  294. package/distribution/utility/parse-contact/type.js +0 -2
  295. package/distribution/utility/parse-contact/type.js.map +0 -1
  296. package/distribution/utility/web-gl-support/index.d.ts +0 -3
  297. package/distribution/utility/web-gl-support/index.d.ts.map +0 -1
  298. package/distribution/utility/web-gl-support/index.js +0 -11
  299. package/distribution/utility/web-gl-support/index.js.map +0 -1
  300. /package/distribution/{component/consent/toggle → content/locale}/type.js +0 -0
@@ -1,145 +1 @@
1
- .indicator {
2
- --page: 0;
3
- --within: 0;
4
- position: fixed;
5
- z-index: 40;
6
- right: max(14px, (100vw - var(--maximum-width)) / 2 - 92px);
7
- top: 50%;
8
- transform: translateY(-50%);
9
- padding: 14px 0;
10
- animation: enter 1s 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
11
- }
12
- .indicator ol {
13
- position: relative;
14
- display: grid;
15
- gap: 14px;
16
- margin: 0;
17
- padding: 0;
18
- list-style: none;
19
- }
20
- @media (max-width: 1180px) {
21
- .indicator {
22
- display: none;
23
- }
24
- }
25
-
26
- @keyframes enter {
27
- from {
28
- opacity: 0;
29
- transform: translate(16px, -50%);
30
- }
31
- }
32
- /* The rail fills with the page's progress. */
33
- .rail {
34
- position: absolute;
35
- right: 0;
36
- top: 0;
37
- bottom: 0;
38
- width: 1px;
39
- background: linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 6px repeat-y;
40
- }
41
- .rail span {
42
- position: absolute;
43
- inset: 0 0 auto;
44
- height: calc(var(--page) * 100%);
45
- background: linear-gradient(180deg, transparent, var(--foreground));
46
- box-shadow: 0 0 8px color-mix(in srgb, var(--foreground) 60%, transparent);
47
- }
48
-
49
- .indicator a {
50
- position: relative;
51
- display: flex;
52
- align-items: center;
53
- justify-content: flex-end;
54
- gap: 10px;
55
- height: 26px;
56
- padding-right: 0;
57
- color: var(--foreground-3);
58
- transition: color 0.3s;
59
- }
60
- .indicator a:hover {
61
- color: var(--foreground);
62
- }
63
-
64
- .number {
65
- font-size: 10.5px;
66
- letter-spacing: 0.04em;
67
- transition: color 0.3s;
68
- }
69
-
70
- .tick {
71
- position: relative;
72
- width: 12px;
73
- height: 1px;
74
- background: var(--line-2);
75
- transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s;
76
- }
77
- .tick span {
78
- position: absolute;
79
- inset: 0 auto 0 0;
80
- width: 0;
81
- background: var(--foreground);
82
- }
83
-
84
- /* Names sit to the left in a frosted pill: hidden until hovered, flashing in when their section becomes current. */
85
- .name {
86
- position: absolute;
87
- right: 64px;
88
- padding: 5px 11px;
89
- border-radius: 99px;
90
- border: 1px solid var(--line-2);
91
- background: color-mix(in srgb, var(--background) 75%, transparent);
92
- backdrop-filter: blur(10px);
93
- color: var(--foreground);
94
- font-size: 12.5px;
95
- font-weight: 500;
96
- letter-spacing: -0.01em;
97
- white-space: nowrap;
98
- opacity: 0;
99
- transform: translateX(8px);
100
- filter: blur(4px);
101
- pointer-events: none;
102
- transition: opacity 0.35s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s;
103
- }
104
-
105
- .indicator:hover .name {
106
- opacity: 1;
107
- transform: none;
108
- filter: none;
109
- }
110
-
111
- .current {
112
- color: var(--foreground) !important;
113
- }
114
- .current .tick {
115
- width: 34px;
116
- background: color-mix(in srgb, var(--foreground) 25%, transparent);
117
- }
118
- .current .tick span {
119
- width: calc(var(--within) * 100%);
120
- box-shadow: 0 0 8px color-mix(in srgb, var(--foreground) 70%, transparent);
121
- }
122
- .current .name {
123
- animation: flash 2.2s cubic-bezier(0.22, 1, 0.36, 1) both;
124
- }
125
-
126
- @keyframes flash {
127
- 0% {
128
- opacity: 0;
129
- transform: translateX(10px);
130
- filter: blur(4px);
131
- }
132
- 15%, 70% {
133
- opacity: 1;
134
- transform: none;
135
- filter: none;
136
- }
137
- 100% {
138
- opacity: 0;
139
- transform: translateX(4px);
140
- filter: blur(2px);
141
- }
142
- }
143
- .indicator:hover .current .name {
144
- animation: none;
145
- }
1
+ .indicator{--page: 0;--within: 0;position:fixed;z-index:40;right:max(14px,(100vw - var(--maximum-width))/2 - 92px);top:50%;transform:translateY(-50%);padding:14px 0;animation:enter 1s 1.2s cubic-bezier(0.22, 1, 0.36, 1) both}.indicator ol{position:relative;display:grid;gap:14px;margin:0;padding:0;list-style:none}@media(max-width: 1180px){.indicator{display:none}}@keyframes enter{from{opacity:0;transform:translate(16px, -50%)}}.rail{position:absolute;right:0;top:0;bottom:0;width:1px;background:linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 6px repeat-y}.rail span{position:absolute;inset:0 0 auto;height:calc(var(--page)*100%);background:linear-gradient(180deg, transparent, var(--foreground));box-shadow:0 0 8px color-mix(in srgb, var(--foreground) 60%, transparent)}.indicator a{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:10px;height:26px;padding-right:0;color:var(--foreground-3);transition:color .3s}.indicator a:hover{color:var(--foreground)}.number{font-size:10.5px;letter-spacing:.04em;transition:color .3s}.tick{position:relative;width:12px;height:1px;background:var(--line-2);transition:width .6s cubic-bezier(0.22, 1, 0.36, 1),background .3s}.tick span{position:absolute;inset:0 auto 0 0;width:0;background:var(--foreground)}.name{position:absolute;right:64px;padding:5px 11px;border-radius:99px;border:1px solid var(--line-2);background:color-mix(in srgb, var(--background) 75%, transparent);backdrop-filter:blur(10px);color:var(--foreground);font-size:12.5px;font-weight:500;letter-spacing:-0.01em;white-space:nowrap;opacity:0;transform:translateX(8px);filter:blur(4px);pointer-events:none;transition:opacity .35s,transform .5s cubic-bezier(0.22, 1, 0.36, 1),filter .35s}.indicator:hover .name{opacity:1;transform:none;filter:none}.current{color:var(--foreground) !important}.current .tick{width:34px;background:color-mix(in srgb, var(--foreground) 25%, transparent)}.current .tick span{width:calc(var(--within)*100%);box-shadow:0 0 8px color-mix(in srgb, var(--foreground) 70%, transparent)}.current .name{animation:flash 2.2s cubic-bezier(0.22, 1, 0.36, 1) both}@keyframes flash{0%{opacity:0;transform:translateX(10px);filter:blur(4px)}15%,70%{opacity:1;transform:none;filter:none}100%{opacity:0;transform:translateX(4px);filter:blur(2px)}}.indicator:hover .current .name{animation:none}
@@ -0,0 +1,143 @@
1
+ @use "style/token" as *;
2
+
3
+ .indicator {
4
+ --page: 0;
5
+ --within: 0;
6
+ position: fixed;
7
+ z-index: 40;
8
+ right: max(14px, calc((100vw - var(--maximum-width)) / 2 - 92px));
9
+ top: 50%;
10
+ transform: translateY(-50%);
11
+ padding: 14px 0;
12
+ animation: enter 1s 1.2s $ease both;
13
+ ol {
14
+ position: relative;
15
+ display: grid;
16
+ gap: 14px;
17
+ margin: 0;
18
+ padding: 0;
19
+ list-style: none;
20
+ }
21
+ @include below(1180px) {
22
+ display: none;
23
+ }
24
+ }
25
+ @keyframes enter {
26
+ from {
27
+ opacity: 0;
28
+ transform: translate(16px, -50%);
29
+ }
30
+ }
31
+ /* The rail fills with the page's progress. */
32
+ .rail {
33
+ position: absolute;
34
+ right: 0;
35
+ top: 0;
36
+ bottom: 0;
37
+ width: 1px;
38
+ @include dashed(vertical, var(--line-2), 3px, 3px);
39
+ span {
40
+ position: absolute;
41
+ inset: 0 0 auto;
42
+ height: calc(var(--page) * 100%);
43
+ background: linear-gradient(180deg, transparent, var(--foreground));
44
+ box-shadow: 0 0 8px tint(60%);
45
+ }
46
+ }
47
+ .indicator a {
48
+ position: relative;
49
+ display: flex;
50
+ align-items: center;
51
+ justify-content: flex-end;
52
+ gap: 10px;
53
+ height: 26px;
54
+ padding-right: 0;
55
+ color: var(--foreground-3);
56
+ transition: color 0.3s;
57
+ &:hover {
58
+ color: var(--foreground);
59
+ }
60
+ }
61
+ .number {
62
+ font-size: 10.5px;
63
+ letter-spacing: 0.04em;
64
+ transition: color 0.3s;
65
+ }
66
+ .tick {
67
+ position: relative;
68
+ width: 12px;
69
+ height: 1px;
70
+ background: var(--line-2);
71
+ transition:
72
+ width 0.6s $ease,
73
+ background 0.3s;
74
+ span {
75
+ position: absolute;
76
+ inset: 0 auto 0 0;
77
+ width: 0;
78
+ background: var(--foreground);
79
+ }
80
+ }
81
+ /* Names sit to the left in a frosted pill: hidden until hovered, flashing in when their section becomes current. */
82
+ .name {
83
+ position: absolute;
84
+ right: 64px;
85
+ padding: 5px 11px;
86
+ border-radius: 99px;
87
+ border: 1px solid var(--line-2);
88
+ background: shade(75%);
89
+ backdrop-filter: blur(10px);
90
+ color: var(--foreground);
91
+ font-size: 12.5px;
92
+ font-weight: 500;
93
+ letter-spacing: -0.01em;
94
+ white-space: nowrap;
95
+ opacity: 0;
96
+ transform: translateX(8px);
97
+ filter: blur(4px);
98
+ pointer-events: none;
99
+ transition:
100
+ opacity 0.35s,
101
+ transform 0.5s $ease,
102
+ filter 0.35s;
103
+ }
104
+ .indicator:hover .name {
105
+ opacity: 1;
106
+ transform: none;
107
+ filter: none;
108
+ }
109
+ .current {
110
+ color: var(--foreground) !important;
111
+ .tick {
112
+ width: 34px;
113
+ background: tint(25%);
114
+ span {
115
+ width: calc(var(--within) * 100%);
116
+ box-shadow: 0 0 8px tint(70%);
117
+ }
118
+ }
119
+ .name {
120
+ animation: flash 2.2s $ease both;
121
+ }
122
+ }
123
+ @keyframes flash {
124
+ 0% {
125
+ opacity: 0;
126
+ transform: translateX(10px);
127
+ filter: blur(4px);
128
+ }
129
+ 15%,
130
+ 70% {
131
+ opacity: 1;
132
+ transform: none;
133
+ filter: none;
134
+ }
135
+ 100% {
136
+ opacity: 0;
137
+ transform: translateX(4px);
138
+ filter: blur(2px);
139
+ }
140
+ }
141
+ .indicator:hover .current .name {
142
+ animation: none;
143
+ }
@@ -1,4 +1,4 @@
1
- import type { Locale } from "@sharadox/sharadox-web-library/utility/locale/type";
1
+ import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
2
2
  export interface SectionIndicatorProperties {
3
3
  locale: Locale;
4
4
  }
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { separate } from "@sharadox/sharadox-web-library/utility/separate";
3
3
  import { Cross } from "@sharadox/sharadox-web-library/component/cross";
4
4
  import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
5
- import { translate } from "@sharadox/web-library/internationalization/translate";
5
+ import { translate } from "@sharadox/internationalization-web-library/translate";
6
6
  import styles from "./index.module.css";
7
7
  /** The five disciplines in a row of grid cells under the hero, each a shortcut to its section. */
8
8
  export function ServiceIndex({ locale }) {
@@ -1,88 +1 @@
1
- .index {
2
- position: relative;
3
- width: min(100% - 2 * var(--gutter), var(--maximum-width));
4
- margin: 0 auto;
5
- display: grid;
6
- grid-template-columns: repeat(5, 1fr);
7
- border: 1px solid var(--line);
8
- }
9
- @media (max-width: 960px) {
10
- .index {
11
- grid-template-columns: repeat(2, 1fr);
12
- }
13
- }
14
-
15
- .cell {
16
- position: relative;
17
- display: grid;
18
- align-content: start;
19
- gap: 6px;
20
- padding: 22px 22px 24px;
21
- overflow: hidden;
22
- animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
23
- }
24
- .cell:not(:last-of-type) {
25
- border-right: 1px solid var(--line);
26
- }
27
- .cell::before {
28
- content: "";
29
- position: absolute;
30
- inset: 0;
31
- z-index: -1;
32
- background: linear-gradient(180deg, color-mix(in srgb, var(--foreground) 7%, transparent), transparent);
33
- opacity: 0;
34
- transition: opacity 0.4s;
35
- }
36
- .cell:hover::before {
37
- opacity: 1;
38
- }
39
- .cell:hover .arrow {
40
- opacity: 1;
41
- transform: none;
42
- }
43
- @media (max-width: 960px) {
44
- .cell {
45
- border-right: 0 !important;
46
- border-bottom: 1px solid var(--line);
47
- }
48
- .cell:nth-of-type(odd) {
49
- border-right: 1px solid var(--line) !important;
50
- }
51
- .cell:last-of-type {
52
- grid-column: span 2;
53
- border-bottom: 0;
54
- border-right: 0 !important;
55
- }
56
- }
57
-
58
- @keyframes rise {
59
- from {
60
- opacity: 0;
61
- transform: translateY(10px);
62
- }
63
- }
64
- .number {
65
- font-size: 11.5px;
66
- color: var(--foreground-3);
67
- }
68
-
69
- .title {
70
- font-weight: 600;
71
- letter-spacing: -0.02em;
72
- font-size: 15.5px;
73
- }
74
-
75
- .kinds {
76
- font-size: 11.5px;
77
- color: var(--foreground-2);
78
- }
79
-
80
- .arrow {
81
- position: absolute;
82
- top: 18px;
83
- right: 18px;
84
- font-size: 14px;
85
- opacity: 0;
86
- transform: translate(-4px, -4px);
87
- transition: opacity 0.3s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
88
- }
1
+ .index{position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;display:grid;grid-template-columns:repeat(5, 1fr);border:1px solid var(--line)}@media(max-width: 960px){.index{grid-template-columns:repeat(2, 1fr)}}.cell{position:relative;display:grid;align-content:start;gap:6px;padding:22px 22px 24px;overflow:hidden;animation:rise .9s cubic-bezier(0.22, 1, 0.36, 1) both}.cell:not(:last-of-type){border-right:1px solid var(--line)}.cell::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg, color-mix(in srgb, var(--foreground) 7%, transparent), transparent);opacity:0;transition:opacity .4s}.cell:hover::before{opacity:1}.cell:hover .arrow{opacity:1;transform:none}@media(max-width: 960px){.cell{border-right:0 !important;border-bottom:1px solid var(--line)}.cell:nth-of-type(odd){border-right:1px solid var(--line) !important}.cell:last-of-type{grid-column:span 2;border-bottom:0;border-right:0 !important}}@keyframes rise{from{opacity:0;transform:translateY(10px)}}.number{font-size:11.5px;color:var(--foreground-3)}.title{font-weight:600;letter-spacing:-0.02em;font-size:15.5px}.kinds{font-size:11.5px;color:var(--foreground-2)}.arrow{position:absolute;top:18px;right:18px;font-size:14px;opacity:0;transform:translate(-4px, -4px);transition:opacity .3s,transform .4s cubic-bezier(0.22, 1, 0.36, 1)}
@@ -0,0 +1,83 @@
1
+ @use "style/token" as *;
2
+
3
+ .index {
4
+ position: relative;
5
+ width: min(100% - 2 * var(--gutter), var(--maximum-width));
6
+ margin: 0 auto;
7
+ display: grid;
8
+ grid-template-columns: repeat(5, 1fr);
9
+ border: 1px solid var(--line);
10
+ @include below(960px) {
11
+ grid-template-columns: repeat(2, 1fr);
12
+ }
13
+ }
14
+ .cell {
15
+ position: relative;
16
+ display: grid;
17
+ align-content: start;
18
+ gap: 6px;
19
+ padding: 22px 22px 24px;
20
+ overflow: hidden;
21
+ animation: rise 0.9s $ease both;
22
+ &:not(:last-of-type) {
23
+ border-right: 1px solid var(--line);
24
+ }
25
+ &::before {
26
+ content: "";
27
+ position: absolute;
28
+ inset: 0;
29
+ z-index: -1;
30
+ background: linear-gradient(180deg, tint(7%), transparent);
31
+ opacity: 0;
32
+ transition: opacity 0.4s;
33
+ }
34
+ &:hover::before {
35
+ opacity: 1;
36
+ }
37
+ &:hover .arrow {
38
+ opacity: 1;
39
+ transform: none;
40
+ }
41
+ @include below(960px) {
42
+ border-right: 0 !important;
43
+ border-bottom: 1px solid var(--line);
44
+ &:nth-of-type(odd) {
45
+ border-right: 1px solid var(--line) !important;
46
+ }
47
+ &:last-of-type {
48
+ grid-column: span 2;
49
+ border-bottom: 0;
50
+ border-right: 0 !important;
51
+ }
52
+ }
53
+ }
54
+ @keyframes rise {
55
+ from {
56
+ opacity: 0;
57
+ transform: translateY(10px);
58
+ }
59
+ }
60
+ .number {
61
+ font-size: 11.5px;
62
+ color: var(--foreground-3);
63
+ }
64
+ .title {
65
+ font-weight: 600;
66
+ letter-spacing: -0.02em;
67
+ font-size: 15.5px;
68
+ }
69
+ .kinds {
70
+ font-size: 11.5px;
71
+ color: var(--foreground-2);
72
+ }
73
+ .arrow {
74
+ position: absolute;
75
+ top: 18px;
76
+ right: 18px;
77
+ font-size: 14px;
78
+ opacity: 0;
79
+ transform: translate(-4px, -4px);
80
+ transition:
81
+ opacity 0.3s,
82
+ transform 0.4s $ease;
83
+ }
@@ -1,4 +1,4 @@
1
- import type { Locale } from "@sharadox/sharadox-web-library/utility/locale/type";
1
+ import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
2
2
  export interface ServiceIndexProperties {
3
3
  locale: Locale;
4
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/services/campaign-visual/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wEAAwE,CAAC;AAQvH,qGAAqG;AACrG,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,EAAE,wBAAwB,+BAwBlE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/services/campaign-visual/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wEAAwE,CAAC;AAQvH,qGAAqG;AACrG,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,EAAE,wBAAwB,+BAwBlE"}
@@ -1,7 +1,8 @@
1
1
  "use client";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { useInView } from "@sharadox/web-library/animation/in-view";
4
- import { translate } from "@sharadox/web-library/internationalization/translate";
3
+ import { classNames } from "@sharadox/web-library/class-name";
4
+ import { useInView } from "@sharadox/animation-web-library/in-view";
5
+ import { translate } from "@sharadox/internationalization-web-library/translate";
5
6
  import { Stage } from "@sharadox/sharadox-web-library/component/services/campaign-visual/stage";
6
7
  import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
7
8
  import styles from "./index.module.css";
@@ -13,6 +14,6 @@ const STAGES = [
13
14
  /** A campaign funnel as stacked 3D plates, narrowing from reach to customers, with live counters. */
14
15
  export function CampaignVisual({ locale }) {
15
16
  const [container, on] = useInView();
16
- return (_jsxs("div", { ref: container, className: [styles.visual, on && styles.on].filter(Boolean).join(" "), "aria-hidden": true, children: [_jsxs("div", { className: styles.scene, children: [STAGES.map((stage, index) => (_jsx("span", { className: `${styles.plate} ${styles[`plate${index}`]}` }, stage.key))), _jsx("span", { className: styles.ring })] }), _jsx("dl", { className: styles.legend, children: STAGES.map((stage, index) => (_jsx(Stage, { start: on, value: stage.value, durationMilliseconds: 1800 + index * 300, locale: locale, label: translate(SERVICES.visual[stage.key], locale) }, stage.key))) })] }));
17
+ return (_jsxs("div", { ref: container, className: classNames(styles.visual, on && styles.on), "aria-hidden": true, children: [_jsxs("div", { className: styles.scene, children: [STAGES.map((stage, index) => (_jsx("span", { className: `${styles.plate} ${styles[`plate${index}`]}` }, stage.key))), _jsx("span", { className: styles.ring })] }), _jsx("dl", { className: styles.legend, children: STAGES.map((stage, index) => (_jsx(Stage, { start: on, value: stage.value, durationMilliseconds: 1800 + index * 300, locale: locale, label: translate(SERVICES.visual[stage.key], locale) }, stage.key))) })] }));
17
18
  }
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/services/campaign-visual/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,KAAK,EAAE,MAAM,yEAAyE,CAAC;AAChG,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,MAAM,MAAM,GAAG;IACb,EAAE,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE;IAC9B,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE;IAC9B,EAAE,GAAG,EAAE,WAAW,EAAE,KAAK,EAAE,GAAG,EAAE;CACxB,CAAC;AAEX,qGAAqG;AACrG,MAAM,UAAU,cAAc,CAAC,EAAE,MAAM,EAA4B;IACjE,MAAM,CAAC,SAAS,EAAE,EAAE,CAAC,GAAG,SAAS,EAAkB,CAAC;IACpD,OAAO,CACL,eAAK,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,IAAI,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,kCACxF,eAAK,SAAS,EAAE,MAAM,CAAC,KAAK,aACzB,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,CAC5B,eAAsB,SAAS,EAAE,GAAG,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,QAAQ,KAAK,EAAE,CAAC,EAAE,IAAlE,KAAK,CAAC,GAAG,CAA6D,CAClF,CAAC,EACF,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,IAC5B,EACN,aAAI,SAAS,EAAE,MAAM,CAAC,MAAM,YACzB,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,CAC5B,KAAC,KAAK,IAEJ,KAAK,EAAE,EAAE,EACT,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,oBAAoB,EAAE,IAAI,GAAG,KAAK,GAAG,GAAG,EACxC,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,IAL/C,KAAK,CAAC,GAAG,CAMd,CACH,CAAC,GACC,IACD,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/services/campaign-visual/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,KAAK,EAAE,MAAM,yEAAyE,CAAC;AAChG,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,MAAM,MAAM,GAAG;IACb,EAAE,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE;IAC9B,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE;IAC9B,EAAE,GAAG,EAAE,WAAW,EAAE,KAAK,EAAE,GAAG,EAAE;CACxB,CAAC;AAEX,qGAAqG;AACrG,MAAM,UAAU,cAAc,CAAC,EAAE,MAAM,EAA4B;IACjE,MAAM,CAAC,SAAS,EAAE,EAAE,CAAC,GAAG,SAAS,EAAkB,CAAC;IACpD,OAAO,CACL,eAAK,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,IAAI,MAAM,CAAC,EAAE,CAAC,kCACxE,eAAK,SAAS,EAAE,MAAM,CAAC,KAAK,aACzB,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,CAC5B,eAAsB,SAAS,EAAE,GAAG,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,QAAQ,KAAK,EAAE,CAAC,EAAE,IAAlE,KAAK,CAAC,GAAG,CAA6D,CAClF,CAAC,EACF,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,IAC5B,EACN,aAAI,SAAS,EAAE,MAAM,CAAC,MAAM,YACzB,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,CAC5B,KAAC,KAAK,IAEJ,KAAK,EAAE,EAAE,EACT,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,oBAAoB,EAAE,IAAI,GAAG,KAAK,GAAG,GAAG,EACxC,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,IAL/C,KAAK,CAAC,GAAG,CAMd,CACH,CAAC,GACC,IACD,CACP,CAAC;AACJ,CAAC"}
@@ -1,128 +1 @@
1
- .visual {
2
- position: absolute;
3
- inset: 0;
4
- display: grid;
5
- grid-template-columns: 1.2fr 1fr;
6
- align-items: center;
7
- perspective: 1000px;
8
- }
9
-
10
- .scene {
11
- position: relative;
12
- justify-self: center;
13
- width: 150px;
14
- height: 150px;
15
- transform-style: preserve-3d;
16
- transform: rotateX(62deg) rotateZ(-38deg);
17
- animation: turn 16s linear infinite;
18
- }
19
-
20
- @keyframes turn {
21
- to {
22
- transform: rotateX(62deg) rotateZ(322deg);
23
- }
24
- }
25
- .plate {
26
- position: absolute;
27
- inset: 0;
28
- margin: auto;
29
- border-radius: 16px;
30
- border: 1px solid var(--foreground-3);
31
- background: color-mix(in srgb, var(--foreground) 6%, transparent);
32
- box-shadow: 0 0 40px -10px color-mix(in srgb, var(--foreground) 30%, transparent);
33
- }
34
-
35
- .plate0 {
36
- width: 150px;
37
- height: 150px;
38
- transform: translateZ(0);
39
- }
40
- .on .plate0 {
41
- animation: lift-0 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
42
- }
43
-
44
- .plate1 {
45
- width: 104px;
46
- height: 104px;
47
- transform: translateZ(34px);
48
- background: color-mix(in srgb, var(--foreground) 12%, transparent);
49
- }
50
- .on .plate1 {
51
- animation: lift-1 1.4s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
52
- }
53
-
54
- .plate2 {
55
- width: 58px;
56
- height: 58px;
57
- transform: translateZ(68px);
58
- background: var(--foreground);
59
- border-color: var(--foreground);
60
- }
61
- .on .plate2 {
62
- animation: lift-2 1.4s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
63
- }
64
-
65
- @keyframes lift-0 {
66
- from {
67
- transform: translateZ(0);
68
- opacity: 0;
69
- }
70
- }
71
- @keyframes lift-1 {
72
- from {
73
- transform: translateZ(0);
74
- opacity: 0;
75
- }
76
- }
77
- @keyframes lift-2 {
78
- from {
79
- transform: translateZ(0);
80
- opacity: 0;
81
- }
82
- }
83
- .ring {
84
- position: absolute;
85
- inset: 0;
86
- margin: auto;
87
- width: 58px;
88
- height: 58px;
89
- border-radius: 16px;
90
- border: 1px solid var(--foreground);
91
- transform: translateZ(68px);
92
- animation: ripple 2.6s ease-out infinite;
93
- }
94
-
95
- @keyframes ripple {
96
- from {
97
- transform: translateZ(68px) scale(1);
98
- opacity: 0.8;
99
- }
100
- to {
101
- transform: translateZ(68px) scale(3.2);
102
- opacity: 0;
103
- }
104
- }
105
- .legend {
106
- margin: 0;
107
- display: grid;
108
- gap: 14px;
109
- padding-right: 22px;
110
- }
111
-
112
- .stage {
113
- padding-left: 12px;
114
- border-left: 1px dashed var(--line-2);
115
- }
116
- .stage dt {
117
- font-size: 10.5px;
118
- text-transform: uppercase;
119
- letter-spacing: 0.05em;
120
- color: var(--foreground-3);
121
- }
122
- .stage dd {
123
- margin: 0;
124
- font-size: 22px;
125
- font-weight: 600;
126
- letter-spacing: -0.03em;
127
- font-variant-numeric: tabular-nums;
128
- }
1
+ .visual{position:absolute;inset:0;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;perspective:1000px}.scene{position:relative;justify-self:center;width:150px;height:150px;transform-style:preserve-3d;transform:rotateX(62deg) rotateZ(-38deg);animation:turn 16s linear infinite}@keyframes turn{to{transform:rotateX(62deg) rotateZ(322deg)}}.plate{position:absolute;inset:0;margin:auto;border-radius:16px;border:1px solid var(--foreground-3);background:color-mix(in srgb, var(--foreground) 6%, transparent);box-shadow:0 0 40px -10px color-mix(in srgb, var(--foreground) 30%, transparent)}.plate0{width:150px;height:150px;transform:translateZ(0)}.on .plate0{animation:lift-0 1.4s cubic-bezier(0.22, 1, 0.36, 1) both}.plate1{width:104px;height:104px;transform:translateZ(34px);background:color-mix(in srgb, var(--foreground) 12%, transparent)}.on .plate1{animation:lift-1 1.4s .15s cubic-bezier(0.22, 1, 0.36, 1) both}.plate2{width:58px;height:58px;transform:translateZ(68px);background:var(--foreground);border-color:var(--foreground)}.on .plate2{animation:lift-2 1.4s .3s cubic-bezier(0.22, 1, 0.36, 1) both}@keyframes lift-0{from{transform:translateZ(0);opacity:0}}@keyframes lift-1{from{transform:translateZ(0);opacity:0}}@keyframes lift-2{from{transform:translateZ(0);opacity:0}}.ring{position:absolute;inset:0;margin:auto;width:58px;height:58px;border-radius:16px;border:1px solid var(--foreground);transform:translateZ(68px);animation:ripple 2.6s ease-out infinite}@keyframes ripple{from{transform:translateZ(68px) scale(1);opacity:.8}to{transform:translateZ(68px) scale(3.2);opacity:0}}.legend{margin:0;display:grid;gap:14px;padding-right:22px}.stage{padding-left:12px;border-left:1px dashed var(--line-2)}.stage dt{font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--foreground-3)}.stage dd{margin:0;font-size:22px;font-weight:600;letter-spacing:-0.03em;font-variant-numeric:tabular-nums}