@sharadox/sharadox-web-library 0.42.0 → 0.44.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 +1 -1
- package/distribution/component/about/feed/activity/index.d.ts +8 -0
- package/distribution/component/about/feed/activity/index.d.ts.map +1 -0
- package/distribution/component/about/feed/activity/index.js +23 -0
- package/distribution/component/about/feed/activity/index.js.map +1 -0
- package/distribution/component/about/feed/activity/index.module.css +1 -0
- package/distribution/component/about/feed/activity/index.module.scss +91 -0
- package/distribution/component/about/feed/activity/type.d.ts +7 -0
- package/distribution/component/about/feed/activity/type.d.ts.map +1 -0
- package/distribution/component/about/feed/activity/type.js +2 -0
- package/distribution/component/about/feed/activity/type.js.map +1 -0
- package/distribution/component/about/feed/client/index.d.ts +7 -0
- package/distribution/component/about/feed/client/index.d.ts.map +1 -0
- package/distribution/component/about/feed/client/index.js +18 -0
- package/distribution/component/about/feed/client/index.js.map +1 -0
- package/distribution/component/about/feed/client/index.module.css +1 -0
- package/distribution/component/about/feed/client/index.module.scss +183 -0
- package/distribution/component/about/feed/client/type.d.ts +5 -0
- package/distribution/component/about/feed/client/type.d.ts.map +1 -0
- package/distribution/component/about/feed/client/type.js +2 -0
- package/distribution/component/about/feed/client/type.js.map +1 -0
- package/distribution/component/about/feed/euros/index.d.ts +4 -0
- package/distribution/component/about/feed/euros/index.d.ts.map +1 -0
- package/distribution/component/about/feed/euros/index.js +7 -0
- package/distribution/component/about/feed/euros/index.js.map +1 -0
- package/distribution/component/about/feed/index.d.ts +5 -10
- package/distribution/component/about/feed/index.d.ts.map +1 -1
- package/distribution/component/about/feed/index.js +98 -21
- package/distribution/component/about/feed/index.js.map +1 -1
- package/distribution/component/about/feed/index.module.css +1 -1
- package/distribution/component/about/feed/index.module.scss +81 -340
- package/distribution/component/about/feed/project/index.d.ts +7 -0
- package/distribution/component/about/feed/project/index.d.ts.map +1 -0
- package/distribution/component/about/feed/project/index.js +18 -0
- package/distribution/component/about/feed/project/index.js.map +1 -0
- package/distribution/component/about/feed/project/index.module.css +1 -0
- package/distribution/component/about/feed/project/index.module.scss +129 -0
- package/distribution/component/about/feed/project/type.d.ts +7 -0
- package/distribution/component/about/feed/project/type.d.ts.map +1 -0
- package/distribution/component/about/feed/project/type.js +2 -0
- package/distribution/component/about/feed/project/type.js.map +1 -0
- package/distribution/component/about/feed/script/index.d.ts +14 -0
- package/distribution/component/about/feed/script/index.d.ts.map +1 -0
- package/distribution/component/about/feed/script/index.js +60 -0
- package/distribution/component/about/feed/script/index.js.map +1 -0
- package/distribution/component/about/feed/script/type.d.ts +16 -0
- package/distribution/component/about/feed/script/type.d.ts.map +1 -0
- package/distribution/component/about/feed/script/type.js +2 -0
- package/distribution/component/about/feed/script/type.js.map +1 -0
- package/distribution/component/footer/index.d.ts.map +1 -1
- package/distribution/component/footer/index.js +2 -2
- package/distribution/component/footer/index.js.map +1 -1
- 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 +144 -79
- package/distribution/content/about/index.d.ts.map +1 -1
- package/distribution/content/about/index.js +95 -43
- package/distribution/content/about/index.js.map +1 -1
- package/distribution/content/footer/index.d.ts +1 -1
- package/distribution/content/footer/index.d.ts.map +1 -1
- package/distribution/content/footer/index.js +1 -1
- package/distribution/content/footer/index.js.map +1 -1
- package/distribution/content/site/index.d.ts +10 -7
- package/distribution/content/site/index.d.ts.map +1 -1
- package/distribution/content/site/index.js +9 -6
- package/distribution/content/site/index.js.map +1 -1
- package/llms.txt +3 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/about/feed/index.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/about/feed/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,eAAe,EAAE,MAAM,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AAE,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,YAEzC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,IARf,GAAG,CASG,CACd,GACe,EAClB,MAAC,MAAM,CAAC,GAAG,IACT,SAAS,EAAE,MAAM,CAAC,OAAO,EACzB,OAAO,EAAE,KAAK,EACd,OAAO,EAAE,EAAE,CAAC,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAC/E,UAAU,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,aAEzC,KAAC,eAAe,cACb,OAAO,GAAG,CAAC,IAAI,CACd,KAAC,MAAM,CAAC,IAAI,IAEV,SAAS,EAAE,MAAM,CAAC,MAAM,EACxB,OAAO,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,EACrC,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,EACnC,UAAU,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,IAJxB,OAAO,CAKZ,CACH,GACe,EAClB,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,EAAC,WAAW,EAAE,GAAG,GAAI,IAC9B,IACT,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.feed{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;justify-content:stretch;gap:14px;padding:18px;border-radius:14px;box-shadow:0 30px 60px -30px color-mix(in srgb, var(--foreground) 35%, transparent)}.header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding-bottom:12px;border-bottom:1px dashed var(--line-2);font-family:var(--monospace);font-size:11.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-2)}.live{display:inline-flex;align-items:center;gap:8px}.live i{width:7px;height:7px;border-radius:50%;background:var(--foreground);box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 60%, transparent);animation:feed-live 2.4s infinite}@media(prefers-reduced-motion: reduce){.live i{animation:none}}@keyframes feed-live{70%{box-shadow:0 0 0 8px color-mix(in srgb, var(--foreground) 0%, transparent)}100%{box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 0%, transparent)}}.viewing{display:inline-flex;align-items:center;gap:6px}.places{display:inline-grid;justify-items:start}.places b{grid-area:1/1;font-weight:400;color:var(--foreground);opacity:0}.places b:nth-child(1){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 0s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(1){animation:none}}.places b:nth-child(2){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 3s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(2){animation:none}}.places b:nth-child(3){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 6s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(3){animation:none}}.places b:nth-child(4){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 9s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(4){animation:none}}@media(prefers-reduced-motion: reduce){.places b:first-child{opacity:1}}@keyframes feed-place{0%{opacity:0;transform:translateY(6px)}6%,22%{opacity:1;transform:none}28%,100%{opacity:0;transform:translateY(-6px)}}.events{display:grid;justify-content:stretch;gap:8px;margin:0;padding:0;list-style:none}.events li{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:10px 12px;border:1px solid var(--line-2);border-radius:10px;background:color-mix(in srgb, var(--foreground) 10%, var(--background));font-size:14px}.events li:nth-child(1){animation:feed-event-1 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(1){animation:none}}.events li:nth-child(1) .check,.events li:nth-child(1) .person{animation:feed-check-1 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(1) .check,.events li:nth-child(1) .person{animation:none}}.events li:nth-child(2){animation:feed-event-2 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(2){animation:none}}.events li:nth-child(2) .check,.events li:nth-child(2) .person{animation:feed-check-2 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(2) .check,.events li:nth-child(2) .person{animation:none}}.events li:nth-child(3){animation:feed-event-3 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(3){animation:none}}.events li:nth-child(3) .check,.events li:nth-child(3) .person{animation:feed-check-3 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(3) .check,.events li:nth-child(3) .person{animation:none}}.events li:nth-child(4){animation:feed-event-4 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(4){animation:none}}.events li:nth-child(4) .check,.events li:nth-child(4) .person{animation:feed-check-4 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(4) .check,.events li:nth-child(4) .person{animation:none}}.events li:nth-child(5){animation:feed-event-5 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(5){animation:none}}.events li:nth-child(5) .check,.events li:nth-child(5) .person{animation:feed-check-5 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(5) .check,.events li:nth-child(5) .person{animation:none}}.events li:nth-child(6){animation:feed-event-6 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(6){animation:none}}.events li:nth-child(6) .check,.events li:nth-child(6) .person{animation:feed-check-6 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(6) .check,.events li:nth-child(6) .person{animation:none}}.events span{flex:1}.events time{font-size:11px;color:var(--foreground-3)}@keyframes feed-event-1{0%,4%{opacity:.25;transform:translateX(-8px)}9%,90%{opacity:1;transform:none}97%,100%{opacity:.25;transform:none}}@keyframes feed-check-1{0%,8%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}12%,90%{background:var(--foreground);color:var(--background)}97%,100%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}}@keyframes feed-event-2{0%,16%{opacity:.25;transform:translateX(-8px)}21%,90%{opacity:1;transform:none}97%,100%{opacity:.25;transform:none}}@keyframes feed-check-2{0%,20%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}24%,90%{background:var(--foreground);color:var(--background)}97%,100%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}}@keyframes feed-event-3{0%,28%{opacity:.25;transform:translateX(-8px)}33%,90%{opacity:1;transform:none}97%,100%{opacity:.25;transform:none}}@keyframes feed-check-3{0%,32%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}36%,90%{background:var(--foreground);color:var(--background)}97%,100%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}}@keyframes feed-event-4{0%,40%{opacity:.25;transform:translateX(-8px)}45%,90%{opacity:1;transform:none}97%,100%{opacity:.25;transform:none}}@keyframes feed-check-4{0%,44%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}48%,90%{background:var(--foreground);color:var(--background)}97%,100%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}}@keyframes feed-event-5{0%,52%{opacity:.25;transform:translateX(-8px)}57%,90%{opacity:1;transform:none}97%,100%{opacity:.25;transform:none}}@keyframes feed-check-5{0%,56%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}60%,90%{background:var(--foreground);color:var(--background)}97%,100%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}}@keyframes feed-event-6{0%,64%{opacity:.25;transform:translateX(-8px)}69%,90%{opacity:1;transform:none}97%,100%{opacity:.25;transform:none}}@keyframes feed-check-6{0%,68%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}72%,90%{background:var(--foreground);color:var(--background)}97%,100%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}}.check{position:relative;flex:none;width:18px;height:18px;border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);border-radius:50%;color:var(--background);background:var(--foreground)}.check::after{content:"";position:absolute;left:5.5px;top:3px;width:4px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}.person{display:grid;place-items:center;flex:none;width:18px;height:18px;border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);border-radius:50%;font-family:var(--monospace);font-size:10px;font-style:normal;font-weight:600;line-height:1}.tabs{position:relative;display:grid;grid-template-columns:repeat(3, 1fr);justify-items:center;padding-bottom:8px;border-bottom:1px solid var(--line-2);font-size:12.5px;font-weight:500;color:var(--foreground-3)}.tabs span{animation:feed-tab 30s linear infinite backwards}@media(prefers-reduced-motion: reduce){.tabs span{animation:none}}.tabs span:nth-child(1){color:var(--foreground)}.tabs span:nth-child(2){animation-delay:10s}.tabs span:nth-child(3){animation-delay:20s}@keyframes feed-tab{0%,32%{color:var(--foreground)}34%,100%{color:var(--foreground-3)}}.underline{position:absolute;left:0;bottom:-1px;width:33.3333333333%;height:2px;background:var(--foreground);animation:feed-underline 30s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.underline{animation:none}}@keyframes feed-underline{0%,31%{transform:translateX(0)}34%,64%{transform:translateX(100%)}67%,97%{transform:translateX(200%)}100%{transform:translateX(0)}}.panes{display:grid;justify-content:stretch}.panes>*{grid-area:1/1;opacity:0;animation:feed-pane 30s cubic-bezier(0.22, 1, 0.36, 1) infinite backwards}@media(prefers-reduced-motion: reduce){.panes>*{animation:none}}.panes>*:nth-child(1){opacity:1}.panes>*:nth-child(2){animation-delay:10s}.panes>*:nth-child(3){animation-delay:20s}@keyframes feed-pane{0%{opacity:0;transform:translateY(6px)}2%,31%{opacity:1;transform:none}33.3%,100%{opacity:0;transform:none}}.title{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left}.title b{font-weight:600;letter-spacing:-0.02em}.title small{display:block;font-size:12px;color:var(--foreground-3)}.client .title{justify-content:flex-start}.chip{flex:none;padding:3px 9px;border:1px solid var(--line-2);border-radius:99px;font-size:11.5px;color:var(--foreground-2)}.project,.client{display:grid;justify-content:stretch;align-content:start;gap:14px}.meter{display:grid;grid-template-columns:1fr auto;gap:6px;font-size:12.5px;color:var(--foreground-2);text-align:left}.meter b{color:var(--foreground);font-weight:600}.meter i{grid-column:1/-1;height:6px;border-radius:99px;background:linear-gradient(var(--foreground), var(--foreground)) 0 0/var(--to) 100% no-repeat,color-mix(in srgb, var(--foreground) 20%, transparent);animation:feed-fill 30s cubic-bezier(0.22, 1, 0.36, 1) infinite 10s backwards}@media(prefers-reduced-motion: reduce){.meter i{animation:none}}@keyframes feed-fill{0%,2%{background-size:0 100%,auto}14%,100%{background-size:var(--to) 100%,auto}}.milestones,.history{display:grid;justify-content:stretch;gap:8px;margin:0;padding:0;list-style:none}.milestones li,.history li{display:flex;align-items:center;justify-content:flex-start;gap:10px;font-size:13.5px;text-align:left}.milestones li i,.history li i{flex:none;width:10px;height:10px;border:1.5px solid color-mix(in srgb, var(--foreground) 50%, transparent);border-radius:50%}.milestones li[data-state=done] i,.history li[data-state=done] i{border-color:var(--foreground);background:var(--foreground)}.milestones li[data-state=now] i,.history li[data-state=now] i{border-color:var(--foreground);box-shadow:0 0 0 3px color-mix(in srgb, var(--foreground) 20%, transparent)}.milestones li[data-state=next],.history li[data-state=next]{color:var(--foreground-3)}.history li{padding:8px 10px;border:1px solid var(--line-2);border-radius:10px;background:color-mix(in srgb, var(--foreground) 10%, var(--background))}.history li span{flex:1}.history li small{margin-left:6px;font-size:11.5px;color:var(--foreground-3)}.history li b{font-weight:600}.figures{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:8px}.figures>span{display:grid;justify-items:start;gap:2px;padding:10px 12px;border:1px solid var(--line-2);border-radius:10px;background:color-mix(in srgb, var(--foreground) 10%, var(--background));font-size:11.5px;color:var(--foreground-3)}.figures b{font-size:16px;font-weight:600;letter-spacing:-0.02em;color:var(--foreground)}.label{font-size:11.5px;font-family:var(--monospace);letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-3);text-align:left}.avatar{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:var(--foreground);color:var(--background);font-size:13px;font-weight:600}
|
|
1
|
+
.feed{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;justify-content:stretch;gap:14px;padding:18px;border-radius:14px;box-shadow:0 30px 60px -30px color-mix(in srgb, var(--foreground) 35%, transparent)}.header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding-bottom:12px;border-bottom:1px dashed var(--line-2);font-family:var(--monospace);font-size:11.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-2)}.live{display:inline-flex;align-items:center;gap:8px}.live i{width:7px;height:7px;border-radius:50%;background:var(--foreground);box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 60%, transparent);animation:feed-live 2.4s infinite}@media(prefers-reduced-motion: reduce){.live i{animation:none}}@keyframes feed-live{70%{box-shadow:0 0 0 8px color-mix(in srgb, var(--foreground) 0%, transparent)}100%{box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 0%, transparent)}}.viewing{display:inline-flex;align-items:center;gap:6px}.places{display:inline-grid;justify-items:start}.places b{grid-area:1/1;font-weight:400;color:var(--foreground);opacity:0}.places b:nth-child(1){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 0s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(1){animation:none}}.places b:nth-child(2){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 3s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(2){animation:none}}.places b:nth-child(3){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 6s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(3){animation:none}}.places b:nth-child(4){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 9s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(4){animation:none}}@media(prefers-reduced-motion: reduce){.places b:first-child{opacity:1}}@keyframes feed-place{0%{opacity:0;transform:translateY(6px)}6%,22%{opacity:1;transform:none}28%,100%{opacity:0;transform:translateY(-6px)}}.feed:not([data-playing]) *{animation-play-state:paused !important}.feed{position:relative;container-type:inline-size}.tabs{position:relative;display:grid;grid-template-columns:repeat(3, 1fr);padding-bottom:8px;border-bottom:1px solid var(--line-2);font-size:12.5px;font-weight:500}.tabs span{padding:4px 0;color:var(--foreground-3);transition:color .3s}.tabs span[data-active]{color:var(--foreground)}.underline{position:absolute;left:0;bottom:-1px;width:33.3333333333%;height:2px;background:var(--foreground);transition:transform .5s cubic-bezier(0.22, 1, 0.36, 1)}.panes{display:grid;justify-content:stretch}.panes>*{grid-area:1/1;align-self:start;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .45s cubic-bezier(0.22, 1, 0.36, 1),transform .45s cubic-bezier(0.22, 1, 0.36, 1),visibility 0s .45s}.panes>*[data-active]{opacity:1;visibility:visible;transform:none;transition:opacity .45s cubic-bezier(0.22, 1, 0.36, 1) .1s,transform .45s cubic-bezier(0.22, 1, 0.36, 1) .1s}.pointer{position:absolute;top:0;left:0;z-index:3;width:22px;height:22px;pointer-events:none}.pointer svg{width:22px;height:22px;filter:drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45))}.pointer path{fill:var(--foreground);stroke:var(--background);stroke-width:1.4}.ripple{position:absolute;top:-12px;left:-12px;width:30px;height:30px;border:1.5px solid var(--foreground);border-radius:50%}.tip{position:absolute;z-index:2;padding:6px 10px;border-radius:8px;background:var(--foreground);color:var(--background);font-size:12px;font-weight:500;white-space:nowrap;pointer-events:none;box-shadow:0 10px 24px -10px rgba(0,0,0,.6)}.tip::after{content:"";position:absolute;left:50%;bottom:-4px;width:8px;height:8px;margin-left:-4px;background:inherit;transform:rotate(45deg)}.feed [data-target][data-pointed]{outline:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);outline-offset:2px;border-radius:10px}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
@use "style/token" as *;
|
|
2
2
|
@use "style/object" as *;
|
|
3
3
|
|
|
4
|
-
/* One round: the events tick in one after another, hold, and clear for the next round. */
|
|
5
|
-
$round: 10s;
|
|
6
|
-
$events: 6;
|
|
7
4
|
/* The places it's viewed from, one after another. */
|
|
8
5
|
$places: 4;
|
|
9
6
|
$place: 3s;
|
|
@@ -94,151 +91,31 @@ $place: 3s;
|
|
|
94
91
|
transform: translateY(-6px);
|
|
95
92
|
}
|
|
96
93
|
}
|
|
97
|
-
.
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
gap: 8px;
|
|
101
|
-
margin: 0;
|
|
102
|
-
padding: 0;
|
|
103
|
-
list-style: none;
|
|
104
|
-
li {
|
|
105
|
-
display: flex;
|
|
106
|
-
align-items: center;
|
|
107
|
-
justify-content: flex-start;
|
|
108
|
-
gap: 12px;
|
|
109
|
-
padding: 10px 12px;
|
|
110
|
-
border: 1px solid var(--line-2);
|
|
111
|
-
border-radius: 10px;
|
|
112
|
-
background: surface($hint);
|
|
113
|
-
font-size: 14px;
|
|
114
|
-
@for $index from 1 through $events {
|
|
115
|
-
&:nth-child(#{$index}) {
|
|
116
|
-
@include loop(feed-event-#{$index} $round $ease infinite);
|
|
117
|
-
.check,
|
|
118
|
-
.person {
|
|
119
|
-
@include loop(feed-check-#{$index} $round $ease infinite);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
span {
|
|
125
|
-
flex: 1;
|
|
126
|
-
}
|
|
127
|
-
time {
|
|
128
|
-
font-size: 11px;
|
|
129
|
-
color: var(--foreground-3);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
/* Each event slides in at its turn, its tick filling a moment later; they all clear together at the end. */
|
|
133
|
-
@for $index from 1 through $events {
|
|
134
|
-
$start: 4% + ($index - 1) * 12%;
|
|
135
|
-
@keyframes feed-event-#{$index} {
|
|
136
|
-
0%,
|
|
137
|
-
#{$start} {
|
|
138
|
-
opacity: 0.25;
|
|
139
|
-
transform: translateX(-8px);
|
|
140
|
-
}
|
|
141
|
-
#{$start + 5%},
|
|
142
|
-
90% {
|
|
143
|
-
opacity: 1;
|
|
144
|
-
transform: none;
|
|
145
|
-
}
|
|
146
|
-
97%,
|
|
147
|
-
100% {
|
|
148
|
-
opacity: 0.25;
|
|
149
|
-
transform: none;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
@keyframes feed-check-#{$index} {
|
|
153
|
-
0%,
|
|
154
|
-
#{$start + 4%} {
|
|
155
|
-
background: transparent;
|
|
156
|
-
color: transparent;
|
|
157
|
-
}
|
|
158
|
-
#{$start + 8%},
|
|
159
|
-
90% {
|
|
160
|
-
background: var(--foreground);
|
|
161
|
-
color: var(--background);
|
|
162
|
-
}
|
|
163
|
-
97%,
|
|
164
|
-
100% {
|
|
165
|
-
background: transparent;
|
|
166
|
-
color: transparent;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
94
|
+
/* Until the panel is in view nothing moves, so it starts from the beginning when the visitor gets to it. */
|
|
95
|
+
.feed:not([data-playing]) * {
|
|
96
|
+
animation-play-state: paused !important;
|
|
169
97
|
}
|
|
170
|
-
/*
|
|
171
|
-
.
|
|
98
|
+
/* The panes size themselves by the panel's width (narrow on phones), not the window's. */
|
|
99
|
+
.feed {
|
|
172
100
|
position: relative;
|
|
173
|
-
|
|
174
|
-
width: 18px;
|
|
175
|
-
height: 18px;
|
|
176
|
-
border: 1px solid tint($edge);
|
|
177
|
-
border-radius: 50%;
|
|
178
|
-
color: var(--background);
|
|
179
|
-
background: var(--foreground);
|
|
180
|
-
&::after {
|
|
181
|
-
content: "";
|
|
182
|
-
position: absolute;
|
|
183
|
-
left: 5.5px;
|
|
184
|
-
top: 3px;
|
|
185
|
-
width: 4px;
|
|
186
|
-
height: 8px;
|
|
187
|
-
border-right: 1.5px solid currentColor;
|
|
188
|
-
border-bottom: 1.5px solid currentColor;
|
|
189
|
-
transform: rotate(45deg);
|
|
190
|
-
}
|
|
101
|
+
container-type: inline-size;
|
|
191
102
|
}
|
|
192
|
-
/*
|
|
193
|
-
.person {
|
|
194
|
-
display: grid;
|
|
195
|
-
place-items: center;
|
|
196
|
-
flex: none;
|
|
197
|
-
width: 18px;
|
|
198
|
-
height: 18px;
|
|
199
|
-
border: 1px solid tint($edge);
|
|
200
|
-
border-radius: 50%;
|
|
201
|
-
font-family: var(--monospace);
|
|
202
|
-
font-size: 10px;
|
|
203
|
-
font-style: normal;
|
|
204
|
-
font-weight: 600;
|
|
205
|
-
line-height: 1;
|
|
206
|
-
}
|
|
207
|
-
/* The three tabs take turns, ten seconds each (one round of the activity), the underline sliding under the one shown. */
|
|
208
|
-
$tab: 10s;
|
|
209
|
-
$cycle: $tab * 3;
|
|
210
|
-
|
|
103
|
+
/* The tabs, the underline sliding under the one shown. */
|
|
211
104
|
.tabs {
|
|
212
105
|
position: relative;
|
|
213
106
|
display: grid;
|
|
214
107
|
grid-template-columns: repeat(3, 1fr);
|
|
215
|
-
justify-items: center;
|
|
216
108
|
padding-bottom: 8px;
|
|
217
109
|
border-bottom: 1px solid var(--line-2);
|
|
218
110
|
font-size: 12.5px;
|
|
219
111
|
font-weight: 500;
|
|
220
|
-
color: var(--foreground-3);
|
|
221
112
|
span {
|
|
222
|
-
|
|
223
|
-
|
|
113
|
+
padding: 4px 0;
|
|
114
|
+
color: var(--foreground-3);
|
|
115
|
+
transition: color 0.3s;
|
|
116
|
+
&[data-active] {
|
|
224
117
|
color: var(--foreground);
|
|
225
118
|
}
|
|
226
|
-
&:nth-child(2) {
|
|
227
|
-
animation-delay: $tab;
|
|
228
|
-
}
|
|
229
|
-
&:nth-child(3) {
|
|
230
|
-
animation-delay: $tab * 2;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
@keyframes feed-tab {
|
|
235
|
-
0%,
|
|
236
|
-
32% {
|
|
237
|
-
color: var(--foreground);
|
|
238
|
-
}
|
|
239
|
-
34%,
|
|
240
|
-
100% {
|
|
241
|
-
color: var(--foreground-3);
|
|
242
119
|
}
|
|
243
120
|
}
|
|
244
121
|
.underline {
|
|
@@ -248,225 +125,89 @@ $cycle: $tab * 3;
|
|
|
248
125
|
width: calc(100% / 3);
|
|
249
126
|
height: 2px;
|
|
250
127
|
background: var(--foreground);
|
|
251
|
-
|
|
128
|
+
transition: transform 0.5s $ease;
|
|
252
129
|
}
|
|
253
|
-
|
|
254
|
-
0%,
|
|
255
|
-
31% {
|
|
256
|
-
transform: translateX(0);
|
|
257
|
-
}
|
|
258
|
-
34%,
|
|
259
|
-
64% {
|
|
260
|
-
transform: translateX(100%);
|
|
261
|
-
}
|
|
262
|
-
67%,
|
|
263
|
-
97% {
|
|
264
|
-
transform: translateX(200%);
|
|
265
|
-
}
|
|
266
|
-
100% {
|
|
267
|
-
transform: translateX(0);
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
/* The panes share one place; each shows during its tab's turn. */
|
|
130
|
+
/* The panes share one place, so the panel keeps its height; the one shown fades in. */
|
|
271
131
|
.panes {
|
|
272
132
|
display: grid;
|
|
273
133
|
justify-content: stretch;
|
|
274
134
|
> * {
|
|
275
135
|
grid-area: 1 / 1;
|
|
136
|
+
align-self: start;
|
|
276
137
|
opacity: 0;
|
|
277
|
-
|
|
278
|
-
|
|
138
|
+
visibility: hidden;
|
|
139
|
+
transform: translateY(6px);
|
|
140
|
+
transition:
|
|
141
|
+
opacity 0.45s $ease,
|
|
142
|
+
transform 0.45s $ease,
|
|
143
|
+
visibility 0s 0.45s;
|
|
144
|
+
&[data-active] {
|
|
279
145
|
opacity: 1;
|
|
146
|
+
visibility: visible;
|
|
147
|
+
transform: none;
|
|
148
|
+
transition:
|
|
149
|
+
opacity 0.45s $ease 0.1s,
|
|
150
|
+
transform 0.45s $ease 0.1s;
|
|
280
151
|
}
|
|
281
|
-
&:nth-child(2) {
|
|
282
|
-
animation-delay: $tab;
|
|
283
|
-
}
|
|
284
|
-
&:nth-child(3) {
|
|
285
|
-
animation-delay: $tab * 2;
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
@keyframes feed-pane {
|
|
290
|
-
0% {
|
|
291
|
-
opacity: 0;
|
|
292
|
-
transform: translateY(6px);
|
|
293
|
-
}
|
|
294
|
-
2%,
|
|
295
|
-
31% {
|
|
296
|
-
opacity: 1;
|
|
297
|
-
transform: none;
|
|
298
|
-
}
|
|
299
|
-
33.3%,
|
|
300
|
-
100% {
|
|
301
|
-
opacity: 0;
|
|
302
|
-
transform: none;
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
/* A pane's heading: the project, or the client, with its badge. */
|
|
306
|
-
.title {
|
|
307
|
-
display: flex;
|
|
308
|
-
align-items: center;
|
|
309
|
-
justify-content: space-between;
|
|
310
|
-
gap: 10px;
|
|
311
|
-
text-align: left;
|
|
312
|
-
b {
|
|
313
|
-
font-weight: 600;
|
|
314
|
-
letter-spacing: -0.02em;
|
|
315
|
-
}
|
|
316
|
-
small {
|
|
317
|
-
display: block;
|
|
318
|
-
font-size: 12px;
|
|
319
|
-
color: var(--foreground-3);
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
.client .title {
|
|
323
|
-
justify-content: flex-start;
|
|
324
|
-
}
|
|
325
|
-
.chip {
|
|
326
|
-
flex: none;
|
|
327
|
-
padding: 3px 9px;
|
|
328
|
-
border: 1px solid var(--line-2);
|
|
329
|
-
border-radius: 99px;
|
|
330
|
-
font-size: 11.5px;
|
|
331
|
-
color: var(--foreground-2);
|
|
332
|
-
}
|
|
333
|
-
.project,
|
|
334
|
-
.client {
|
|
335
|
-
display: grid;
|
|
336
|
-
justify-content: stretch;
|
|
337
|
-
align-content: start;
|
|
338
|
-
gap: 14px;
|
|
339
|
-
}
|
|
340
|
-
/* The project's progress: a bar filling when the tab comes round. */
|
|
341
|
-
.meter {
|
|
342
|
-
display: grid;
|
|
343
|
-
grid-template-columns: 1fr auto;
|
|
344
|
-
gap: 6px;
|
|
345
|
-
font-size: 12.5px;
|
|
346
|
-
color: var(--foreground-2);
|
|
347
|
-
text-align: left;
|
|
348
|
-
b {
|
|
349
|
-
color: var(--foreground);
|
|
350
|
-
font-weight: 600;
|
|
351
|
-
}
|
|
352
|
-
i {
|
|
353
|
-
grid-column: 1 / -1;
|
|
354
|
-
height: 6px;
|
|
355
|
-
border-radius: 99px;
|
|
356
|
-
background:
|
|
357
|
-
linear-gradient(var(--foreground), var(--foreground)) 0 0 / var(--to) 100% no-repeat,
|
|
358
|
-
tint($faint);
|
|
359
|
-
@include loop(feed-fill $cycle $ease infinite $tab backwards);
|
|
360
152
|
}
|
|
361
153
|
}
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
154
|
+
/* The pointer, solid with a dark edge, and the ring it leaves where it clicks. */
|
|
155
|
+
.pointer {
|
|
156
|
+
position: absolute;
|
|
157
|
+
top: 0;
|
|
158
|
+
left: 0;
|
|
159
|
+
z-index: 3;
|
|
160
|
+
width: 22px;
|
|
161
|
+
height: 22px;
|
|
162
|
+
pointer-events: none;
|
|
163
|
+
svg {
|
|
164
|
+
width: 22px;
|
|
165
|
+
height: 22px;
|
|
166
|
+
filter: drop-shadow(0 2px 4px rgb(0 0 0 / 0.45));
|
|
167
|
+
}
|
|
168
|
+
path {
|
|
169
|
+
fill: var(--foreground);
|
|
170
|
+
stroke: var(--background);
|
|
171
|
+
stroke-width: 1.4;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
.ripple {
|
|
175
|
+
position: absolute;
|
|
176
|
+
top: -12px;
|
|
177
|
+
left: -12px;
|
|
178
|
+
width: 30px;
|
|
179
|
+
height: 30px;
|
|
180
|
+
border: 1.5px solid var(--foreground);
|
|
181
|
+
border-radius: 50%;
|
|
375
182
|
}
|
|
376
|
-
/*
|
|
377
|
-
.
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
&[data-state="done"] i {
|
|
400
|
-
border-color: var(--foreground);
|
|
401
|
-
background: var(--foreground);
|
|
402
|
-
}
|
|
403
|
-
&[data-state="now"] i {
|
|
404
|
-
border-color: var(--foreground);
|
|
405
|
-
box-shadow: 0 0 0 3px tint($faint);
|
|
406
|
-
}
|
|
407
|
-
&[data-state="next"] {
|
|
408
|
-
color: var(--foreground-3);
|
|
409
|
-
}
|
|
183
|
+
/* A label over what the pointer is reading. */
|
|
184
|
+
.tip {
|
|
185
|
+
position: absolute;
|
|
186
|
+
z-index: 2;
|
|
187
|
+
padding: 6px 10px;
|
|
188
|
+
border-radius: 8px;
|
|
189
|
+
background: var(--foreground);
|
|
190
|
+
color: var(--background);
|
|
191
|
+
font-size: 12px;
|
|
192
|
+
font-weight: 500;
|
|
193
|
+
white-space: nowrap;
|
|
194
|
+
pointer-events: none;
|
|
195
|
+
box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.6);
|
|
196
|
+
&::after {
|
|
197
|
+
content: "";
|
|
198
|
+
position: absolute;
|
|
199
|
+
left: 50%;
|
|
200
|
+
bottom: -4px;
|
|
201
|
+
width: 8px;
|
|
202
|
+
height: 8px;
|
|
203
|
+
margin-left: -4px;
|
|
204
|
+
background: inherit;
|
|
205
|
+
transform: rotate(45deg);
|
|
410
206
|
}
|
|
411
207
|
}
|
|
412
|
-
.
|
|
413
|
-
|
|
414
|
-
|
|
208
|
+
/* What the pointer is on lifts a little. */
|
|
209
|
+
.feed [data-target][data-pointed] {
|
|
210
|
+
outline: 1px solid tint($edge);
|
|
211
|
+
outline-offset: 2px;
|
|
415
212
|
border-radius: 10px;
|
|
416
|
-
background: surface($hint);
|
|
417
|
-
span {
|
|
418
|
-
flex: 1;
|
|
419
|
-
}
|
|
420
|
-
small {
|
|
421
|
-
margin-left: 6px;
|
|
422
|
-
font-size: 11.5px;
|
|
423
|
-
color: var(--foreground-3);
|
|
424
|
-
}
|
|
425
|
-
b {
|
|
426
|
-
font-weight: 600;
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
/* Figures side by side: a label over a big number. */
|
|
430
|
-
.figures {
|
|
431
|
-
display: grid;
|
|
432
|
-
grid-auto-flow: column;
|
|
433
|
-
grid-auto-columns: 1fr;
|
|
434
|
-
gap: 8px;
|
|
435
|
-
> span {
|
|
436
|
-
display: grid;
|
|
437
|
-
justify-items: start;
|
|
438
|
-
gap: 2px;
|
|
439
|
-
padding: 10px 12px;
|
|
440
|
-
border: 1px solid var(--line-2);
|
|
441
|
-
border-radius: 10px;
|
|
442
|
-
background: surface($hint);
|
|
443
|
-
font-size: 11.5px;
|
|
444
|
-
color: var(--foreground-3);
|
|
445
|
-
}
|
|
446
|
-
b {
|
|
447
|
-
font-size: 16px;
|
|
448
|
-
font-weight: 600;
|
|
449
|
-
letter-spacing: -0.02em;
|
|
450
|
-
color: var(--foreground);
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
.label {
|
|
454
|
-
font-size: 11.5px;
|
|
455
|
-
font-family: var(--monospace);
|
|
456
|
-
letter-spacing: 0.04em;
|
|
457
|
-
text-transform: uppercase;
|
|
458
|
-
color: var(--foreground-3);
|
|
459
|
-
text-align: left;
|
|
460
|
-
}
|
|
461
|
-
.avatar {
|
|
462
|
-
display: grid;
|
|
463
|
-
place-items: center;
|
|
464
|
-
flex: none;
|
|
465
|
-
width: 36px;
|
|
466
|
-
height: 36px;
|
|
467
|
-
border-radius: 50%;
|
|
468
|
-
background: var(--foreground);
|
|
469
|
-
color: var(--background);
|
|
470
|
-
font-size: 13px;
|
|
471
|
-
font-weight: 600;
|
|
472
213
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ProjectProperties } from "@sharadox/sharadox-web-library/component/about/feed/project/type";
|
|
2
|
+
/**
|
|
3
|
+
* One project: its progress (a number and a bar, both going up when the next task is ticked), the checklist around
|
|
4
|
+
* where the job is, and its budget, what's paid of what was quoted.
|
|
5
|
+
*/
|
|
6
|
+
export declare function Project({ locale, ticked }: ProjectProperties): import("react").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../source/component/about/feed/project/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kEAAkE,CAAC;AAI1G;;;GAGG;AACH,wBAAgB,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,iBAAiB,+BA6C5D"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Icon } from "@sharadox/icon-web-library/icon";
|
|
3
|
+
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
4
|
+
import { euros } from "@sharadox/sharadox-web-library/component/about/feed/euros";
|
|
5
|
+
import { ABOUT } from "@sharadox/sharadox-web-library/content/about";
|
|
6
|
+
import styles from "./index.module.css";
|
|
7
|
+
const { project } = ABOUT.business.feed;
|
|
8
|
+
/**
|
|
9
|
+
* One project: its progress (a number and a bar, both going up when the next task is ticked), the checklist around
|
|
10
|
+
* where the job is, and its budget, what's paid of what was quoted.
|
|
11
|
+
*/
|
|
12
|
+
export function Project({ locale, ticked }) {
|
|
13
|
+
const done = project.tasks.done + (ticked ? 1 : 0);
|
|
14
|
+
const progress = Math.round((done / project.tasks.total) * 100);
|
|
15
|
+
const next = project.checklist.findIndex((task) => !task.done);
|
|
16
|
+
return (_jsxs("div", { className: styles.project, children: [_jsxs("div", { className: styles.title, children: [_jsxs("b", { children: [translate(project.name, locale), " \u00B7 ", project.place] }), _jsx("span", { className: styles.chip, children: translate(project.status, locale) })] }), _jsxs("div", { className: styles.progress, children: [_jsx("span", { children: translate(project.progress, locale) }), _jsxs("b", { className: styles.percent, children: [progress, "%"] }), _jsx("i", { style: { "--to": `${progress}%` } }), _jsxs("small", { className: "monospace", children: [done, "/", project.tasks.total, " ", translate(project.tasksLabel, locale)] })] }), _jsx("ul", { className: styles.checklist, children: project.checklist.map((task, index) => (_jsxs("li", { "data-target": `task-${index}`, "data-done": task.done || (ticked && index === next) || undefined, children: [_jsx("i", { children: _jsx(Icon, { name: "check", strokeWidth: 2.2 }) }), task[locale]] }, task.en))) }), _jsxs("div", { className: styles.budget, "data-target": "budget", children: [_jsx("i", { style: { "--to": `${(project.paid / project.quoted) * 100}%` } }), _jsxs("span", { children: [translate(project.paidLabel, locale), " ", _jsx("b", { children: euros(project.paid, locale) })] }), _jsxs("span", { children: [translate(project.quotedLabel, locale), " ", _jsx("b", { children: euros(project.quoted, locale) })] })] })] }));
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../source/component/about/feed/project/index.tsx"],"names":[],"mappings":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-content:space-between;gap:10px}.title b{font-weight:600;letter-spacing:-0.02em}.chip{flex:none;padding:3px 9px;border:1px solid var(--line-2);border-radius:99px;font-size:11.5px;color:var(--foreground-2)}.progress{display:grid;grid-template-columns:1fr auto;align-items:end;gap:8px;font-size:12.5px;color:var(--foreground-2)}.progress i{grid-column:1/-1;height:8px;border-radius:99px;background:linear-gradient(var(--foreground), var(--foreground)) 0 0/var(--to) 100% no-repeat,color-mix(in srgb, var(--foreground) 20%, transparent);transition:background-size .9s cubic-bezier(0.22, 1, 0.36, 1)}.progress small{grid-column:1/-1;font-size:11px;color:var(--foreground-3)}.percent{font-size:26px;font-weight:600;line-height:1;letter-spacing:-0.04em;color:var(--foreground)}.checklist{display:grid;justify-content:stretch;gap:2px;margin:0;padding:0;list-style:none}.checklist li{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:7px 8px;border-radius:8px;font-size:13.5px;color:var(--foreground-2);transition:color .3s}.checklist li i{display:grid;place-items:center;width:18px;height:18px;border:1.5px solid color-mix(in srgb, var(--foreground) 50%, transparent);border-radius:5px;font-size:12px;color:rgba(0,0,0,0);transition:background-color .3s,border-color .3s,color .3s}.checklist li[data-done]{color:var(--foreground-3);text-decoration:line-through;text-decoration-color:color-mix(in srgb, var(--foreground) 45%, transparent)}.checklist li[data-done] i{border-color:var(--foreground);background:var(--foreground);color:var(--background)}.budget{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px;border:1px solid var(--line-2);border-radius:12px;background:color-mix(in srgb, var(--foreground) 10%, var(--background));font-size:12px;color:var(--foreground-3)}.budget i{grid-column:1/-1;height:6px;border-radius:99px;background:linear-gradient(var(--foreground), var(--foreground)) 0 0/var(--to) 100% no-repeat,color-mix(in srgb, var(--foreground) 20%, transparent)}.budget b{color:var(--foreground);font-weight:600}.budget span:last-child{text-align:right}
|