nish-ui 1.8.0 → 2.0.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 +223 -61
- package/dist/base-tailwind.css +1757 -0
- package/dist/base.css +1590 -1445
- package/dist/chart.d.ts +4 -1
- package/dist/chart.js +122 -49
- package/dist/elements-all.d.ts +8 -0
- package/dist/elements-all.js +178 -0
- package/dist/elements-charts.d.ts +124 -2
- package/dist/elements-charts.js +131 -1
- package/dist/elements-data.d.ts +166 -2
- package/dist/elements-data.js +46 -1
- package/dist/elements-forms.d.ts +71 -0
- package/dist/elements-forms.js +24 -25
- package/dist/elements.d.ts +71 -0
- package/dist/elements.js +4 -5
- package/dist/esm/chart-values.js +58 -0
- package/dist/esm/chart.js +10 -0
- package/dist/esm/cn.js +19 -0
- package/dist/esm/combobox-filter.js +13 -0
- package/dist/esm/components/accordion.js +166 -0
- package/dist/esm/components/app-shell.js +198 -0
- package/dist/esm/components/avatar-classes.js +28 -0
- package/dist/esm/components/avatar.js +113 -0
- package/dist/esm/components/breadcrumbs.js +154 -0
- package/dist/esm/components/canvas/follow-caption.js +32 -0
- package/dist/esm/components/canvas/follow.js +119 -0
- package/dist/esm/components/canvas/icons.js +70 -0
- package/dist/esm/components/canvas/index.js +10 -0
- package/dist/esm/components/canvas/layout.js +258 -0
- package/dist/esm/components/canvas/legend.js +93 -0
- package/dist/esm/components/canvas/minimap.js +127 -0
- package/dist/esm/components/canvas/node.js +87 -0
- package/dist/esm/components/canvas/route.js +262 -0
- package/dist/esm/components/canvas/system-canvas.js +837 -0
- package/dist/esm/components/canvas/types.js +10 -0
- package/dist/esm/components/canvas/view.js +47 -0
- package/dist/esm/components/chart-hooks.js +19 -0
- package/dist/esm/components/charts.js +467 -0
- package/dist/esm/components/client.js +24 -0
- package/dist/esm/components/combobox.js +343 -0
- package/dist/esm/components/command.js +403 -0
- package/dist/esm/components/data-classes.js +159 -0
- package/dist/esm/components/data.js +517 -0
- package/dist/esm/components/display-classes.js +130 -0
- package/dist/esm/components/display.js +755 -0
- package/dist/esm/components/error-boundary.js +64 -0
- package/dist/esm/components/feedback.js +136 -0
- package/dist/esm/components/file-dropzone.js +184 -0
- package/dist/esm/components/filters.js +108 -0
- package/dist/esm/components/flow.js +746 -0
- package/dist/esm/components/forms-classes.js +43 -0
- package/dist/esm/components/forms.js +581 -0
- package/dist/esm/components/hooks-classes.js +9 -0
- package/dist/esm/components/hooks.js +236 -0
- package/dist/esm/components/icons.js +96 -0
- package/dist/esm/components/inbox-classes.js +29 -0
- package/dist/esm/components/inbox.js +257 -0
- package/dist/esm/components/latest.js +13 -0
- package/dist/esm/components/layout-vars.js +96 -0
- package/dist/esm/components/layout.js +272 -0
- package/dist/esm/components/media.js +143 -0
- package/dist/esm/components/nav.js +614 -0
- package/dist/esm/components/overlay-classes.js +66 -0
- package/dist/esm/components/overlay.js +1447 -0
- package/dist/esm/components/pagination-classes.js +29 -0
- package/dist/esm/components/pagination.js +154 -0
- package/dist/esm/components/portal.js +16 -0
- package/dist/esm/components/primitives-classes.js +198 -0
- package/dist/esm/components/primitives.js +268 -0
- package/dist/esm/components/progress.js +77 -0
- package/dist/esm/components/provider.js +32 -0
- package/dist/esm/components/radio-group.js +186 -0
- package/dist/esm/components/resource-classes.js +133 -0
- package/dist/esm/components/resource.js +209 -0
- package/dist/esm/components/segmented.js +178 -0
- package/dist/esm/components/separator.js +38 -0
- package/dist/esm/components/service-tokens.js +221 -0
- package/dist/esm/components/settings.js +301 -0
- package/dist/esm/components/slider.js +262 -0
- package/dist/esm/components/split-classes.js +8 -0
- package/dist/esm/components/split.js +411 -0
- package/dist/esm/components/strings.js +119 -0
- package/dist/esm/components/table.js +144 -0
- package/dist/esm/components/tabs-classes.js +21 -0
- package/dist/esm/components/tabs.js +201 -0
- package/dist/esm/components/tag-input.js +257 -0
- package/dist/esm/components/theme-toggle.js +177 -0
- package/dist/esm/components/toast.js +361 -0
- package/dist/esm/components/url-state.js +118 -0
- package/dist/esm/components/visually-hidden.js +20 -0
- package/dist/esm/format.js +320 -0
- package/dist/esm/inbox-client.js +2 -0
- package/dist/esm/inbox-types.js +2 -0
- package/dist/esm/index.js +320 -0
- package/dist/esm/runtime.js +37 -0
- package/dist/esm/server/inbox/client.js +297 -0
- package/dist/esm/server/inbox/types.js +24 -0
- package/dist/esm/sparkline-path.js +59 -0
- package/dist/esm/split-layout.js +419 -0
- package/dist/esm/system-canvas.js +2 -0
- package/dist/esm/theme.js +804 -0
- package/dist/esm/tokens.mjs +425 -0
- package/dist/esm/url.js +20 -0
- package/dist/files.json +5 -1
- package/dist/fonts/LICENSE-Inter.txt +93 -0
- package/dist/format.d.ts +32 -18
- package/dist/format.js +227 -82
- package/dist/inbox-client.js +3 -1
- package/dist/index.d.ts +1689 -667
- package/dist/nish-components.css +4701 -3169
- package/dist/nish-components.min.css +1 -0
- package/dist/nish.css +1603 -1450
- package/dist/nish.min.css +1 -0
- package/dist/node/eslint.js +29 -14
- package/dist/node/th-check.js +29 -14
- package/dist/node/vite.d.ts +12 -0
- package/dist/node/vite.js +12 -2
- package/dist/server/hono.d.ts +15 -6
- package/dist/server/hono.js +30 -25
- package/dist/server/index.d.ts +3 -10
- package/dist/server/index.js +71 -38
- package/dist/{spa-DuVB5O7S.d.ts → spa-BLlMc0eI.d.ts} +38 -5
- package/dist/system-canvas-BLuWd69H.d.ts +183 -0
- package/dist/system-canvas.d.ts +2 -168
- package/dist/tailwind-core.css +114 -0
- package/dist/tailwind.css +3 -7
- package/dist/theme-init.js +23 -9
- package/dist/theme-init.sha256 +1 -0
- package/dist/theme.d.ts +246 -4
- package/dist/theme.global.js +357 -90
- package/dist/theme.js +338 -68
- package/dist/tokens.css +14 -6
- package/dist/tokens.dtcg.json +1513 -0
- package/dist/tokens.js +29 -14
- package/dist/tokens.json +512 -0
- package/package.json +51 -13
- package/dist/chart.js.map +0 -1
- package/dist/elements-charts.js.map +0 -1
- package/dist/elements-data.js.map +0 -1
- package/dist/elements-forms.js.map +0 -1
- package/dist/elements.js.map +0 -1
- package/dist/format.js.map +0 -1
- package/dist/inbox-client.js.map +0 -1
- package/dist/index.js +0 -10260
- package/dist/index.js.map +0 -1
- package/dist/server/hono.js.map +0 -1
- package/dist/server/index.js.map +0 -1
- package/dist/split-layout.js.map +0 -1
- package/dist/system-canvas.js +0 -2204
- package/dist/system-canvas.js.map +0 -1
- package/dist/theme.global.js.map +0 -1
- package/dist/theme.js.map +0 -1
package/dist/nish.css
CHANGED
|
@@ -111,6 +111,7 @@
|
|
|
111
111
|
--nish-overlay: #22252f;
|
|
112
112
|
--nish-line: #262935;
|
|
113
113
|
--nish-line-strong: #3a3e4d;
|
|
114
|
+
--nish-line-control: #666975;
|
|
114
115
|
--nish-hi: #ececf1;
|
|
115
116
|
--nish-hi2: #a8aab7;
|
|
116
117
|
--nish-hi3: #8a8d9b;
|
|
@@ -161,9 +162,10 @@
|
|
|
161
162
|
--nish-overlay: #e6e4de;
|
|
162
163
|
--nish-line: #e2e0da;
|
|
163
164
|
--nish-line-strong: #c9c6bd;
|
|
165
|
+
--nish-line-control: #8a8881;
|
|
164
166
|
--nish-hi: #17171c;
|
|
165
167
|
--nish-hi2: #4f515c;
|
|
166
|
-
--nish-hi3: #
|
|
168
|
+
--nish-hi3: #626470;
|
|
167
169
|
--nish-ghost: #8a8c98;
|
|
168
170
|
--nish-accent: #4338ca;
|
|
169
171
|
--nish-accent2: #7e22ce;
|
|
@@ -211,9 +213,10 @@
|
|
|
211
213
|
--nish-overlay: #e6e4de;
|
|
212
214
|
--nish-line: #e2e0da;
|
|
213
215
|
--nish-line-strong: #c9c6bd;
|
|
216
|
+
--nish-line-control: #8a8881;
|
|
214
217
|
--nish-hi: #17171c;
|
|
215
218
|
--nish-hi2: #4f515c;
|
|
216
|
-
--nish-hi3: #
|
|
219
|
+
--nish-hi3: #626470;
|
|
217
220
|
--nish-ghost: #8a8c98;
|
|
218
221
|
--nish-accent: #4338ca;
|
|
219
222
|
--nish-accent2: #7e22ce;
|
|
@@ -260,9 +263,10 @@
|
|
|
260
263
|
--nish-overlay: #36363d;
|
|
261
264
|
--nish-line: #3a3a42;
|
|
262
265
|
--nish-line-strong: #52525b;
|
|
266
|
+
--nish-line-control: #77777e;
|
|
263
267
|
--nish-hi: #f4f4f5;
|
|
264
|
-
--nish-hi2: #
|
|
265
|
-
--nish-hi3: #
|
|
268
|
+
--nish-hi2: #b8b8c0;
|
|
269
|
+
--nish-hi3: #a0a0a8;
|
|
266
270
|
--nish-ghost: #71717a;
|
|
267
271
|
--nish-accent: #a5b4fc;
|
|
268
272
|
--nish-accent2: #c084fc;
|
|
@@ -309,6 +313,7 @@
|
|
|
309
313
|
--nish-overlay: #1c2820;
|
|
310
314
|
--nish-line: #233028;
|
|
311
315
|
--nish-line-strong: #34483b;
|
|
316
|
+
--nish-line-control: #5c6c61;
|
|
312
317
|
--nish-hi: #d1fae5;
|
|
313
318
|
--nish-hi2: #8fc4a8;
|
|
314
319
|
--nish-hi3: #74a68b;
|
|
@@ -358,9 +363,10 @@
|
|
|
358
363
|
--nish-overlay: #44403c;
|
|
359
364
|
--nish-line: #44403c;
|
|
360
365
|
--nish-line-strong: #57534e;
|
|
366
|
+
--nish-line-control: #83807c;
|
|
361
367
|
--nish-hi: #f5f0eb;
|
|
362
|
-
--nish-hi2: #
|
|
363
|
-
--nish-hi3: #
|
|
368
|
+
--nish-hi2: #c6c0bb;
|
|
369
|
+
--nish-hi3: #b2ada8;
|
|
364
370
|
--nish-ghost: #78716c;
|
|
365
371
|
--nish-accent: #fdba74;
|
|
366
372
|
--nish-accent2: #f472b6;
|
|
@@ -407,6 +413,7 @@
|
|
|
407
413
|
--nish-overlay: #103658;
|
|
408
414
|
--nish-line: #123050;
|
|
409
415
|
--nish-line-strong: #1f4a72;
|
|
416
|
+
--nish-line-control: #507291;
|
|
410
417
|
--nish-hi: #e0f2fe;
|
|
411
418
|
--nish-hi2: #9ccde6;
|
|
412
419
|
--nish-hi3: #6fa9c6;
|
|
@@ -456,6 +463,7 @@
|
|
|
456
463
|
--nish-overlay: #222222;
|
|
457
464
|
--nish-line: #4a4a4a;
|
|
458
465
|
--nish-line-strong: #8a8a8a;
|
|
466
|
+
--nish-line-control: #8a8a8a;
|
|
459
467
|
--nish-hi: #ffffff;
|
|
460
468
|
--nish-hi2: #d4d4d4;
|
|
461
469
|
--nish-hi3: #bdbdbd;
|
|
@@ -522,173 +530,190 @@
|
|
|
522
530
|
|
|
523
531
|
/* Page-level defaults every nish.software site shares. Plain CSS so static pages can
|
|
524
532
|
link it; Tailwind apps get it through tailwind.css inside the base layer, so any
|
|
525
|
-
utility class still wins.
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
background-color: var(--nish-bg);
|
|
529
|
-
color: var(--nish-hi);
|
|
530
|
-
font-family: var(--nish-font-sans);
|
|
531
|
-
-webkit-font-smoothing: antialiased;
|
|
532
|
-
-moz-osx-font-smoothing: grayscale;
|
|
533
|
-
text-rendering: optimizeLegibility;
|
|
534
|
-
-webkit-text-size-adjust: 100%;
|
|
535
|
-
-webkit-tap-highlight-color: transparent;
|
|
536
|
-
}
|
|
533
|
+
utility class still wins. Everything is in the cascade layer nish.base: unlayered CSS
|
|
534
|
+
of the page always beats it (declare `@layer nish.base, nish.components, app;` first to
|
|
535
|
+
order your own layers after it). */
|
|
537
536
|
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
:
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
537
|
+
@layer nish.base {
|
|
538
|
+
html {
|
|
539
|
+
background-color: var(--nish-bg);
|
|
540
|
+
color: var(--nish-hi);
|
|
541
|
+
font-family: var(--nish-font-sans);
|
|
542
|
+
-webkit-font-smoothing: antialiased;
|
|
543
|
+
-moz-osx-font-smoothing: grayscale;
|
|
544
|
+
text-rendering: optimizeLegibility;
|
|
545
|
+
-webkit-text-size-adjust: 100%;
|
|
546
|
+
-webkit-tap-highlight-color: transparent;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
/* Layout contract. Bars publish their height on <html> (--nish-header-h,
|
|
550
|
+
--nish-bottom-nav-h, --nish-bottom-bar-h); everything that must clear them reads
|
|
551
|
+
--nish-bottom-inset or --nish-header-h. */
|
|
547
552
|
:root {
|
|
548
|
-
--nish-page-gutter:
|
|
553
|
+
--nish-page-gutter: 1rem;
|
|
554
|
+
--nish-header-h: 0px;
|
|
555
|
+
--nish-bottom-inset: calc(var(--nish-bottom-nav-h, 0px) + var(--nish-bottom-bar-h, 0px));
|
|
549
556
|
}
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
557
|
+
@media (min-width: 640px) {
|
|
558
|
+
:root {
|
|
559
|
+
--nish-page-gutter: 1.5rem;
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
/* Desktop scrollbars: reserve the gutter so the page does not shift when a dialog
|
|
563
|
+
hides the page scroll. */
|
|
564
|
+
@media (hover: hover) and (pointer: fine) {
|
|
565
|
+
html {
|
|
566
|
+
scrollbar-gutter: stable;
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
/* Anchor targets stop below the sticky header (and a sticky sub-bar). */
|
|
570
|
+
.nish-scroll-target {
|
|
571
|
+
scroll-margin-top: calc(var(--nish-header-h, 0px) + var(--nish-sticky-extra, 0px) + 0.5rem);
|
|
572
|
+
}
|
|
573
|
+
/* Horizontal overflow fade, driven by data-at-start / data-at-end on the scroller. */
|
|
574
|
+
.nish-scroll-fade {
|
|
575
|
+
--nish-fade-start: #000;
|
|
576
|
+
--nish-fade-end: #000;
|
|
577
|
+
mask-image: linear-gradient(to right, var(--nish-fade-start), #000 24px, #000 calc(100% - 24px), var(--nish-fade-end));
|
|
578
|
+
-webkit-mask-image: linear-gradient(to right, var(--nish-fade-start), #000 24px, #000 calc(100% - 24px), var(--nish-fade-end));
|
|
579
|
+
}
|
|
580
|
+
.nish-scroll-fade[data-at-start='false'] {
|
|
581
|
+
--nish-fade-start: transparent;
|
|
582
|
+
}
|
|
583
|
+
.nish-scroll-fade[data-at-end='false'] {
|
|
584
|
+
--nish-fade-end: transparent;
|
|
585
|
+
}
|
|
586
|
+
.nish-no-scrollbar {
|
|
587
|
+
scrollbar-width: none;
|
|
588
|
+
}
|
|
589
|
+
.nish-no-scrollbar::-webkit-scrollbar {
|
|
590
|
+
display: none;
|
|
591
|
+
}
|
|
592
|
+
/* Bottom padding that clears bottom bars (the nav already includes the safe area). */
|
|
593
|
+
.nish-pad-bottom-inset {
|
|
594
|
+
padding-bottom: max(calc(var(--nish-bottom-inset) + 1rem), calc(1rem + env(safe-area-inset-bottom)));
|
|
556
595
|
}
|
|
557
|
-
}
|
|
558
|
-
/* Anchor targets stop below the sticky header (and a sticky sub-bar). */
|
|
559
|
-
.nish-scroll-target {
|
|
560
|
-
scroll-margin-top: calc(var(--nish-header-h, 0px) + var(--nish-sticky-extra, 0px) + 0.5rem);
|
|
561
|
-
}
|
|
562
|
-
/* Horizontal overflow fade, driven by data-at-start / data-at-end on the scroller. */
|
|
563
|
-
.nish-scroll-fade {
|
|
564
|
-
--nish-fade-start: #000;
|
|
565
|
-
--nish-fade-end: #000;
|
|
566
|
-
mask-image: linear-gradient(to right, var(--nish-fade-start), #000 24px, #000 calc(100% - 24px), var(--nish-fade-end));
|
|
567
|
-
-webkit-mask-image: linear-gradient(to right, var(--nish-fade-start), #000 24px, #000 calc(100% - 24px), var(--nish-fade-end));
|
|
568
|
-
}
|
|
569
|
-
.nish-scroll-fade[data-at-start='false'] {
|
|
570
|
-
--nish-fade-start: transparent;
|
|
571
|
-
}
|
|
572
|
-
.nish-scroll-fade[data-at-end='false'] {
|
|
573
|
-
--nish-fade-end: transparent;
|
|
574
|
-
}
|
|
575
|
-
.nish-no-scrollbar {
|
|
576
|
-
scrollbar-width: none;
|
|
577
|
-
}
|
|
578
|
-
.nish-no-scrollbar::-webkit-scrollbar {
|
|
579
|
-
display: none;
|
|
580
|
-
}
|
|
581
|
-
/* Bottom padding that clears bottom bars (the nav already includes the safe area). */
|
|
582
|
-
.nish-pad-bottom-inset {
|
|
583
|
-
padding-bottom: max(calc(var(--nish-bottom-inset) + 1rem), calc(1rem + env(safe-area-inset-bottom)));
|
|
584
|
-
}
|
|
585
596
|
|
|
586
|
-
/* A theme scoped to part of a page (<div data-theme="light" data-scheme="light">):
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
:where([data-theme]:not(html)) {
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
}
|
|
597
|
+
/* A theme scoped to part of a page (<div data-theme="light" data-scheme="light">):
|
|
598
|
+
the tokens are re-declared there by tokens.css, but inherited text color was
|
|
599
|
+
computed on html, so set it again. Zero specificity, so any class still wins. */
|
|
600
|
+
:where([data-theme]:not(html)) {
|
|
601
|
+
background-color: var(--nish-bg);
|
|
602
|
+
color: var(--nish-hi);
|
|
603
|
+
}
|
|
593
604
|
|
|
594
|
-
/* Numbers in tables line up as columns without per-cell classes. */
|
|
595
|
-
table,
|
|
596
|
-
.nish-tabular {
|
|
597
|
-
|
|
598
|
-
}
|
|
605
|
+
/* Numbers in tables line up as columns without per-cell classes. */
|
|
606
|
+
table,
|
|
607
|
+
.nish-tabular {
|
|
608
|
+
font-variant-numeric: tabular-nums;
|
|
609
|
+
}
|
|
599
610
|
|
|
600
|
-
::selection {
|
|
601
|
-
|
|
602
|
-
}
|
|
611
|
+
::selection {
|
|
612
|
+
background: color-mix(in srgb, var(--nish-accent) 30%, transparent);
|
|
613
|
+
}
|
|
603
614
|
|
|
604
|
-
/* One keyboard-focus language everywhere. Components that draw their own focus
|
|
605
|
-
|
|
606
|
-
:focus-visible {
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
}
|
|
615
|
+
/* One keyboard-focus language everywhere. Components that draw their own focus
|
|
616
|
+
style still win; this is the fallback for everything that never thought about it. */
|
|
617
|
+
:focus-visible {
|
|
618
|
+
outline: var(--nish-focus-width) solid var(--nish-focus);
|
|
619
|
+
outline-offset: var(--nish-focus-offset);
|
|
620
|
+
}
|
|
610
621
|
|
|
611
|
-
/* Recharts 3's accessibility layer makes the chart focusable, so a tap or click
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
.recharts-wrapper,
|
|
615
|
-
.recharts-wrapper :focus {
|
|
616
|
-
|
|
617
|
-
}
|
|
618
|
-
.recharts-wrapper:focus-visible,
|
|
619
|
-
.recharts-wrapper :focus-visible {
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
}
|
|
624
|
-
/* Recharts' default hover cursor is a #ccc slab (bars) or line, bright on dark themes.
|
|
625
|
-
|
|
626
|
-
.recharts-rectangle.recharts-tooltip-cursor {
|
|
627
|
-
|
|
628
|
-
}
|
|
629
|
-
.recharts-curve.recharts-tooltip-cursor {
|
|
630
|
-
|
|
631
|
-
}
|
|
622
|
+
/* Recharts 3's accessibility layer makes the chart focusable, so a tap or click
|
|
623
|
+
focused it and drew a thick box round the whole plot. Pointer focus draws nothing;
|
|
624
|
+
keyboard focus gets a quiet accent ring. */
|
|
625
|
+
.recharts-wrapper,
|
|
626
|
+
.recharts-wrapper :focus {
|
|
627
|
+
outline: none;
|
|
628
|
+
}
|
|
629
|
+
.recharts-wrapper:focus-visible,
|
|
630
|
+
.recharts-wrapper :focus-visible {
|
|
631
|
+
outline: 1px solid color-mix(in srgb, var(--nish-accent) 45%, transparent);
|
|
632
|
+
outline-offset: 2px;
|
|
633
|
+
border-radius: var(--nish-radius-sm);
|
|
634
|
+
}
|
|
635
|
+
/* Recharts' default hover cursor is a #ccc slab (bars) or line, bright on dark themes.
|
|
636
|
+
CSS beats the fill/stroke attributes Recharts writes, so every chart gets a quiet one. */
|
|
637
|
+
.recharts-rectangle.recharts-tooltip-cursor {
|
|
638
|
+
fill: color-mix(in srgb, var(--nish-hi3) 14%, transparent);
|
|
639
|
+
}
|
|
640
|
+
.recharts-curve.recharts-tooltip-cursor {
|
|
641
|
+
stroke: var(--nish-line-strong);
|
|
642
|
+
}
|
|
632
643
|
|
|
633
|
-
/* Browser-default scrollbars clash with every theme, worst on light. */
|
|
634
|
-
* {
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
}
|
|
638
|
-
::-webkit-scrollbar {
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
}
|
|
642
|
-
::-webkit-scrollbar-track {
|
|
643
|
-
|
|
644
|
-
}
|
|
645
|
-
::-webkit-scrollbar-thumb {
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
}
|
|
651
|
-
::-webkit-scrollbar-thumb:hover {
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
}
|
|
644
|
+
/* Browser-default scrollbars clash with every theme, worst on light. */
|
|
645
|
+
* {
|
|
646
|
+
scrollbar-width: thin;
|
|
647
|
+
scrollbar-color: var(--nish-line-strong) transparent;
|
|
648
|
+
}
|
|
649
|
+
::-webkit-scrollbar {
|
|
650
|
+
width: 10px;
|
|
651
|
+
height: 10px;
|
|
652
|
+
}
|
|
653
|
+
::-webkit-scrollbar-track {
|
|
654
|
+
background: transparent;
|
|
655
|
+
}
|
|
656
|
+
::-webkit-scrollbar-thumb {
|
|
657
|
+
background: var(--nish-line-strong);
|
|
658
|
+
border-radius: 8px;
|
|
659
|
+
border: 2px solid transparent;
|
|
660
|
+
background-clip: padding-box;
|
|
661
|
+
}
|
|
662
|
+
::-webkit-scrollbar-thumb:hover {
|
|
663
|
+
background: var(--nish-ghost);
|
|
664
|
+
border: 2px solid transparent;
|
|
665
|
+
background-clip: padding-box;
|
|
666
|
+
}
|
|
656
667
|
|
|
657
|
-
/* The "← nish.software" pill every subdomain carries at the top left of its header:
|
|
658
|
-
|
|
659
|
-
.nish-pill-link {
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
}
|
|
676
|
-
.nish-pill-link:hover {
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
}
|
|
680
|
-
/* Compact form for crowded headers: under 480px only the arrow shows, in a 44px circle,
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
@media (max-width: 480px) {
|
|
686
|
-
|
|
668
|
+
/* The "← nish.software" pill every subdomain carries at the top left of its header:
|
|
669
|
+
<a class="nish-pill-link" href="https://nish.software" title="Back to nish.software">← nish.software</a> */
|
|
670
|
+
.nish-pill-link {
|
|
671
|
+
display: inline-flex;
|
|
672
|
+
align-items: center;
|
|
673
|
+
gap: 6px;
|
|
674
|
+
font-family: var(--nish-font-sans);
|
|
675
|
+
font-size: 14px;
|
|
676
|
+
line-height: 1.2;
|
|
677
|
+
color: var(--nish-hi2);
|
|
678
|
+
text-decoration: none;
|
|
679
|
+
min-height: 44px;
|
|
680
|
+
padding: 4px 12px;
|
|
681
|
+
border: 1px solid var(--nish-line);
|
|
682
|
+
border-radius: 999px;
|
|
683
|
+
white-space: nowrap;
|
|
684
|
+
box-sizing: border-box;
|
|
685
|
+
flex-shrink: 0;
|
|
686
|
+
}
|
|
687
|
+
.nish-pill-link:hover {
|
|
688
|
+
color: var(--nish-hi);
|
|
689
|
+
border-color: var(--nish-line-strong);
|
|
690
|
+
}
|
|
691
|
+
/* Compact form for crowded headers: under 480px only the arrow shows, in a 44px circle,
|
|
692
|
+
and the words stay for screen readers. data-compact="always" keeps it compact at every
|
|
693
|
+
width.
|
|
694
|
+
<a class="nish-pill-link nish-pill-link--compact" href="https://nish.software"
|
|
695
|
+
title="Back to nish.software">← <span class="nish-pill-link-label">nish.software</span></a> */
|
|
696
|
+
@media (max-width: 480px) {
|
|
697
|
+
.nish-pill-link--compact {
|
|
698
|
+
min-width: var(--nish-tap-min, 44px);
|
|
699
|
+
justify-content: center;
|
|
700
|
+
padding-inline: 6px;
|
|
701
|
+
}
|
|
702
|
+
.nish-pill-link--compact .nish-pill-link-label {
|
|
703
|
+
position: absolute;
|
|
704
|
+
width: 1px;
|
|
705
|
+
height: 1px;
|
|
706
|
+
overflow: hidden;
|
|
707
|
+
clip-path: inset(50%);
|
|
708
|
+
white-space: nowrap;
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
.nish-pill-link--compact[data-compact='always'] {
|
|
687
712
|
min-width: var(--nish-tap-min, 44px);
|
|
688
713
|
justify-content: center;
|
|
689
714
|
padding-inline: 6px;
|
|
690
715
|
}
|
|
691
|
-
.nish-pill-link--compact .nish-pill-link-label {
|
|
716
|
+
.nish-pill-link--compact[data-compact='always'] .nish-pill-link-label {
|
|
692
717
|
position: absolute;
|
|
693
718
|
width: 1px;
|
|
694
719
|
height: 1px;
|
|
@@ -696,1439 +721,1567 @@ table,
|
|
|
696
721
|
clip-path: inset(50%);
|
|
697
722
|
white-space: nowrap;
|
|
698
723
|
}
|
|
699
|
-
}
|
|
700
|
-
.nish-pill-link--compact[data-compact='always'] {
|
|
701
|
-
min-width: var(--nish-tap-min, 44px);
|
|
702
|
-
justify-content: center;
|
|
703
|
-
padding-inline: 6px;
|
|
704
|
-
}
|
|
705
|
-
.nish-pill-link--compact[data-compact='always'] .nish-pill-link-label {
|
|
706
|
-
position: absolute;
|
|
707
|
-
width: 1px;
|
|
708
|
-
height: 1px;
|
|
709
|
-
overflow: hidden;
|
|
710
|
-
clip-path: inset(50%);
|
|
711
|
-
white-space: nowrap;
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
/* Scrolls, but draws no scrollbar: tab strips, chip rows, carousels. */
|
|
715
|
-
.scrollbar-none {
|
|
716
|
-
scrollbar-width: none;
|
|
717
|
-
-ms-overflow-style: none;
|
|
718
|
-
}
|
|
719
|
-
.scrollbar-none::-webkit-scrollbar {
|
|
720
|
-
display: none;
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
/* First thing in <body>: <a class="nish-skip-link" href="#main">Skip to content</a>.
|
|
724
|
-
Parked above the top edge (still read by screen readers) until a keyboard user tabs
|
|
725
|
-
to it, then a pill at the top left. */
|
|
726
|
-
.nish-skip-link {
|
|
727
|
-
position: fixed;
|
|
728
|
-
top: var(--nish-space-2);
|
|
729
|
-
left: var(--nish-space-2);
|
|
730
|
-
z-index: var(--nish-z-tooltip);
|
|
731
|
-
transform: translateY(calc(-100% - var(--nish-space-4)));
|
|
732
|
-
opacity: 0;
|
|
733
|
-
pointer-events: none;
|
|
734
|
-
white-space: nowrap;
|
|
735
|
-
display: inline-flex;
|
|
736
|
-
align-items: center;
|
|
737
|
-
min-height: var(--nish-tap-min);
|
|
738
|
-
padding: 0 var(--nish-space-4);
|
|
739
|
-
border: 1px solid var(--nish-line-strong);
|
|
740
|
-
border-radius: var(--nish-radius-sm);
|
|
741
|
-
background: var(--nish-elevated);
|
|
742
|
-
color: var(--nish-hi);
|
|
743
|
-
box-shadow: var(--nish-shadow-pop);
|
|
744
|
-
font-size: var(--nish-text-sm);
|
|
745
|
-
font-weight: var(--nish-weight-medium);
|
|
746
|
-
text-decoration: none;
|
|
747
|
-
}
|
|
748
|
-
.nish-skip-link:focus,
|
|
749
|
-
.nish-skip-link:focus-visible {
|
|
750
|
-
transform: none;
|
|
751
|
-
opacity: 1;
|
|
752
|
-
pointer-events: auto;
|
|
753
|
-
}
|
|
754
|
-
|
|
755
|
-
/* Keyboard keys in running text and shortcut hints. The Kbd component adds sizes. */
|
|
756
|
-
kbd {
|
|
757
|
-
font-family: var(--nish-font-mono);
|
|
758
|
-
font-size: 0.85em;
|
|
759
|
-
padding: 0 0.35em;
|
|
760
|
-
border: 1px solid var(--nish-line-strong);
|
|
761
|
-
border-radius: var(--nish-radius-xs);
|
|
762
|
-
background: var(--nish-elevated);
|
|
763
|
-
color: inherit;
|
|
764
|
-
white-space: nowrap;
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
/* Notches and home indicators on installed PWAs. */
|
|
768
|
-
.nish-safe-area {
|
|
769
|
-
padding-top: env(safe-area-inset-top);
|
|
770
|
-
padding-bottom: env(safe-area-inset-bottom);
|
|
771
|
-
padding-left: env(safe-area-inset-left);
|
|
772
|
-
padding-right: env(safe-area-inset-right);
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
.nish-skeleton {
|
|
776
|
-
position: relative;
|
|
777
|
-
overflow: hidden;
|
|
778
|
-
background: var(--nish-elevated);
|
|
779
|
-
}
|
|
780
|
-
.nish-skeleton::after {
|
|
781
|
-
content: '';
|
|
782
|
-
position: absolute;
|
|
783
|
-
inset: 0;
|
|
784
|
-
transform: translateX(-100%);
|
|
785
|
-
background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--nish-overlay) 70%, transparent), transparent);
|
|
786
|
-
animation: nish-sheen 1.4s infinite;
|
|
787
|
-
}
|
|
788
724
|
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
725
|
+
/* Scrolls, but draws no scrollbar: tab strips, chip rows, carousels. */
|
|
726
|
+
.scrollbar-none {
|
|
727
|
+
scrollbar-width: none;
|
|
728
|
+
-ms-overflow-style: none;
|
|
792
729
|
}
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
from {
|
|
796
|
-
transform: translateY(0);
|
|
797
|
-
}
|
|
798
|
-
to {
|
|
799
|
-
transform: translateY(100%);
|
|
800
|
-
}
|
|
801
|
-
}
|
|
802
|
-
@keyframes nish-fade-out {
|
|
803
|
-
from {
|
|
804
|
-
opacity: 1;
|
|
805
|
-
}
|
|
806
|
-
to {
|
|
807
|
-
opacity: 0;
|
|
730
|
+
.scrollbar-none::-webkit-scrollbar {
|
|
731
|
+
display: none;
|
|
808
732
|
}
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
733
|
+
|
|
734
|
+
/* First thing in <body>: <a class="nish-skip-link" href="#main">Skip to content</a>.
|
|
735
|
+
Parked above the top edge (still read by screen readers) until a keyboard user tabs
|
|
736
|
+
to it, then a pill at the top left. */
|
|
737
|
+
.nish-skip-link {
|
|
738
|
+
position: fixed;
|
|
739
|
+
top: var(--nish-space-2);
|
|
740
|
+
inset-inline-start: var(--nish-space-2);
|
|
741
|
+
z-index: var(--nish-z-tooltip);
|
|
742
|
+
transform: translateY(calc(-100% - var(--nish-space-4)));
|
|
813
743
|
opacity: 0;
|
|
814
|
-
|
|
815
|
-
|
|
744
|
+
pointer-events: none;
|
|
745
|
+
white-space: nowrap;
|
|
746
|
+
display: inline-flex;
|
|
747
|
+
align-items: center;
|
|
748
|
+
min-height: var(--nish-tap-min);
|
|
749
|
+
padding: 0 var(--nish-space-4);
|
|
750
|
+
border: 1px solid var(--nish-line-strong);
|
|
751
|
+
border-radius: var(--nish-radius-sm);
|
|
752
|
+
background: var(--nish-elevated);
|
|
753
|
+
color: var(--nish-hi);
|
|
754
|
+
box-shadow: var(--nish-shadow-pop);
|
|
755
|
+
font-size: var(--nish-text-sm);
|
|
756
|
+
font-weight: var(--nish-weight-medium);
|
|
757
|
+
text-decoration: none;
|
|
758
|
+
}
|
|
759
|
+
.nish-skip-link:focus,
|
|
760
|
+
.nish-skip-link:focus-visible {
|
|
816
761
|
transform: none;
|
|
817
762
|
opacity: 1;
|
|
763
|
+
pointer-events: auto;
|
|
818
764
|
}
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
765
|
+
|
|
766
|
+
/* Keyboard keys in running text and shortcut hints. The Kbd component adds sizes. */
|
|
767
|
+
kbd {
|
|
768
|
+
font-family: var(--nish-font-mono);
|
|
769
|
+
font-size: 0.85em;
|
|
770
|
+
padding: 0 0.35em;
|
|
771
|
+
border: 1px solid var(--nish-line-strong);
|
|
772
|
+
border-radius: var(--nish-radius-xs);
|
|
773
|
+
background: var(--nish-elevated);
|
|
774
|
+
color: inherit;
|
|
775
|
+
white-space: nowrap;
|
|
823
776
|
}
|
|
824
|
-
|
|
825
|
-
|
|
777
|
+
|
|
778
|
+
/* Notches and home indicators on installed PWAs. */
|
|
779
|
+
.nish-safe-area {
|
|
780
|
+
padding-top: env(safe-area-inset-top);
|
|
781
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
782
|
+
padding-left: env(safe-area-inset-left);
|
|
783
|
+
padding-right: env(safe-area-inset-right);
|
|
826
784
|
}
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
785
|
+
|
|
786
|
+
.nish-skeleton {
|
|
787
|
+
position: relative;
|
|
788
|
+
overflow: hidden;
|
|
789
|
+
background: var(--nish-elevated);
|
|
790
|
+
}
|
|
791
|
+
.nish-skeleton::after {
|
|
792
|
+
content: '';
|
|
793
|
+
position: absolute;
|
|
794
|
+
inset: 0;
|
|
831
795
|
transform: translateX(-100%);
|
|
796
|
+
background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--nish-overlay) 70%, transparent), transparent);
|
|
797
|
+
animation: nish-sheen 1.4s infinite;
|
|
832
798
|
}
|
|
833
|
-
|
|
834
|
-
|
|
799
|
+
|
|
800
|
+
@keyframes nish-sheen {
|
|
801
|
+
100% {
|
|
802
|
+
transform: translateX(100%);
|
|
803
|
+
}
|
|
835
804
|
}
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
805
|
+
@keyframes nish-sheet-out {
|
|
806
|
+
from {
|
|
807
|
+
transform: translateY(0);
|
|
808
|
+
}
|
|
809
|
+
to {
|
|
810
|
+
transform: translateY(100%);
|
|
811
|
+
}
|
|
840
812
|
}
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
813
|
+
@keyframes nish-fade-out {
|
|
814
|
+
from {
|
|
815
|
+
opacity: 1;
|
|
816
|
+
}
|
|
817
|
+
to {
|
|
818
|
+
opacity: 0;
|
|
819
|
+
}
|
|
845
820
|
}
|
|
846
|
-
|
|
847
|
-
|
|
821
|
+
@keyframes nish-toast-in-top {
|
|
822
|
+
from {
|
|
823
|
+
transform: translateY(-8px);
|
|
824
|
+
opacity: 0;
|
|
825
|
+
}
|
|
826
|
+
to {
|
|
827
|
+
transform: none;
|
|
828
|
+
opacity: 1;
|
|
829
|
+
}
|
|
848
830
|
}
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
831
|
+
@keyframes nish-bar-in {
|
|
832
|
+
from {
|
|
833
|
+
transform: translateY(100%);
|
|
834
|
+
}
|
|
835
|
+
to {
|
|
836
|
+
transform: translateY(0);
|
|
837
|
+
}
|
|
854
838
|
}
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
839
|
+
/* Indeterminate progress: a 40% wide stripe sweeping across (the stripe is the element). */
|
|
840
|
+
@keyframes nish-loading-bar {
|
|
841
|
+
from {
|
|
842
|
+
transform: translateX(-100%);
|
|
843
|
+
}
|
|
844
|
+
to {
|
|
845
|
+
transform: translateX(250%);
|
|
846
|
+
}
|
|
858
847
|
}
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
848
|
+
@keyframes nish-pulse {
|
|
849
|
+
50% {
|
|
850
|
+
opacity: 0.35;
|
|
851
|
+
}
|
|
863
852
|
}
|
|
864
|
-
|
|
865
|
-
|
|
853
|
+
@keyframes nish-fade-in {
|
|
854
|
+
from {
|
|
855
|
+
opacity: 0;
|
|
856
|
+
}
|
|
857
|
+
to {
|
|
858
|
+
opacity: 1;
|
|
859
|
+
}
|
|
866
860
|
}
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
861
|
+
@keyframes nish-rise-in {
|
|
862
|
+
from {
|
|
863
|
+
opacity: 0;
|
|
864
|
+
transform: translateY(6px);
|
|
865
|
+
}
|
|
866
|
+
to {
|
|
867
|
+
opacity: 1;
|
|
868
|
+
transform: translateY(0);
|
|
869
|
+
}
|
|
872
870
|
}
|
|
873
|
-
|
|
874
|
-
|
|
871
|
+
@keyframes nish-sheet-in {
|
|
872
|
+
from {
|
|
873
|
+
transform: translateY(100%);
|
|
874
|
+
}
|
|
875
|
+
to {
|
|
876
|
+
transform: translateY(0);
|
|
877
|
+
}
|
|
875
878
|
}
|
|
876
|
-
|
|
877
|
-
@keyframes nish-slide-in-
|
|
878
|
-
|
|
879
|
-
|
|
879
|
+
/* Drawers: from the right edge (side="right") or the left (side="left"). */
|
|
880
|
+
@keyframes nish-slide-in-right {
|
|
881
|
+
from {
|
|
882
|
+
transform: translateX(100%);
|
|
883
|
+
}
|
|
884
|
+
to {
|
|
885
|
+
transform: translateX(0);
|
|
886
|
+
}
|
|
880
887
|
}
|
|
881
|
-
|
|
882
|
-
|
|
888
|
+
@keyframes nish-slide-in-left {
|
|
889
|
+
from {
|
|
890
|
+
transform: translateX(-100%);
|
|
891
|
+
}
|
|
892
|
+
to {
|
|
893
|
+
transform: translateX(0);
|
|
894
|
+
}
|
|
883
895
|
}
|
|
884
|
-
}
|
|
885
896
|
|
|
886
|
-
/* Flow components (FlowSteps, StepBar, AgentNode, WorkflowBoard, ActivityFeed,
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
/* The comet on a running AgentNode turns this angle. Where @property is unsupported the
|
|
892
|
-
angle stays 0 and the border is a static accent border. */
|
|
893
|
-
@property --nish-flow-angle {
|
|
894
|
-
syntax: '<angle>';
|
|
895
|
-
inherits: false;
|
|
896
|
-
initial-value: 0deg;
|
|
897
|
-
}
|
|
897
|
+
/* Flow components (FlowSteps, StepBar, AgentNode, WorkflowBoard, ActivityFeed,
|
|
898
|
+
TickerText, AnimatedList; src/components/flow.tsx). Layout rules always apply; every
|
|
899
|
+
rule that moves, loops or fades sits inside prefers-reduced-motion: no-preference, so
|
|
900
|
+
under reduced motion state changes are instant and nothing loops. */
|
|
898
901
|
|
|
899
|
-
@
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
from {
|
|
906
|
-
transform: scale(1);
|
|
907
|
-
opacity: 0.45;
|
|
902
|
+
/* The comet on a running AgentNode turns this angle. Where @property is unsupported the
|
|
903
|
+
angle stays 0 and the border is a static accent border. */
|
|
904
|
+
@property --nish-flow-angle {
|
|
905
|
+
syntax: '<angle>';
|
|
906
|
+
inherits: false;
|
|
907
|
+
initial-value: 0deg;
|
|
908
908
|
}
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
909
|
+
|
|
910
|
+
@keyframes nish-flow-spin {
|
|
911
|
+
to {
|
|
912
|
+
transform: rotate(360deg);
|
|
913
|
+
}
|
|
912
914
|
}
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
915
|
+
@keyframes nish-flow-ripple {
|
|
916
|
+
from {
|
|
917
|
+
transform: scale(1);
|
|
918
|
+
opacity: 0.45;
|
|
919
|
+
}
|
|
920
|
+
to {
|
|
921
|
+
transform: scale(1.9);
|
|
922
|
+
opacity: 0;
|
|
923
|
+
}
|
|
917
924
|
}
|
|
918
|
-
|
|
919
|
-
|
|
925
|
+
@keyframes nish-flow-draw {
|
|
926
|
+
from {
|
|
927
|
+
stroke-dashoffset: 1;
|
|
928
|
+
}
|
|
929
|
+
to {
|
|
930
|
+
stroke-dashoffset: 0;
|
|
931
|
+
}
|
|
920
932
|
}
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
933
|
+
@keyframes nish-flow-pop {
|
|
934
|
+
0% {
|
|
935
|
+
transform: scale(0.7);
|
|
936
|
+
}
|
|
937
|
+
60% {
|
|
938
|
+
transform: scale(1.12);
|
|
939
|
+
}
|
|
940
|
+
100% {
|
|
941
|
+
transform: scale(1);
|
|
942
|
+
}
|
|
925
943
|
}
|
|
926
|
-
|
|
927
|
-
|
|
944
|
+
@keyframes nish-flow-shake {
|
|
945
|
+
0%,
|
|
946
|
+
100% {
|
|
947
|
+
transform: translateX(0);
|
|
948
|
+
}
|
|
949
|
+
20% {
|
|
950
|
+
transform: translateX(-4px);
|
|
951
|
+
}
|
|
952
|
+
40% {
|
|
953
|
+
transform: translateX(4px);
|
|
954
|
+
}
|
|
955
|
+
60% {
|
|
956
|
+
transform: translateX(-3px);
|
|
957
|
+
}
|
|
958
|
+
80% {
|
|
959
|
+
transform: translateX(2px);
|
|
960
|
+
}
|
|
928
961
|
}
|
|
929
|
-
|
|
930
|
-
|
|
962
|
+
@keyframes nish-flow-enter {
|
|
963
|
+
from {
|
|
964
|
+
opacity: 0;
|
|
965
|
+
transform: translateY(12px) scale(0.98);
|
|
966
|
+
}
|
|
967
|
+
to {
|
|
968
|
+
opacity: 1;
|
|
969
|
+
transform: none;
|
|
970
|
+
}
|
|
931
971
|
}
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
972
|
+
@keyframes nish-flow-exit {
|
|
973
|
+
from {
|
|
974
|
+
opacity: 1;
|
|
975
|
+
transform: none;
|
|
976
|
+
grid-template-rows: 1fr;
|
|
977
|
+
}
|
|
978
|
+
to {
|
|
979
|
+
opacity: 0;
|
|
980
|
+
transform: translateY(-8px) scale(0.96);
|
|
981
|
+
grid-template-rows: 0fr;
|
|
982
|
+
}
|
|
937
983
|
}
|
|
938
|
-
|
|
939
|
-
|
|
984
|
+
@keyframes nish-flow-feed-in {
|
|
985
|
+
from {
|
|
986
|
+
opacity: 0;
|
|
987
|
+
transform: translateY(-6px);
|
|
988
|
+
grid-template-rows: 0fr;
|
|
989
|
+
}
|
|
990
|
+
to {
|
|
991
|
+
opacity: 1;
|
|
992
|
+
transform: none;
|
|
993
|
+
grid-template-rows: 1fr;
|
|
994
|
+
}
|
|
940
995
|
}
|
|
941
|
-
|
|
942
|
-
|
|
996
|
+
@keyframes nish-flow-flash {
|
|
997
|
+
from {
|
|
998
|
+
background-color: var(--nish-accent-soft);
|
|
999
|
+
}
|
|
1000
|
+
to {
|
|
1001
|
+
background-color: transparent;
|
|
1002
|
+
}
|
|
943
1003
|
}
|
|
944
|
-
|
|
945
|
-
|
|
1004
|
+
@keyframes nish-flow-dash {
|
|
1005
|
+
to {
|
|
1006
|
+
stroke-dashoffset: -6;
|
|
1007
|
+
}
|
|
946
1008
|
}
|
|
947
|
-
|
|
948
|
-
|
|
1009
|
+
@keyframes nish-flow-shimmer {
|
|
1010
|
+
from {
|
|
1011
|
+
transform: translateX(-100%);
|
|
1012
|
+
}
|
|
1013
|
+
to {
|
|
1014
|
+
transform: translateX(100%);
|
|
1015
|
+
}
|
|
949
1016
|
}
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
1017
|
+
@keyframes nish-flow-shimmer-v {
|
|
1018
|
+
from {
|
|
1019
|
+
transform: translateY(-100%);
|
|
1020
|
+
}
|
|
1021
|
+
to {
|
|
1022
|
+
transform: translateY(100%);
|
|
1023
|
+
}
|
|
955
1024
|
}
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
1025
|
+
@keyframes nish-flow-sweep {
|
|
1026
|
+
from {
|
|
1027
|
+
transform: scaleX(0);
|
|
1028
|
+
opacity: 1;
|
|
1029
|
+
}
|
|
1030
|
+
to {
|
|
1031
|
+
transform: scaleX(1);
|
|
1032
|
+
opacity: 0;
|
|
1033
|
+
}
|
|
959
1034
|
}
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
1035
|
+
@keyframes nish-flow-sweep-v {
|
|
1036
|
+
from {
|
|
1037
|
+
transform: scaleY(0);
|
|
1038
|
+
opacity: 1;
|
|
1039
|
+
}
|
|
1040
|
+
to {
|
|
1041
|
+
transform: scaleY(1);
|
|
1042
|
+
opacity: 0;
|
|
1043
|
+
}
|
|
966
1044
|
}
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
1045
|
+
@keyframes nish-flow-ticker-in {
|
|
1046
|
+
from {
|
|
1047
|
+
opacity: 0;
|
|
1048
|
+
transform: translateY(70%);
|
|
1049
|
+
}
|
|
1050
|
+
to {
|
|
1051
|
+
opacity: 1;
|
|
1052
|
+
transform: none;
|
|
1053
|
+
}
|
|
971
1054
|
}
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
1055
|
+
@keyframes nish-flow-ticker-out {
|
|
1056
|
+
from {
|
|
1057
|
+
opacity: 1;
|
|
1058
|
+
transform: none;
|
|
1059
|
+
}
|
|
1060
|
+
to {
|
|
1061
|
+
opacity: 0;
|
|
1062
|
+
transform: translateY(-70%);
|
|
1063
|
+
}
|
|
978
1064
|
}
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
1065
|
+
@keyframes nish-flow-ring {
|
|
1066
|
+
to {
|
|
1067
|
+
--nish-flow-angle: 360deg;
|
|
1068
|
+
}
|
|
983
1069
|
}
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
1070
|
+
@keyframes nish-flow-glow {
|
|
1071
|
+
0%,
|
|
1072
|
+
100% {
|
|
1073
|
+
opacity: 0.25;
|
|
1074
|
+
}
|
|
1075
|
+
50% {
|
|
1076
|
+
opacity: 1;
|
|
1077
|
+
}
|
|
988
1078
|
}
|
|
989
|
-
|
|
990
|
-
|
|
1079
|
+
|
|
1080
|
+
/* --- FlowSteps ------------------------------------------------------------------ */
|
|
1081
|
+
.nish-flow-steps-box {
|
|
1082
|
+
container-type: inline-size;
|
|
1083
|
+
min-width: 0;
|
|
991
1084
|
}
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
1085
|
+
.nish-flow-steps {
|
|
1086
|
+
display: flex;
|
|
1087
|
+
flex-direction: column;
|
|
1088
|
+
margin: 0;
|
|
1089
|
+
padding: 0;
|
|
1090
|
+
list-style: none;
|
|
1091
|
+
}
|
|
1092
|
+
.nish-flow-step {
|
|
1093
|
+
position: relative;
|
|
1094
|
+
display: flex;
|
|
1095
|
+
align-items: flex-start;
|
|
1096
|
+
gap: 0.75rem;
|
|
1097
|
+
min-height: 3rem;
|
|
1098
|
+
}
|
|
1099
|
+
.nish-flow-step:last-child {
|
|
1100
|
+
min-height: 2.75rem;
|
|
1101
|
+
}
|
|
1102
|
+
.nish-flow-node {
|
|
1103
|
+
position: relative;
|
|
1104
|
+
flex: none;
|
|
1105
|
+
}
|
|
1106
|
+
.nish-flow-text {
|
|
1107
|
+
display: flex;
|
|
1108
|
+
min-width: 0;
|
|
1109
|
+
flex-direction: column;
|
|
1110
|
+
padding-top: 0.25rem;
|
|
1111
|
+
overflow-wrap: anywhere;
|
|
996
1112
|
}
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1113
|
+
.nish-flow-conn {
|
|
1114
|
+
position: absolute;
|
|
1115
|
+
top: 2rem;
|
|
1116
|
+
bottom: 0.25rem;
|
|
1117
|
+
inset-inline-start: calc(0.875rem - 1px);
|
|
1118
|
+
width: 2px;
|
|
1119
|
+
overflow: hidden;
|
|
1120
|
+
border-radius: 1px;
|
|
1121
|
+
background-color: var(--nish-line);
|
|
1001
1122
|
}
|
|
1002
|
-
|
|
1003
|
-
|
|
1123
|
+
.nish-flow-fill,
|
|
1124
|
+
.nish-flow-shimmer,
|
|
1125
|
+
.nish-flow-sweep {
|
|
1126
|
+
position: absolute;
|
|
1127
|
+
inset: 0;
|
|
1004
1128
|
}
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
transform:
|
|
1129
|
+
.nish-flow-fill {
|
|
1130
|
+
background-color: var(--nish-ok-fill);
|
|
1131
|
+
transform-origin: top;
|
|
1132
|
+
transform: scaleY(0);
|
|
1009
1133
|
}
|
|
1010
|
-
|
|
1011
|
-
transform:
|
|
1134
|
+
.nish-flow-conn[data-on='true'] .nish-flow-fill {
|
|
1135
|
+
transform: scaleY(1);
|
|
1012
1136
|
}
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
transform: scaleX(0);
|
|
1017
|
-
opacity: 1;
|
|
1137
|
+
.nish-flow-shimmer {
|
|
1138
|
+
display: none;
|
|
1139
|
+
background: linear-gradient(180deg, transparent, var(--nish-accent), transparent);
|
|
1018
1140
|
}
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1141
|
+
.nish-flow-sweep {
|
|
1142
|
+
display: none;
|
|
1143
|
+
transform-origin: top;
|
|
1144
|
+
background: linear-gradient(180deg, var(--nish-accent), var(--nish-ok-fill));
|
|
1022
1145
|
}
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
transform: scaleY(0);
|
|
1027
|
-
opacity: 1;
|
|
1146
|
+
.nish-flow-arc,
|
|
1147
|
+
.nish-flow-ripple {
|
|
1148
|
+
display: none;
|
|
1028
1149
|
}
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1150
|
+
.nish-flow-arc {
|
|
1151
|
+
position: absolute;
|
|
1152
|
+
inset: 0;
|
|
1153
|
+
pointer-events: none;
|
|
1032
1154
|
}
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1155
|
+
.nish-flow-ripple {
|
|
1156
|
+
position: absolute;
|
|
1157
|
+
inset: 0;
|
|
1158
|
+
border-radius: 9999px;
|
|
1159
|
+
border: 1px solid var(--nish-accent);
|
|
1160
|
+
pointer-events: none;
|
|
1038
1161
|
}
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1162
|
+
.nish-flow-check path {
|
|
1163
|
+
stroke-dasharray: 1;
|
|
1164
|
+
stroke-dashoffset: 0;
|
|
1042
1165
|
}
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
opacity: 1;
|
|
1047
|
-
transform: none;
|
|
1166
|
+
|
|
1167
|
+
.nish-flow-steps[data-orient='horizontal'] {
|
|
1168
|
+
flex-direction: row;
|
|
1048
1169
|
}
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1170
|
+
.nish-flow-steps[data-orient='horizontal'] .nish-flow-step {
|
|
1171
|
+
min-width: 0;
|
|
1172
|
+
min-height: 0;
|
|
1173
|
+
flex: 1 1 0;
|
|
1174
|
+
flex-direction: column;
|
|
1175
|
+
align-items: center;
|
|
1176
|
+
gap: 0.5rem;
|
|
1177
|
+
padding: 0 0.25rem;
|
|
1178
|
+
text-align: center;
|
|
1052
1179
|
}
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
--nish-flow-angle: 360deg;
|
|
1180
|
+
.nish-flow-steps[data-orient='horizontal'] .nish-flow-text {
|
|
1181
|
+
align-items: center;
|
|
1182
|
+
padding-top: 0;
|
|
1057
1183
|
}
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1184
|
+
.nish-flow-steps[data-orient='horizontal'] .nish-flow-label {
|
|
1185
|
+
display: -webkit-box;
|
|
1186
|
+
overflow: hidden;
|
|
1187
|
+
-webkit-box-orient: vertical;
|
|
1188
|
+
-webkit-line-clamp: 2;
|
|
1189
|
+
line-clamp: 2;
|
|
1063
1190
|
}
|
|
1064
|
-
|
|
1065
|
-
opacity: 1;
|
|
1066
|
-
}
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
/* --- FlowSteps ------------------------------------------------------------------ */
|
|
1070
|
-
.nish-flow-steps-box {
|
|
1071
|
-
container-type: inline-size;
|
|
1072
|
-
min-width: 0;
|
|
1073
|
-
}
|
|
1074
|
-
.nish-flow-steps {
|
|
1075
|
-
display: flex;
|
|
1076
|
-
flex-direction: column;
|
|
1077
|
-
margin: 0;
|
|
1078
|
-
padding: 0;
|
|
1079
|
-
list-style: none;
|
|
1080
|
-
}
|
|
1081
|
-
.nish-flow-step {
|
|
1082
|
-
position: relative;
|
|
1083
|
-
display: flex;
|
|
1084
|
-
align-items: flex-start;
|
|
1085
|
-
gap: 0.75rem;
|
|
1086
|
-
min-height: 3rem;
|
|
1087
|
-
}
|
|
1088
|
-
.nish-flow-step:last-child {
|
|
1089
|
-
min-height: 2.75rem;
|
|
1090
|
-
}
|
|
1091
|
-
.nish-flow-node {
|
|
1092
|
-
position: relative;
|
|
1093
|
-
flex: none;
|
|
1094
|
-
}
|
|
1095
|
-
.nish-flow-text {
|
|
1096
|
-
display: flex;
|
|
1097
|
-
min-width: 0;
|
|
1098
|
-
flex-direction: column;
|
|
1099
|
-
padding-top: 0.25rem;
|
|
1100
|
-
overflow-wrap: anywhere;
|
|
1101
|
-
}
|
|
1102
|
-
.nish-flow-conn {
|
|
1103
|
-
position: absolute;
|
|
1104
|
-
top: 2rem;
|
|
1105
|
-
bottom: 0.25rem;
|
|
1106
|
-
left: calc(0.875rem - 1px);
|
|
1107
|
-
width: 2px;
|
|
1108
|
-
overflow: hidden;
|
|
1109
|
-
border-radius: 1px;
|
|
1110
|
-
background-color: var(--nish-line);
|
|
1111
|
-
}
|
|
1112
|
-
.nish-flow-fill,
|
|
1113
|
-
.nish-flow-shimmer,
|
|
1114
|
-
.nish-flow-sweep {
|
|
1115
|
-
position: absolute;
|
|
1116
|
-
inset: 0;
|
|
1117
|
-
}
|
|
1118
|
-
.nish-flow-fill {
|
|
1119
|
-
background-color: var(--nish-ok-fill);
|
|
1120
|
-
transform-origin: top;
|
|
1121
|
-
transform: scaleY(0);
|
|
1122
|
-
}
|
|
1123
|
-
.nish-flow-conn[data-on='true'] .nish-flow-fill {
|
|
1124
|
-
transform: scaleY(1);
|
|
1125
|
-
}
|
|
1126
|
-
.nish-flow-shimmer {
|
|
1127
|
-
display: none;
|
|
1128
|
-
background: linear-gradient(180deg, transparent, var(--nish-accent), transparent);
|
|
1129
|
-
}
|
|
1130
|
-
.nish-flow-sweep {
|
|
1131
|
-
display: none;
|
|
1132
|
-
transform-origin: top;
|
|
1133
|
-
background: linear-gradient(180deg, var(--nish-accent), var(--nish-ok-fill));
|
|
1134
|
-
}
|
|
1135
|
-
.nish-flow-arc,
|
|
1136
|
-
.nish-flow-ripple {
|
|
1137
|
-
display: none;
|
|
1138
|
-
}
|
|
1139
|
-
.nish-flow-arc {
|
|
1140
|
-
position: absolute;
|
|
1141
|
-
inset: 0;
|
|
1142
|
-
pointer-events: none;
|
|
1143
|
-
}
|
|
1144
|
-
.nish-flow-ripple {
|
|
1145
|
-
position: absolute;
|
|
1146
|
-
inset: 0;
|
|
1147
|
-
border-radius: 9999px;
|
|
1148
|
-
border: 1px solid var(--nish-accent);
|
|
1149
|
-
pointer-events: none;
|
|
1150
|
-
}
|
|
1151
|
-
.nish-flow-check path {
|
|
1152
|
-
stroke-dasharray: 1;
|
|
1153
|
-
stroke-dashoffset: 0;
|
|
1154
|
-
}
|
|
1155
|
-
|
|
1156
|
-
.nish-flow-steps[data-orient='horizontal'] {
|
|
1157
|
-
flex-direction: row;
|
|
1158
|
-
}
|
|
1159
|
-
.nish-flow-steps[data-orient='horizontal'] .nish-flow-step {
|
|
1160
|
-
min-width: 0;
|
|
1161
|
-
min-height: 0;
|
|
1162
|
-
flex: 1 1 0;
|
|
1163
|
-
flex-direction: column;
|
|
1164
|
-
align-items: center;
|
|
1165
|
-
gap: 0.5rem;
|
|
1166
|
-
padding: 0 0.25rem;
|
|
1167
|
-
text-align: center;
|
|
1168
|
-
}
|
|
1169
|
-
.nish-flow-steps[data-orient='horizontal'] .nish-flow-text {
|
|
1170
|
-
align-items: center;
|
|
1171
|
-
padding-top: 0;
|
|
1172
|
-
}
|
|
1173
|
-
.nish-flow-steps[data-orient='horizontal'] .nish-flow-label {
|
|
1174
|
-
display: -webkit-box;
|
|
1175
|
-
overflow: hidden;
|
|
1176
|
-
-webkit-box-orient: vertical;
|
|
1177
|
-
-webkit-line-clamp: 2;
|
|
1178
|
-
line-clamp: 2;
|
|
1179
|
-
}
|
|
1180
|
-
.nish-flow-steps[data-orient='horizontal'] .nish-flow-conn {
|
|
1181
|
-
top: calc(0.875rem - 1px);
|
|
1182
|
-
right: calc(-50% + 1.125rem);
|
|
1183
|
-
bottom: auto;
|
|
1184
|
-
left: calc(50% + 1.125rem);
|
|
1185
|
-
width: auto;
|
|
1186
|
-
height: 2px;
|
|
1187
|
-
}
|
|
1188
|
-
.nish-flow-steps[data-orient='horizontal'] .nish-flow-fill {
|
|
1189
|
-
transform-origin: left;
|
|
1190
|
-
transform: scaleX(0);
|
|
1191
|
-
}
|
|
1192
|
-
.nish-flow-steps[data-orient='horizontal'] .nish-flow-conn[data-on='true'] .nish-flow-fill {
|
|
1193
|
-
transform: scaleX(1);
|
|
1194
|
-
}
|
|
1195
|
-
.nish-flow-steps[data-orient='horizontal'] .nish-flow-shimmer {
|
|
1196
|
-
background: linear-gradient(90deg, transparent, var(--nish-accent), transparent);
|
|
1197
|
-
}
|
|
1198
|
-
.nish-flow-steps[data-orient='horizontal'] .nish-flow-sweep {
|
|
1199
|
-
transform-origin: left;
|
|
1200
|
-
background: linear-gradient(90deg, var(--nish-accent), var(--nish-ok-fill));
|
|
1201
|
-
}
|
|
1202
|
-
@container (min-width: 640px) {
|
|
1203
|
-
.nish-flow-steps[data-orient='auto'] {
|
|
1204
|
-
flex-direction: row;
|
|
1205
|
-
}
|
|
1206
|
-
.nish-flow-steps[data-orient='auto'] .nish-flow-step {
|
|
1207
|
-
min-width: 0;
|
|
1208
|
-
min-height: 0;
|
|
1209
|
-
flex: 1 1 0;
|
|
1210
|
-
flex-direction: column;
|
|
1211
|
-
align-items: center;
|
|
1212
|
-
gap: 0.5rem;
|
|
1213
|
-
padding: 0 0.25rem;
|
|
1214
|
-
text-align: center;
|
|
1215
|
-
}
|
|
1216
|
-
.nish-flow-steps[data-orient='auto'] .nish-flow-text {
|
|
1217
|
-
align-items: center;
|
|
1218
|
-
padding-top: 0;
|
|
1219
|
-
}
|
|
1220
|
-
.nish-flow-steps[data-orient='auto'] .nish-flow-label {
|
|
1221
|
-
display: -webkit-box;
|
|
1222
|
-
overflow: hidden;
|
|
1223
|
-
-webkit-box-orient: vertical;
|
|
1224
|
-
-webkit-line-clamp: 2;
|
|
1225
|
-
line-clamp: 2;
|
|
1226
|
-
}
|
|
1227
|
-
.nish-flow-steps[data-orient='auto'] .nish-flow-conn {
|
|
1191
|
+
.nish-flow-steps[data-orient='horizontal'] .nish-flow-conn {
|
|
1228
1192
|
top: calc(0.875rem - 1px);
|
|
1229
|
-
|
|
1193
|
+
inset-inline-end: calc(-50% + 1.125rem);
|
|
1230
1194
|
bottom: auto;
|
|
1231
|
-
|
|
1195
|
+
inset-inline-start: calc(50% + 1.125rem);
|
|
1232
1196
|
width: auto;
|
|
1233
1197
|
height: 2px;
|
|
1234
1198
|
}
|
|
1235
|
-
.nish-flow-steps[data-orient='
|
|
1199
|
+
.nish-flow-steps[data-orient='horizontal'] .nish-flow-fill {
|
|
1236
1200
|
transform-origin: left;
|
|
1237
1201
|
transform: scaleX(0);
|
|
1238
1202
|
}
|
|
1239
|
-
.nish-flow-steps[data-orient='
|
|
1203
|
+
.nish-flow-steps[data-orient='horizontal'] .nish-flow-conn[data-on='true'] .nish-flow-fill {
|
|
1240
1204
|
transform: scaleX(1);
|
|
1241
1205
|
}
|
|
1242
|
-
.nish-flow-steps[data-orient='
|
|
1206
|
+
.nish-flow-steps[data-orient='horizontal'] .nish-flow-shimmer {
|
|
1243
1207
|
background: linear-gradient(90deg, transparent, var(--nish-accent), transparent);
|
|
1244
1208
|
}
|
|
1245
|
-
.nish-flow-steps[data-orient='
|
|
1209
|
+
.nish-flow-steps[data-orient='horizontal'] .nish-flow-sweep {
|
|
1246
1210
|
transform-origin: left;
|
|
1247
1211
|
background: linear-gradient(90deg, var(--nish-accent), var(--nish-ok-fill));
|
|
1248
1212
|
}
|
|
1249
|
-
|
|
1213
|
+
@container (min-width: 640px) {
|
|
1214
|
+
.nish-flow-steps[data-orient='auto'] {
|
|
1215
|
+
flex-direction: row;
|
|
1216
|
+
}
|
|
1217
|
+
.nish-flow-steps[data-orient='auto'] .nish-flow-step {
|
|
1218
|
+
min-width: 0;
|
|
1219
|
+
min-height: 0;
|
|
1220
|
+
flex: 1 1 0;
|
|
1221
|
+
flex-direction: column;
|
|
1222
|
+
align-items: center;
|
|
1223
|
+
gap: 0.5rem;
|
|
1224
|
+
padding: 0 0.25rem;
|
|
1225
|
+
text-align: center;
|
|
1226
|
+
}
|
|
1227
|
+
.nish-flow-steps[data-orient='auto'] .nish-flow-text {
|
|
1228
|
+
align-items: center;
|
|
1229
|
+
padding-top: 0;
|
|
1230
|
+
}
|
|
1231
|
+
.nish-flow-steps[data-orient='auto'] .nish-flow-label {
|
|
1232
|
+
display: -webkit-box;
|
|
1233
|
+
overflow: hidden;
|
|
1234
|
+
-webkit-box-orient: vertical;
|
|
1235
|
+
-webkit-line-clamp: 2;
|
|
1236
|
+
line-clamp: 2;
|
|
1237
|
+
}
|
|
1238
|
+
.nish-flow-steps[data-orient='auto'] .nish-flow-conn {
|
|
1239
|
+
top: calc(0.875rem - 1px);
|
|
1240
|
+
inset-inline-end: calc(-50% + 1.125rem);
|
|
1241
|
+
bottom: auto;
|
|
1242
|
+
inset-inline-start: calc(50% + 1.125rem);
|
|
1243
|
+
width: auto;
|
|
1244
|
+
height: 2px;
|
|
1245
|
+
}
|
|
1246
|
+
.nish-flow-steps[data-orient='auto'] .nish-flow-fill {
|
|
1247
|
+
transform-origin: left;
|
|
1248
|
+
transform: scaleX(0);
|
|
1249
|
+
}
|
|
1250
|
+
.nish-flow-steps[data-orient='auto'] .nish-flow-conn[data-on='true'] .nish-flow-fill {
|
|
1251
|
+
transform: scaleX(1);
|
|
1252
|
+
}
|
|
1253
|
+
.nish-flow-steps[data-orient='auto'] .nish-flow-shimmer {
|
|
1254
|
+
background: linear-gradient(90deg, transparent, var(--nish-accent), transparent);
|
|
1255
|
+
}
|
|
1256
|
+
.nish-flow-steps[data-orient='auto'] .nish-flow-sweep {
|
|
1257
|
+
transform-origin: left;
|
|
1258
|
+
background: linear-gradient(90deg, var(--nish-accent), var(--nish-ok-fill));
|
|
1259
|
+
}
|
|
1260
|
+
}
|
|
1250
1261
|
|
|
1251
|
-
/* --- AgentNode ------------------------------------------------------------------ */
|
|
1252
|
-
.nish-flow-agent {
|
|
1253
|
-
|
|
1254
|
-
}
|
|
1255
|
-
.nish-flow-agent[data-state='running'] {
|
|
1256
|
-
|
|
1257
|
-
}
|
|
1262
|
+
/* --- AgentNode ------------------------------------------------------------------ */
|
|
1263
|
+
.nish-flow-agent {
|
|
1264
|
+
position: relative;
|
|
1265
|
+
}
|
|
1266
|
+
.nish-flow-agent[data-state='running'] {
|
|
1267
|
+
border-color: var(--nish-accent);
|
|
1268
|
+
}
|
|
1258
1269
|
|
|
1259
|
-
/* --- WorkflowBoard -------------------------------------------------------------- */
|
|
1260
|
-
.nish-flow-board-box {
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
}
|
|
1264
|
-
.nish-flow-board {
|
|
1265
|
-
display: grid;
|
|
1266
|
-
gap: 0.75rem;
|
|
1267
|
-
}
|
|
1268
|
-
.nish-flow-phase {
|
|
1269
|
-
position: relative;
|
|
1270
|
-
min-width: 0;
|
|
1271
|
-
}
|
|
1272
|
-
.nish-flow-phase::after {
|
|
1273
|
-
content: '';
|
|
1274
|
-
position: absolute;
|
|
1275
|
-
inset: -1px;
|
|
1276
|
-
border-radius: inherit;
|
|
1277
|
-
pointer-events: none;
|
|
1278
|
-
opacity: 0;
|
|
1279
|
-
}
|
|
1280
|
-
.nish-flow-phase[data-state='active']::after {
|
|
1281
|
-
opacity: 1;
|
|
1282
|
-
box-shadow:
|
|
1283
|
-
0 0 0 1px var(--nish-accent),
|
|
1284
|
-
0 0 16px var(--nish-accent-soft);
|
|
1285
|
-
}
|
|
1286
|
-
.nish-flow-phase-conn {
|
|
1287
|
-
display: none;
|
|
1288
|
-
position: absolute;
|
|
1289
|
-
top: 1.375rem;
|
|
1290
|
-
left: 100%;
|
|
1291
|
-
width: 1.5rem;
|
|
1292
|
-
height: 12px;
|
|
1293
|
-
margin-top: -6px;
|
|
1294
|
-
color: var(--nish-line-strong);
|
|
1295
|
-
}
|
|
1296
|
-
.nish-flow-phase-conn[data-flow='true'] {
|
|
1297
|
-
color: var(--nish-accent);
|
|
1298
|
-
}
|
|
1299
|
-
@container (min-width: 720px) {
|
|
1270
|
+
/* --- WorkflowBoard -------------------------------------------------------------- */
|
|
1271
|
+
.nish-flow-board-box {
|
|
1272
|
+
container-type: inline-size;
|
|
1273
|
+
min-width: 0;
|
|
1274
|
+
}
|
|
1300
1275
|
.nish-flow-board {
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1276
|
+
display: grid;
|
|
1277
|
+
gap: 0.75rem;
|
|
1278
|
+
}
|
|
1279
|
+
.nish-flow-phase {
|
|
1280
|
+
position: relative;
|
|
1281
|
+
min-width: 0;
|
|
1282
|
+
}
|
|
1283
|
+
.nish-flow-phase::after {
|
|
1284
|
+
content: '';
|
|
1285
|
+
position: absolute;
|
|
1286
|
+
inset: -1px;
|
|
1287
|
+
border-radius: inherit;
|
|
1288
|
+
pointer-events: none;
|
|
1289
|
+
opacity: 0;
|
|
1290
|
+
}
|
|
1291
|
+
.nish-flow-phase[data-state='active']::after {
|
|
1292
|
+
opacity: 1;
|
|
1293
|
+
box-shadow:
|
|
1294
|
+
0 0 0 1px var(--nish-accent),
|
|
1295
|
+
0 0 16px var(--nish-accent-soft);
|
|
1307
1296
|
}
|
|
1308
1297
|
.nish-flow-phase-conn {
|
|
1309
|
-
display:
|
|
1298
|
+
display: none;
|
|
1299
|
+
position: absolute;
|
|
1300
|
+
top: 1.375rem;
|
|
1301
|
+
inset-inline-start: 100%;
|
|
1302
|
+
width: 1.5rem;
|
|
1303
|
+
height: 12px;
|
|
1304
|
+
margin-top: -6px;
|
|
1305
|
+
color: var(--nish-line-strong);
|
|
1306
|
+
}
|
|
1307
|
+
.nish-flow-phase-conn[data-flow='true'] {
|
|
1308
|
+
color: var(--nish-accent);
|
|
1309
|
+
}
|
|
1310
|
+
@container (min-width: 720px) {
|
|
1311
|
+
.nish-flow-board {
|
|
1312
|
+
grid-auto-columns: minmax(220px, 1fr);
|
|
1313
|
+
grid-auto-flow: column;
|
|
1314
|
+
gap: 1.5rem;
|
|
1315
|
+
overflow-x: auto;
|
|
1316
|
+
overscroll-behavior-x: contain;
|
|
1317
|
+
padding: 0.25rem;
|
|
1318
|
+
}
|
|
1319
|
+
.nish-flow-phase-conn {
|
|
1320
|
+
display: block;
|
|
1321
|
+
}
|
|
1310
1322
|
}
|
|
1311
|
-
}
|
|
1312
|
-
|
|
1313
|
-
/* --- ActivityFeed --------------------------------------------------------------- */
|
|
1314
|
-
.nish-flow-feed {
|
|
1315
|
-
margin: 0;
|
|
1316
|
-
padding: 0;
|
|
1317
|
-
list-style: none;
|
|
1318
|
-
}
|
|
1319
|
-
.nish-flow-feed-item {
|
|
1320
|
-
position: relative;
|
|
1321
|
-
display: grid;
|
|
1322
|
-
grid-template-rows: 1fr;
|
|
1323
|
-
}
|
|
1324
|
-
.nish-flow-feed-item::before {
|
|
1325
|
-
content: '';
|
|
1326
|
-
position: absolute;
|
|
1327
|
-
top: 0;
|
|
1328
|
-
bottom: 0;
|
|
1329
|
-
left: calc(0.25rem - 0.5px);
|
|
1330
|
-
width: 1px;
|
|
1331
|
-
background-color: var(--nish-line);
|
|
1332
|
-
}
|
|
1333
|
-
.nish-flow-feed-item:first-child::before {
|
|
1334
|
-
top: 0.875rem;
|
|
1335
|
-
}
|
|
1336
|
-
.nish-flow-feed-item:last-child::before {
|
|
1337
|
-
bottom: calc(100% - 0.875rem);
|
|
1338
|
-
}
|
|
1339
|
-
.nish-flow-feed-inner {
|
|
1340
|
-
min-height: 0;
|
|
1341
|
-
overflow: hidden;
|
|
1342
|
-
}
|
|
1343
|
-
.nish-flow-feed-row {
|
|
1344
|
-
position: relative;
|
|
1345
|
-
display: grid;
|
|
1346
|
-
grid-template-columns: minmax(0, 1fr) auto;
|
|
1347
|
-
gap: 0 0.75rem;
|
|
1348
|
-
padding: 0.375rem 0.25rem 0.375rem 1.5rem;
|
|
1349
|
-
border-radius: 0.375rem;
|
|
1350
|
-
}
|
|
1351
|
-
.nish-flow-feed-dot {
|
|
1352
|
-
position: absolute;
|
|
1353
|
-
top: 0.625rem;
|
|
1354
|
-
left: 0;
|
|
1355
|
-
width: 0.5rem;
|
|
1356
|
-
height: 0.5rem;
|
|
1357
|
-
border-radius: 9999px;
|
|
1358
|
-
}
|
|
1359
|
-
|
|
1360
|
-
/* --- TickerText ----------------------------------------------------------------- */
|
|
1361
|
-
.nish-flow-ticker {
|
|
1362
|
-
display: grid;
|
|
1363
|
-
min-width: 0;
|
|
1364
|
-
overflow: hidden;
|
|
1365
|
-
}
|
|
1366
|
-
.nish-flow-ticker > span {
|
|
1367
|
-
display: block;
|
|
1368
|
-
grid-area: 1 / 1;
|
|
1369
|
-
min-width: 0;
|
|
1370
|
-
overflow: hidden;
|
|
1371
|
-
text-overflow: ellipsis;
|
|
1372
|
-
white-space: nowrap;
|
|
1373
|
-
}
|
|
1374
1323
|
|
|
1375
|
-
/* ---
|
|
1376
|
-
.nish-flow-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
pointer-events: none;
|
|
1386
|
-
}
|
|
1387
|
-
.nish-flow-item[data-phase='exit'] > .nish-flow-item-inner {
|
|
1388
|
-
overflow: hidden;
|
|
1389
|
-
}
|
|
1390
|
-
|
|
1391
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
1392
|
-
.nish-flow-rise {
|
|
1393
|
-
animation: nish-rise-in 320ms var(--nish-ease-out) both;
|
|
1394
|
-
animation-delay: var(--nish-flow-delay, 0ms);
|
|
1324
|
+
/* --- ActivityFeed --------------------------------------------------------------- */
|
|
1325
|
+
.nish-flow-feed {
|
|
1326
|
+
margin: 0;
|
|
1327
|
+
padding: 0;
|
|
1328
|
+
list-style: none;
|
|
1329
|
+
}
|
|
1330
|
+
.nish-flow-feed-item {
|
|
1331
|
+
position: relative;
|
|
1332
|
+
display: grid;
|
|
1333
|
+
grid-template-rows: 1fr;
|
|
1395
1334
|
}
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1335
|
+
.nish-flow-feed-item::before {
|
|
1336
|
+
content: '';
|
|
1337
|
+
position: absolute;
|
|
1338
|
+
top: 0;
|
|
1339
|
+
bottom: 0;
|
|
1340
|
+
inset-inline-start: calc(0.25rem - 0.5px);
|
|
1341
|
+
width: 1px;
|
|
1342
|
+
background-color: var(--nish-line);
|
|
1401
1343
|
}
|
|
1402
|
-
.nish-flow-
|
|
1403
|
-
|
|
1404
|
-
animation: nish-flow-ripple 1.6s ease-out infinite;
|
|
1344
|
+
.nish-flow-feed-item:first-child::before {
|
|
1345
|
+
top: 0.875rem;
|
|
1405
1346
|
}
|
|
1406
|
-
.nish-flow-
|
|
1407
|
-
|
|
1347
|
+
.nish-flow-feed-item:last-child::before {
|
|
1348
|
+
bottom: calc(100% - 0.875rem);
|
|
1408
1349
|
}
|
|
1409
|
-
.nish-flow-
|
|
1410
|
-
|
|
1350
|
+
.nish-flow-feed-inner {
|
|
1351
|
+
min-height: 0;
|
|
1352
|
+
overflow: hidden;
|
|
1411
1353
|
}
|
|
1412
|
-
.nish-flow-
|
|
1413
|
-
|
|
1414
|
-
|
|
1354
|
+
.nish-flow-feed-row {
|
|
1355
|
+
position: relative;
|
|
1356
|
+
display: grid;
|
|
1357
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
1358
|
+
gap: 0 0.75rem;
|
|
1359
|
+
padding: 0.375rem 0.25rem 0.375rem 1.5rem;
|
|
1360
|
+
border-radius: 0.375rem;
|
|
1415
1361
|
}
|
|
1416
|
-
.nish-flow-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1362
|
+
.nish-flow-feed-dot {
|
|
1363
|
+
position: absolute;
|
|
1364
|
+
top: 0.625rem;
|
|
1365
|
+
inset-inline-start: 0;
|
|
1366
|
+
width: 0.5rem;
|
|
1367
|
+
height: 0.5rem;
|
|
1368
|
+
border-radius: 9999px;
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
/* --- TickerText ----------------------------------------------------------------- */
|
|
1372
|
+
.nish-flow-ticker {
|
|
1373
|
+
display: grid;
|
|
1374
|
+
min-width: 0;
|
|
1375
|
+
overflow: hidden;
|
|
1421
1376
|
}
|
|
1422
|
-
.nish-flow-
|
|
1423
|
-
|
|
1377
|
+
.nish-flow-ticker > span {
|
|
1378
|
+
display: block;
|
|
1379
|
+
grid-area: 1 / 1;
|
|
1380
|
+
min-width: 0;
|
|
1381
|
+
overflow: hidden;
|
|
1382
|
+
text-overflow: ellipsis;
|
|
1383
|
+
white-space: nowrap;
|
|
1424
1384
|
}
|
|
1425
|
-
|
|
1426
|
-
|
|
1385
|
+
|
|
1386
|
+
/* --- AnimatedList --------------------------------------------------------------- */
|
|
1387
|
+
.nish-flow-item {
|
|
1388
|
+
display: grid;
|
|
1389
|
+
grid-template-rows: 1fr;
|
|
1427
1390
|
}
|
|
1428
|
-
.nish-flow-
|
|
1429
|
-
|
|
1391
|
+
.nish-flow-item-inner {
|
|
1392
|
+
min-height: 0;
|
|
1393
|
+
min-width: 0;
|
|
1430
1394
|
}
|
|
1431
|
-
.nish-flow-
|
|
1432
|
-
|
|
1395
|
+
.nish-flow-item[data-phase='exit'] {
|
|
1396
|
+
pointer-events: none;
|
|
1433
1397
|
}
|
|
1434
|
-
.nish-flow-
|
|
1435
|
-
|
|
1398
|
+
.nish-flow-item[data-phase='exit'] > .nish-flow-item-inner {
|
|
1399
|
+
overflow: hidden;
|
|
1436
1400
|
}
|
|
1437
|
-
|
|
1438
|
-
|
|
1401
|
+
|
|
1402
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1403
|
+
.nish-flow-rise {
|
|
1404
|
+
animation: nish-rise-in 320ms var(--nish-ease-out) both;
|
|
1405
|
+
animation-delay: var(--nish-flow-delay, 0ms);
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
/* FlowSteps */
|
|
1409
|
+
.nish-flow-arc {
|
|
1410
|
+
display: block;
|
|
1411
|
+
animation: nish-flow-spin 1.1s linear infinite;
|
|
1412
|
+
}
|
|
1413
|
+
.nish-flow-ripple {
|
|
1414
|
+
display: block;
|
|
1415
|
+
animation: nish-flow-ripple 1.6s ease-out infinite;
|
|
1416
|
+
}
|
|
1417
|
+
.nish-flow-fill {
|
|
1418
|
+
transition: transform 500ms var(--nish-ease-out);
|
|
1419
|
+
}
|
|
1420
|
+
.nish-flow-steps[data-sweep='true'] .nish-flow-fill {
|
|
1421
|
+
transition-delay: var(--nish-flow-delay, 0ms);
|
|
1422
|
+
}
|
|
1423
|
+
.nish-flow-step[data-status='active'] > .nish-flow-conn > .nish-flow-shimmer {
|
|
1424
|
+
display: block;
|
|
1425
|
+
animation: nish-flow-shimmer-v 1.4s linear infinite;
|
|
1426
|
+
}
|
|
1427
|
+
.nish-flow-steps[data-sweep='true'] .nish-flow-sweep {
|
|
1428
|
+
display: block;
|
|
1429
|
+
opacity: 0;
|
|
1430
|
+
animation: nish-flow-sweep-v 700ms ease-out both;
|
|
1431
|
+
animation-delay: var(--nish-flow-delay, 0ms);
|
|
1432
|
+
}
|
|
1433
|
+
.nish-flow-node[data-fx='done'] {
|
|
1434
|
+
animation: nish-flow-pop 320ms var(--nish-ease-out);
|
|
1435
|
+
}
|
|
1436
|
+
.nish-flow-node[data-fx='done'] .nish-flow-check path {
|
|
1437
|
+
animation: nish-flow-draw 360ms ease-out both;
|
|
1438
|
+
}
|
|
1439
|
+
.nish-flow-node[data-fx='failed'] {
|
|
1440
|
+
animation: nish-flow-shake 300ms ease-in-out;
|
|
1441
|
+
}
|
|
1442
|
+
.nish-flow-steps[data-orient='horizontal'] .nish-flow-step[data-status='active'] > .nish-flow-conn > .nish-flow-shimmer {
|
|
1439
1443
|
animation-name: nish-flow-shimmer;
|
|
1440
1444
|
}
|
|
1441
|
-
.nish-flow-steps[data-orient='
|
|
1445
|
+
.nish-flow-steps[data-orient='horizontal'] .nish-flow-sweep {
|
|
1442
1446
|
animation-name: nish-flow-sweep;
|
|
1443
1447
|
}
|
|
1444
|
-
|
|
1448
|
+
@container (min-width: 640px) {
|
|
1449
|
+
.nish-flow-steps[data-orient='auto'] .nish-flow-step[data-status='active'] > .nish-flow-conn > .nish-flow-shimmer {
|
|
1450
|
+
animation-name: nish-flow-shimmer;
|
|
1451
|
+
}
|
|
1452
|
+
.nish-flow-steps[data-orient='auto'] .nish-flow-sweep {
|
|
1453
|
+
animation-name: nish-flow-sweep;
|
|
1454
|
+
}
|
|
1455
|
+
}
|
|
1445
1456
|
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1457
|
+
/* AgentNode: a comet of accent running round the border. */
|
|
1458
|
+
.nish-flow-agent[data-state='running']::before {
|
|
1459
|
+
content: '';
|
|
1460
|
+
position: absolute;
|
|
1461
|
+
inset: -1px;
|
|
1462
|
+
padding: 1px;
|
|
1463
|
+
border-radius: inherit;
|
|
1464
|
+
pointer-events: none;
|
|
1465
|
+
background: conic-gradient(from var(--nish-flow-angle), transparent 0deg, transparent 230deg, var(--nish-accent) 360deg);
|
|
1466
|
+
-webkit-mask:
|
|
1467
|
+
linear-gradient(#000 0 0) content-box,
|
|
1468
|
+
linear-gradient(#000 0 0);
|
|
1469
|
+
-webkit-mask-composite: xor;
|
|
1470
|
+
mask:
|
|
1471
|
+
linear-gradient(#000 0 0) content-box exclude,
|
|
1472
|
+
linear-gradient(#000 0 0);
|
|
1473
|
+
animation: nish-flow-ring 2.4s linear infinite;
|
|
1474
|
+
}
|
|
1475
|
+
.nish-flow-agent-spin {
|
|
1476
|
+
animation: nish-flow-spin 0.9s linear infinite;
|
|
1477
|
+
}
|
|
1478
|
+
.nish-flow-agent[data-fx='done'] .nish-flow-agent-icon {
|
|
1479
|
+
animation: nish-flow-pop 300ms var(--nish-ease-out);
|
|
1480
|
+
}
|
|
1481
|
+
.nish-flow-agent[data-fx='done'] .nish-flow-check path {
|
|
1482
|
+
animation: nish-flow-draw 300ms ease-out both;
|
|
1483
|
+
}
|
|
1484
|
+
.nish-flow-agent[data-fx='failed'] {
|
|
1485
|
+
animation: nish-flow-shake 300ms ease-in-out;
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
/* WorkflowBoard */
|
|
1489
|
+
.nish-flow-phase[data-state='active']::after {
|
|
1490
|
+
animation: nish-flow-glow 2s ease-in-out infinite;
|
|
1491
|
+
}
|
|
1492
|
+
.nish-flow-phase-conn[data-flow='true'] .nish-flow-dashline {
|
|
1493
|
+
animation: nish-flow-dash 1s linear infinite;
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
/* ActivityFeed */
|
|
1497
|
+
.nish-flow-feed-item[data-fresh='true'] {
|
|
1498
|
+
animation: nish-flow-feed-in 320ms var(--nish-ease-out) both;
|
|
1499
|
+
}
|
|
1500
|
+
.nish-flow-feed-item[data-fresh='true'] .nish-flow-feed-row {
|
|
1501
|
+
animation: nish-flow-flash 1.2s ease-out both;
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
/* TickerText */
|
|
1505
|
+
.nish-flow-ticker-in {
|
|
1506
|
+
animation: nish-flow-ticker-in 260ms var(--nish-ease-out) both;
|
|
1507
|
+
}
|
|
1508
|
+
.nish-flow-ticker-out {
|
|
1509
|
+
animation: nish-flow-ticker-out 200ms ease-in both;
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
/* AnimatedList */
|
|
1513
|
+
.nish-flow-item[data-phase='enter'] {
|
|
1514
|
+
animation: nish-flow-enter 380ms ease-out both;
|
|
1515
|
+
}
|
|
1516
|
+
.nish-flow-item[data-phase='exit'] {
|
|
1517
|
+
animation: nish-flow-exit var(--nish-flow-exit-ms, 420ms) ease-in both;
|
|
1518
|
+
}
|
|
1463
1519
|
}
|
|
1464
|
-
|
|
1465
|
-
|
|
1520
|
+
|
|
1521
|
+
/* Markdown and rich text: <div class="nish-prose">…rendered HTML…</div>. Every rule
|
|
1522
|
+
targets children through :where(), so a utility class on a child still wins. Sized
|
|
1523
|
+
for UI text (sm); set font-size on the container to scale it all. */
|
|
1524
|
+
.nish-prose {
|
|
1525
|
+
color: var(--nish-hi2);
|
|
1526
|
+
font-size: var(--nish-text-sm);
|
|
1527
|
+
line-height: var(--nish-text-sm-lh);
|
|
1528
|
+
overflow-wrap: anywhere;
|
|
1529
|
+
}
|
|
1530
|
+
.nish-prose > :where(:first-child) {
|
|
1531
|
+
margin-top: 0;
|
|
1532
|
+
}
|
|
1533
|
+
.nish-prose > :where(:last-child) {
|
|
1534
|
+
margin-bottom: 0;
|
|
1535
|
+
}
|
|
1536
|
+
.nish-prose :where(p, ul, ol, blockquote, pre, table, hr, figure) {
|
|
1537
|
+
margin: 0.75em 0;
|
|
1538
|
+
}
|
|
1539
|
+
.nish-prose :where(h1, h2, h3, h4, h5, h6) {
|
|
1540
|
+
color: var(--nish-hi);
|
|
1541
|
+
font-weight: var(--nish-weight-semibold);
|
|
1542
|
+
letter-spacing: var(--nish-tracking-tight);
|
|
1543
|
+
line-height: 1.3;
|
|
1544
|
+
margin: 1.4em 0 0.5em;
|
|
1545
|
+
}
|
|
1546
|
+
.nish-prose :where(h1) {
|
|
1547
|
+
font-size: 1.6em;
|
|
1548
|
+
}
|
|
1549
|
+
.nish-prose :where(h2) {
|
|
1550
|
+
font-size: 1.35em;
|
|
1551
|
+
}
|
|
1552
|
+
.nish-prose :where(h3) {
|
|
1553
|
+
font-size: 1.15em;
|
|
1554
|
+
}
|
|
1555
|
+
.nish-prose :where(h4, h5, h6) {
|
|
1556
|
+
font-size: 1em;
|
|
1557
|
+
}
|
|
1558
|
+
.nish-prose :where(strong, b) {
|
|
1559
|
+
color: var(--nish-hi);
|
|
1560
|
+
font-weight: var(--nish-weight-semibold);
|
|
1561
|
+
}
|
|
1562
|
+
.nish-prose :where(a) {
|
|
1563
|
+
color: var(--nish-accent);
|
|
1564
|
+
text-decoration: underline;
|
|
1565
|
+
text-underline-offset: 2px;
|
|
1566
|
+
text-decoration-thickness: 1px;
|
|
1567
|
+
}
|
|
1568
|
+
.nish-prose :where(a:hover) {
|
|
1569
|
+
text-decoration-thickness: 2px;
|
|
1570
|
+
}
|
|
1571
|
+
.nish-prose :where(ul, ol) {
|
|
1572
|
+
padding-inline-start: 1.4em;
|
|
1573
|
+
}
|
|
1574
|
+
.nish-prose :where(ul) {
|
|
1575
|
+
list-style: disc;
|
|
1576
|
+
}
|
|
1577
|
+
.nish-prose :where(ol) {
|
|
1578
|
+
list-style: decimal;
|
|
1579
|
+
}
|
|
1580
|
+
.nish-prose :where(li) {
|
|
1581
|
+
margin: 0.25em 0;
|
|
1582
|
+
}
|
|
1583
|
+
.nish-prose :where(li)::marker {
|
|
1584
|
+
color: var(--nish-hi3);
|
|
1585
|
+
}
|
|
1586
|
+
.nish-prose :where(li > ul, li > ol) {
|
|
1587
|
+
margin: 0.25em 0;
|
|
1588
|
+
}
|
|
1589
|
+
/* GitHub-style task lists: <li><input type="checkbox" disabled> …</li>. */
|
|
1590
|
+
.nish-prose :where(ul:has(> li > input[type='checkbox'])) {
|
|
1591
|
+
list-style: none;
|
|
1592
|
+
padding-inline-start: 0.25em;
|
|
1593
|
+
}
|
|
1594
|
+
.nish-prose :where(li > input[type='checkbox']) {
|
|
1595
|
+
margin: 0 0.5em 0 0;
|
|
1596
|
+
vertical-align: -0.1em;
|
|
1597
|
+
accent-color: var(--nish-accent);
|
|
1598
|
+
}
|
|
1599
|
+
.nish-prose :where(blockquote) {
|
|
1600
|
+
padding-inline-start: 1em;
|
|
1601
|
+
border-inline-start: 3px solid var(--nish-line-strong);
|
|
1602
|
+
color: var(--nish-hi2);
|
|
1603
|
+
}
|
|
1604
|
+
.nish-prose :where(hr) {
|
|
1605
|
+
border: 0;
|
|
1606
|
+
border-top: 1px solid var(--nish-line);
|
|
1607
|
+
margin: 1.5em 0;
|
|
1608
|
+
}
|
|
1609
|
+
.nish-prose :where(code) {
|
|
1610
|
+
font-family: var(--nish-font-mono);
|
|
1611
|
+
font-size: 0.875em;
|
|
1612
|
+
padding: 0.1em 0.35em;
|
|
1613
|
+
border-radius: var(--nish-radius-xs);
|
|
1614
|
+
background: var(--nish-elevated);
|
|
1615
|
+
color: var(--nish-hi);
|
|
1616
|
+
}
|
|
1617
|
+
.nish-prose :where(pre) {
|
|
1618
|
+
padding: var(--nish-space-3) var(--nish-space-4);
|
|
1619
|
+
overflow-x: auto;
|
|
1620
|
+
border: 1px solid var(--nish-line);
|
|
1621
|
+
border-radius: var(--nish-radius-sm);
|
|
1622
|
+
background: var(--nish-elevated);
|
|
1623
|
+
line-height: 1.55;
|
|
1624
|
+
}
|
|
1625
|
+
.nish-prose :where(pre code) {
|
|
1626
|
+
padding: 0;
|
|
1627
|
+
background: none;
|
|
1628
|
+
font-size: 0.85em;
|
|
1629
|
+
overflow-wrap: normal;
|
|
1630
|
+
}
|
|
1631
|
+
.nish-prose :where(table) {
|
|
1632
|
+
width: 100%;
|
|
1633
|
+
border-collapse: collapse;
|
|
1634
|
+
display: block;
|
|
1635
|
+
overflow-x: auto;
|
|
1466
1636
|
}
|
|
1467
|
-
.nish-
|
|
1468
|
-
|
|
1637
|
+
.nish-prose :where(th, td) {
|
|
1638
|
+
padding: 0.4em 0.75em;
|
|
1639
|
+
border-bottom: 1px solid var(--nish-line);
|
|
1640
|
+
text-align: start;
|
|
1641
|
+
vertical-align: top;
|
|
1469
1642
|
}
|
|
1470
|
-
.nish-
|
|
1471
|
-
|
|
1643
|
+
.nish-prose :where(th) {
|
|
1644
|
+
color: var(--nish-hi);
|
|
1645
|
+
font-weight: var(--nish-weight-semibold);
|
|
1646
|
+
border-bottom-color: var(--nish-line-strong);
|
|
1472
1647
|
}
|
|
1473
|
-
.nish-
|
|
1474
|
-
|
|
1648
|
+
.nish-prose :where(img, video) {
|
|
1649
|
+
max-width: 100%;
|
|
1650
|
+
height: auto;
|
|
1651
|
+
border-radius: var(--nish-radius-sm);
|
|
1475
1652
|
}
|
|
1476
1653
|
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1654
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1655
|
+
*,
|
|
1656
|
+
*::before,
|
|
1657
|
+
*::after {
|
|
1658
|
+
animation-duration: 1ms !important;
|
|
1659
|
+
animation-iteration-count: 1 !important;
|
|
1660
|
+
transition-duration: 1ms !important;
|
|
1661
|
+
scroll-behavior: auto !important;
|
|
1662
|
+
}
|
|
1480
1663
|
}
|
|
1481
|
-
|
|
1482
|
-
|
|
1664
|
+
|
|
1665
|
+
/* Spinners still signal "working" under reduced motion: they pulse instead of turning.
|
|
1666
|
+
Scoped to .nish-spinner, .nish-spin and [data-nish-spin]; Tailwind's .animate-spin
|
|
1667
|
+
utility is left alone, so a component that spins with it adds data-nish-spin (or
|
|
1668
|
+
motion-reduce:animate-pulse) to get the pulse. */
|
|
1669
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1670
|
+
.nish-spin,
|
|
1671
|
+
[data-nish-spin],
|
|
1672
|
+
.nish-spinner {
|
|
1673
|
+
animation: nish-pulse 1.6s ease-in-out infinite !important;
|
|
1674
|
+
animation-iteration-count: infinite !important;
|
|
1675
|
+
animation-duration: 1.6s !important;
|
|
1676
|
+
}
|
|
1483
1677
|
}
|
|
1484
1678
|
|
|
1485
|
-
/*
|
|
1486
|
-
|
|
1487
|
-
|
|
1679
|
+
/* SystemCanvas (src/components/canvas.tsx). The viewport is the graph paper: its
|
|
1680
|
+
background position and size follow the pan and zoom (the component writes them directly, no inherited
|
|
1681
|
+
variables). Every rule that moves, loops or fades is
|
|
1682
|
+
inside prefers-reduced-motion: no-preference; under reduced motion the active look is
|
|
1683
|
+
static (hue border, solid edges). */
|
|
1684
|
+
.nish-canvas {
|
|
1685
|
+
--c: var(--nish-accent);
|
|
1686
|
+
--c-soft: var(--nish-accent-soft);
|
|
1687
|
+
position: relative;
|
|
1688
|
+
width: 100%;
|
|
1689
|
+
overflow: hidden;
|
|
1690
|
+
overflow: clip;
|
|
1691
|
+
touch-action: none;
|
|
1692
|
+
overscroll-behavior: contain;
|
|
1693
|
+
user-select: none;
|
|
1694
|
+
-webkit-user-select: none;
|
|
1695
|
+
cursor: grab;
|
|
1696
|
+
background-color: var(--nish-bg);
|
|
1697
|
+
background-image:
|
|
1698
|
+
linear-gradient(to right, color-mix(in srgb, var(--nish-line-strong) 38%, transparent) 1px, transparent 1px),
|
|
1699
|
+
linear-gradient(to bottom, color-mix(in srgb, var(--nish-line-strong) 38%, transparent) 1px, transparent 1px),
|
|
1700
|
+
linear-gradient(to right, color-mix(in srgb, var(--nish-line) 28%, transparent) 1px, transparent 1px),
|
|
1701
|
+
linear-gradient(to bottom, color-mix(in srgb, var(--nish-line) 28%, transparent) 1px, transparent 1px);
|
|
1702
|
+
/* Position and size are written directly by the component on every pan and zoom frame. */
|
|
1703
|
+
background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
|
|
1704
|
+
background-position: 0 0;
|
|
1705
|
+
}
|
|
1706
|
+
.nish-canvas[data-grid='major'] {
|
|
1707
|
+
background-image:
|
|
1708
|
+
linear-gradient(to right, color-mix(in srgb, var(--nish-line-strong) 38%, transparent) 1px, transparent 1px),
|
|
1709
|
+
linear-gradient(to bottom, color-mix(in srgb, var(--nish-line-strong) 38%, transparent) 1px, transparent 1px);
|
|
1710
|
+
}
|
|
1711
|
+
.nish-canvas[data-dragging='true'] {
|
|
1712
|
+
cursor: grabbing;
|
|
1713
|
+
}
|
|
1714
|
+
.nish-canvas:focus-visible {
|
|
1715
|
+
outline: 2px solid var(--nish-focus);
|
|
1716
|
+
outline-offset: -2px;
|
|
1717
|
+
}
|
|
1718
|
+
.nish-canvas-world {
|
|
1719
|
+
position: absolute;
|
|
1720
|
+
left: 0;
|
|
1721
|
+
top: 0;
|
|
1722
|
+
transform-origin: 0 0;
|
|
1723
|
+
will-change: transform;
|
|
1488
1724
|
}
|
|
1489
|
-
.nish-
|
|
1490
|
-
|
|
1725
|
+
.nish-canvas-coltitle {
|
|
1726
|
+
position: absolute;
|
|
1727
|
+
font-size: 12px;
|
|
1728
|
+
font-weight: var(--nish-weight-semibold);
|
|
1729
|
+
letter-spacing: 0.08em;
|
|
1730
|
+
text-transform: uppercase;
|
|
1731
|
+
color: var(--nish-hi3);
|
|
1732
|
+
white-space: nowrap;
|
|
1733
|
+
/* A pill, so lines pass behind the title instead of through it. */
|
|
1734
|
+
z-index: 1;
|
|
1735
|
+
padding: 2px 8px;
|
|
1736
|
+
border-radius: 999px;
|
|
1737
|
+
background: var(--nish-bg);
|
|
1491
1738
|
}
|
|
1492
1739
|
|
|
1493
|
-
/*
|
|
1494
|
-
.nish-
|
|
1495
|
-
|
|
1740
|
+
/* Groups */
|
|
1741
|
+
.nish-canvas-group {
|
|
1742
|
+
position: absolute;
|
|
1743
|
+
z-index: 0;
|
|
1744
|
+
overflow: hidden;
|
|
1745
|
+
border-radius: 16px;
|
|
1746
|
+
border: 1px solid var(--nish-line);
|
|
1747
|
+
background:
|
|
1748
|
+
linear-gradient(to bottom, var(--c-soft), transparent 60%),
|
|
1749
|
+
var(--nish-surface);
|
|
1750
|
+
transition: border-color 300ms, box-shadow 300ms, opacity 200ms;
|
|
1751
|
+
}
|
|
1752
|
+
.nish-canvas-group[data-live] {
|
|
1753
|
+
border-color: var(--c);
|
|
1754
|
+
box-shadow: 0 0 22px color-mix(in srgb, var(--c) 28%, transparent);
|
|
1755
|
+
}
|
|
1756
|
+
.nish-canvas-group[data-selected],
|
|
1757
|
+
.nish-canvas-node[data-selected] {
|
|
1758
|
+
outline: 2px solid var(--nish-accent);
|
|
1759
|
+
outline-offset: 2px;
|
|
1760
|
+
}
|
|
1761
|
+
.nish-canvas-group[data-selected] {
|
|
1762
|
+
overflow: visible;
|
|
1763
|
+
}
|
|
1764
|
+
.nish-canvas-band {
|
|
1765
|
+
position: absolute;
|
|
1766
|
+
inset-inline-start: 0;
|
|
1767
|
+
inset-inline-end: 0;
|
|
1768
|
+
top: 0;
|
|
1769
|
+
height: 3px;
|
|
1770
|
+
background: var(--c);
|
|
1771
|
+
}
|
|
1772
|
+
.nish-canvas-head {
|
|
1773
|
+
display: flex;
|
|
1774
|
+
align-items: center;
|
|
1775
|
+
justify-content: space-between;
|
|
1776
|
+
gap: 8px;
|
|
1777
|
+
width: 100%;
|
|
1778
|
+
height: 52px;
|
|
1779
|
+
padding: 3px 16px 0;
|
|
1780
|
+
text-align: start;
|
|
1781
|
+
cursor: pointer;
|
|
1782
|
+
}
|
|
1783
|
+
.nish-canvas-headtext {
|
|
1784
|
+
display: flex;
|
|
1785
|
+
flex-direction: column;
|
|
1786
|
+
min-width: 0;
|
|
1496
1787
|
}
|
|
1497
|
-
.nish-
|
|
1498
|
-
|
|
1788
|
+
.nish-canvas-title {
|
|
1789
|
+
font-weight: var(--nish-weight-semibold);
|
|
1790
|
+
color: var(--nish-hi);
|
|
1791
|
+
line-height: 1.25;
|
|
1792
|
+
overflow: hidden;
|
|
1793
|
+
text-overflow: ellipsis;
|
|
1794
|
+
white-space: nowrap;
|
|
1499
1795
|
}
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1796
|
+
.nish-canvas-subtitle {
|
|
1797
|
+
font-size: 12px;
|
|
1798
|
+
color: var(--nish-hi3);
|
|
1799
|
+
line-height: 1.3;
|
|
1800
|
+
overflow: hidden;
|
|
1801
|
+
text-overflow: ellipsis;
|
|
1802
|
+
white-space: nowrap;
|
|
1504
1803
|
}
|
|
1505
|
-
.nish-
|
|
1506
|
-
|
|
1804
|
+
.nish-canvas-badge {
|
|
1805
|
+
flex-shrink: 0;
|
|
1507
1806
|
}
|
|
1508
|
-
}
|
|
1509
|
-
|
|
1510
|
-
/* Markdown and rich text: <div class="nish-prose">…rendered HTML…</div>. Every rule
|
|
1511
|
-
targets children through :where(), so a utility class on a child still wins. Sized
|
|
1512
|
-
for UI text (sm); set font-size on the container to scale it all. */
|
|
1513
|
-
.nish-prose {
|
|
1514
|
-
color: var(--nish-hi2);
|
|
1515
|
-
font-size: var(--nish-text-sm);
|
|
1516
|
-
line-height: var(--nish-text-sm-lh);
|
|
1517
|
-
overflow-wrap: anywhere;
|
|
1518
|
-
}
|
|
1519
|
-
.nish-prose > :where(:first-child) {
|
|
1520
|
-
margin-top: 0;
|
|
1521
|
-
}
|
|
1522
|
-
.nish-prose > :where(:last-child) {
|
|
1523
|
-
margin-bottom: 0;
|
|
1524
|
-
}
|
|
1525
|
-
.nish-prose :where(p, ul, ol, blockquote, pre, table, hr, figure) {
|
|
1526
|
-
margin: 0.75em 0;
|
|
1527
|
-
}
|
|
1528
|
-
.nish-prose :where(h1, h2, h3, h4, h5, h6) {
|
|
1529
|
-
color: var(--nish-hi);
|
|
1530
|
-
font-weight: var(--nish-weight-semibold);
|
|
1531
|
-
letter-spacing: var(--nish-tracking-tight);
|
|
1532
|
-
line-height: 1.3;
|
|
1533
|
-
margin: 1.4em 0 0.5em;
|
|
1534
|
-
}
|
|
1535
|
-
.nish-prose :where(h1) {
|
|
1536
|
-
font-size: 1.6em;
|
|
1537
|
-
}
|
|
1538
|
-
.nish-prose :where(h2) {
|
|
1539
|
-
font-size: 1.35em;
|
|
1540
|
-
}
|
|
1541
|
-
.nish-prose :where(h3) {
|
|
1542
|
-
font-size: 1.15em;
|
|
1543
|
-
}
|
|
1544
|
-
.nish-prose :where(h4, h5, h6) {
|
|
1545
|
-
font-size: 1em;
|
|
1546
|
-
}
|
|
1547
|
-
.nish-prose :where(strong, b) {
|
|
1548
|
-
color: var(--nish-hi);
|
|
1549
|
-
font-weight: var(--nish-weight-semibold);
|
|
1550
|
-
}
|
|
1551
|
-
.nish-prose :where(a) {
|
|
1552
|
-
color: var(--nish-accent);
|
|
1553
|
-
text-decoration: underline;
|
|
1554
|
-
text-underline-offset: 2px;
|
|
1555
|
-
text-decoration-thickness: 1px;
|
|
1556
|
-
}
|
|
1557
|
-
.nish-prose :where(a:hover) {
|
|
1558
|
-
text-decoration-thickness: 2px;
|
|
1559
|
-
}
|
|
1560
|
-
.nish-prose :where(ul, ol) {
|
|
1561
|
-
padding-left: 1.4em;
|
|
1562
|
-
}
|
|
1563
|
-
.nish-prose :where(ul) {
|
|
1564
|
-
list-style: disc;
|
|
1565
|
-
}
|
|
1566
|
-
.nish-prose :where(ol) {
|
|
1567
|
-
list-style: decimal;
|
|
1568
|
-
}
|
|
1569
|
-
.nish-prose :where(li) {
|
|
1570
|
-
margin: 0.25em 0;
|
|
1571
|
-
}
|
|
1572
|
-
.nish-prose :where(li)::marker {
|
|
1573
|
-
color: var(--nish-hi3);
|
|
1574
|
-
}
|
|
1575
|
-
.nish-prose :where(li > ul, li > ol) {
|
|
1576
|
-
margin: 0.25em 0;
|
|
1577
|
-
}
|
|
1578
|
-
/* GitHub-style task lists: <li><input type="checkbox" disabled> …</li>. */
|
|
1579
|
-
.nish-prose :where(ul:has(> li > input[type='checkbox'])) {
|
|
1580
|
-
list-style: none;
|
|
1581
|
-
padding-left: 0.25em;
|
|
1582
|
-
}
|
|
1583
|
-
.nish-prose :where(li > input[type='checkbox']) {
|
|
1584
|
-
margin: 0 0.5em 0 0;
|
|
1585
|
-
vertical-align: -0.1em;
|
|
1586
|
-
accent-color: var(--nish-accent);
|
|
1587
|
-
}
|
|
1588
|
-
.nish-prose :where(blockquote) {
|
|
1589
|
-
padding-left: 1em;
|
|
1590
|
-
border-left: 3px solid var(--nish-line-strong);
|
|
1591
|
-
color: var(--nish-hi2);
|
|
1592
|
-
}
|
|
1593
|
-
.nish-prose :where(hr) {
|
|
1594
|
-
border: 0;
|
|
1595
|
-
border-top: 1px solid var(--nish-line);
|
|
1596
|
-
margin: 1.5em 0;
|
|
1597
|
-
}
|
|
1598
|
-
.nish-prose :where(code) {
|
|
1599
|
-
font-family: var(--nish-font-mono);
|
|
1600
|
-
font-size: 0.875em;
|
|
1601
|
-
padding: 0.1em 0.35em;
|
|
1602
|
-
border-radius: var(--nish-radius-xs);
|
|
1603
|
-
background: var(--nish-elevated);
|
|
1604
|
-
color: var(--nish-hi);
|
|
1605
|
-
}
|
|
1606
|
-
.nish-prose :where(pre) {
|
|
1607
|
-
padding: var(--nish-space-3) var(--nish-space-4);
|
|
1608
|
-
overflow-x: auto;
|
|
1609
|
-
border: 1px solid var(--nish-line);
|
|
1610
|
-
border-radius: var(--nish-radius-sm);
|
|
1611
|
-
background: var(--nish-elevated);
|
|
1612
|
-
line-height: 1.55;
|
|
1613
|
-
}
|
|
1614
|
-
.nish-prose :where(pre code) {
|
|
1615
|
-
padding: 0;
|
|
1616
|
-
background: none;
|
|
1617
|
-
font-size: 0.85em;
|
|
1618
|
-
overflow-wrap: normal;
|
|
1619
|
-
}
|
|
1620
|
-
.nish-prose :where(table) {
|
|
1621
|
-
width: 100%;
|
|
1622
|
-
border-collapse: collapse;
|
|
1623
|
-
display: block;
|
|
1624
|
-
overflow-x: auto;
|
|
1625
|
-
}
|
|
1626
|
-
.nish-prose :where(th, td) {
|
|
1627
|
-
padding: 0.4em 0.75em;
|
|
1628
|
-
border-bottom: 1px solid var(--nish-line);
|
|
1629
|
-
text-align: left;
|
|
1630
|
-
vertical-align: top;
|
|
1631
|
-
}
|
|
1632
|
-
.nish-prose :where(th) {
|
|
1633
|
-
color: var(--nish-hi);
|
|
1634
|
-
font-weight: var(--nish-weight-semibold);
|
|
1635
|
-
border-bottom-color: var(--nish-line-strong);
|
|
1636
|
-
}
|
|
1637
|
-
.nish-prose :where(img, video) {
|
|
1638
|
-
max-width: 100%;
|
|
1639
|
-
height: auto;
|
|
1640
|
-
border-radius: var(--nish-radius-sm);
|
|
1641
|
-
}
|
|
1642
1807
|
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
animation-iteration-count: 1 !important;
|
|
1649
|
-
transition-duration: 1ms !important;
|
|
1650
|
-
scroll-behavior: auto !important;
|
|
1808
|
+
/* Nodes */
|
|
1809
|
+
.nish-canvas-slot {
|
|
1810
|
+
position: absolute;
|
|
1811
|
+
z-index: 2;
|
|
1812
|
+
transition: opacity 200ms;
|
|
1651
1813
|
}
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1814
|
+
.nish-canvas-slot[data-dim] {
|
|
1815
|
+
opacity: 0.35;
|
|
1816
|
+
}
|
|
1817
|
+
.nish-canvas-slot[data-active] {
|
|
1818
|
+
z-index: 3;
|
|
1819
|
+
}
|
|
1820
|
+
.nish-canvas-node {
|
|
1821
|
+
position: relative;
|
|
1822
|
+
display: flex;
|
|
1823
|
+
align-items: center;
|
|
1824
|
+
gap: 8px;
|
|
1825
|
+
width: 100%;
|
|
1826
|
+
height: 100%;
|
|
1827
|
+
padding: 0 10px;
|
|
1828
|
+
text-align: start;
|
|
1829
|
+
cursor: pointer;
|
|
1830
|
+
border-radius: 12px;
|
|
1831
|
+
border: 1px solid var(--nish-line);
|
|
1832
|
+
background: var(--nish-bg);
|
|
1833
|
+
transition: border-color 400ms, box-shadow 600ms, background-color 300ms;
|
|
1834
|
+
}
|
|
1835
|
+
/* Afterglow of recent work, from the slot's heat values. :where keeps it under hover and active. */
|
|
1836
|
+
.nish-canvas-node:where([data-heat]) {
|
|
1837
|
+
border-color: var(--nish-canvas-heat-line, var(--nish-line));
|
|
1838
|
+
box-shadow: var(--nish-canvas-heat-glow, none);
|
|
1839
|
+
}
|
|
1840
|
+
.nish-canvas-node:hover {
|
|
1841
|
+
border-color: color-mix(in srgb, var(--c) 55%, var(--nish-line));
|
|
1842
|
+
}
|
|
1843
|
+
.nish-canvas-node[data-active] {
|
|
1844
|
+
border-color: var(--c);
|
|
1845
|
+
background: color-mix(in srgb, var(--c) 10%, var(--nish-bg));
|
|
1846
|
+
}
|
|
1847
|
+
.nish-canvas-icon {
|
|
1848
|
+
display: inline-flex;
|
|
1849
|
+
flex-shrink: 0;
|
|
1850
|
+
align-items: center;
|
|
1851
|
+
justify-content: center;
|
|
1852
|
+
width: 28px;
|
|
1853
|
+
height: 28px;
|
|
1854
|
+
border-radius: 8px;
|
|
1855
|
+
color: var(--c);
|
|
1856
|
+
background: var(--c-soft);
|
|
1857
|
+
}
|
|
1858
|
+
.nish-canvas-text {
|
|
1859
|
+
display: flex;
|
|
1860
|
+
flex-direction: column;
|
|
1861
|
+
min-width: 0;
|
|
1862
|
+
flex: 1;
|
|
1863
|
+
}
|
|
1864
|
+
.nish-canvas-label {
|
|
1865
|
+
font-size: 13px;
|
|
1866
|
+
font-weight: var(--nish-weight-medium);
|
|
1867
|
+
color: var(--nish-hi);
|
|
1868
|
+
line-height: 1.25;
|
|
1869
|
+
overflow: hidden;
|
|
1870
|
+
text-overflow: ellipsis;
|
|
1871
|
+
white-space: nowrap;
|
|
1872
|
+
}
|
|
1873
|
+
.nish-canvas-detail {
|
|
1874
|
+
font-size: 11px;
|
|
1875
|
+
color: var(--nish-hi3);
|
|
1876
|
+
line-height: 1.3;
|
|
1877
|
+
overflow: hidden;
|
|
1878
|
+
text-overflow: ellipsis;
|
|
1879
|
+
white-space: nowrap;
|
|
1880
|
+
}
|
|
1881
|
+
.nish-canvas-count {
|
|
1882
|
+
flex-shrink: 0;
|
|
1883
|
+
min-width: 18px;
|
|
1884
|
+
padding: 0 5px;
|
|
1885
|
+
border-radius: 9px;
|
|
1886
|
+
font-size: 11px;
|
|
1887
|
+
font-weight: var(--nish-weight-semibold);
|
|
1888
|
+
line-height: 18px;
|
|
1889
|
+
text-align: center;
|
|
1890
|
+
color: var(--nish-bg);
|
|
1891
|
+
background: var(--c);
|
|
1892
|
+
}
|
|
1893
|
+
.nish-canvas-live {
|
|
1894
|
+
position: absolute;
|
|
1895
|
+
top: -3px;
|
|
1896
|
+
inset-inline-end: -3px;
|
|
1897
|
+
width: 9px;
|
|
1898
|
+
height: 9px;
|
|
1899
|
+
border-radius: 50%;
|
|
1900
|
+
background: var(--c);
|
|
1901
|
+
box-shadow: 0 0 0 2px var(--nish-bg);
|
|
1902
|
+
}
|
|
1903
|
+
.nish-canvas-note {
|
|
1904
|
+
/* Takes the detail line's place in the text column, with or without a detail. */
|
|
1905
|
+
display: block;
|
|
1906
|
+
overflow: hidden;
|
|
1907
|
+
color: var(--c);
|
|
1908
|
+
font-size: 11px;
|
|
1909
|
+
line-height: 1.3;
|
|
1910
|
+
white-space: nowrap;
|
|
1911
|
+
text-overflow: ellipsis;
|
|
1661
1912
|
}
|
|
1662
|
-
}
|
|
1663
|
-
|
|
1664
|
-
/* SystemCanvas (src/components/canvas.tsx). The viewport is the graph paper: its
|
|
1665
|
-
background position and size follow the pan and zoom (the component writes them directly, no inherited
|
|
1666
|
-
variables). Every rule that moves, loops or fades is
|
|
1667
|
-
inside prefers-reduced-motion: no-preference; under reduced motion the active look is
|
|
1668
|
-
static (hue border, solid edges). */
|
|
1669
|
-
.nish-canvas {
|
|
1670
|
-
--c: var(--nish-accent);
|
|
1671
|
-
--c-soft: var(--nish-accent-soft);
|
|
1672
|
-
position: relative;
|
|
1673
|
-
width: 100%;
|
|
1674
|
-
overflow: hidden;
|
|
1675
|
-
overflow: clip;
|
|
1676
|
-
touch-action: none;
|
|
1677
|
-
overscroll-behavior: contain;
|
|
1678
|
-
user-select: none;
|
|
1679
|
-
-webkit-user-select: none;
|
|
1680
|
-
cursor: grab;
|
|
1681
|
-
background-color: var(--nish-bg);
|
|
1682
|
-
background-image:
|
|
1683
|
-
linear-gradient(to right, color-mix(in srgb, var(--nish-line-strong) 38%, transparent) 1px, transparent 1px),
|
|
1684
|
-
linear-gradient(to bottom, color-mix(in srgb, var(--nish-line-strong) 38%, transparent) 1px, transparent 1px),
|
|
1685
|
-
linear-gradient(to right, color-mix(in srgb, var(--nish-line) 28%, transparent) 1px, transparent 1px),
|
|
1686
|
-
linear-gradient(to bottom, color-mix(in srgb, var(--nish-line) 28%, transparent) 1px, transparent 1px);
|
|
1687
|
-
/* Position and size are written directly by the component on every pan and zoom frame. */
|
|
1688
|
-
background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
|
|
1689
|
-
background-position: 0 0;
|
|
1690
|
-
}
|
|
1691
|
-
.nish-canvas[data-grid='major'] {
|
|
1692
|
-
background-image:
|
|
1693
|
-
linear-gradient(to right, color-mix(in srgb, var(--nish-line-strong) 38%, transparent) 1px, transparent 1px),
|
|
1694
|
-
linear-gradient(to bottom, color-mix(in srgb, var(--nish-line-strong) 38%, transparent) 1px, transparent 1px);
|
|
1695
|
-
}
|
|
1696
|
-
.nish-canvas[data-dragging='true'] {
|
|
1697
|
-
cursor: grabbing;
|
|
1698
|
-
}
|
|
1699
|
-
.nish-canvas:focus-visible {
|
|
1700
|
-
outline: 2px solid var(--nish-focus);
|
|
1701
|
-
outline-offset: -2px;
|
|
1702
|
-
}
|
|
1703
|
-
.nish-canvas-world {
|
|
1704
|
-
position: absolute;
|
|
1705
|
-
left: 0;
|
|
1706
|
-
top: 0;
|
|
1707
|
-
transform-origin: 0 0;
|
|
1708
|
-
will-change: transform;
|
|
1709
|
-
}
|
|
1710
|
-
.nish-canvas-coltitle {
|
|
1711
|
-
position: absolute;
|
|
1712
|
-
font-size: 12px;
|
|
1713
|
-
font-weight: var(--nish-weight-semibold);
|
|
1714
|
-
letter-spacing: 0.08em;
|
|
1715
|
-
text-transform: uppercase;
|
|
1716
|
-
color: var(--nish-hi3);
|
|
1717
|
-
white-space: nowrap;
|
|
1718
|
-
/* A pill, so lines pass behind the title instead of through it. */
|
|
1719
|
-
z-index: 1;
|
|
1720
|
-
padding: 2px 8px;
|
|
1721
|
-
border-radius: 999px;
|
|
1722
|
-
background: var(--nish-bg);
|
|
1723
|
-
}
|
|
1724
|
-
|
|
1725
|
-
/* Groups */
|
|
1726
|
-
.nish-canvas-group {
|
|
1727
|
-
position: absolute;
|
|
1728
|
-
z-index: 0;
|
|
1729
|
-
overflow: hidden;
|
|
1730
|
-
border-radius: 16px;
|
|
1731
|
-
border: 1px solid var(--nish-line);
|
|
1732
|
-
background:
|
|
1733
|
-
linear-gradient(to bottom, var(--c-soft), transparent 60%),
|
|
1734
|
-
var(--nish-surface);
|
|
1735
|
-
transition: border-color 300ms, box-shadow 300ms, opacity 200ms;
|
|
1736
|
-
}
|
|
1737
|
-
.nish-canvas-group[data-live] {
|
|
1738
|
-
border-color: var(--c);
|
|
1739
|
-
box-shadow: 0 0 22px color-mix(in srgb, var(--c) 28%, transparent);
|
|
1740
|
-
}
|
|
1741
|
-
.nish-canvas-group[data-selected],
|
|
1742
|
-
.nish-canvas-node[data-selected] {
|
|
1743
|
-
outline: 2px solid var(--nish-accent);
|
|
1744
|
-
outline-offset: 2px;
|
|
1745
|
-
}
|
|
1746
|
-
.nish-canvas-group[data-selected] {
|
|
1747
|
-
overflow: visible;
|
|
1748
|
-
}
|
|
1749
|
-
.nish-canvas-band {
|
|
1750
|
-
position: absolute;
|
|
1751
|
-
left: 0;
|
|
1752
|
-
right: 0;
|
|
1753
|
-
top: 0;
|
|
1754
|
-
height: 3px;
|
|
1755
|
-
background: var(--c);
|
|
1756
|
-
}
|
|
1757
|
-
.nish-canvas-head {
|
|
1758
|
-
display: flex;
|
|
1759
|
-
align-items: center;
|
|
1760
|
-
justify-content: space-between;
|
|
1761
|
-
gap: 8px;
|
|
1762
|
-
width: 100%;
|
|
1763
|
-
height: 52px;
|
|
1764
|
-
padding: 3px 16px 0;
|
|
1765
|
-
text-align: left;
|
|
1766
|
-
cursor: pointer;
|
|
1767
|
-
}
|
|
1768
|
-
.nish-canvas-headtext {
|
|
1769
|
-
display: flex;
|
|
1770
|
-
flex-direction: column;
|
|
1771
|
-
min-width: 0;
|
|
1772
|
-
}
|
|
1773
|
-
.nish-canvas-title {
|
|
1774
|
-
font-weight: var(--nish-weight-semibold);
|
|
1775
|
-
color: var(--nish-hi);
|
|
1776
|
-
line-height: 1.25;
|
|
1777
|
-
overflow: hidden;
|
|
1778
|
-
text-overflow: ellipsis;
|
|
1779
|
-
white-space: nowrap;
|
|
1780
|
-
}
|
|
1781
|
-
.nish-canvas-subtitle {
|
|
1782
|
-
font-size: 12px;
|
|
1783
|
-
color: var(--nish-hi3);
|
|
1784
|
-
line-height: 1.3;
|
|
1785
|
-
overflow: hidden;
|
|
1786
|
-
text-overflow: ellipsis;
|
|
1787
|
-
white-space: nowrap;
|
|
1788
|
-
}
|
|
1789
|
-
.nish-canvas-badge {
|
|
1790
|
-
flex-shrink: 0;
|
|
1791
|
-
}
|
|
1792
|
-
|
|
1793
|
-
/* Nodes */
|
|
1794
|
-
.nish-canvas-slot {
|
|
1795
|
-
position: absolute;
|
|
1796
|
-
z-index: 2;
|
|
1797
|
-
transition: opacity 200ms;
|
|
1798
|
-
}
|
|
1799
|
-
.nish-canvas-slot[data-dim] {
|
|
1800
|
-
opacity: 0.35;
|
|
1801
|
-
}
|
|
1802
|
-
.nish-canvas-slot[data-active] {
|
|
1803
|
-
z-index: 3;
|
|
1804
|
-
}
|
|
1805
|
-
.nish-canvas-node {
|
|
1806
|
-
position: relative;
|
|
1807
|
-
display: flex;
|
|
1808
|
-
align-items: center;
|
|
1809
|
-
gap: 8px;
|
|
1810
|
-
width: 100%;
|
|
1811
|
-
height: 100%;
|
|
1812
|
-
padding: 0 10px;
|
|
1813
|
-
text-align: left;
|
|
1814
|
-
cursor: pointer;
|
|
1815
|
-
border-radius: 12px;
|
|
1816
|
-
border: 1px solid var(--nish-line);
|
|
1817
|
-
background: var(--nish-bg);
|
|
1818
|
-
transition: border-color 400ms, box-shadow 600ms, background-color 300ms;
|
|
1819
|
-
}
|
|
1820
|
-
/* Afterglow of recent work, from the slot's heat values. :where keeps it under hover and active. */
|
|
1821
|
-
.nish-canvas-node:where([data-heat]) {
|
|
1822
|
-
border-color: var(--nish-canvas-heat-line, var(--nish-line));
|
|
1823
|
-
box-shadow: var(--nish-canvas-heat-glow, none);
|
|
1824
|
-
}
|
|
1825
|
-
.nish-canvas-node:hover {
|
|
1826
|
-
border-color: color-mix(in srgb, var(--c) 55%, var(--nish-line));
|
|
1827
|
-
}
|
|
1828
|
-
.nish-canvas-node[data-active] {
|
|
1829
|
-
border-color: var(--c);
|
|
1830
|
-
background: color-mix(in srgb, var(--c) 10%, var(--nish-bg));
|
|
1831
|
-
}
|
|
1832
|
-
.nish-canvas-icon {
|
|
1833
|
-
display: inline-flex;
|
|
1834
|
-
flex-shrink: 0;
|
|
1835
|
-
align-items: center;
|
|
1836
|
-
justify-content: center;
|
|
1837
|
-
width: 28px;
|
|
1838
|
-
height: 28px;
|
|
1839
|
-
border-radius: 8px;
|
|
1840
|
-
color: var(--c);
|
|
1841
|
-
background: var(--c-soft);
|
|
1842
|
-
}
|
|
1843
|
-
.nish-canvas-text {
|
|
1844
|
-
display: flex;
|
|
1845
|
-
flex-direction: column;
|
|
1846
|
-
min-width: 0;
|
|
1847
|
-
flex: 1;
|
|
1848
|
-
}
|
|
1849
|
-
.nish-canvas-label {
|
|
1850
|
-
font-size: 13px;
|
|
1851
|
-
font-weight: var(--nish-weight-medium);
|
|
1852
|
-
color: var(--nish-hi);
|
|
1853
|
-
line-height: 1.25;
|
|
1854
|
-
overflow: hidden;
|
|
1855
|
-
text-overflow: ellipsis;
|
|
1856
|
-
white-space: nowrap;
|
|
1857
|
-
}
|
|
1858
|
-
.nish-canvas-detail {
|
|
1859
|
-
font-size: 11px;
|
|
1860
|
-
color: var(--nish-hi3);
|
|
1861
|
-
line-height: 1.3;
|
|
1862
|
-
overflow: hidden;
|
|
1863
|
-
text-overflow: ellipsis;
|
|
1864
|
-
white-space: nowrap;
|
|
1865
|
-
}
|
|
1866
|
-
.nish-canvas-count {
|
|
1867
|
-
flex-shrink: 0;
|
|
1868
|
-
min-width: 18px;
|
|
1869
|
-
padding: 0 5px;
|
|
1870
|
-
border-radius: 9px;
|
|
1871
|
-
font-size: 11px;
|
|
1872
|
-
font-weight: var(--nish-weight-semibold);
|
|
1873
|
-
line-height: 18px;
|
|
1874
|
-
text-align: center;
|
|
1875
|
-
color: var(--nish-bg);
|
|
1876
|
-
background: var(--c);
|
|
1877
|
-
}
|
|
1878
|
-
.nish-canvas-live {
|
|
1879
|
-
position: absolute;
|
|
1880
|
-
top: -3px;
|
|
1881
|
-
right: -3px;
|
|
1882
|
-
width: 9px;
|
|
1883
|
-
height: 9px;
|
|
1884
|
-
border-radius: 50%;
|
|
1885
|
-
background: var(--c);
|
|
1886
|
-
box-shadow: 0 0 0 2px var(--nish-bg);
|
|
1887
|
-
}
|
|
1888
|
-
.nish-canvas-note {
|
|
1889
|
-
/* Takes the detail line's place in the text column, with or without a detail. */
|
|
1890
|
-
display: block;
|
|
1891
|
-
overflow: hidden;
|
|
1892
|
-
color: var(--c);
|
|
1893
|
-
font-size: 11px;
|
|
1894
|
-
line-height: 1.3;
|
|
1895
|
-
white-space: nowrap;
|
|
1896
|
-
text-overflow: ellipsis;
|
|
1897
|
-
}
|
|
1898
|
-
|
|
1899
|
-
/* Edges */
|
|
1900
|
-
.nish-canvas-edges,
|
|
1901
|
-
.nish-canvas-ports {
|
|
1902
|
-
position: absolute;
|
|
1903
|
-
z-index: 0;
|
|
1904
|
-
left: 0;
|
|
1905
|
-
top: 0;
|
|
1906
|
-
overflow: visible;
|
|
1907
|
-
pointer-events: none;
|
|
1908
|
-
}
|
|
1909
|
-
.nish-canvas-edge {
|
|
1910
|
-
transition: opacity 200ms;
|
|
1911
|
-
}
|
|
1912
|
-
.nish-canvas-edge-line {
|
|
1913
|
-
stroke: var(--nish-line-strong);
|
|
1914
|
-
stroke-width: 1.5;
|
|
1915
|
-
transition: stroke 400ms;
|
|
1916
|
-
}
|
|
1917
|
-
.nish-canvas-edge[data-line='dashed'] .nish-canvas-edge-line {
|
|
1918
|
-
stroke-dasharray: 6 5;
|
|
1919
|
-
}
|
|
1920
|
-
.nish-canvas-edge[data-line='dotted'] .nish-canvas-edge-line {
|
|
1921
|
-
stroke-dasharray: 0.5 6;
|
|
1922
|
-
stroke-linecap: round;
|
|
1923
|
-
stroke-width: 2.25;
|
|
1924
|
-
}
|
|
1925
|
-
.nish-canvas-edge[data-active] .nish-canvas-edge-line {
|
|
1926
|
-
stroke: var(--c);
|
|
1927
|
-
stroke-width: 2;
|
|
1928
|
-
}
|
|
1929
|
-
.nish-canvas-arrow {
|
|
1930
|
-
fill: var(--nish-line-strong);
|
|
1931
|
-
transition: fill 400ms;
|
|
1932
|
-
}
|
|
1933
|
-
.nish-canvas-edge[data-active] .nish-canvas-arrow {
|
|
1934
|
-
fill: var(--c);
|
|
1935
|
-
}
|
|
1936
|
-
|
|
1937
|
-
/* Focus: hover or selection lights its edges and the cards at their other ends. */
|
|
1938
|
-
.nish-canvas[data-focus] .nish-canvas-edge:not([data-hot]) {
|
|
1939
|
-
opacity: 0.1;
|
|
1940
|
-
}
|
|
1941
|
-
.nish-canvas[data-focus] .nish-canvas-edge[data-hot] .nish-canvas-edge-line {
|
|
1942
|
-
stroke: var(--c);
|
|
1943
|
-
stroke-width: 2.5;
|
|
1944
|
-
}
|
|
1945
|
-
.nish-canvas[data-focus] .nish-canvas-edge[data-hot] .nish-canvas-arrow {
|
|
1946
|
-
fill: var(--c);
|
|
1947
|
-
}
|
|
1948
|
-
.nish-canvas[data-focus] .nish-canvas-group:not([data-related]) {
|
|
1949
|
-
opacity: 0.5;
|
|
1950
|
-
}
|
|
1951
1913
|
|
|
1952
|
-
/*
|
|
1953
|
-
.nish-canvas
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
}
|
|
1962
|
-
.nish-canvas
|
|
1963
|
-
|
|
1964
|
-
}
|
|
1965
|
-
.nish-canvas
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
stroke-linejoin: round;
|
|
1990
|
-
}
|
|
1914
|
+
/* Edges */
|
|
1915
|
+
.nish-canvas-edges,
|
|
1916
|
+
.nish-canvas-ports {
|
|
1917
|
+
position: absolute;
|
|
1918
|
+
z-index: 0;
|
|
1919
|
+
left: 0;
|
|
1920
|
+
top: 0;
|
|
1921
|
+
overflow: visible;
|
|
1922
|
+
pointer-events: none;
|
|
1923
|
+
}
|
|
1924
|
+
.nish-canvas-edge {
|
|
1925
|
+
transition: opacity 200ms;
|
|
1926
|
+
}
|
|
1927
|
+
.nish-canvas-edge-line {
|
|
1928
|
+
stroke: var(--nish-line-strong);
|
|
1929
|
+
stroke-width: 1.5;
|
|
1930
|
+
transition: stroke 400ms;
|
|
1931
|
+
}
|
|
1932
|
+
.nish-canvas-edge[data-line='dashed'] .nish-canvas-edge-line {
|
|
1933
|
+
stroke-dasharray: 6 5;
|
|
1934
|
+
}
|
|
1935
|
+
.nish-canvas-edge[data-line='dotted'] .nish-canvas-edge-line {
|
|
1936
|
+
stroke-dasharray: 0.5 6;
|
|
1937
|
+
stroke-linecap: round;
|
|
1938
|
+
stroke-width: 2.25;
|
|
1939
|
+
}
|
|
1940
|
+
.nish-canvas-edge[data-active] .nish-canvas-edge-line {
|
|
1941
|
+
stroke: var(--c);
|
|
1942
|
+
stroke-width: 2;
|
|
1943
|
+
}
|
|
1944
|
+
.nish-canvas-arrow {
|
|
1945
|
+
fill: var(--nish-line-strong);
|
|
1946
|
+
transition: fill 400ms;
|
|
1947
|
+
}
|
|
1948
|
+
.nish-canvas-edge[data-active] .nish-canvas-arrow {
|
|
1949
|
+
fill: var(--c);
|
|
1950
|
+
}
|
|
1991
1951
|
|
|
1992
|
-
/*
|
|
1993
|
-
.nish-canvas-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
cursor: default;
|
|
2007
|
-
}
|
|
2008
|
-
.nish-canvas-zoom {
|
|
2009
|
-
min-width: 3ch;
|
|
2010
|
-
margin-right: 4px;
|
|
2011
|
-
font-size: 12px;
|
|
2012
|
-
font-variant-numeric: tabular-nums;
|
|
2013
|
-
color: var(--nish-hi3);
|
|
2014
|
-
}
|
|
1952
|
+
/* Focus: hover or selection lights its edges and the cards at their other ends. */
|
|
1953
|
+
.nish-canvas[data-focus] .nish-canvas-edge:not([data-hot]) {
|
|
1954
|
+
opacity: 0.1;
|
|
1955
|
+
}
|
|
1956
|
+
.nish-canvas[data-focus] .nish-canvas-edge[data-hot] .nish-canvas-edge-line {
|
|
1957
|
+
stroke: var(--c);
|
|
1958
|
+
stroke-width: 2.5;
|
|
1959
|
+
}
|
|
1960
|
+
.nish-canvas[data-focus] .nish-canvas-edge[data-hot] .nish-canvas-arrow {
|
|
1961
|
+
fill: var(--c);
|
|
1962
|
+
}
|
|
1963
|
+
.nish-canvas[data-focus] .nish-canvas-group:not([data-related]) {
|
|
1964
|
+
opacity: 0.5;
|
|
1965
|
+
}
|
|
2015
1966
|
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
transform: translateY(14px) scale(0.97);
|
|
1967
|
+
/* Level of detail: zoomed out, the details go and the titles grow. */
|
|
1968
|
+
.nish-canvas[data-lod='far'] :is(.nish-canvas-detail, .nish-canvas-note, .nish-canvas-subtitle, .nish-canvas-badge) {
|
|
1969
|
+
visibility: hidden;
|
|
2020
1970
|
}
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
transform: none;
|
|
1971
|
+
.nish-canvas[data-lod='far'] .nish-canvas-label {
|
|
1972
|
+
font-size: 19px;
|
|
2024
1973
|
}
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
from {
|
|
2028
|
-
opacity: 0.6;
|
|
2029
|
-
transform: scale(1);
|
|
1974
|
+
.nish-canvas[data-lod='far'] .nish-canvas-title {
|
|
1975
|
+
font-size: 24px;
|
|
2030
1976
|
}
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
transform: scale(1.15);
|
|
1977
|
+
.nish-canvas[data-lod='far'] .nish-canvas-coltitle {
|
|
1978
|
+
font-size: 20px;
|
|
2034
1979
|
}
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
0% {
|
|
2038
|
-
transform: scale(0.96);
|
|
1980
|
+
.nish-canvas[data-lod='far'] .nish-canvas-icon {
|
|
1981
|
+
transform: scale(1.25);
|
|
2039
1982
|
}
|
|
2040
|
-
|
|
2041
|
-
|
|
1983
|
+
.nish-canvas-ports {
|
|
1984
|
+
/* Above the group borders, so each port dot sits on its card's edge. */
|
|
1985
|
+
z-index: 4;
|
|
2042
1986
|
}
|
|
2043
|
-
|
|
2044
|
-
|
|
1987
|
+
.nish-canvas-port {
|
|
1988
|
+
fill: var(--nish-line-strong);
|
|
1989
|
+
transition: fill 400ms;
|
|
2045
1990
|
}
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
0%,
|
|
2049
|
-
100% {
|
|
2050
|
-
opacity: 0.3;
|
|
1991
|
+
.nish-canvas-port[data-active] {
|
|
1992
|
+
fill: var(--c);
|
|
2051
1993
|
}
|
|
2052
|
-
|
|
2053
|
-
|
|
1994
|
+
.nish-canvas-dot {
|
|
1995
|
+
display: none;
|
|
1996
|
+
fill: var(--c);
|
|
2054
1997
|
}
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
1998
|
+
.nish-canvas-edge-label {
|
|
1999
|
+
font-size: 11px;
|
|
2000
|
+
fill: var(--nish-hi3);
|
|
2001
|
+
paint-order: stroke;
|
|
2002
|
+
stroke: var(--nish-bg);
|
|
2003
|
+
stroke-width: 4px;
|
|
2004
|
+
stroke-linejoin: round;
|
|
2005
|
+
}
|
|
2006
|
+
|
|
2007
|
+
/* Controls */
|
|
2008
|
+
.nish-canvas-controls {
|
|
2009
|
+
position: absolute;
|
|
2010
|
+
inset-inline-end: 12px;
|
|
2011
|
+
bottom: 12px;
|
|
2012
|
+
z-index: 5;
|
|
2013
|
+
display: flex;
|
|
2014
|
+
align-items: center;
|
|
2015
|
+
gap: 2px;
|
|
2016
|
+
padding: 2px 4px 2px 12px;
|
|
2017
|
+
border-radius: 14px;
|
|
2018
|
+
border: 1px solid var(--nish-line);
|
|
2019
|
+
background: var(--nish-surface);
|
|
2020
|
+
box-shadow: var(--nish-shadow-md, 0 4px 14px rgb(0 0 0 / 0.18));
|
|
2021
|
+
cursor: default;
|
|
2022
|
+
}
|
|
2023
|
+
.nish-canvas-zoom {
|
|
2024
|
+
min-width: 3ch;
|
|
2025
|
+
margin-inline-end: 4px;
|
|
2026
|
+
font-size: 12px;
|
|
2027
|
+
font-variant-numeric: tabular-nums;
|
|
2028
|
+
color: var(--nish-hi3);
|
|
2059
2029
|
}
|
|
2060
|
-
|
|
2061
|
-
|
|
2030
|
+
|
|
2031
|
+
@keyframes nish-canvas-rise {
|
|
2032
|
+
from {
|
|
2033
|
+
opacity: 0;
|
|
2034
|
+
transform: translateY(14px) scale(0.97);
|
|
2035
|
+
}
|
|
2036
|
+
to {
|
|
2037
|
+
opacity: 1;
|
|
2038
|
+
transform: none;
|
|
2039
|
+
}
|
|
2062
2040
|
}
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2041
|
+
@keyframes nish-canvas-ring {
|
|
2042
|
+
from {
|
|
2043
|
+
opacity: 0.6;
|
|
2044
|
+
transform: scale(1);
|
|
2045
|
+
}
|
|
2046
|
+
to {
|
|
2047
|
+
opacity: 0;
|
|
2048
|
+
transform: scale(1.15);
|
|
2049
|
+
}
|
|
2068
2050
|
}
|
|
2069
|
-
|
|
2070
|
-
|
|
2051
|
+
@keyframes nish-canvas-ping {
|
|
2052
|
+
0% {
|
|
2053
|
+
transform: scale(0.96);
|
|
2054
|
+
}
|
|
2055
|
+
50% {
|
|
2056
|
+
transform: scale(1.04);
|
|
2057
|
+
}
|
|
2058
|
+
100% {
|
|
2059
|
+
transform: scale(1);
|
|
2060
|
+
}
|
|
2061
|
+
}
|
|
2062
|
+
@keyframes nish-canvas-glow {
|
|
2063
|
+
0%,
|
|
2064
|
+
100% {
|
|
2065
|
+
opacity: 0.3;
|
|
2066
|
+
}
|
|
2067
|
+
50% {
|
|
2068
|
+
opacity: 1;
|
|
2069
|
+
}
|
|
2070
|
+
}
|
|
2071
|
+
@keyframes nish-canvas-travel {
|
|
2072
|
+
from {
|
|
2073
|
+
offset-distance: 0%;
|
|
2074
|
+
}
|
|
2075
|
+
to {
|
|
2076
|
+
offset-distance: 100%;
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2079
|
+
@keyframes nish-canvas-live {
|
|
2080
|
+
0%,
|
|
2081
|
+
100% {
|
|
2082
|
+
transform: scale(1);
|
|
2083
|
+
}
|
|
2084
|
+
50% {
|
|
2085
|
+
transform: scale(1.35);
|
|
2086
|
+
}
|
|
2071
2087
|
}
|
|
2072
|
-
}
|
|
2073
2088
|
|
|
2074
|
-
@keyframes nish-canvas-fade {
|
|
2075
|
-
|
|
2076
|
-
|
|
2089
|
+
@keyframes nish-canvas-fade {
|
|
2090
|
+
from {
|
|
2091
|
+
opacity: 0;
|
|
2092
|
+
}
|
|
2077
2093
|
}
|
|
2078
|
-
}
|
|
2079
2094
|
|
|
2080
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2095
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
2096
|
+
/* A new layout slides the cards to their places; data-relayout is on for a moment after the switch. */
|
|
2097
|
+
.nish-canvas[data-relayout] .nish-canvas-group {
|
|
2098
|
+
transition:
|
|
2099
|
+
border-color 300ms,
|
|
2100
|
+
box-shadow 300ms,
|
|
2101
|
+
opacity 200ms,
|
|
2102
|
+
left 450ms var(--nish-ease-out),
|
|
2103
|
+
top 450ms var(--nish-ease-out);
|
|
2104
|
+
}
|
|
2105
|
+
.nish-canvas[data-relayout] .nish-canvas-slot {
|
|
2106
|
+
transition:
|
|
2107
|
+
opacity 200ms,
|
|
2108
|
+
left 450ms var(--nish-ease-out),
|
|
2109
|
+
top 450ms var(--nish-ease-out);
|
|
2110
|
+
}
|
|
2111
|
+
.nish-canvas[data-relayout] :is(.nish-canvas-edges, .nish-canvas-ports) {
|
|
2112
|
+
animation: nish-canvas-fade 300ms var(--nish-ease-out) both;
|
|
2113
|
+
}
|
|
2114
|
+
.nish-canvas-group,
|
|
2115
|
+
.nish-canvas-slot {
|
|
2116
|
+
animation: nish-canvas-rise 420ms var(--nish-ease-out) backwards;
|
|
2117
|
+
animation-delay: var(--nish-canvas-delay, 0ms);
|
|
2118
|
+
}
|
|
2119
|
+
.nish-canvas-group[data-live]::before {
|
|
2120
|
+
content: '';
|
|
2121
|
+
position: absolute;
|
|
2122
|
+
inset: 0;
|
|
2123
|
+
border-radius: inherit;
|
|
2124
|
+
box-shadow: inset 0 0 26px color-mix(in srgb, var(--c) 45%, transparent);
|
|
2125
|
+
pointer-events: none;
|
|
2126
|
+
opacity: 0.3;
|
|
2127
|
+
animation: nish-canvas-glow 2.4s ease-in-out infinite;
|
|
2128
|
+
}
|
|
2129
|
+
.nish-canvas-node[data-active]::after {
|
|
2130
|
+
content: '';
|
|
2131
|
+
position: absolute;
|
|
2132
|
+
inset: -1px;
|
|
2133
|
+
border-radius: inherit;
|
|
2134
|
+
border: 2px solid var(--c);
|
|
2135
|
+
pointer-events: none;
|
|
2136
|
+
animation: nish-canvas-ring 1.6s ease-out infinite;
|
|
2137
|
+
}
|
|
2138
|
+
.nish-canvas-node[data-fx='ping'] {
|
|
2139
|
+
animation: nish-canvas-ping 400ms var(--nish-ease-out);
|
|
2140
|
+
}
|
|
2141
|
+
.nish-canvas-live {
|
|
2142
|
+
animation: nish-canvas-live 1.2s ease-in-out infinite;
|
|
2143
|
+
}
|
|
2144
|
+
.nish-canvas-edge[data-active] .nish-canvas-dot {
|
|
2145
|
+
display: block;
|
|
2146
|
+
offset-rotate: 0deg;
|
|
2147
|
+
animation: nish-canvas-travel 1.6s linear infinite;
|
|
2148
|
+
}
|
|
2103
2149
|
}
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2150
|
+
|
|
2151
|
+
/* Windows High Contrast and other forced-colors modes drop backgrounds and shadows, so
|
|
2152
|
+
state that is only drawn with them disappears. Attribute-driven state gets an outline,
|
|
2153
|
+
disabled controls get GrayText, and focus uses Highlight. The .nish-* components with
|
|
2154
|
+
their own background-only states are handled in components.css. */
|
|
2155
|
+
@media (forced-colors: active) {
|
|
2156
|
+
[aria-selected='true'],
|
|
2157
|
+
[aria-pressed='true'],
|
|
2158
|
+
[aria-current]:not([aria-current='false']),
|
|
2159
|
+
[role='radio'][aria-checked='true'],
|
|
2160
|
+
[role='tab'][aria-selected='true'] {
|
|
2161
|
+
outline: 2px solid Highlight;
|
|
2162
|
+
outline-offset: -2px;
|
|
2163
|
+
}
|
|
2164
|
+
[aria-disabled='true'],
|
|
2165
|
+
:disabled {
|
|
2166
|
+
color: GrayText;
|
|
2167
|
+
border-color: GrayText;
|
|
2168
|
+
}
|
|
2169
|
+
:focus-visible {
|
|
2170
|
+
outline: var(--nish-focus-width, 2px) solid Highlight;
|
|
2171
|
+
outline-offset: var(--nish-focus-offset, 2px);
|
|
2172
|
+
}
|
|
2173
|
+
.nish-flow-fill,
|
|
2174
|
+
.nish-flow-sweep {
|
|
2175
|
+
forced-color-adjust: none;
|
|
2176
|
+
background-color: Highlight;
|
|
2177
|
+
}
|
|
2178
|
+
.nish-flow-conn {
|
|
2179
|
+
forced-color-adjust: none;
|
|
2180
|
+
background-color: GrayText;
|
|
2181
|
+
}
|
|
2113
2182
|
}
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
animation: nish-canvas-ring 1.6s ease-out infinite;
|
|
2183
|
+
|
|
2184
|
+
/* ThemeProvider sets data-nish-theme-switching on <html> for one frame while it swaps the
|
|
2185
|
+
theme, so the colors change at once instead of every element fading separately. */
|
|
2186
|
+
html[data-nish-theme-switching] *,
|
|
2187
|
+
html[data-nish-theme-switching] *::before,
|
|
2188
|
+
html[data-nish-theme-switching] *::after {
|
|
2189
|
+
transition: none !important;
|
|
2122
2190
|
}
|
|
2123
|
-
|
|
2124
|
-
|
|
2191
|
+
|
|
2192
|
+
/* Print: always the light theme on white paper, whatever theme is active on screen.
|
|
2193
|
+
The values mirror THEMES.light in src/tokens.mjs; !important because the theme blocks
|
|
2194
|
+
in tokens.css are unlayered and would otherwise beat this layer. */
|
|
2195
|
+
@media print {
|
|
2196
|
+
:root,
|
|
2197
|
+
[data-theme] {
|
|
2198
|
+
color-scheme: light !important;
|
|
2199
|
+
--nish-bg: #f7f6f3 !important;
|
|
2200
|
+
--nish-surface: #ffffff !important;
|
|
2201
|
+
--nish-elevated: #f1f0ec !important;
|
|
2202
|
+
--nish-overlay: #e6e4de !important;
|
|
2203
|
+
--nish-line: #e2e0da !important;
|
|
2204
|
+
--nish-line-strong: #c9c6bd !important;
|
|
2205
|
+
--nish-line-control: #8a8881 !important;
|
|
2206
|
+
--nish-hi: #17171c !important;
|
|
2207
|
+
--nish-hi2: #4f515c !important;
|
|
2208
|
+
--nish-hi3: #626470 !important;
|
|
2209
|
+
--nish-ghost: #8a8c98 !important;
|
|
2210
|
+
--nish-accent: #4338ca !important;
|
|
2211
|
+
--nish-accent2: #7e22ce !important;
|
|
2212
|
+
--nish-on-accent: #ffffff !important;
|
|
2213
|
+
--nish-on-accent2: #ffffff !important;
|
|
2214
|
+
--nish-on-ok: #0a0a0c !important;
|
|
2215
|
+
--nish-on-loss: #ffffff !important;
|
|
2216
|
+
--nish-on-warn: #0a0a0c !important;
|
|
2217
|
+
--nish-on-info: #0a0a0c !important;
|
|
2218
|
+
--nish-ok: #065f46 !important;
|
|
2219
|
+
--nish-loss: #a91b1b !important;
|
|
2220
|
+
--nish-warn: #92400e !important;
|
|
2221
|
+
--nish-info: #075985 !important;
|
|
2222
|
+
--nish-ok-fill: #059669 !important;
|
|
2223
|
+
--nish-loss-fill: #dc2626 !important;
|
|
2224
|
+
--nish-warn-fill: #c96d06 !important;
|
|
2225
|
+
--nish-info-fill: #0284c7 !important;
|
|
2226
|
+
--nish-scrim: #17171c !important;
|
|
2227
|
+
--nish-invert-bg: #17171c !important;
|
|
2228
|
+
--nish-invert-text: #f7f6f3 !important;
|
|
2229
|
+
--nish-chart-1: #6366f1 !important;
|
|
2230
|
+
--nish-chart-2: #059669 !important;
|
|
2231
|
+
--nish-chart-3: #c96d06 !important;
|
|
2232
|
+
--nish-chart-4: #f43f5e !important;
|
|
2233
|
+
--nish-chart-5: #0284c7 !important;
|
|
2234
|
+
--nish-chart-6: #a855f7 !important;
|
|
2235
|
+
--nish-chart-7: #ea580c !important;
|
|
2236
|
+
--nish-chart-8: #5a910c !important;
|
|
2237
|
+
--nish-emerald: #046d4f !important;
|
|
2238
|
+
--nish-indigo: #4e45e3 !important;
|
|
2239
|
+
--nish-amber: #9b4708 !important;
|
|
2240
|
+
--nish-lime: #41690d !important;
|
|
2241
|
+
--nish-rose: #b8113a !important;
|
|
2242
|
+
--nish-sky: #036499 !important;
|
|
2243
|
+
--nish-violet: #7e22ce !important;
|
|
2244
|
+
--nish-teal: #0e6b64 !important;
|
|
2245
|
+
}
|
|
2246
|
+
html,
|
|
2247
|
+
body {
|
|
2248
|
+
background: #fff !important;
|
|
2249
|
+
color: #000 !important;
|
|
2250
|
+
}
|
|
2251
|
+
*,
|
|
2252
|
+
*::before,
|
|
2253
|
+
*::after {
|
|
2254
|
+
box-shadow: none !important;
|
|
2255
|
+
text-shadow: none !important;
|
|
2256
|
+
}
|
|
2257
|
+
[data-nish-print='hide'] {
|
|
2258
|
+
display: none !important;
|
|
2259
|
+
}
|
|
2260
|
+
/* Fixed and sticky bars would repeat or cover content on every page. [data-nish-bar] is
|
|
2261
|
+
the hook for bars built from utilities (sticky, fixed); components.css lists the
|
|
2262
|
+
.nish-* bars. */
|
|
2263
|
+
[data-nish-bar] {
|
|
2264
|
+
position: static !important;
|
|
2265
|
+
}
|
|
2266
|
+
.nish-skip-link {
|
|
2267
|
+
display: none !important;
|
|
2268
|
+
}
|
|
2125
2269
|
}
|
|
2126
|
-
|
|
2127
|
-
|
|
2270
|
+
|
|
2271
|
+
/* Right-to-left: the places that still point a physical way. Horizontal step connectors
|
|
2272
|
+
fill from the start edge, and the scroll fade mask flips with the scroller. */
|
|
2273
|
+
.nish-flow-steps[data-orient='horizontal']:dir(rtl) .nish-flow-fill,
|
|
2274
|
+
.nish-flow-steps[data-orient='horizontal']:dir(rtl) .nish-flow-sweep {
|
|
2275
|
+
transform-origin: right;
|
|
2128
2276
|
}
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2277
|
+
@container (min-width: 640px) {
|
|
2278
|
+
.nish-flow-steps[data-orient='auto']:dir(rtl) .nish-flow-fill,
|
|
2279
|
+
.nish-flow-steps[data-orient='auto']:dir(rtl) .nish-flow-sweep {
|
|
2280
|
+
transform-origin: right;
|
|
2281
|
+
}
|
|
2282
|
+
}
|
|
2283
|
+
.nish-scroll-fade:dir(rtl) {
|
|
2284
|
+
mask-image: linear-gradient(to left, var(--nish-fade-start), #000 24px, #000 calc(100% - 24px), var(--nish-fade-end));
|
|
2285
|
+
-webkit-mask-image: linear-gradient(to left, var(--nish-fade-start), #000 24px, #000 calc(100% - 24px), var(--nish-fade-end));
|
|
2133
2286
|
}
|
|
2134
2287
|
}
|