@legionworks/facet 1.9.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/LICENSE-APACHE +202 -0
- package/LICENSE-MIT +23 -0
- package/README.md +158 -0
- package/dist/gallery/chunk-4g8rem85.css +656 -0
- package/dist/gallery/chunk-c6s9k9ty.js +5970 -0
- package/dist/gallery/frame/artifact.css +8424 -0
- package/dist/gallery/frame/chunks/abnfDiagram-N423BO3Z-jj74szbm.js +155 -0
- package/dist/gallery/frame/chunks/architecture-TIHT7OUA-cvdjn7dt.js +10 -0
- package/dist/gallery/frame/chunks/architectureDiagram-T3A2C74G-n4z77eg6.js +8675 -0
- package/dist/gallery/frame/chunks/blockDiagram-VBNYF7ZC-7xsqzrd1.js +3529 -0
- package/dist/gallery/frame/chunks/c4Diagram-5PPSVZJV-z2zjs7wx.js +2413 -0
- package/dist/gallery/frame/chunks/classDiagram-JCYQIIEL-ve8rngqp.js +47 -0
- package/dist/gallery/frame/chunks/classDiagram-v2-OCEON4UE-8cfaxb8z.js +47 -0
- package/dist/gallery/frame/chunks/cose-bilkent-JH36ORCC-sn92qexx.js +4822 -0
- package/dist/gallery/frame/chunks/cynefin-VYW2F7L2-tqjv913d.js +10 -0
- package/dist/gallery/frame/chunks/cynefinDiagram-MW4NZA55-c1c0dj12.js +500 -0
- package/dist/gallery/frame/chunks/dagre-VZM6K2ZE-7tyg4yt2.js +476 -0
- package/dist/gallery/frame/chunks/diagram-7IWD3JNH-y4eng9sc.js +526 -0
- package/dist/gallery/frame/chunks/diagram-B4RE2ZJO-rn3p7j5h.js +673 -0
- package/dist/gallery/frame/chunks/diagram-LBJQPF4R-w4a2cm9q.js +255 -0
- package/dist/gallery/frame/chunks/diagram-Q27KOJAE-aqc2v7wy.js +575 -0
- package/dist/gallery/frame/chunks/diagram-UB23O5K3-xncy8nyd.js +355 -0
- package/dist/gallery/frame/chunks/ebnfDiagram-BXEA7PRR-acwgxz16.js +175 -0
- package/dist/gallery/frame/chunks/erDiagram-JOGREHBK-mzp5nswt.js +1332 -0
- package/dist/gallery/frame/chunks/eventmodeling-45OFAUF4-sg07qr0c.js +10 -0
- package/dist/gallery/frame/chunks/flowDiagram-UKHOOZJN-2e5ygs44.js +29 -0
- package/dist/gallery/frame/chunks/ganttDiagram-PKOTCBZU-p2hhh7hr.js +2620 -0
- package/dist/gallery/frame/chunks/gitGraph-TEB2WS4Q-j6kw0naa.js +10 -0
- package/dist/gallery/frame/chunks/gitGraphDiagram-DS77QQ5N-4z9z8wjm.js +1347 -0
- package/dist/gallery/frame/chunks/info-DKCQHKI2-mpt80jd3.js +10 -0
- package/dist/gallery/frame/chunks/infoDiagram-6WML65LV-5rqm3mgg.js +65 -0
- package/dist/gallery/frame/chunks/ishikawaDiagram-WSZJBQD7-b51z96jy.js +975 -0
- package/dist/gallery/frame/chunks/journeyDiagram-NVQOT4AX-9jbfp0pk.js +1272 -0
- package/dist/gallery/frame/chunks/kanban-definition-27J2QSJJ-4x0vx4se.js +1116 -0
- package/dist/gallery/frame/chunks/katex-xfgk95tv.js +14034 -0
- package/dist/gallery/frame/chunks/markdown-1s5vwkf2.js +9 -0
- package/dist/gallery/frame/chunks/markdown-2h6bwsms.js +3239 -0
- package/dist/gallery/frame/chunks/markdown-2x113yh8.js +107 -0
- package/dist/gallery/frame/chunks/markdown-30b7rwmp.js +1943 -0
- package/dist/gallery/frame/chunks/markdown-356bfj4g.js +2031 -0
- package/dist/gallery/frame/chunks/markdown-44n9ea69.js +2406 -0
- package/dist/gallery/frame/chunks/markdown-56enrf2r.js +39 -0
- package/dist/gallery/frame/chunks/markdown-5avymm8t.js +725 -0
- package/dist/gallery/frame/chunks/markdown-6r4svars.js +33 -0
- package/dist/gallery/frame/chunks/markdown-6zz8efx2.js +24 -0
- package/dist/gallery/frame/chunks/markdown-7jp6prnb.js +19 -0
- package/dist/gallery/frame/chunks/markdown-809k7q41.js +55 -0
- package/dist/gallery/frame/chunks/markdown-82xmzhzd.js +1076 -0
- package/dist/gallery/frame/chunks/markdown-92n37gd4.js +7627 -0
- package/dist/gallery/frame/chunks/markdown-ag2sssf8.js +36 -0
- package/dist/gallery/frame/chunks/markdown-b4s7ntq2.js +19 -0
- package/dist/gallery/frame/chunks/markdown-c9k0fvp1.js +100 -0
- package/dist/gallery/frame/chunks/markdown-ceefymn8.js +125 -0
- package/dist/gallery/frame/chunks/markdown-d1wfbs70.js +243 -0
- package/dist/gallery/frame/chunks/markdown-dy5sgjhc.js +11022 -0
- package/dist/gallery/frame/chunks/markdown-dz3z5w30.js +30868 -0
- package/dist/gallery/frame/chunks/markdown-eg6ngz7y.js +30340 -0
- package/dist/gallery/frame/chunks/markdown-ff5wvb43.js +1149 -0
- package/dist/gallery/frame/chunks/markdown-ffg06nfz.js +86 -0
- package/dist/gallery/frame/chunks/markdown-fvfncadf.js +472 -0
- package/dist/gallery/frame/chunks/markdown-gvyszqpv.js +19 -0
- package/dist/gallery/frame/chunks/markdown-gx1p0ew0.js +88 -0
- package/dist/gallery/frame/chunks/markdown-gxye5frz.js +65 -0
- package/dist/gallery/frame/chunks/markdown-h7pzv34e.js +105 -0
- package/dist/gallery/frame/chunks/markdown-hab789t9.js +47 -0
- package/dist/gallery/frame/chunks/markdown-hjp6sj8t.js +125 -0
- package/dist/gallery/frame/chunks/markdown-jka64qgp.js +1993 -0
- package/dist/gallery/frame/chunks/markdown-k8xkn8mw.js +56 -0
- package/dist/gallery/frame/chunks/markdown-m7frq8x8.js +112 -0
- package/dist/gallery/frame/chunks/markdown-p740v4qm.js +36 -0
- package/dist/gallery/frame/chunks/markdown-pxfeh231.js +57 -0
- package/dist/gallery/frame/chunks/markdown-pzgd8z3s.js +87 -0
- package/dist/gallery/frame/chunks/markdown-qx3cngz2.js +1673 -0
- package/dist/gallery/frame/chunks/markdown-rawhfvvc.js +85 -0
- package/dist/gallery/frame/chunks/markdown-rd8w0ng9.js +49 -0
- package/dist/gallery/frame/chunks/markdown-rm2yxfjj.js +2773 -0
- package/dist/gallery/frame/chunks/markdown-s1jatrnk.js +993 -0
- package/dist/gallery/frame/chunks/markdown-sgfg5vvq.js +59 -0
- package/dist/gallery/frame/chunks/markdown-t4ethv9d.js +409 -0
- package/dist/gallery/frame/chunks/markdown-tnmabqvz.js +36 -0
- package/dist/gallery/frame/chunks/markdown-tvdpppw8.js +5292 -0
- package/dist/gallery/frame/chunks/markdown-v0x27twr.js +22 -0
- package/dist/gallery/frame/chunks/markdown-v14td68x.js +36 -0
- package/dist/gallery/frame/chunks/markdown-w6sgd54z.js +36 -0
- package/dist/gallery/frame/chunks/markdown-xw8dsk8b.js +2125 -0
- package/dist/gallery/frame/chunks/markdown-y18mve73.js +85 -0
- package/dist/gallery/frame/chunks/markdown-yengsms5.js +427 -0
- package/dist/gallery/frame/chunks/markdown-z1wc0v0d.js +1826 -0
- package/dist/gallery/frame/chunks/markdown-zazx9h4n.js +329 -0
- package/dist/gallery/frame/chunks/mermaid-de7p4v0x.js +30 -0
- package/dist/gallery/frame/chunks/mindmap-definition-FAOFIHXS-ra44cbem.js +1216 -0
- package/dist/gallery/frame/chunks/packet-7NZHBO7P-xppm5913.js +10 -0
- package/dist/gallery/frame/chunks/pegDiagram-VL7TDLO6-a2a4wg03.js +163 -0
- package/dist/gallery/frame/chunks/pie-RZYD4A2V-hnbxk152.js +10 -0
- package/dist/gallery/frame/chunks/pieDiagram-7S7Q4E2Y-f1vxjtmx.js +311 -0
- package/dist/gallery/frame/chunks/quadrantDiagram-CIZ2JOQS-ywafa6kh.js +1390 -0
- package/dist/gallery/frame/chunks/radar-I7S5WNFK-ewqd27se.js +10 -0
- package/dist/gallery/frame/chunks/railroad-3IZDKUUU-5hy4bdx3.js +10 -0
- package/dist/gallery/frame/chunks/railroad-abnf-AHOZXSZD-bh5sxz0d.js +10 -0
- package/dist/gallery/frame/chunks/railroad-ebnf-EBAXGLYW-6b9c3zeh.js +10 -0
- package/dist/gallery/frame/chunks/railroad-peg-LSFZ7HO6-avc8v39s.js +10 -0
- package/dist/gallery/frame/chunks/railroadDiagram-AXF67PYL-qc61wax4.js +131 -0
- package/dist/gallery/frame/chunks/requirementDiagram-LRYGKXZP-9bs4786c.js +1295 -0
- package/dist/gallery/frame/chunks/sankeyDiagram-W5VNT64P-awt1em8b.js +1339 -0
- package/dist/gallery/frame/chunks/sequenceDiagram-SI44F4Z6-qaf9mz3t.js +4324 -0
- package/dist/gallery/frame/chunks/sizeCapture-X5ZJPWSS-9fq685xd.js +64 -0
- package/dist/gallery/frame/chunks/stateDiagram-OKZ733FA-vx7a7hh0.js +456 -0
- package/dist/gallery/frame/chunks/stateDiagram-v2-UEYNNEHI-x4m6ws5t.js +46 -0
- package/dist/gallery/frame/chunks/swimlanes-SLNWSIFB-e4mxm1gh.js +8287 -0
- package/dist/gallery/frame/chunks/swimlanesDiagram-ULZ7WXOC-0h93e2qq.js +42 -0
- package/dist/gallery/frame/chunks/timeline-definition-Z64GVDOM-wp0bhbzg.js +1549 -0
- package/dist/gallery/frame/chunks/treeView-QDETBFTQ-hcx7n0vt.js +10 -0
- package/dist/gallery/frame/chunks/treemap-6X3UGDF4-av02skdw.js +10 -0
- package/dist/gallery/frame/chunks/vennDiagram-T6HMQDX7-pmvk1p7n.js +2566 -0
- package/dist/gallery/frame/chunks/wardley-OPB4EBWU-njsp6e40.js +10 -0
- package/dist/gallery/frame/chunks/wardleyDiagram-T6FBY63Y-eggmnv4z.js +979 -0
- package/dist/gallery/frame/chunks/xychartDiagram-ELKLHX3M-q40tnpe5.js +1954 -0
- package/dist/gallery/frame/frame.css +183 -0
- package/dist/gallery/frame/runtime/chart.js +42744 -0
- package/dist/gallery/frame/runtime/html.js +14 -0
- package/dist/gallery/frame/runtime/markdown.js +1403 -0
- package/dist/gallery/frame/runtime/mermaid.js +32 -0
- package/dist/gallery/frame/runtime/svg.js +14 -0
- package/dist/gallery/frame/runtime/tsx.js +52 -0
- package/dist/gallery/index.html +104 -0
- package/docs/reference/cli.md +163 -0
- package/docs/reference/export.md +106 -0
- package/docs/reference/html.md +215 -0
- package/docs/reference/http.md +85 -0
- package/docs/reference/mcp.md +78 -0
- package/docs/reference/security.md +119 -0
- package/docs/reference/storage.md +93 -0
- package/docs/reference/tsx.md +101 -0
- package/docs/reference/validation.md +212 -0
- package/package.json +89 -0
- package/scripts/build-gallery.ts +127 -0
- package/scripts/launch-netns.sh +67 -0
- package/skills/facet/SKILL.md +100 -0
- package/src/cli/client.ts +311 -0
- package/src/cli/commands/create.ts +49 -0
- package/src/cli/commands/doctor.ts +249 -0
- package/src/cli/commands/export.ts +179 -0
- package/src/cli/commands/instantiate.ts +35 -0
- package/src/cli/commands/list.ts +49 -0
- package/src/cli/commands/open.ts +75 -0
- package/src/cli/commands/pin.ts +39 -0
- package/src/cli/commands/promote.ts +49 -0
- package/src/cli/commands/publish.ts +122 -0
- package/src/cli/commands/read-back.ts +56 -0
- package/src/cli/commands/status.ts +114 -0
- package/src/cli/commands/watch.ts +146 -0
- package/src/cli/main.ts +522 -0
- package/src/cli/output.ts +106 -0
- package/src/cli/parser.ts +376 -0
- package/src/cli/presenter.ts +212 -0
- package/src/cli/service-metadata.ts +134 -0
- package/src/cli/spawn-service.ts +326 -0
- package/src/css.d.ts +4 -0
- package/src/gallery-web/app.ts +1581 -0
- package/src/gallery-web/export-menu.ts +121 -0
- package/src/gallery-web/export.ts +112 -0
- package/src/gallery-web/favicon.ts +54 -0
- package/src/gallery-web/frame/entries/chart.ts +6 -0
- package/src/gallery-web/frame/entries/html.ts +6 -0
- package/src/gallery-web/frame/entries/markdown.ts +6 -0
- package/src/gallery-web/frame/entries/mermaid.ts +6 -0
- package/src/gallery-web/frame/entries/svg.ts +6 -0
- package/src/gallery-web/frame/entries/tsx.ts +6 -0
- package/src/gallery-web/frame/frame-payload.ts +91 -0
- package/src/gallery-web/frame/renderer-validation.ts +13 -0
- package/src/gallery-web/frame/renderers/chart.ts +182 -0
- package/src/gallery-web/frame/renderers/dompurify-shim.ts +112 -0
- package/src/gallery-web/frame/renderers/html.ts +48 -0
- package/src/gallery-web/frame/renderers/markdown.ts +81 -0
- package/src/gallery-web/frame/renderers/mermaid.ts +120 -0
- package/src/gallery-web/frame/renderers/registry.ts +260 -0
- package/src/gallery-web/frame/renderers/svg.ts +393 -0
- package/src/gallery-web/frame/renderers/tsx.ts +61 -0
- package/src/gallery-web/frame/runtime.ts +501 -0
- package/src/gallery-web/frame/styles/artifact.css +8424 -0
- package/src/gallery-web/frame/styles/frame.css +183 -0
- package/src/gallery-web/frame/styles/html-source.css +23 -0
- package/src/gallery-web/frame/view-box.ts +33 -0
- package/src/gallery-web/frame-html.ts +72 -0
- package/src/gallery-web/index.html +104 -0
- package/src/gallery-web/session.ts +107 -0
- package/src/gallery-web/sse-client.ts +212 -0
- package/src/gallery-web/styles/app.css +420 -0
- package/src/gallery-web/styles/tokens.css +112 -0
- package/src/gallery-web/styles/verdict.css +186 -0
- package/src/gallery-web/swap.ts +64 -0
- package/src/gallery-web/theme.ts +40 -0
- package/src/gallery-web/view-state.ts +93 -0
- package/src/harness-adapters/claude-code/README.md +10 -0
- package/src/harness-adapters/claude-code/facet.sh +4 -0
- package/src/harness-adapters/codex/README.md +10 -0
- package/src/harness-adapters/codex/facet.sh +4 -0
- package/src/harness-adapters/mcp/README.md +13 -0
- package/src/harness-adapters/mcp/cli-bridge.ts +216 -0
- package/src/harness-adapters/mcp/main.ts +15 -0
- package/src/harness-adapters/mcp/server.ts +164 -0
- package/src/harness-adapters/mcp/tool-schemas.ts +53 -0
- package/src/harness-adapters/opencode/README.md +10 -0
- package/src/harness-adapters/opencode/facet.sh +4 -0
- package/src/runtime/compiled-entrypoints.ts +69 -0
- package/src/service/dispatcher.ts +717 -0
- package/src/service/export.ts +218 -0
- package/src/service/http-utils.ts +55 -0
- package/src/service/lexical/expectations.ts +210 -0
- package/src/service/lifecycle/idle-controller.ts +125 -0
- package/src/service/lifecycle/orphan-cleanup.ts +128 -0
- package/src/service/lifecycle/process-lock.ts +235 -0
- package/src/service/main.ts +136 -0
- package/src/service/process.ts +240 -0
- package/src/service/router-guards.ts +239 -0
- package/src/service/router.ts +627 -0
- package/src/service/security/auth.ts +168 -0
- package/src/service/security/host-origin.ts +138 -0
- package/src/service/security/http-guards.ts +13 -0
- package/src/service/security/leases.ts +182 -0
- package/src/service/security/token-store.ts +138 -0
- package/src/service/server.ts +356 -0
- package/src/service/store/database.ts +61 -0
- package/src/service/store/evidence-retention.ts +234 -0
- package/src/service/store/migrations.ts +167 -0
- package/src/service/store/repository-lifecycle.ts +121 -0
- package/src/service/store/repository.ts +732 -0
- package/src/service/store/schema.ts +218 -0
- package/src/service/stored-verdict.ts +97 -0
- package/src/service/stream.ts +301 -0
- package/src/service/verdict-enrichment.ts +45 -0
- package/src/shared/build/frame-bundle-plugins.ts +61 -0
- package/src/shared/build-mode.ts +28 -0
- package/src/shared/config/evidence-read.ts +98 -0
- package/src/shared/config/limits.ts +56 -0
- package/src/shared/config/paths.ts +96 -0
- package/src/shared/contracts/artifact-types.ts +2 -0
- package/src/shared/contracts/artifact.ts +98 -0
- package/src/shared/contracts/commands/_shared.ts +59 -0
- package/src/shared/contracts/commands/guards.ts +86 -0
- package/src/shared/contracts/commands/index.ts +204 -0
- package/src/shared/contracts/commands/names.ts +35 -0
- package/src/shared/contracts/commands/requests.ts +149 -0
- package/src/shared/contracts/commands/results.ts +200 -0
- package/src/shared/contracts/envelope.ts +140 -0
- package/src/shared/contracts/events.ts +41 -0
- package/src/shared/contracts/observed-counts.ts +19 -0
- package/src/shared/contracts/renderers.ts +6 -0
- package/src/shared/contracts/validation.ts +296 -0
- package/src/shared/errors/facet-error.ts +127 -0
- package/src/shared/errors/store-error.ts +68 -0
- package/src/shared/evidence-image.ts +37 -0
- package/src/shared/export.ts +31 -0
- package/src/shared/html/policy.ts +108 -0
- package/src/shared/html/style-vocabulary.ts +352 -0
- package/src/shared/logging/logger.ts +108 -0
- package/src/shared/logging/redact.ts +49 -0
- package/src/shared/security/frozen-csp.ts +13 -0
- package/src/shared/storage-version.ts +2 -0
- package/src/shared/tsx/execution.ts +29 -0
- package/src/shared/tsx/import-policy.ts +94 -0
- package/src/shared/util/dir-permissions.ts +94 -0
- package/src/shared/util/mermaid-nodes.ts +230 -0
- package/src/shared/util/process.ts +67 -0
- package/src/shared/util/time.ts +21 -0
- package/src/shared/version.ts +3 -0
- package/src/validation/sandbox/limits.ts +41 -0
- package/src/validation/sandbox/netns.ts +177 -0
- package/src/validation/tier0/chart.ts +177 -0
- package/src/validation/tier0/dom-shim.ts +54 -0
- package/src/validation/tier0/html.ts +408 -0
- package/src/validation/tier0/markdown.ts +285 -0
- package/src/validation/tier0/mermaid.ts +98 -0
- package/src/validation/tier0/runner.ts +504 -0
- package/src/validation/tier0/svg.ts +321 -0
- package/src/validation/tier0/tsx/allowlist-resolver.ts +77 -0
- package/src/validation/tier0/tsx/ast-policy-capabilities.ts +238 -0
- package/src/validation/tier0/tsx/ast-policy-shared.ts +71 -0
- package/src/validation/tier0/tsx/ast-policy.ts +181 -0
- package/src/validation/tier0/tsx/compiler.ts +156 -0
- package/src/validation/tier0/worker-dispatch.ts +211 -0
- package/src/validation/tier0/worker-entry.ts +96 -0
- package/src/validation/tier0/worker-input.ts +75 -0
- package/src/validation/tier1/browser-process.ts +147 -0
- package/src/validation/tier1/cdp-pipe.ts +281 -0
- package/src/validation/tier1/entries/chart.ts +5 -0
- package/src/validation/tier1/entries/html.ts +6 -0
- package/src/validation/tier1/entries/markdown.ts +5 -0
- package/src/validation/tier1/entries/mermaid.ts +5 -0
- package/src/validation/tier1/entries/svg.ts +5 -0
- package/src/validation/tier1/entries/tsx.ts +5 -0
- package/src/validation/tier1/frame-target.ts +162 -0
- package/src/validation/tier1/harness-entry.ts +261 -0
- package/src/validation/tier1/harness.ts +215 -0
- package/src/validation/tier1/isolated-probe.ts +94 -0
- package/src/validation/tier1/launcher.ts +177 -0
- package/src/validation/tier1/limits.ts +80 -0
- package/src/validation/tier1/nonce.ts +17 -0
- package/src/validation/tier1/protocol-probe.ts +519 -0
- package/src/validation/tier1/runner.ts +1122 -0
- package/src/validation/tier1/verdict.ts +246 -0
- package/src/validation/tier1/webp.ts +69 -0
- package/templates/README.md +88 -0
- package/templates/bar-compare.vl.json +63 -0
- package/templates/capacity-report.tsx +102 -0
- package/templates/decision-record.md +24 -0
- package/templates/deployment-state.mmd +40 -0
- package/templates/exemplar.md +91 -0
- package/templates/facet-story.tsx +799 -0
- package/templates/fleet-dashboard.html +141 -0
- package/templates/html-release-ledger.html +91 -0
- package/templates/html-status-report.html +114 -0
- package/templates/incident-console.tsx +147 -0
- package/templates/legion-boundaries.mmd +23 -0
- package/templates/legion-flow.mmd +15 -0
- package/templates/legion-sequence.mmd +14 -0
- package/templates/legion-state.mmd +7 -0
- package/templates/metric-card.svg +29 -0
- package/templates/observability-map.svg +101 -0
- package/templates/pipeline-audit.md +108 -0
- package/templates/release-metrics.vl.json +98 -0
- package/templates/service-topology.mmd +47 -0
- package/templates/status-report.md +32 -0
- package/templates/system-map.svg +53 -0
- package/templates/timeseries.vl.json +71 -0
- package/templates/tsx-interactive-counter.tsx +19 -0
- package/templates/tsx-status-report.tsx +31 -0
|
@@ -0,0 +1,656 @@
|
|
|
1
|
+
/* src/gallery-web/styles/tokens.css */
|
|
2
|
+
:root {
|
|
3
|
+
--facet-cyan: #86e1fc;
|
|
4
|
+
--facet-amber: #ff966c;
|
|
5
|
+
--facet-navy: #16161e;
|
|
6
|
+
--facet-navy-2: #1d1d27;
|
|
7
|
+
--facet-navy-3: #232330;
|
|
8
|
+
--facet-ink: #e9eaf0;
|
|
9
|
+
--facet-ink-dim: #b6b7c2;
|
|
10
|
+
--facet-ink-faint: #a6a8b5;
|
|
11
|
+
--facet-rule: #2e2e3a;
|
|
12
|
+
--facet-error: #ff6e6e;
|
|
13
|
+
--facet-surface: var(--facet-navy);
|
|
14
|
+
--facet-surface-raised: var(--facet-navy-2);
|
|
15
|
+
--facet-surface-stage: #101018;
|
|
16
|
+
--facet-surface-control: var(--facet-navy-3);
|
|
17
|
+
--facet-text: var(--facet-ink);
|
|
18
|
+
--facet-text-muted: var(--facet-ink-dim);
|
|
19
|
+
--facet-text-faint: var(--facet-ink-faint);
|
|
20
|
+
--facet-rule-semantic: var(--facet-rule);
|
|
21
|
+
--facet-focus: var(--facet-cyan);
|
|
22
|
+
--facet-link: var(--facet-cyan);
|
|
23
|
+
--facet-shadow-export: #00000047;
|
|
24
|
+
--facet-live-ok: #c3e88d;
|
|
25
|
+
--facet-live-partial: #ffc777;
|
|
26
|
+
--facet-ok: #c3e88d;
|
|
27
|
+
--facet-fail: #ff757f;
|
|
28
|
+
--facet-partial: #ffc777;
|
|
29
|
+
--facet-inert: #a9b8e8;
|
|
30
|
+
--facet-tamper-ink: #16161e;
|
|
31
|
+
--facet-ok-border: color-mix(in srgb, var(--facet-ok) 45%, transparent);
|
|
32
|
+
--facet-ok-fill: transparent;
|
|
33
|
+
--facet-fail-border: color-mix(in srgb, var(--facet-fail) 45%, transparent);
|
|
34
|
+
--facet-fail-fill: transparent;
|
|
35
|
+
--facet-partial-border: color-mix(in srgb, var(--facet-partial) 45%, transparent);
|
|
36
|
+
--facet-partial-fill: transparent;
|
|
37
|
+
--facet-inert-border: color-mix(in srgb, var(--facet-inert) 38%, transparent);
|
|
38
|
+
--facet-inert-fill: transparent;
|
|
39
|
+
--facet-glow-danger: 0 0 0 1px color-mix(in srgb, var(--facet-fail) 40%, transparent), 0 8px 32px -8px color-mix(in srgb, var(--facet-fail) 55%, transparent);
|
|
40
|
+
--facet-tier-border: color-mix(in srgb, var(--facet-ink) 28%, transparent);
|
|
41
|
+
--facet-tier-fill: color-mix(in srgb, var(--facet-ink) 6%, transparent);
|
|
42
|
+
--facet-tier-strong-border: color-mix(in srgb, var(--facet-cyan) 45%, transparent);
|
|
43
|
+
--facet-tier-strong-fill: color-mix(in srgb, var(--facet-cyan) 8%, transparent);
|
|
44
|
+
--facet-space-1: 4px;
|
|
45
|
+
--facet-space-2: 8px;
|
|
46
|
+
--facet-space-3: 12px;
|
|
47
|
+
--facet-space-4: 16px;
|
|
48
|
+
--facet-space-5: 24px;
|
|
49
|
+
--facet-space-6: 32px;
|
|
50
|
+
--facet-radius-1: 4px;
|
|
51
|
+
--facet-radius-2: 8px;
|
|
52
|
+
--facet-font-sans: "Space Grotesk", "Geist", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
53
|
+
--facet-font-mono: "JetBrains Mono", "Geist Mono", "SF Mono", "Menlo", "Consolas", monospace;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
[data-theme="light"] {
|
|
57
|
+
--buncss-light: initial;
|
|
58
|
+
--buncss-dark: ;
|
|
59
|
+
color-scheme: light;
|
|
60
|
+
--facet-cyan: #075985;
|
|
61
|
+
--facet-amber: #9a3412;
|
|
62
|
+
--facet-navy: #f8fafc;
|
|
63
|
+
--facet-navy-2: #fff;
|
|
64
|
+
--facet-navy-3: #e2e8f0;
|
|
65
|
+
--facet-ink: #172033;
|
|
66
|
+
--facet-ink-dim: #334155;
|
|
67
|
+
--facet-ink-faint: #475569;
|
|
68
|
+
--facet-rule: #cbd5e1;
|
|
69
|
+
--facet-error: #b91c1c;
|
|
70
|
+
--facet-surface-stage: #f1f5f9;
|
|
71
|
+
--facet-focus: #075985;
|
|
72
|
+
--facet-link: #075985;
|
|
73
|
+
--facet-shadow-export: #0f172a33;
|
|
74
|
+
--facet-live-ok: #166534;
|
|
75
|
+
--facet-live-partial: #9a3412;
|
|
76
|
+
--facet-ok: #166534;
|
|
77
|
+
--facet-fail: #b91c1c;
|
|
78
|
+
--facet-partial: #9a3412;
|
|
79
|
+
--facet-inert: #475569;
|
|
80
|
+
--facet-tamper-ink: #fff;
|
|
81
|
+
--facet-ok-border: color-mix(in srgb, var(--facet-ok) 50%, transparent);
|
|
82
|
+
--facet-fail-border: color-mix(in srgb, var(--facet-fail) 50%, transparent);
|
|
83
|
+
--facet-partial-border: color-mix(in srgb, var(--facet-partial) 50%, transparent);
|
|
84
|
+
--facet-inert-border: color-mix(in srgb, var(--facet-inert) 45%, transparent);
|
|
85
|
+
--facet-tier-border: color-mix(in srgb, var(--facet-inert) 45%, transparent);
|
|
86
|
+
--facet-tier-fill: color-mix(in srgb, var(--facet-inert) 8%, transparent);
|
|
87
|
+
--facet-tier-strong-border: color-mix(in srgb, var(--facet-cyan) 50%, transparent);
|
|
88
|
+
--facet-tier-strong-fill: color-mix(in srgb, var(--facet-cyan) 8%, transparent);
|
|
89
|
+
--facet-glow-danger: 0 0 0 1px color-mix(in srgb, var(--facet-fail) 35%, transparent), 0 8px 32px -8px color-mix(in srgb, var(--facet-fail) 25%, transparent);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* src/gallery-web/styles/verdict.css */
|
|
93
|
+
.facet-verdict {
|
|
94
|
+
display: inline-flex;
|
|
95
|
+
border: 1px solid var(--facet-inert-border);
|
|
96
|
+
background: var(--facet-inert-fill);
|
|
97
|
+
color: var(--facet-inert);
|
|
98
|
+
font-family: var(--facet-font-mono);
|
|
99
|
+
letter-spacing: .1em;
|
|
100
|
+
text-transform: uppercase;
|
|
101
|
+
white-space: nowrap;
|
|
102
|
+
border-radius: 999px;
|
|
103
|
+
align-items: center;
|
|
104
|
+
gap: 7px;
|
|
105
|
+
height: 24px;
|
|
106
|
+
padding: 0 11px;
|
|
107
|
+
font-size: 10.5px;
|
|
108
|
+
font-weight: 600;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.facet-verdict:before {
|
|
112
|
+
letter-spacing: 0;
|
|
113
|
+
font-size: 12px;
|
|
114
|
+
font-weight: 400;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.facet-verdict .tier {
|
|
118
|
+
opacity: .62;
|
|
119
|
+
font-weight: 500;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.facet-verdict--sm {
|
|
123
|
+
gap: 6px;
|
|
124
|
+
height: 20px;
|
|
125
|
+
padding: 0 9px;
|
|
126
|
+
font-size: 10px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.facet-verdict[data-status="ok"] {
|
|
130
|
+
border-color: var(--facet-ok-border);
|
|
131
|
+
background: var(--facet-ok-fill);
|
|
132
|
+
color: var(--facet-ok);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.facet-verdict[data-status="ok"]:before {
|
|
136
|
+
content: "✓";
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.facet-verdict[data-status="error"] {
|
|
140
|
+
border-color: var(--facet-fail-border);
|
|
141
|
+
background: var(--facet-fail-fill);
|
|
142
|
+
color: var(--facet-fail);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.facet-verdict[data-status="error"]:before {
|
|
146
|
+
content: "✗";
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.facet-verdict[data-status="partial:layout_unverified"] {
|
|
150
|
+
border-color: var(--facet-partial-border);
|
|
151
|
+
background: var(--facet-partial-fill);
|
|
152
|
+
color: var(--facet-partial);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.facet-verdict[data-status="partial:layout_unverified"]:before {
|
|
156
|
+
content: "◐";
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.facet-verdict[data-status="partial:opaque_content"] {
|
|
160
|
+
border-color: var(--facet-partial-border);
|
|
161
|
+
background: var(--facet-partial-fill);
|
|
162
|
+
color: var(--facet-partial);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.facet-verdict[data-status="partial:opaque_content"]:before {
|
|
166
|
+
content: "◐";
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.facet-verdict[data-status="partial:external_resources"] {
|
|
170
|
+
border-color: var(--facet-partial-border);
|
|
171
|
+
background: var(--facet-partial-fill);
|
|
172
|
+
color: var(--facet-partial);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.facet-verdict[data-status="partial:external_resources"]:before {
|
|
176
|
+
content: "◐";
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.facet-verdict[data-status="partial:unstable"] {
|
|
180
|
+
border-color: var(--facet-partial-border);
|
|
181
|
+
background: var(--facet-partial-fill);
|
|
182
|
+
color: var(--facet-partial);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.facet-verdict[data-status="partial:unstable"]:before {
|
|
186
|
+
content: "◐";
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.facet-verdict[data-status="tampered"], .facet-verdict[data-status="insecure:unvalidated"] {
|
|
190
|
+
border-color: var(--facet-fail);
|
|
191
|
+
background: var(--facet-fail);
|
|
192
|
+
color: var(--facet-tamper-ink);
|
|
193
|
+
box-shadow: var(--facet-glow-danger);
|
|
194
|
+
font-weight: 700;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.facet-verdict[data-status="tampered"]:before, .facet-verdict[data-status="tampered"]:before, .facet-verdict[data-status="insecure:unvalidated"]:before {
|
|
198
|
+
content: "⊘";
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.facet-verdict[data-status="timeout"]:before {
|
|
202
|
+
content: "◌";
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.facet-verdict[data-status="shim_only"]:before {
|
|
206
|
+
content: "◇";
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.facet-verdict[data-status="probe_only"]:before {
|
|
210
|
+
content: "◈";
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.facet-verdict[data-status="unverified"] {
|
|
214
|
+
background: none;
|
|
215
|
+
border-style: dashed;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.facet-verdict[data-status="unverified"]:before {
|
|
219
|
+
content: "◌";
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.facet-tier {
|
|
223
|
+
display: inline-flex;
|
|
224
|
+
border: 1px solid var(--facet-tier-border);
|
|
225
|
+
background: var(--facet-tier-fill);
|
|
226
|
+
color: var(--facet-text);
|
|
227
|
+
font-family: var(--facet-font-mono);
|
|
228
|
+
letter-spacing: .1em;
|
|
229
|
+
border-radius: 6px;
|
|
230
|
+
align-items: center;
|
|
231
|
+
gap: 8px;
|
|
232
|
+
height: 24px;
|
|
233
|
+
padding: 0 10px;
|
|
234
|
+
font-size: 11px;
|
|
235
|
+
font-weight: 600;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.facet-tier span {
|
|
239
|
+
opacity: .75;
|
|
240
|
+
font-weight: 500;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.facet-tier[data-tier="1"] {
|
|
244
|
+
border-color: var(--facet-tier-strong-border);
|
|
245
|
+
background: var(--facet-tier-strong-fill);
|
|
246
|
+
color: var(--facet-focus);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.facet-tier[data-tier="2"] {
|
|
250
|
+
color: var(--facet-inert);
|
|
251
|
+
background: none;
|
|
252
|
+
border-style: dashed;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.facet-channels {
|
|
256
|
+
font-family: var(--facet-font-mono);
|
|
257
|
+
letter-spacing: 4px;
|
|
258
|
+
color: var(--facet-ink-dim);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.facet-channels[data-agree="true"] {
|
|
262
|
+
color: var(--facet-ok);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.facet-channels[data-agree="false"] {
|
|
266
|
+
color: var(--facet-fail);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/* src/gallery-web/styles/app.css */
|
|
270
|
+
body {
|
|
271
|
+
background: var(--facet-surface);
|
|
272
|
+
color: var(--facet-text);
|
|
273
|
+
font-family: var(--facet-font-sans);
|
|
274
|
+
margin: 0;
|
|
275
|
+
font-size: 14px;
|
|
276
|
+
line-height: 1.45;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
#facet-shell {
|
|
280
|
+
display: grid;
|
|
281
|
+
grid-template-rows: auto auto 1fr auto;
|
|
282
|
+
min-height: 100vh;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
#facet-status {
|
|
286
|
+
display: flex;
|
|
287
|
+
border-bottom: 1px solid var(--facet-rule-semantic);
|
|
288
|
+
background: var(--facet-surface-raised);
|
|
289
|
+
align-items: center;
|
|
290
|
+
gap: 14px;
|
|
291
|
+
height: 52px;
|
|
292
|
+
padding: 0 20px;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
#facet-mark {
|
|
296
|
+
color: var(--facet-cyan);
|
|
297
|
+
font-size: 13px;
|
|
298
|
+
transform: translateY(-.5px);
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
#facet-status .title {
|
|
302
|
+
color: var(--facet-text);
|
|
303
|
+
font-weight: 600;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
#facet-status .sep {
|
|
307
|
+
background: var(--facet-rule-semantic);
|
|
308
|
+
width: 1px;
|
|
309
|
+
height: 18px;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
#facet-artifact-title {
|
|
313
|
+
color: var(--facet-text-muted);
|
|
314
|
+
font-size: 13px;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
#facet-artifact-title:empty {
|
|
318
|
+
display: none;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
#facet-status .revision {
|
|
322
|
+
font-family: var(--facet-font-mono);
|
|
323
|
+
color: var(--facet-cyan);
|
|
324
|
+
font-size: 11.5px;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
#facet-status .status-line {
|
|
328
|
+
color: var(--facet-text-faint);
|
|
329
|
+
font-family: var(--facet-font-mono);
|
|
330
|
+
margin-left: auto;
|
|
331
|
+
font-size: 11px;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
#facet-status .status-line:after {
|
|
335
|
+
content: " · T2";
|
|
336
|
+
opacity: .6;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
#facet-evidence {
|
|
340
|
+
display: flex;
|
|
341
|
+
background: var(--facet-surface-raised);
|
|
342
|
+
border-bottom: 1px solid var(--facet-rule-semantic);
|
|
343
|
+
font-family: var(--facet-font-mono);
|
|
344
|
+
color: var(--facet-text-muted);
|
|
345
|
+
align-items: center;
|
|
346
|
+
gap: 22px;
|
|
347
|
+
padding: 9px 20px;
|
|
348
|
+
font-size: 11.5px;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
#facet-evidence[hidden] {
|
|
352
|
+
display: none;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
#facet-evidence .label {
|
|
356
|
+
color: var(--facet-text-faint);
|
|
357
|
+
letter-spacing: .1em;
|
|
358
|
+
font-size: 10px;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
#facet-evidence .sha {
|
|
362
|
+
color: var(--facet-cyan);
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
#facet-evidence .divergence {
|
|
366
|
+
color: var(--facet-error);
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
#facet-evidence .binding {
|
|
370
|
+
color: var(--facet-text-faint);
|
|
371
|
+
margin-left: auto;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
#facet-canvas {
|
|
375
|
+
position: relative;
|
|
376
|
+
overflow: hidden;
|
|
377
|
+
background: var(--facet-surface-stage);
|
|
378
|
+
box-sizing: border-box;
|
|
379
|
+
padding-bottom: 44px;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
#facet-swapbar {
|
|
383
|
+
position: absolute;
|
|
384
|
+
background: color-mix(in srgb, var(--facet-focus) 12%, transparent);
|
|
385
|
+
height: 2px;
|
|
386
|
+
top: 0;
|
|
387
|
+
left: 0;
|
|
388
|
+
right: 0;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
#facet-swapbar[hidden] {
|
|
392
|
+
display: none;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
#facet-swapbar .bar {
|
|
396
|
+
background: var(--facet-cyan);
|
|
397
|
+
width: 34%;
|
|
398
|
+
height: 100%;
|
|
399
|
+
transition: width .2s ease-out;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
#facet-swapbar[data-failed] .bar {
|
|
403
|
+
background: var(--facet-error);
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
#facet-empty {
|
|
407
|
+
display: flex;
|
|
408
|
+
text-align: center;
|
|
409
|
+
flex-direction: column;
|
|
410
|
+
align-items: center;
|
|
411
|
+
gap: 14px;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
#facet-empty[hidden] {
|
|
415
|
+
display: none;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
#facet-empty .glyph {
|
|
419
|
+
color: var(--facet-text-faint);
|
|
420
|
+
font-size: 26px;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
#facet-empty .head {
|
|
424
|
+
color: var(--facet-text);
|
|
425
|
+
font-size: 15px;
|
|
426
|
+
font-weight: 600;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
#facet-empty .sub {
|
|
430
|
+
color: var(--facet-text-faint);
|
|
431
|
+
font-size: 13px;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
#facet-empty .cmd {
|
|
435
|
+
font-family: var(--facet-font-mono);
|
|
436
|
+
color: var(--facet-text-muted);
|
|
437
|
+
background: var(--facet-surface);
|
|
438
|
+
border: 1px solid var(--facet-rule-semantic);
|
|
439
|
+
border-radius: 6px;
|
|
440
|
+
padding: 8px 14px;
|
|
441
|
+
font-size: 12px;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
#facet-empty .cmd .p {
|
|
445
|
+
color: var(--facet-text-faint);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
#facet-expired {
|
|
449
|
+
display: flex;
|
|
450
|
+
text-align: center;
|
|
451
|
+
flex-direction: column;
|
|
452
|
+
align-items: center;
|
|
453
|
+
gap: 14px;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
#facet-expired[hidden] {
|
|
457
|
+
display: none;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
#facet-expired .glyph {
|
|
461
|
+
color: var(--facet-error);
|
|
462
|
+
font-size: 26px;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
#facet-expired .head {
|
|
466
|
+
color: var(--facet-text);
|
|
467
|
+
font-size: 15px;
|
|
468
|
+
font-weight: 600;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
#facet-expired .sub {
|
|
472
|
+
color: var(--facet-text-faint);
|
|
473
|
+
font-size: 13px;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
#facet-expired .cmd {
|
|
477
|
+
font-family: var(--facet-font-mono);
|
|
478
|
+
color: var(--facet-text-muted);
|
|
479
|
+
background: var(--facet-surface);
|
|
480
|
+
border: 1px solid var(--facet-rule-semantic);
|
|
481
|
+
border-radius: 6px;
|
|
482
|
+
padding: 8px 14px;
|
|
483
|
+
font-size: 12px;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
#facet-expired .cmd .p {
|
|
487
|
+
color: var(--facet-text-faint);
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
#facet-canvas iframe {
|
|
491
|
+
background: var(--facet-surface);
|
|
492
|
+
transform-origin: center center;
|
|
493
|
+
border: 0;
|
|
494
|
+
transition: transform .12s ease-out, opacity .12s linear;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
#facet-canvas iframe.facet-hidden {
|
|
498
|
+
position: absolute;
|
|
499
|
+
opacity: 0;
|
|
500
|
+
pointer-events: none;
|
|
501
|
+
border: 0;
|
|
502
|
+
width: 0;
|
|
503
|
+
height: 0;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
#facet-canvas iframe.facet-ready {
|
|
507
|
+
display: block;
|
|
508
|
+
opacity: 1;
|
|
509
|
+
width: 100%;
|
|
510
|
+
height: 100%;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
#facet-controls {
|
|
514
|
+
position: fixed;
|
|
515
|
+
z-index: 5;
|
|
516
|
+
display: flex;
|
|
517
|
+
border-top: 1px solid var(--facet-rule-semantic);
|
|
518
|
+
background: var(--facet-surface-raised);
|
|
519
|
+
align-items: center;
|
|
520
|
+
gap: 8px;
|
|
521
|
+
height: 44px;
|
|
522
|
+
padding: 0 20px;
|
|
523
|
+
bottom: 0;
|
|
524
|
+
left: 0;
|
|
525
|
+
right: 0;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
#facet-live {
|
|
529
|
+
display: inline-flex;
|
|
530
|
+
font-family: var(--facet-font-mono);
|
|
531
|
+
color: var(--facet-text-faint);
|
|
532
|
+
align-items: center;
|
|
533
|
+
gap: 7px;
|
|
534
|
+
font-size: 11px;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
#facet-live .dot {
|
|
538
|
+
color: var(--facet-text-faint);
|
|
539
|
+
font-size: 9px;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
#facet-live[data-state="live"] .dot {
|
|
543
|
+
color: var(--facet-live-ok);
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
#facet-live[data-state="connecting"] .dot {
|
|
547
|
+
color: var(--facet-live-partial);
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
#facet-controls .spacer {
|
|
551
|
+
margin-left: auto;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
#facet-controls button {
|
|
555
|
+
display: grid;
|
|
556
|
+
background: var(--facet-surface-control);
|
|
557
|
+
color: var(--facet-text);
|
|
558
|
+
border: 1px solid var(--facet-rule-semantic);
|
|
559
|
+
font-family: var(--facet-font-mono);
|
|
560
|
+
cursor: pointer;
|
|
561
|
+
border-radius: 6px;
|
|
562
|
+
place-items: center;
|
|
563
|
+
min-width: 28px;
|
|
564
|
+
height: 28px;
|
|
565
|
+
padding: 0 10px;
|
|
566
|
+
transition: border-color .12s ease-out, color .12s ease-out;
|
|
567
|
+
font-size: 11.5px;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
#facet-controls button:hover {
|
|
571
|
+
border-color: color-mix(in srgb, var(--facet-focus) 48%, transparent);
|
|
572
|
+
color: var(--facet-focus);
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
#facet-controls button:focus-visible {
|
|
576
|
+
outline: 2px solid var(--facet-focus);
|
|
577
|
+
outline-offset: 2px;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
#facet-controls button:active {
|
|
581
|
+
transform: scale(.98);
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
#facet-controls button:disabled {
|
|
585
|
+
opacity: .4;
|
|
586
|
+
cursor: default;
|
|
587
|
+
color: var(--facet-text-faint);
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
#facet-controls button:disabled:hover {
|
|
591
|
+
border-color: var(--facet-rule-semantic);
|
|
592
|
+
color: var(--facet-text-faint);
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
#facet-controls button[aria-pressed="true"] {
|
|
596
|
+
background: var(--facet-focus);
|
|
597
|
+
color: var(--facet-surface-raised);
|
|
598
|
+
border-color: var(--facet-focus);
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
.facet-export {
|
|
602
|
+
position: relative;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
#facet-export-menu {
|
|
606
|
+
position: absolute;
|
|
607
|
+
z-index: 6;
|
|
608
|
+
display: grid;
|
|
609
|
+
border: 1px solid var(--facet-rule-semantic);
|
|
610
|
+
background: var(--facet-surface-raised);
|
|
611
|
+
box-shadow: 0 8px 24px var(--facet-shadow-export);
|
|
612
|
+
border-radius: 6px;
|
|
613
|
+
gap: 4px;
|
|
614
|
+
min-width: 120px;
|
|
615
|
+
padding: 6px;
|
|
616
|
+
bottom: 36px;
|
|
617
|
+
right: 0;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
#facet-export-menu[hidden] {
|
|
621
|
+
display: none;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
#facet-export-menu button {
|
|
625
|
+
justify-content: start;
|
|
626
|
+
width: 100%;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
#facet-error {
|
|
630
|
+
display: none;
|
|
631
|
+
border: 1px solid var(--facet-fail-border);
|
|
632
|
+
background: var(--facet-fail-fill);
|
|
633
|
+
color: var(--facet-error);
|
|
634
|
+
font-family: var(--facet-font-mono);
|
|
635
|
+
border-radius: 999px;
|
|
636
|
+
align-items: center;
|
|
637
|
+
gap: 7px;
|
|
638
|
+
height: 24px;
|
|
639
|
+
margin-left: 10px;
|
|
640
|
+
padding: 0 11px;
|
|
641
|
+
font-size: 11px;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
#facet-error:before {
|
|
645
|
+
content: "✗";
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
#facet-error.facet-visible {
|
|
649
|
+
display: inline-flex;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
@media (prefers-reduced-motion: reduce) {
|
|
653
|
+
#facet-canvas iframe, #facet-swapbar .bar, #facet-controls button {
|
|
654
|
+
transition: none;
|
|
655
|
+
}
|
|
656
|
+
}
|