@jxsuite/studio 4.1.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/data/elements-meta.json +5 -15
- package/data/html-meta.json +51 -6
- package/dist/chunks/{2020-n6tfwnda.js → 2020-g79n01v9.js} +14 -14
- package/dist/chunks/action-group-sp6tna8v.js +118 -0
- package/dist/chunks/adapter-nj7tnjfn.js +13 -0
- package/dist/chunks/cf-account-picker-qwkm9zrf.js +495 -0
- package/dist/chunks/cf-settings-71bv5zn9.js +20 -0
- package/dist/chunks/color-area-v17df7b8.js +154 -0
- package/dist/chunks/color-field-anwybnkn.js +208 -0
- package/dist/chunks/color-slider-44ez96fc.js +79 -0
- package/dist/chunks/color-xgg3kfw7.js +35 -0
- package/dist/chunks/combobox-5e7jev23.js +236 -0
- package/dist/chunks/components-vj72gqtq.js +20 -0
- package/dist/chunks/content-source-5mex4x1h.js +46 -0
- package/dist/chunks/convert-to-repeater-n64h8znc.js +639 -0
- package/dist/chunks/dialog-s890b918.js +85 -0
- package/dist/chunks/editor-3qhbg51x.js +35 -0
- package/dist/chunks/entry-commands-234hjnqw.js +42 -0
- package/dist/chunks/extension-sections-3hpcambp.js +651 -0
- package/dist/chunks/file-ops-8yhd83xr.js +47 -0
- package/dist/chunks/files-hnxqxtsg.js +72 -0
- package/dist/chunks/format-host-779sfp2n.js +40 -0
- package/dist/chunks/fs-events-b88z7g4h.js +18 -0
- package/dist/chunks/git-panel-xwj8fpab.js +49 -0
- package/dist/chunks/icons-yy10wk9r.js +402 -0
- package/dist/chunks/iframe-entry-15g3n6xv.js +114 -0
- package/dist/chunks/iframe-entry-b27vq81n.js +203 -0
- package/dist/chunks/iframe-entry-nbyxee1y.js +154 -0
- package/dist/chunks/iframe-host-syr0f9sb.js +115 -0
- package/dist/chunks/{index-wcnt3r9g.js → index-mdmyx6s2.js} +11 -11
- package/dist/chunks/index-n4j7qxyr.js +109 -0
- package/dist/chunks/{javascript-q8kpmfah.js → javascript-xvrfrpkb.js} +8 -9
- package/dist/chunks/{jsonMode-dkr040ga.js → jsonMode-tyx2kj6p.js} +526 -527
- package/dist/chunks/jx-validate-j0wxk72w.js +15 -0
- package/dist/chunks/layers-ff81wthn.js +30 -0
- package/dist/chunks/layers-panel-pnnghw12.js +40 -0
- package/dist/chunks/listbox-6v2ac08j.js +44 -0
- package/dist/chunks/lit-html-m244w9nh.js +17 -0
- package/dist/chunks/media-picker-cqhhxhhe.js +33 -0
- package/dist/chunks/menu-9p2w46gj.js +15 -0
- package/dist/chunks/menu-q99sy9rf.js +285 -0
- package/dist/chunks/{monaco-binding-rj6xpx9y.js → monaco-binding-sw6en4dw.js} +12 -15
- package/dist/chunks/monaco-buffer-bhy3hb6m.js +24 -0
- package/dist/chunks/{monaco-setup-vx9bhp1d.js → monaco-setup-8r62fj6y.js} +27 -37
- package/dist/chunks/notify-628t0anh.js +21 -0
- package/dist/chunks/number-field-5cndyft8.js +72 -0
- package/dist/chunks/parse-0zx14y15.js +10 -0
- package/dist/chunks/platform-ts9cg1a4.js +15 -0
- package/dist/chunks/popover-47z3ytva.js +25 -0
- package/dist/chunks/publish-panel-5zt840sy.js +27 -0
- package/dist/chunks/quick-search-3748564r.js +45 -0
- package/dist/chunks/references-qvvxej7h.js +26 -0
- package/dist/chunks/right-panel-eccz92qt.js +45 -0
- package/dist/chunks/section-registry-5pq32t0q.js +25 -0
- package/dist/chunks/select-2r16ez41.js +49 -0
- package/dist/chunks/split-g7nm1rgb.js +191 -0
- package/dist/chunks/studio-0hqbpbd0.js +62 -0
- package/dist/chunks/{studio-kryvsw6j.js → studio-1k325pwf.js} +48 -48
- package/dist/chunks/{studio-b55y6ewx.js → studio-1knfqgy7.js} +58 -58
- package/dist/chunks/{studio-2b946z26.js → studio-1z1kcjv4.js} +3628 -6095
- package/dist/chunks/studio-3773086z.js +111 -0
- package/dist/chunks/{studio-4r1pv6zf.js → studio-38emantv.js} +22 -5
- package/dist/chunks/{studio-x813zp48.js → studio-3rz5md06.js} +30 -30
- package/dist/chunks/{studio-ynxwkrzd.js → studio-4wbb9ct0.js} +1953 -1785
- package/dist/chunks/studio-5te5tqng.js +81 -0
- package/dist/chunks/studio-5wt9nvhd.js +4763 -0
- package/dist/chunks/{studio-p4ngc046.js → studio-6ewqv390.js} +9 -9
- package/dist/chunks/{studio-9ab8gqsm.js → studio-6nzaktvy.js} +7 -7
- package/dist/chunks/studio-6xa21ej9.js +28 -0
- package/dist/chunks/{studio-5ehhackm.js → studio-727xh0e3.js} +19 -19
- package/dist/chunks/{studio-gcye7qka.js → studio-7e11jpa9.js} +21 -21
- package/dist/chunks/{studio-q7v10cg2.js → studio-7r42c6ca.js} +17 -7
- package/dist/chunks/studio-7xnmgv66.js +13615 -0
- package/dist/chunks/studio-8scdew0e.js +258 -0
- package/dist/chunks/{studio-fbf92ckf.js → studio-93zafjcm.js} +275 -163
- package/dist/chunks/{studio-dg7zyt5x.js → studio-98b3z07n.js} +1 -1
- package/dist/chunks/studio-a79k90n9.js +1162 -0
- package/dist/chunks/studio-aj37eer3.js +422 -0
- package/dist/chunks/studio-b0k5tqgp.js +2432 -0
- package/dist/chunks/studio-b4s9eykd.js +2811 -0
- package/dist/chunks/{studio-f3wqjtk5.js → studio-d0300636.js} +5076 -18
- package/dist/chunks/{studio-b9b6t1dg.js → studio-e1f24eff.js} +5664 -5666
- package/dist/chunks/studio-e1pgga3k.js +839 -0
- package/dist/chunks/{studio-g1wdche0.js → studio-esrxgwh6.js} +80 -80
- package/dist/chunks/{studio-q43a5y9h.js → studio-g3jevyjt.js} +16 -16
- package/dist/chunks/studio-gb13095a.js +2806 -0
- package/dist/chunks/{studio-3n4ndrzh.js → studio-h4nvnjvz.js} +303 -303
- package/dist/chunks/{studio-dm19q43r.js → studio-hhvs4sdg.js} +10 -10
- package/dist/chunks/{studio-x4qkdat5.js → studio-js8nv53n.js} +1749 -2481
- package/dist/chunks/{studio-qjy2z9bv.js → studio-jxp12rnj.js} +32 -137
- package/dist/chunks/{studio-trxrabqf.js → studio-k75n7vhp.js} +527 -283
- package/dist/chunks/{studio-q9jd1a60.js → studio-kcgff4r0.js} +15 -18
- package/dist/chunks/studio-kkqkcp3d.js +17668 -0
- package/dist/chunks/studio-mhhyamxf.js +763 -0
- package/dist/chunks/{studio-cft9r4r7.js → studio-nq5yf5mp.js} +22 -22
- package/dist/chunks/{studio-685s0ytq.js → studio-nqgawfks.js} +572 -572
- package/dist/chunks/studio-nzzpvzx9.js +185 -0
- package/dist/chunks/{studio-xrapxwwc.js → studio-p1dw8wfw.js} +55 -29
- package/dist/chunks/{studio-3bqpr0zh.js → studio-pxbgypmg.js} +299 -110
- package/dist/chunks/studio-q0a3yk4n.js +33 -0
- package/dist/chunks/{studio-wcy8trfx.js → studio-q3x06vmj.js} +23 -22
- package/dist/chunks/{studio-6yw4y3my.js → studio-qhhm6hbt.js} +8 -8
- package/dist/chunks/studio-qk4bfsq2.js +362 -0
- package/dist/chunks/{studio-msd847zn.js → studio-qk90fgqm.js} +361 -90
- package/dist/chunks/{studio-jkftxyvz.js → studio-r6nvacqs.js} +5861 -2154
- package/dist/chunks/{studio-53n8bp04.js → studio-r6xmmtfh.js} +1 -1
- package/dist/chunks/{studio-tvgyw9xw.js → studio-rnyf3f8e.js} +83 -250
- package/dist/chunks/studio-rs76k67r.js +12 -0
- package/dist/chunks/studio-sbjyc8bt.js +954 -0
- package/dist/chunks/{studio-1wagb550.js → studio-syg2tadj.js} +11 -11
- package/dist/chunks/{studio-t5wqwzdh.js → studio-tjjk7jvk.js} +1 -1
- package/dist/chunks/studio-tqgryxwg.js +1171 -0
- package/dist/chunks/studio-try13h8c.js +8448 -0
- package/dist/chunks/studio-vfq8qpjt.js +1219 -0
- package/dist/chunks/studio-vhv5tgxm.js +51 -0
- package/dist/chunks/{studio-ahn3pdgx.js → studio-vw7mzp6z.js} +52 -38
- package/dist/chunks/studio-wqpngpsk.js +174 -0
- package/dist/chunks/studio-wqz6dggm.js +1356 -0
- package/dist/chunks/{studio-92ab2jqe.js → studio-y9zedyjn.js} +14 -14
- package/dist/chunks/studio-yxa81f45.js +12 -0
- package/dist/chunks/studio-zdn2g6dt.js +148 -0
- package/dist/chunks/swatch-group-t0n6h2rn.js +139 -0
- package/dist/chunks/tabs-wbp1cdws.js +156 -0
- package/dist/chunks/textfield-abk6qyee.js +73 -0
- package/dist/chunks/toast-780pvfbv.js +27 -0
- package/dist/chunks/toast-host-3sqv46sn.js +116 -0
- package/dist/chunks/toolbar-xbh5bhtr.js +194 -0
- package/dist/chunks/tooltip-eptb614w.js +369 -0
- package/dist/chunks/tree-a73p0pqm.js +367 -0
- package/dist/chunks/{tsMode-76kr53q0.js → tsMode-jy4m86rv.js} +83 -85
- package/dist/chunks/workspace-t55jdjbx.js +69 -0
- package/dist/chunks/{ws-client-6shc5rze.js → ws-client-ny4zc51r.js} +20 -22
- package/dist/iframe-entry.js +1873 -673
- package/dist/studio.js +52757 -36535
- package/dist/workers/editor.worker.js +1040 -1085
- package/dist/workers/json.worker.js +1946 -1991
- package/dist/workers/ts.worker.js +4960 -5005
- package/index.html +1 -0
- package/package.json +18 -52
- package/src/about/about-modal.ts +72 -123
- package/src/browse/library-commands.ts +20 -49
- package/src/browse/library-layouts.ts +87 -218
- package/src/browse/library-pane.ts +406 -438
- package/src/canvas/canvas-helpers.ts +0 -49
- package/src/canvas/canvas-live-render.ts +25 -2
- package/src/canvas/canvas-render.ts +666 -231
- package/src/canvas/canvas-surface.ts +0 -1
- package/src/canvas/canvas-utils.ts +333 -113
- package/src/canvas/dialog-path.ts +76 -0
- package/src/canvas/dialog-state.ts +67 -0
- package/src/canvas/diff-marks.ts +252 -0
- package/src/canvas/diff-toolbar.ts +349 -0
- package/src/canvas/diff-view.ts +123 -0
- package/src/canvas/edit-width-drag.ts +187 -0
- package/src/canvas/edit-width.ts +150 -0
- package/src/canvas/iframe-entry.ts +125 -8
- package/src/canvas/iframe-host.ts +271 -15
- package/src/canvas/iframe-interaction.ts +133 -13
- package/src/canvas/iframe-patch.ts +7 -1
- package/src/canvas/iframe-position.ts +5 -6
- package/src/canvas/iframe-protocol.ts +106 -5
- package/src/canvas/iframe-render.ts +373 -5
- package/src/canvas/iframe-slash.ts +2 -2
- package/src/canvas/iframe-subtree.ts +5 -8
- package/src/canvas/path-mapping.ts +25 -3
- package/src/canvas/popover-path.ts +106 -0
- package/src/canvas/popover-state.ts +155 -0
- package/src/canvas/surface-registry.ts +21 -10
- package/src/collab/presence-chips.ts +51 -73
- package/src/commands/app-commands.ts +10 -0
- package/src/commands/budget.ts +12 -0
- package/src/commands/command-args.ts +404 -6
- package/src/commands/defaults.ts +44 -14
- package/src/commands/live-context.ts +11 -5
- package/src/commands/reference.ts +12 -2
- package/src/commands/registry.ts +177 -10
- package/src/commands/run-reported.ts +120 -0
- package/src/content/entry-commands.ts +16 -23
- package/src/content/entry-editor.ts +144 -101
- package/src/editor/canvas-slash-bridge.ts +2 -2
- package/src/editor/context-menu.ts +49 -200
- package/src/editor/convert-to-component.ts +42 -82
- package/src/editor/convert-to-repeater.ts +132 -173
- package/src/editor/inline-edit.ts +11 -0
- package/src/editor/shortcuts.ts +76 -49
- package/src/editor/slash-menu.ts +150 -157
- package/src/files/components.ts +39 -0
- package/src/files/file-ops.ts +117 -11
- package/src/files/files.ts +944 -660
- package/src/files/json-layout.ts +474 -0
- package/src/files/serialize-document.ts +8 -1
- package/src/format/convert-file.ts +16 -10
- package/src/format/format-host.ts +50 -1
- package/src/github/github-auth.ts +71 -29
- package/src/github/github-publish.ts +57 -65
- package/src/grid/cell-editors.ts +46 -4
- package/src/grid/cell-popovers.ts +65 -62
- package/src/grid/grid-open.ts +86 -64
- package/src/grid/grid-panel.ts +390 -469
- package/src/grid/redirects-grid.ts +40 -44
- package/src/hosting/layout.ts +2 -0
- package/src/i18n/i18n-commands.ts +137 -62
- package/src/media/media-pane.ts +83 -133
- package/src/new-project/add-repo-modal.ts +125 -176
- package/src/new-project/import-tab.ts +181 -252
- package/src/new-project/location-fields.ts +93 -160
- package/src/new-project/new-project-modal.ts +376 -367
- package/src/packages/jxsuite-update.ts +76 -18
- package/src/packages/pull-package-sync.ts +5 -1
- package/src/panels/activity-panel.ts +137 -104
- package/src/panels/ai-chat/chat-markdown.ts +15 -13
- package/src/panels/ai-chat/chat-view.ts +307 -472
- package/src/panels/ai-chat/composer.ts +175 -163
- package/src/panels/ai-chat/sessions-view.ts +31 -62
- package/src/panels/ai-panel.ts +213 -185
- package/src/panels/block-action-bar.ts +444 -645
- package/src/panels/bottom-dock.ts +112 -47
- package/src/panels/chat-panel.ts +19 -14
- package/src/panels/data-explorer.ts +141 -102
- package/src/panels/data-grid.ts +183 -150
- package/src/panels/dnd.ts +75 -20
- package/src/panels/editors.ts +26 -19
- package/src/panels/elements-panel.ts +243 -186
- package/src/panels/empty-state.ts +26 -42
- package/src/panels/events-panel.ts +950 -729
- package/src/panels/formula-workspace.ts +434 -207
- package/src/panels/frontmatter-fields.ts +185 -153
- package/src/panels/frontmatter-panel.ts +411 -187
- package/src/panels/git-diff-open.ts +148 -0
- package/src/panels/git-panel.ts +679 -605
- package/src/panels/head-panel.ts +617 -435
- package/src/panels/i18n-panel.ts +148 -135
- package/src/panels/imports-panel.ts +388 -414
- package/src/panels/jump-bar.ts +175 -147
- package/src/panels/layers-panel.ts +785 -671
- package/src/panels/left-panel.ts +166 -94
- package/src/panels/navigator-panels.ts +1 -1
- package/src/panels/pane-context.ts +529 -677
- package/src/panels/pane-grid.ts +265 -241
- package/src/panels/panel-registry.ts +15 -4
- package/src/panels/problems-panel.ts +181 -99
- package/src/panels/properties-panel.ts +1525 -966
- package/src/panels/provenance.ts +31 -113
- package/src/panels/quick-search.ts +223 -184
- package/src/panels/right-panel.ts +135 -169
- package/src/panels/seo-modal.ts +346 -167
- package/src/panels/settings-menu.ts +114 -661
- package/src/panels/settings-pane.ts +102 -86
- package/src/panels/signals-panel.ts +1318 -1172
- package/src/panels/statement-editor.ts +556 -428
- package/src/panels/style-panel.ts +1367 -630
- package/src/panels/style-utils.ts +36 -32
- package/src/panels/stylebook-doc.ts +30 -73
- package/src/panels/stylebook-layers-panel.ts +202 -109
- package/src/panels/stylebook-panel.ts +124 -88
- package/src/panels/tab-strip.ts +386 -288
- package/src/platforms/cloud.ts +106 -16
- package/src/platforms/devserver.ts +13 -0
- package/src/publish/deploy-checklist.ts +124 -78
- package/src/publish/publish-commands.ts +4 -12
- package/src/publish/publish-panel.ts +134 -328
- package/src/services/a11y-report.ts +100 -43
- package/src/services/ai-command-tools.ts +538 -0
- package/src/services/ai-project-tools.ts +8 -2
- package/src/services/ai-session-store.ts +6 -0
- package/src/services/ai-system-prompt.ts +112 -24
- package/src/services/ai-tools.ts +36 -212
- package/src/services/ai-write-report.ts +174 -0
- package/src/services/document-assistant.ts +59 -8
- package/src/services/idle.ts +16 -14
- package/src/services/live-surfaces.ts +237 -0
- package/src/services/model-uri.ts +75 -0
- package/src/services/notify.ts +63 -6
- package/src/services/popover-report.ts +325 -0
- package/src/services/surface-registry.ts +56 -0
- package/src/services/tool-executor.ts +6 -0
- package/src/settings/contexts-section.ts +301 -299
- package/src/settings/contributed-section.ts +361 -222
- package/src/settings/css-vars-editor.ts +320 -325
- package/src/settings/defs-editor.ts +572 -535
- package/src/settings/dependencies-editor.ts +79 -107
- package/src/settings/extension-commands.ts +379 -0
- package/src/settings/extension-rows.ts +113 -0
- package/src/settings/extensions-section.ts +287 -0
- package/src/settings/general-settings.ts +130 -181
- package/src/settings/head-editor.ts +10 -305
- package/src/settings/locales-section.ts +146 -196
- package/src/settings/preferences-accounts.ts +1 -1
- package/src/settings/preferences-dialog.ts +350 -330
- package/src/settings/project-sections.ts +108 -181
- package/src/settings/schema-field-ui.ts +11 -399
- package/src/settings/section-registry.ts +8 -1
- package/src/settings/settings-document.ts +31 -29
- package/src/shell/tree.ts +42 -87
- package/src/shell.ts +48 -36
- package/src/studio.ts +104 -69
- package/src/style/token-ref.ts +0 -39
- package/src/surfaces/about.json +263 -0
- package/src/surfaces/about.ts +163 -0
- package/src/surfaces/add-repo.json +486 -0
- package/src/surfaces/add-repo.ts +236 -0
- package/src/surfaces/ai-chat.json +2185 -0
- package/src/surfaces/ai-chat.ts +549 -0
- package/src/surfaces/ai-credentials-form.json +332 -0
- package/src/surfaces/ai-credentials-form.ts +151 -0
- package/src/surfaces/ai-managed-connect.json +108 -0
- package/src/surfaces/ai-managed-connect.ts +123 -0
- package/src/surfaces/ai-model-picker.json +114 -0
- package/src/surfaces/ai-model-picker.ts +139 -0
- package/src/surfaces/block-action-bar.json +640 -0
- package/src/surfaces/block-action-bar.ts +368 -0
- package/src/surfaces/bottom-dock.json +154 -0
- package/src/surfaces/bottom-dock.ts +125 -0
- package/src/surfaces/canvas-stage.json +444 -0
- package/src/surfaces/canvas-stage.ts +253 -0
- package/src/surfaces/cf-account-picker.json +300 -0
- package/src/surfaces/cf-account-picker.ts +214 -0
- package/src/surfaces/commandbar.json +985 -0
- package/src/{panels/toolbar.ts → surfaces/commandbar.ts} +417 -391
- package/src/surfaces/convert-repeater.json +309 -0
- package/src/surfaces/convert-repeater.ts +276 -0
- package/src/surfaces/data-actions.json +157 -0
- package/src/surfaces/data-actions.ts +115 -0
- package/src/surfaces/dialog.json +289 -0
- package/src/surfaces/dialog.ts +343 -0
- package/src/surfaces/diff-toolbar.json +266 -0
- package/src/surfaces/diff-toolbar.ts +139 -0
- package/src/surfaces/doc-header.json +739 -0
- package/src/surfaces/doc-header.ts +223 -0
- package/src/surfaces/empty-state.json +152 -0
- package/src/surfaces/empty-state.ts +173 -0
- package/src/surfaces/entry-editor.json +281 -0
- package/src/surfaces/entry-editor.ts +191 -0
- package/src/surfaces/expression-editor.json +977 -0
- package/src/surfaces/expression-editor.ts +266 -0
- package/src/surfaces/files-panel.json +592 -0
- package/src/surfaces/files-panel.ts +301 -0
- package/src/surfaces/formula-palette.json +364 -0
- package/src/surfaces/formula-palette.ts +340 -0
- package/src/surfaces/git-panel.json +1822 -0
- package/src/surfaces/git-panel.ts +272 -0
- package/src/surfaces/github-auth.json +112 -0
- package/src/surfaces/github-auth.ts +139 -0
- package/src/surfaces/github-publish.json +206 -0
- package/src/surfaces/github-publish.ts +169 -0
- package/src/surfaces/grid-cell.json +218 -0
- package/src/surfaces/grid-cell.ts +120 -0
- package/src/surfaces/grid-open.json +147 -0
- package/src/surfaces/grid-open.ts +87 -0
- package/src/surfaces/grid-panel.json +706 -0
- package/src/surfaces/grid-panel.ts +206 -0
- package/src/surfaces/grid-replace.json +179 -0
- package/src/surfaces/grid-replace.ts +89 -0
- package/src/surfaces/grid-views.json +446 -0
- package/src/surfaces/grid-views.ts +172 -0
- package/src/surfaces/inspector-dock.json +187 -0
- package/src/surfaces/inspector-dock.ts +161 -0
- package/src/surfaces/jump-bar.json +243 -0
- package/src/surfaces/jump-bar.ts +129 -0
- package/src/surfaces/jxsuite-update.json +146 -0
- package/src/surfaces/jxsuite-update.ts +149 -0
- package/src/surfaces/library-pane.json +1509 -0
- package/src/surfaces/library-pane.ts +363 -0
- package/src/surfaces/logic-panel.json +1949 -0
- package/src/surfaces/logic-panel.ts +369 -0
- package/src/surfaces/logic-workspace.json +685 -0
- package/src/surfaces/logic-workspace.ts +238 -0
- package/src/surfaces/media-browser.json +303 -0
- package/src/surfaces/media-browser.ts +145 -0
- package/src/surfaces/media-field.json +163 -0
- package/src/surfaces/media-field.ts +116 -0
- package/src/surfaces/media-pane.json +513 -0
- package/src/surfaces/media-pane.ts +197 -0
- package/src/surfaces/menu.json +232 -0
- package/src/surfaces/menu.ts +375 -0
- package/src/surfaces/navigator-dock.json +113 -0
- package/src/surfaces/navigator-dock.ts +130 -0
- package/src/surfaces/new-project.json +1654 -0
- package/src/surfaces/new-project.ts +411 -0
- package/src/surfaces/palette.json +535 -0
- package/src/surfaces/pane-context.json +1497 -0
- package/src/surfaces/pane-context.ts +513 -0
- package/src/surfaces/pane-grid.json +188 -0
- package/src/surfaces/pane-grid.ts +250 -0
- package/src/surfaces/panel-activity.json +563 -0
- package/src/surfaces/panel-activity.ts +187 -0
- package/src/surfaces/panel-data.json +141 -0
- package/src/surfaces/panel-data.ts +156 -0
- package/src/surfaces/panel-deploy-checklist.json +283 -0
- package/src/surfaces/panel-deploy-checklist.ts +175 -0
- package/src/surfaces/panel-elements.json +367 -0
- package/src/surfaces/panel-elements.ts +175 -0
- package/src/surfaces/panel-i18n.json +569 -0
- package/src/surfaces/panel-i18n.ts +212 -0
- package/src/surfaces/panel-imports.json +780 -0
- package/src/surfaces/panel-imports.ts +209 -0
- package/src/surfaces/panel-outline.json +734 -0
- package/src/surfaces/panel-outline.ts +326 -0
- package/src/surfaces/panel-page.json +1017 -0
- package/src/surfaces/panel-page.ts +240 -0
- package/src/surfaces/panel-problems.json +497 -0
- package/src/surfaces/panel-problems.ts +157 -0
- package/src/surfaces/panel-signals.json +1973 -0
- package/src/surfaces/panel-signals.ts +436 -0
- package/src/surfaces/panel-stylebook-layers.json +317 -0
- package/src/surfaces/panel-stylebook-layers.ts +155 -0
- package/src/surfaces/preferences.json +850 -0
- package/src/surfaces/preferences.ts +332 -0
- package/src/surfaces/progress-modal.json +110 -0
- package/src/surfaces/progress-modal.ts +150 -0
- package/src/surfaces/properties-panel.json +1578 -0
- package/src/surfaces/properties-panel.ts +337 -0
- package/src/surfaces/publish.json +945 -0
- package/src/surfaces/publish.ts +392 -0
- package/src/surfaces/push-plan.json +110 -0
- package/src/surfaces/push-plan.ts +87 -0
- package/src/surfaces/rail.json +255 -0
- package/src/surfaces/rail.ts +206 -0
- package/src/surfaces/reference-field.json +191 -0
- package/src/surfaces/reference-field.ts +168 -0
- package/src/surfaces/schema-builder.json +1011 -0
- package/src/surfaces/schema-builder.ts +181 -0
- package/src/surfaces/schema-form.json +1013 -0
- package/src/surfaces/schema-form.ts +287 -0
- package/src/surfaces/secret-field.json +60 -0
- package/src/surfaces/secret-field.ts +146 -0
- package/src/surfaces/seo.json +932 -0
- package/src/surfaces/seo.ts +334 -0
- package/src/surfaces/settings-contexts.json +538 -0
- package/src/surfaces/settings-contexts.ts +196 -0
- package/src/surfaces/settings-contributed.json +489 -0
- package/src/surfaces/settings-contributed.ts +199 -0
- package/src/surfaces/settings-css-vars.json +820 -0
- package/src/surfaces/settings-css-vars.ts +199 -0
- package/src/surfaces/settings-defs.json +1363 -0
- package/src/surfaces/settings-defs.ts +232 -0
- package/src/surfaces/settings-deploy.json +108 -0
- package/src/surfaces/settings-deploy.ts +135 -0
- package/src/surfaces/settings-extensions.json +486 -0
- package/src/surfaces/settings-extensions.ts +201 -0
- package/src/surfaces/settings-head.json +779 -0
- package/src/surfaces/settings-head.ts +397 -0
- package/src/surfaces/settings-locales.json +420 -0
- package/src/surfaces/settings-locales.ts +137 -0
- package/src/surfaces/settings-overview.json +423 -0
- package/src/surfaces/settings-overview.ts +218 -0
- package/src/surfaces/settings-packages.json +549 -0
- package/src/surfaces/settings-packages.ts +158 -0
- package/src/surfaces/settings-pane.json +147 -0
- package/src/surfaces/settings-pane.ts +150 -0
- package/src/surfaces/settings-rawjson.json +104 -0
- package/src/surfaces/settings-rawjson.ts +107 -0
- package/src/surfaces/shell.json +99 -0
- package/src/surfaces/shell.ts +30 -0
- package/src/surfaces/slash-menu.json +180 -0
- package/src/surfaces/slash-menu.ts +272 -0
- package/src/surfaces/statements.json +607 -0
- package/src/surfaces/statements.ts +238 -0
- package/src/surfaces/statusbar.json +94 -0
- package/src/{panels → surfaces}/statusbar.ts +164 -90
- package/src/surfaces/style-panel.json +1643 -0
- package/src/surfaces/style-panel.ts +338 -0
- package/src/surfaces/stylebook-chrome.json +122 -0
- package/src/surfaces/stylebook-chrome.ts +122 -0
- package/src/surfaces/tab-strip.json +448 -0
- package/src/surfaces/tab-strip.ts +200 -0
- package/src/surfaces/target-line.json +419 -0
- package/src/surfaces/target-line.ts +349 -0
- package/src/surfaces/toasts.json +189 -0
- package/src/surfaces/welcome.json +571 -0
- package/src/surfaces/welcome.ts +338 -0
- package/src/tabs/project-config.ts +111 -21
- package/src/tabs/tab.ts +52 -1
- package/src/types.ts +22 -0
- package/src/ui/ai-credentials-form.ts +104 -100
- package/src/ui/ai-managed-connect.ts +54 -36
- package/src/ui/ai-model-picker.ts +75 -47
- package/src/ui/cf-account-picker.ts +76 -141
- package/src/ui/color-selector.ts +80 -301
- package/src/ui/dynamic-slot.ts +43 -283
- package/src/ui/expression-editor.ts +797 -576
- package/src/ui/field-input.ts +8 -181
- package/src/ui/form-controls.ts +838 -366
- package/src/ui/formula-chips.ts +80 -85
- package/src/ui/kit.ts +33 -0
- package/src/ui/layers.ts +296 -593
- package/src/ui/media-picker.ts +203 -284
- package/src/ui/panel-resize.ts +251 -64
- package/src/ui/popover-surface.ts +153 -0
- package/src/ui/progress-modal.ts +22 -60
- package/src/ui/regions.ts +13 -7
- package/src/ui/schema-form.ts +906 -440
- package/src/ui/surface.ts +122 -0
- package/src/ui/unit-selector.ts +15 -131
- package/src/ui/value-source.ts +14 -0
- package/src/ui/virtual-window.ts +88 -9
- package/src/utils/canvas-media.ts +72 -0
- package/src/utils/edit-display.ts +7 -2
- package/src/utils/element-selectors.ts +69 -0
- package/src/utils/link-target.ts +2 -2
- package/src/utils/studio-utils.ts +0 -10
- package/src/view.ts +15 -0
- package/src/workspace/pane-derive.ts +36 -14
- package/src/workspace/workspace.ts +75 -6
- package/styles/canvas.css +72 -467
- package/styles/forced-colors.css +48 -82
- package/styles/forced-colors.json +41 -0
- package/styles/inspector.css +2 -1301
- package/styles/overlays.css +96 -2823
- package/styles/panels.css +6 -1423
- package/styles/shell-frame.css +272 -0
- package/styles/shell-frame.json +227 -0
- package/styles/shell.css +0 -1568
- package/styles/tokens.css +65 -136
- package/styles/tokens.json +84 -0
- package/dist/chunks/Overlay.dev-etqjwyf9.js +0 -23
- package/dist/chunks/adapter-jkcyhgtr.js +0 -14
- package/dist/chunks/cf-account-picker-en86v7x7.js +0 -163
- package/dist/chunks/cf-settings-45fgyx8y.js +0 -21
- package/dist/chunks/components-zmx10t62.js +0 -21
- package/dist/chunks/content-source-48xg86wj.js +0 -49
- package/dist/chunks/convert-to-repeater-43tfn7cs.js +0 -268
- package/dist/chunks/editor-cptq5jp1.js +0 -37
- package/dist/chunks/entry-commands-e63f1xc0.js +0 -46
- package/dist/chunks/extension-sections-txv08xxg.js +0 -311
- package/dist/chunks/file-ops-wbh4hhsx.js +0 -48
- package/dist/chunks/files-3kfkwhk4.js +0 -93
- package/dist/chunks/flow-qbfgrpeh.js +0 -634
- package/dist/chunks/focus-trap.esm-9t2drp0g.js +0 -1025
- package/dist/chunks/focus-visible-6eg70z18.js +0 -167
- package/dist/chunks/format-host-w16q81tf.js +0 -43
- package/dist/chunks/fs-events-hrrg328g.js +0 -21
- package/dist/chunks/git-panel-532whr1y.js +0 -59
- package/dist/chunks/index-zqxmqxmh.js +0 -109
- package/dist/chunks/jx-validate-8er6gbxy.js +0 -19
- package/dist/chunks/layers-panel-07hm7g5j.js +0 -67
- package/dist/chunks/layers-q75tj2mf.js +0 -45
- package/dist/chunks/lit-html-j055mkh8.js +0 -22
- package/dist/chunks/monaco-buffer-dqw0xxpx.js +0 -25
- package/dist/chunks/notify-yjm79n4s.js +0 -30
- package/dist/chunks/parse-24d0gay3.js +0 -19
- package/dist/chunks/platform-ba1j1gbh.js +0 -16
- package/dist/chunks/publish-panel-v9st96ja.js +0 -29
- package/dist/chunks/quick-search-zccjp6gv.js +0 -66
- package/dist/chunks/references-3qx8fkyp.js +0 -29
- package/dist/chunks/right-panel-vm3b6kwy.js +0 -46
- package/dist/chunks/section-registry-sx1ykvkw.js +0 -30
- package/dist/chunks/sp-overlay.dev-qgvhnxf4.js +0 -18
- package/dist/chunks/sp-popover.dev-n2etmqdp.js +0 -9
- package/dist/chunks/sp-progress-circle.dev-hryhj0es.js +0 -15
- package/dist/chunks/sp-tooltip.dev-4sastdnw.js +0 -15
- package/dist/chunks/sp-tray.dev-tkbscm06.js +0 -199
- package/dist/chunks/studio-0a5qrh01.js +0 -3
- package/dist/chunks/studio-0bq6eh7v.js +0 -12
- package/dist/chunks/studio-18j3bmcz.js +0 -14
- package/dist/chunks/studio-1ngbejft.js +0 -181
- package/dist/chunks/studio-4b5z1x43.js +0 -424
- package/dist/chunks/studio-4n2b5gzb.js +0 -357
- package/dist/chunks/studio-4rzyrtjz.js +0 -426
- package/dist/chunks/studio-5fx3g9jg.js +0 -4325
- package/dist/chunks/studio-5myknm0a.js +0 -1903
- package/dist/chunks/studio-7afd21nw.js +0 -67
- package/dist/chunks/studio-7nte2hj4.js +0 -613
- package/dist/chunks/studio-8jpzqk5s.js +0 -128
- package/dist/chunks/studio-8q517dfr.js +0 -24
- package/dist/chunks/studio-950k0dx6.js +0 -6939
- package/dist/chunks/studio-9n4mrmnb.js +0 -184
- package/dist/chunks/studio-a0tswy0w.js +0 -58
- package/dist/chunks/studio-ahnzd9rg.js +0 -23
- package/dist/chunks/studio-bgxt93ga.js +0 -62
- package/dist/chunks/studio-cmb03bg5.js +0 -13890
- package/dist/chunks/studio-d1ks410h.js +0 -175
- package/dist/chunks/studio-ef49pnzx.js +0 -387
- package/dist/chunks/studio-eqq1w638.js +0 -113
- package/dist/chunks/studio-ew0djmhg.js +0 -341
- package/dist/chunks/studio-gfgb8pe6.js +0 -1652
- package/dist/chunks/studio-h4rxscfc.js +0 -10
- package/dist/chunks/studio-jc994dnr.js +0 -1066
- package/dist/chunks/studio-kyh9avvv.js +0 -28
- package/dist/chunks/studio-m3hwn7y1.js +0 -120
- package/dist/chunks/studio-mtfnaqs9.js +0 -659
- package/dist/chunks/studio-n6j9t10q.js +0 -318
- package/dist/chunks/studio-n8b9wqwy.js +0 -291
- package/dist/chunks/studio-qcy05dp8.js +0 -1743
- package/dist/chunks/studio-qq6jym04.js +0 -53
- package/dist/chunks/studio-rdx8jcxy.js +0 -83
- package/dist/chunks/studio-rn9ta2mz.js +0 -111
- package/dist/chunks/studio-t7qb9db8.js +0 -665
- package/dist/chunks/studio-tmc5emrw.js +0 -8
- package/dist/chunks/studio-z6nw2ek2.js +0 -18
- package/dist/chunks/studio-zczps70q.js +0 -378
- package/dist/chunks/studio-zqazsct2.js +0 -1823
- package/dist/chunks/workspace-fjx52ryv.js +0 -89
- package/src/panels/activity-bar.ts +0 -251
- package/src/panels/panel-scheduler.ts +0 -219
- package/src/panels/style-inputs.ts +0 -237
- package/src/panels/target-line.ts +0 -274
- package/src/panels/welcome-screen.ts +0 -346
- package/src/ui/button-group.ts +0 -102
- package/src/ui/choice-field.ts +0 -72
- package/src/ui/field-row.ts +0 -249
- package/src/ui/formula-palette.ts +0 -213
- package/src/ui/icons.ts +0 -52
- package/src/ui/jx-theme.ts +0 -130
- package/src/ui/spectrum.ts +0 -340
- package/src/ui/value-selector.ts +0 -174
- package/src/ui/widgets.ts +0 -172
- /package/dist/chunks/{javascript-s56a8dpk.css → javascript-4abzjcy9.css} +0 -0
- /package/dist/chunks/{jsonMode-zr9sw0c7.css → jsonMode-vvmpmk34.css} +0 -0
- /package/dist/chunks/{monaco-setup-pav68602.css → monaco-setup-8vbyqnhr.css} +0 -0
- /package/dist/chunks/{tsMode-ef187txx.css → tsMode-hnxxb73h.css} +0 -0
package/styles/overlays.css
CHANGED
|
@@ -11,2310 +11,138 @@
|
|
|
11
11
|
stylebook (and its feature toggle); inline editing; the welcome screen;
|
|
12
12
|
and the Tabulator grid editor theme. */
|
|
13
13
|
|
|
14
|
-
/*
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
five by scripts/check-chrome-budget.ts — so the two-stage responsive
|
|
18
|
-
collapse the old toolbar needed is down to one stage. */
|
|
19
|
-
.tb-spacer {
|
|
20
|
-
flex: 1;
|
|
21
|
-
}
|
|
14
|
+
/* Fixed, like size and modified: a language name is short and never earns width from Name. Without
|
|
15
|
+
this it inherits `flex: 1` above and the Name column loses a quarter of itself in every
|
|
16
|
+
multilingual project. */
|
|
22
17
|
|
|
23
|
-
/* ───
|
|
24
|
-
|
|
25
|
-
clickable (it opens the mode picker); each segment stops propagation
|
|
26
|
-
and opens the palette pre-scoped to what that segment addresses. */
|
|
27
|
-
.tb-center {
|
|
28
|
-
display: flex;
|
|
29
|
-
align-items: center;
|
|
30
|
-
gap: 4px;
|
|
31
|
-
flex: 0 1 520px;
|
|
32
|
-
min-width: 0;
|
|
33
|
-
padding: 0 8px;
|
|
34
|
-
height: 24px;
|
|
35
|
-
cursor: pointer;
|
|
36
|
-
border: 1px solid var(--spectrum-gray-300, #393939);
|
|
37
|
-
border-radius: var(--radius);
|
|
38
|
-
background: var(--spectrum-gray-75, #141414);
|
|
39
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
40
|
-
}
|
|
41
|
-
.tb-center:hover {
|
|
42
|
-
border-color: var(--spectrum-gray-400, #4a4a4a);
|
|
43
|
-
}
|
|
44
|
-
.tb-center-mark {
|
|
45
|
-
color: var(--accent);
|
|
46
|
-
flex-shrink: 0;
|
|
47
|
-
}
|
|
48
|
-
.tb-center-sep {
|
|
49
|
-
color: var(--spectrum-gray-600, #666);
|
|
50
|
-
flex-shrink: 0;
|
|
51
|
-
}
|
|
52
|
-
.tb-center-seg {
|
|
53
|
-
appearance: none;
|
|
54
|
-
border: none;
|
|
55
|
-
background: none;
|
|
56
|
-
padding: 2px 4px;
|
|
57
|
-
border-radius: var(--radius);
|
|
58
|
-
color: var(--spectrum-gray-800, #ccc);
|
|
59
|
-
font: inherit;
|
|
60
|
-
cursor: pointer;
|
|
61
|
-
max-width: 220px;
|
|
62
|
-
overflow: hidden;
|
|
63
|
-
text-overflow: ellipsis;
|
|
64
|
-
white-space: nowrap;
|
|
65
|
-
}
|
|
66
|
-
.tb-center-seg:hover {
|
|
67
|
-
background: var(--spectrum-gray-200, #2a2a2a);
|
|
68
|
-
color: var(--spectrum-gray-900, #e0e0e0);
|
|
69
|
-
}
|
|
70
|
-
.tb-center-seg:focus-visible {
|
|
71
|
-
outline: 2px solid var(--accent);
|
|
72
|
-
outline-offset: -2px;
|
|
73
|
-
}
|
|
74
|
-
.tb-center-chord {
|
|
75
|
-
margin-left: auto;
|
|
76
|
-
padding-left: 8px;
|
|
77
|
-
font-family: inherit;
|
|
78
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
79
|
-
color: var(--spectrum-gray-600, #666);
|
|
80
|
-
flex-shrink: 0;
|
|
81
|
-
}
|
|
82
|
-
/* ─── Responsive Command Bar collapse ──────────────
|
|
83
|
-
Below this width every verb drops its text label and reads as an icon
|
|
84
|
-
(the `title` attribute, built by `commandTooltip`, carries the full
|
|
85
|
-
name and the chord). The pill keeps its labels: it is the answer to
|
|
86
|
-
"where am I", which is the one thing §4.4 requires never to collapse. */
|
|
87
|
-
@container toolbar (max-width: 1140px) {
|
|
88
|
-
#toolbar .tb-label {
|
|
89
|
-
display: none;
|
|
90
|
-
}
|
|
91
|
-
/* Collapse the icon-to-(now hidden)-label gap so buttons read as icons. */
|
|
92
|
-
#toolbar sp-action-button {
|
|
93
|
-
gap: 0;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
.quick-search-overlay {
|
|
18
|
+
/* ─── Settings Modal ─── */
|
|
19
|
+
.settings-modal {
|
|
97
20
|
position: fixed;
|
|
98
|
-
inset:
|
|
21
|
+
inset: 40px;
|
|
99
22
|
z-index: 1000;
|
|
100
23
|
display: flex;
|
|
101
|
-
justify-content: center;
|
|
102
|
-
padding-top: 60px;
|
|
103
|
-
background: rgba(0, 0, 0, 0.4);
|
|
104
|
-
}
|
|
105
|
-
.quick-search-panel {
|
|
106
|
-
width: 560px;
|
|
107
|
-
max-height: 420px;
|
|
108
|
-
display: flex;
|
|
109
24
|
flex-direction: column;
|
|
110
|
-
background: var(--
|
|
111
|
-
border: 1px solid var(--
|
|
112
|
-
border-radius:
|
|
113
|
-
box-shadow: 0
|
|
25
|
+
background: var(--bg-panel);
|
|
26
|
+
border: 1px solid var(--border);
|
|
27
|
+
border-radius: 8px;
|
|
28
|
+
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
|
|
114
29
|
overflow: hidden;
|
|
115
|
-
align-self: flex-start;
|
|
116
|
-
}
|
|
117
|
-
/* The mode chip sits INSIDE the input row, left of the caret, so Backspace
|
|
118
|
-
at position zero deletes it — see `chipTemplate` / `onKeydown`. */
|
|
119
|
-
.palette-input-row {
|
|
120
|
-
display: flex;
|
|
121
|
-
align-items: center;
|
|
122
|
-
gap: 8px;
|
|
123
|
-
padding-left: 12px;
|
|
124
|
-
background: var(--spectrum-gray-75, #141414);
|
|
125
|
-
border-bottom: 1px solid var(--spectrum-gray-300, #393939);
|
|
126
|
-
}
|
|
127
|
-
.palette-chip {
|
|
128
|
-
display: inline-flex;
|
|
129
|
-
align-items: center;
|
|
130
|
-
gap: 4px;
|
|
131
|
-
flex-shrink: 0;
|
|
132
|
-
padding: 2px 4px 2px 8px;
|
|
133
|
-
border-radius: var(--radius);
|
|
134
|
-
background: var(--spectrum-blue-700, #0054a3);
|
|
135
|
-
color: var(--spectrum-white, #fff);
|
|
136
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
137
|
-
}
|
|
138
|
-
.palette-chip-remove {
|
|
139
|
-
appearance: none;
|
|
140
|
-
border: none;
|
|
141
|
-
background: none;
|
|
142
|
-
color: inherit;
|
|
143
|
-
cursor: pointer;
|
|
144
|
-
font: inherit;
|
|
145
|
-
line-height: 1;
|
|
146
|
-
padding: 0 2px;
|
|
147
|
-
opacity: 0.7;
|
|
148
|
-
}
|
|
149
|
-
.palette-chip-remove:hover {
|
|
150
|
-
opacity: 1;
|
|
151
|
-
}
|
|
152
|
-
.palette-chord {
|
|
153
|
-
margin-left: auto;
|
|
154
|
-
flex-shrink: 0;
|
|
155
|
-
font-family: inherit;
|
|
156
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
157
|
-
color: var(--spectrum-gray-600, #666);
|
|
158
|
-
border: 1px solid var(--spectrum-gray-300, #393939);
|
|
159
|
-
border-radius: var(--radius);
|
|
160
|
-
padding: 0 5px;
|
|
161
|
-
}
|
|
162
|
-
/* Every row prints its binding, and the footer prints the palette's own
|
|
163
|
-
namespace — that is how the surface teaches the keyboard it replaced. */
|
|
164
|
-
.palette-hint {
|
|
165
|
-
padding: 6px 16px;
|
|
166
|
-
border-top: 1px solid var(--spectrum-gray-300, #393939);
|
|
167
|
-
color: var(--spectrum-gray-600, #666);
|
|
168
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
169
|
-
}
|
|
170
|
-
.palette-hint kbd {
|
|
171
|
-
font-family: inherit;
|
|
172
|
-
color: var(--spectrum-gray-700, #999);
|
|
173
|
-
}
|
|
174
|
-
.quick-search-input {
|
|
175
|
-
flex: 1;
|
|
176
|
-
min-width: 0;
|
|
177
|
-
padding: 12px 16px 12px 4px;
|
|
178
|
-
font-size: var(--spectrum-font-size-100, 14px);
|
|
179
|
-
border: none;
|
|
180
|
-
/* Pointer focus only — the keyboard ring is restored below. */
|
|
181
|
-
outline: none;
|
|
182
|
-
background: none;
|
|
183
|
-
color: var(--spectrum-gray-900, #e0e0e0);
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.quick-search-input:focus-visible {
|
|
187
|
-
outline: 2px solid var(--accent);
|
|
188
|
-
outline-offset: -2px;
|
|
189
|
-
}
|
|
190
|
-
.quick-search-results {
|
|
191
|
-
overflow-y: auto;
|
|
192
|
-
flex: 1;
|
|
193
30
|
}
|
|
194
|
-
.
|
|
31
|
+
.settings-modal-header {
|
|
195
32
|
display: flex;
|
|
196
33
|
align-items: center;
|
|
197
|
-
|
|
198
|
-
padding:
|
|
199
|
-
|
|
200
|
-
font-size: 13px;
|
|
201
|
-
color: var(--spectrum-gray-800, #ccc);
|
|
202
|
-
}
|
|
203
|
-
.quick-search-item.selected {
|
|
204
|
-
background: var(--spectrum-blue-700, #0054a3);
|
|
205
|
-
color: var(--spectrum-white, #fff);
|
|
206
|
-
}
|
|
207
|
-
.quick-search-item:hover:not(.selected) {
|
|
208
|
-
background: var(--spectrum-gray-200, #2a2a2a);
|
|
209
|
-
}
|
|
210
|
-
/* An unavailable command is GREYED, never hidden (§2 principle 4): the row
|
|
211
|
-
stays, its `requires` sentence becomes the subtitle, and Enter is inert. */
|
|
212
|
-
.quick-search-item.disabled .quick-search-name,
|
|
213
|
-
.quick-search-item.disabled .quick-search-icon {
|
|
214
|
-
opacity: 0.45;
|
|
215
|
-
}
|
|
216
|
-
.quick-search-item.disabled {
|
|
217
|
-
cursor: default;
|
|
218
|
-
}
|
|
219
|
-
.quick-search-icon {
|
|
220
|
-
flex-shrink: 0;
|
|
221
|
-
opacity: 0.7;
|
|
222
|
-
}
|
|
223
|
-
.quick-search-name {
|
|
224
|
-
font-weight: 500;
|
|
225
|
-
white-space: nowrap;
|
|
226
|
-
}
|
|
227
|
-
.quick-search-path {
|
|
228
|
-
opacity: 0.5;
|
|
229
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
230
|
-
white-space: nowrap;
|
|
231
|
-
overflow: hidden;
|
|
232
|
-
text-overflow: ellipsis;
|
|
233
|
-
}
|
|
234
|
-
.quick-search-badge {
|
|
235
|
-
margin-left: auto;
|
|
236
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
237
|
-
padding: 1px 6px;
|
|
238
|
-
border-radius: var(--radius);
|
|
239
|
-
background: var(--spectrum-gray-300, #393939);
|
|
240
|
-
color: var(--spectrum-gray-700, #999);
|
|
34
|
+
justify-content: space-between;
|
|
35
|
+
padding: 12px 16px;
|
|
36
|
+
border-bottom: 1px solid var(--border);
|
|
241
37
|
}
|
|
242
|
-
.
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
38
|
+
.settings-modal-title {
|
|
39
|
+
margin: 0;
|
|
40
|
+
font-size: var(--jx-text-lg, 14px);
|
|
41
|
+
font-weight: 600;
|
|
42
|
+
color: var(--fg);
|
|
247
43
|
}
|
|
248
|
-
.
|
|
249
|
-
|
|
250
|
-
font-size:
|
|
251
|
-
|
|
252
|
-
color: var(--
|
|
253
|
-
letter-spacing: 0.5px;
|
|
44
|
+
.settings-section-title {
|
|
45
|
+
margin: 0 0 16px;
|
|
46
|
+
font-size: 16px;
|
|
47
|
+
font-weight: 600;
|
|
48
|
+
color: var(--fg);
|
|
254
49
|
}
|
|
255
|
-
|
|
256
|
-
/* ─── Library ────────────────────────────────────
|
|
257
|
-
The Library is a PANE surface, not an overlay — the Manage modal it replaces is gone. It keeps
|
|
258
|
-
its rules here beside the grid's for one reason: both are non-iframe editors drawn into a
|
|
259
|
-
pane's stage, and splitting them across two sheets is how the two drifted apart before. */
|
|
260
|
-
.library {
|
|
50
|
+
.settings-list-panel {
|
|
261
51
|
display: flex;
|
|
262
52
|
flex-direction: column;
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
.library-toolbar {
|
|
268
|
-
display: flex;
|
|
269
|
-
align-items: center;
|
|
270
|
-
gap: 12px;
|
|
271
|
-
padding: 8px 16px;
|
|
53
|
+
gap: 4px;
|
|
54
|
+
padding: 12px;
|
|
55
|
+
width: 200px;
|
|
56
|
+
min-width: 200px;
|
|
272
57
|
background: var(--bg-panel);
|
|
273
|
-
|
|
274
|
-
flex-shrink: 0;
|
|
275
|
-
flex-wrap: wrap;
|
|
276
|
-
}
|
|
277
|
-
.library-toolbar sp-search {
|
|
278
|
-
width: 220px;
|
|
279
|
-
}
|
|
280
|
-
/* Narrow on purpose: it holds one language name, and the toolbar wraps before it grows. */
|
|
281
|
-
.library-locale-filter {
|
|
282
|
-
width: 160px;
|
|
283
|
-
}
|
|
284
|
-
.library-upload-input {
|
|
285
|
-
display: none;
|
|
286
|
-
}
|
|
287
|
-
.library-spacer {
|
|
288
|
-
flex: 1;
|
|
289
|
-
}
|
|
290
|
-
.library-layout-switch {
|
|
291
|
-
margin-left: auto;
|
|
292
|
-
}
|
|
293
|
-
.library-banner {
|
|
294
|
-
display: flex;
|
|
295
|
-
align-items: center;
|
|
296
|
-
justify-content: space-between;
|
|
297
|
-
gap: 12px;
|
|
298
|
-
padding: 8px 16px;
|
|
299
|
-
background: var(--spectrum-orange-100, #3a2a10);
|
|
300
|
-
border-bottom: 1px solid var(--border);
|
|
301
|
-
color: var(--fg);
|
|
302
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
58
|
+
overflow-y: auto;
|
|
303
59
|
}
|
|
304
|
-
.
|
|
60
|
+
.settings-editor-panel {
|
|
305
61
|
flex: 1;
|
|
306
|
-
|
|
62
|
+
padding: 16px;
|
|
63
|
+
background: var(--bg-panel);
|
|
307
64
|
overflow-y: auto;
|
|
308
|
-
position: relative;
|
|
309
65
|
}
|
|
310
|
-
.
|
|
311
|
-
outline: 2px dashed var(--spectrum-blue-600, #0070c1);
|
|
312
|
-
outline-offset: -4px;
|
|
313
|
-
}
|
|
314
|
-
.library-empty {
|
|
315
|
-
padding: 48px 24px;
|
|
316
|
-
text-align: center;
|
|
317
|
-
color: var(--fg-dim);
|
|
66
|
+
.settings-editor-header {
|
|
318
67
|
display: flex;
|
|
319
|
-
flex-direction: column;
|
|
320
68
|
align-items: center;
|
|
321
|
-
gap: 8px;
|
|
322
|
-
}
|
|
323
|
-
.library-empty-detail {
|
|
324
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
325
|
-
color: var(--fg-dim);
|
|
326
|
-
}
|
|
327
|
-
.library-truncated {
|
|
328
|
-
margin: 8px 0 0;
|
|
329
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
330
|
-
color: var(--fg-dim);
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
/* Cards and Media — the two windowed grids. The item sizes here are the ones
|
|
334
|
-
`library-layouts.ts`'s LAYOUT_METRICS counts rows in; change one and change both. */
|
|
335
|
-
.library-grid {
|
|
336
|
-
display: grid;
|
|
337
69
|
gap: 12px;
|
|
338
|
-
|
|
339
|
-
align-items: start;
|
|
340
|
-
}
|
|
341
|
-
.library-grid-cards {
|
|
342
|
-
grid-template-columns: repeat(auto-fill, minmax(188px, 1fr));
|
|
343
|
-
}
|
|
344
|
-
.library-grid-media {
|
|
345
|
-
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
|
|
346
|
-
}
|
|
347
|
-
.library-card,
|
|
348
|
-
.library-tile {
|
|
349
|
-
cursor: pointer;
|
|
350
|
-
overflow: hidden;
|
|
351
|
-
border: 1px solid var(--border);
|
|
352
|
-
border-radius: var(--radius);
|
|
353
|
-
background: var(--bg-panel);
|
|
70
|
+
margin-bottom: 16px;
|
|
354
71
|
}
|
|
355
|
-
.
|
|
356
|
-
|
|
357
|
-
|
|
72
|
+
.settings-editor-header h3 {
|
|
73
|
+
margin: 0;
|
|
74
|
+
font-size: var(--jx-text-lg, 14px);
|
|
75
|
+
font-weight: 600;
|
|
358
76
|
}
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
77
|
+
|
|
78
|
+
/* ─── Media picker ─────────────────────────────── */
|
|
79
|
+
.media-picker {
|
|
362
80
|
display: flex;
|
|
363
81
|
align-items: center;
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
background: var(--spectrum-gray-100, #222);
|
|
367
|
-
pointer-events: none;
|
|
82
|
+
gap: 4px;
|
|
83
|
+
flex: 1;
|
|
368
84
|
}
|
|
369
|
-
.
|
|
85
|
+
/* .media-picker-popover is no longer used — inlined in media-picker.ts */
|
|
86
|
+
|
|
87
|
+
/* ─── Source view ────────────────────────────── */
|
|
88
|
+
#source-view {
|
|
370
89
|
width: 100%;
|
|
371
90
|
height: 100%;
|
|
372
|
-
|
|
373
|
-
}
|
|
374
|
-
.library-preview-slot > * {
|
|
375
|
-
transform: scale(0.4);
|
|
376
|
-
transform-origin: top left;
|
|
377
|
-
width: 250%;
|
|
378
|
-
height: 250%;
|
|
379
|
-
}
|
|
380
|
-
.library-thumb {
|
|
381
|
-
max-width: 100%;
|
|
382
|
-
max-height: 100%;
|
|
383
|
-
object-fit: contain;
|
|
384
|
-
}
|
|
385
|
-
.library-card-label,
|
|
386
|
-
.library-tile-label {
|
|
387
|
-
padding: 6px 8px 0;
|
|
388
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
91
|
+
background: var(--bg);
|
|
389
92
|
color: var(--fg);
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
.
|
|
395
|
-
|
|
396
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
397
|
-
color: var(--fg-dim);
|
|
93
|
+
font: 11px/1.6 var(--font-mono, monospace);
|
|
94
|
+
border: none;
|
|
95
|
+
padding: 8px;
|
|
96
|
+
resize: none;
|
|
97
|
+
/* Pointer focus only — the keyboard ring is restored below. */
|
|
98
|
+
outline: none;
|
|
398
99
|
}
|
|
399
100
|
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
flex-direction: column;
|
|
404
|
-
padding: 0 16px 16px;
|
|
405
|
-
}
|
|
406
|
-
.library-table-head,
|
|
407
|
-
.library-table-row {
|
|
408
|
-
display: flex;
|
|
409
|
-
align-items: center;
|
|
410
|
-
gap: 8px;
|
|
411
|
-
height: 32px;
|
|
412
|
-
border-bottom: 1px solid var(--border);
|
|
413
|
-
}
|
|
414
|
-
.library-table-head {
|
|
415
|
-
position: sticky;
|
|
416
|
-
top: 0;
|
|
417
|
-
z-index: 1;
|
|
418
|
-
background: var(--bg-panel);
|
|
419
|
-
font-weight: 600;
|
|
420
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
421
|
-
}
|
|
422
|
-
.library-table-row {
|
|
423
|
-
cursor: pointer;
|
|
424
|
-
}
|
|
425
|
-
.library-table-row:hover {
|
|
426
|
-
background: var(--spectrum-gray-200, #333);
|
|
427
|
-
}
|
|
428
|
-
.library-table-cell {
|
|
429
|
-
flex: 1;
|
|
430
|
-
min-width: 0;
|
|
431
|
-
overflow: hidden;
|
|
432
|
-
text-overflow: ellipsis;
|
|
433
|
-
white-space: nowrap;
|
|
434
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
435
|
-
}
|
|
436
|
-
.library-table-cell[data-field="name"] {
|
|
437
|
-
flex: 3;
|
|
438
|
-
font-weight: 500;
|
|
439
|
-
}
|
|
440
|
-
.library-table-cell[data-field="path"] {
|
|
441
|
-
flex: 3;
|
|
442
|
-
color: var(--fg-dim);
|
|
443
|
-
font-family: var(--font-mono);
|
|
444
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
445
|
-
}
|
|
446
|
-
.library-table-cell[data-field="size"],
|
|
447
|
-
.library-table-cell[data-field="modified"] {
|
|
448
|
-
flex: 0 0 96px;
|
|
449
|
-
}
|
|
450
|
-
/* Fixed, like size and modified: a language name is short and never earns width from Name. Without
|
|
451
|
-
this it inherits `flex: 1` above and the Name column loses a quarter of itself in every
|
|
452
|
-
multilingual project. */
|
|
453
|
-
.library-table-cell[data-field="locale"] {
|
|
454
|
-
flex: 0 0 90px;
|
|
455
|
-
color: var(--fg-dim);
|
|
101
|
+
#source-view:focus-visible {
|
|
102
|
+
outline: 2px solid var(--accent);
|
|
103
|
+
outline-offset: -2px;
|
|
456
104
|
}
|
|
457
105
|
|
|
458
|
-
/*
|
|
459
|
-
.
|
|
460
|
-
padding:
|
|
461
|
-
|
|
462
|
-
.library-day {
|
|
463
|
-
margin-bottom: 16px;
|
|
464
|
-
}
|
|
465
|
-
.library-day-date {
|
|
466
|
-
margin: 0 0 4px;
|
|
467
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
468
|
-
font-weight: 600;
|
|
469
|
-
color: var(--fg);
|
|
470
|
-
}
|
|
471
|
-
.library-day-undated .library-day-date {
|
|
472
|
-
color: var(--fg-dim);
|
|
473
|
-
}
|
|
474
|
-
.library-day-note {
|
|
475
|
-
margin: 0 0 4px;
|
|
476
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
106
|
+
/* ─── Empty state ────────────────────────────── */
|
|
107
|
+
.empty-state {
|
|
108
|
+
padding: 24px;
|
|
109
|
+
text-align: center;
|
|
477
110
|
color: var(--fg-dim);
|
|
111
|
+
font-size: 13px;
|
|
478
112
|
}
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
align-items: flex-start;
|
|
484
|
-
overflow-x: auto;
|
|
113
|
+
|
|
114
|
+
/* Section layout in canvas */
|
|
115
|
+
.sb-section {
|
|
116
|
+
margin-bottom: 24px;
|
|
485
117
|
}
|
|
486
|
-
.
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
118
|
+
.sb-label {
|
|
119
|
+
font-size: 10px;
|
|
120
|
+
font-weight: 700;
|
|
121
|
+
text-transform: uppercase;
|
|
122
|
+
letter-spacing: 0.08em;
|
|
123
|
+
color: var(--canvas-muted);
|
|
124
|
+
padding: 8px 0 4px;
|
|
125
|
+
border-bottom: 1px solid var(--canvas-rule);
|
|
126
|
+
margin-bottom: 8px;
|
|
492
127
|
}
|
|
493
|
-
.
|
|
494
|
-
|
|
495
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
496
|
-
font-weight: 600;
|
|
128
|
+
.sb-body {
|
|
129
|
+
padding: 4px 0;
|
|
497
130
|
display: flex;
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
.library-board-count {
|
|
501
|
-
color: var(--fg-dim);
|
|
502
|
-
font-weight: 400;
|
|
503
|
-
}
|
|
504
|
-
.library-list {
|
|
505
|
-
list-style: none;
|
|
506
|
-
margin: 0;
|
|
507
|
-
padding: 0;
|
|
508
|
-
}
|
|
509
|
-
.library-list-item {
|
|
510
|
-
padding: 3px 4px;
|
|
511
|
-
border-radius: var(--radius);
|
|
512
|
-
cursor: pointer;
|
|
513
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
514
|
-
white-space: nowrap;
|
|
515
|
-
overflow: hidden;
|
|
516
|
-
text-overflow: ellipsis;
|
|
517
|
-
}
|
|
518
|
-
.library-list-item:hover {
|
|
519
|
-
background: var(--spectrum-gray-200, #333);
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
/* ─── Settings Modal ─── */
|
|
523
|
-
.settings-modal {
|
|
524
|
-
position: fixed;
|
|
525
|
-
inset: 40px;
|
|
526
|
-
z-index: 1000;
|
|
527
|
-
display: flex;
|
|
528
|
-
flex-direction: column;
|
|
529
|
-
background: var(--bg-panel);
|
|
530
|
-
border: 1px solid var(--border);
|
|
531
|
-
border-radius: var(--spectrum-corner-radius-200, 8px);
|
|
532
|
-
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
|
|
533
|
-
overflow: hidden;
|
|
534
|
-
}
|
|
535
|
-
.about-modal {
|
|
536
|
-
position: fixed;
|
|
537
|
-
top: 50%;
|
|
538
|
-
left: 50%;
|
|
539
|
-
transform: translate(-50%, -50%);
|
|
540
|
-
width: min(440px, calc(100vw - 48px));
|
|
541
|
-
max-height: calc(100vh - 80px);
|
|
542
|
-
z-index: 1000;
|
|
543
|
-
display: flex;
|
|
544
|
-
flex-direction: column;
|
|
545
|
-
background: var(--bg-panel);
|
|
546
|
-
border: 1px solid var(--border);
|
|
547
|
-
border-radius: var(--spectrum-corner-radius-200, 8px);
|
|
548
|
-
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
|
|
549
|
-
overflow: hidden;
|
|
550
|
-
}
|
|
551
|
-
.about-modal-body {
|
|
552
|
-
flex: 1;
|
|
553
|
-
overflow-y: auto;
|
|
554
|
-
padding: 20px;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
/* ─── Search appearance ───────────────────────────────────────────────────────
|
|
558
|
-
Wider than .about-modal because the two preview cards are side by side, and a SERP snippet
|
|
559
|
-
narrower than a SERP snippet is not a preview of anything. Below ~700px they wrap (the .seo-card
|
|
560
|
-
flex-basis in panels.css does that) and the modal is simply a tall column. */
|
|
561
|
-
.seo-modal {
|
|
562
|
-
position: fixed;
|
|
563
|
-
top: 50%;
|
|
564
|
-
left: 50%;
|
|
565
|
-
transform: translate(-50%, -50%);
|
|
566
|
-
width: min(720px, calc(100vw - 48px));
|
|
567
|
-
max-height: calc(100vh - 80px);
|
|
568
|
-
z-index: 1000;
|
|
569
|
-
display: flex;
|
|
570
|
-
flex-direction: column;
|
|
571
|
-
background: var(--bg-panel);
|
|
572
|
-
border: 1px solid var(--border);
|
|
573
|
-
border-radius: var(--spectrum-corner-radius-200, 8px);
|
|
574
|
-
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
|
|
575
|
-
overflow: hidden;
|
|
576
|
-
}
|
|
577
|
-
/* Which document this is about. Between the title and the close button, and it truncates rather
|
|
578
|
-
than pushing the button off — a long path must not cost you the way out. */
|
|
579
|
-
.seo-modal-doc {
|
|
580
|
-
flex: 1;
|
|
581
|
-
min-width: 0;
|
|
582
|
-
margin-left: 10px;
|
|
583
|
-
overflow: hidden;
|
|
584
|
-
text-overflow: ellipsis;
|
|
585
|
-
white-space: nowrap;
|
|
586
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
587
|
-
color: var(--fg-dim);
|
|
588
|
-
direction: rtl;
|
|
589
|
-
text-align: left;
|
|
590
|
-
}
|
|
591
|
-
.seo-modal-body {
|
|
592
|
-
flex: 1;
|
|
593
|
-
overflow-y: auto;
|
|
594
|
-
padding: 12px 16px 16px;
|
|
595
|
-
}
|
|
596
|
-
/* The form, split by the card each half feeds — Open Graph has its own Title/Description/Image. */
|
|
597
|
-
.seo-modal-group {
|
|
598
|
-
margin-top: 14px;
|
|
599
|
-
padding-top: 10px;
|
|
600
|
-
border-top: 1px solid var(--border);
|
|
601
|
-
}
|
|
602
|
-
.seo-modal-group-title {
|
|
603
|
-
margin: 0 0 2px;
|
|
604
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
605
|
-
font-weight: 600;
|
|
606
|
-
text-transform: uppercase;
|
|
607
|
-
letter-spacing: 0.06em;
|
|
608
|
-
color: var(--fg-dim);
|
|
609
|
-
}
|
|
610
|
-
.seo-modal-group-note {
|
|
611
|
-
margin: 0 0 8px;
|
|
612
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
613
|
-
color: var(--fg-dim);
|
|
614
|
-
}
|
|
615
|
-
/* The previews sit at the top of a scroll container, so they need no top padding of their own. */
|
|
616
|
-
.seo-modal-body .seo-previews {
|
|
617
|
-
padding-top: 0;
|
|
618
|
-
}
|
|
619
|
-
.about-meta {
|
|
620
|
-
margin: 0 0 16px;
|
|
621
|
-
display: flex;
|
|
622
|
-
flex-direction: column;
|
|
623
|
-
gap: 6px;
|
|
624
|
-
}
|
|
625
|
-
.about-meta-row {
|
|
626
|
-
display: flex;
|
|
627
|
-
gap: 12px;
|
|
628
|
-
font-size: 13px;
|
|
629
|
-
}
|
|
630
|
-
.about-meta-label {
|
|
631
|
-
width: 96px;
|
|
632
|
-
min-width: 96px;
|
|
633
|
-
margin: 0;
|
|
634
|
-
color: var(--fg-dim);
|
|
635
|
-
}
|
|
636
|
-
.about-meta-value {
|
|
637
|
-
margin: 0;
|
|
638
|
-
color: var(--fg);
|
|
639
|
-
word-break: break-word;
|
|
640
|
-
}
|
|
641
|
-
.about-links {
|
|
642
|
-
display: flex;
|
|
643
|
-
gap: 16px;
|
|
644
|
-
padding: 12px 0;
|
|
645
|
-
margin-bottom: 12px;
|
|
646
|
-
border-top: 1px solid var(--border);
|
|
647
|
-
border-bottom: 1px solid var(--border);
|
|
648
|
-
font-size: 13px;
|
|
649
|
-
}
|
|
650
|
-
.about-links a {
|
|
651
|
-
color: var(--spectrum-accent-color-1000, #6aa9ff);
|
|
652
|
-
text-decoration: none;
|
|
653
|
-
}
|
|
654
|
-
.about-links a:hover {
|
|
655
|
-
text-decoration: underline;
|
|
656
|
-
}
|
|
657
|
-
.about-section-title {
|
|
658
|
-
margin: 0 0 8px;
|
|
659
|
-
font-size: 13px;
|
|
660
|
-
font-weight: 600;
|
|
661
|
-
color: var(--fg);
|
|
662
|
-
}
|
|
663
|
-
.about-muted {
|
|
664
|
-
margin: 0;
|
|
665
|
-
font-size: 13px;
|
|
666
|
-
color: var(--fg-dim);
|
|
667
|
-
}
|
|
668
|
-
.about-packages {
|
|
669
|
-
list-style: none;
|
|
670
|
-
margin: 0;
|
|
671
|
-
padding: 0;
|
|
672
|
-
display: flex;
|
|
673
|
-
flex-direction: column;
|
|
674
|
-
gap: 4px;
|
|
675
|
-
}
|
|
676
|
-
.about-package-row {
|
|
677
|
-
display: flex;
|
|
678
|
-
justify-content: space-between;
|
|
679
|
-
gap: 12px;
|
|
680
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
681
|
-
}
|
|
682
|
-
.about-package-name {
|
|
683
|
-
color: var(--fg-dim);
|
|
684
|
-
}
|
|
685
|
-
.about-package-version {
|
|
686
|
-
color: var(--fg);
|
|
687
|
-
font-variant-numeric: tabular-nums;
|
|
688
|
-
}
|
|
689
|
-
.settings-modal-header {
|
|
690
|
-
display: flex;
|
|
691
|
-
align-items: center;
|
|
692
|
-
justify-content: space-between;
|
|
693
|
-
padding: 12px 16px;
|
|
694
|
-
border-bottom: 1px solid var(--border);
|
|
695
|
-
}
|
|
696
|
-
.settings-modal-title {
|
|
697
|
-
margin: 0;
|
|
698
|
-
font-size: var(--spectrum-font-size-100, 14px);
|
|
699
|
-
font-weight: 600;
|
|
700
|
-
color: var(--fg);
|
|
701
|
-
}
|
|
702
|
-
.settings-modal-body {
|
|
703
|
-
display: flex;
|
|
704
|
-
flex: 1;
|
|
705
|
-
min-height: 0;
|
|
706
|
-
}
|
|
707
|
-
.settings-modal-nav {
|
|
708
|
-
width: 180px;
|
|
709
|
-
min-width: 180px;
|
|
710
|
-
padding: 8px 0;
|
|
711
|
-
border-right: 1px solid var(--border);
|
|
712
|
-
overflow-y: auto;
|
|
713
|
-
display: flex;
|
|
714
|
-
flex-direction: column;
|
|
715
|
-
}
|
|
716
|
-
.settings-nav-item {
|
|
717
|
-
display: block;
|
|
718
|
-
width: 100%;
|
|
719
|
-
padding: 8px 16px;
|
|
720
|
-
border: none;
|
|
721
|
-
background: none;
|
|
722
|
-
color: var(--fg-dim);
|
|
723
|
-
font-size: 13px;
|
|
724
|
-
text-align: left;
|
|
725
|
-
cursor: pointer;
|
|
726
|
-
border-radius: 0;
|
|
727
|
-
}
|
|
728
|
-
.settings-nav-item:hover {
|
|
729
|
-
background: var(--spectrum-gray-200, #333);
|
|
730
|
-
color: var(--fg);
|
|
731
|
-
}
|
|
732
|
-
.settings-nav-item.active {
|
|
733
|
-
background: var(--spectrum-gray-300, #444);
|
|
734
|
-
color: var(--fg);
|
|
735
|
-
font-weight: 500;
|
|
736
|
-
}
|
|
737
|
-
.settings-modal-content {
|
|
738
|
-
flex: 1;
|
|
739
|
-
overflow-y: auto;
|
|
740
|
-
padding: 24px;
|
|
741
|
-
}
|
|
742
|
-
.settings-section-title {
|
|
743
|
-
margin: 0 0 16px;
|
|
744
|
-
font-size: 16px;
|
|
745
|
-
font-weight: 600;
|
|
746
|
-
color: var(--fg);
|
|
747
|
-
}
|
|
748
|
-
.settings-field {
|
|
749
|
-
margin-bottom: 20px;
|
|
750
|
-
}
|
|
751
|
-
.settings-field-label {
|
|
752
|
-
display: block;
|
|
753
|
-
font-size: 13px;
|
|
754
|
-
font-weight: 500;
|
|
755
|
-
color: var(--fg);
|
|
756
|
-
margin-bottom: 2px;
|
|
757
|
-
}
|
|
758
|
-
.settings-field-desc {
|
|
759
|
-
margin: 0 0 6px;
|
|
760
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
761
|
-
color: var(--fg-dim);
|
|
762
|
-
}
|
|
763
|
-
/* A write that failed, or a value the field refuses. Rendered under the control it belongs to
|
|
764
|
-
(or under the section title for a whole-file write failure) — settings save on change, so a
|
|
765
|
-
silent rejection would otherwise read as "my edit just vanished". */
|
|
766
|
-
.settings-field-error {
|
|
767
|
-
margin: 6px 0 0;
|
|
768
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
769
|
-
color: var(--danger);
|
|
770
|
-
}
|
|
771
|
-
/* A problem the file already had, said once at section level. Deliberately not `-error`: it did not
|
|
772
|
-
refuse anything and it belongs to no control, so it is a warning about the file rather than a
|
|
773
|
-
rejection of an edit — §16.1's distinction, in the one place a settings section can make it. */
|
|
774
|
-
.settings-section-notice {
|
|
775
|
-
margin: 6px 0 0;
|
|
776
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
777
|
-
color: var(--warning);
|
|
778
|
-
}
|
|
779
|
-
.settings-site-name,
|
|
780
|
-
.settings-site-url {
|
|
781
|
-
width: 100%;
|
|
782
|
-
max-width: 420px;
|
|
783
|
-
}
|
|
784
|
-
.settings-site-description {
|
|
785
|
-
width: 100%;
|
|
786
|
-
max-width: 420px;
|
|
787
|
-
min-height: 64px;
|
|
788
|
-
}
|
|
789
|
-
.settings-field-row {
|
|
790
|
-
display: flex;
|
|
791
|
-
gap: 8px;
|
|
792
|
-
align-items: center;
|
|
793
|
-
margin-bottom: 8px;
|
|
794
|
-
}
|
|
795
|
-
.settings-media-list {
|
|
796
|
-
display: flex;
|
|
797
|
-
flex-direction: column;
|
|
798
|
-
gap: 6px;
|
|
799
|
-
}
|
|
800
|
-
.settings-media-row {
|
|
801
|
-
display: flex;
|
|
802
|
-
gap: 6px;
|
|
803
|
-
align-items: center;
|
|
804
|
-
}
|
|
805
|
-
.settings-media-name-fixed {
|
|
806
|
-
width: 80px;
|
|
807
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
808
|
-
font-weight: 500;
|
|
809
|
-
color: var(--fg-dim);
|
|
810
|
-
padding: 0 8px;
|
|
811
|
-
}
|
|
812
|
-
.settings-media-name {
|
|
813
|
-
width: 80px;
|
|
814
|
-
}
|
|
815
|
-
.settings-media-value {
|
|
816
|
-
flex: 1;
|
|
817
|
-
}
|
|
818
|
-
/* New Project modal */
|
|
819
|
-
.new-project-modal {
|
|
820
|
-
position: fixed;
|
|
821
|
-
top: 50%;
|
|
822
|
-
left: 50%;
|
|
823
|
-
transform: translate(-50%, -50%);
|
|
824
|
-
z-index: 1000;
|
|
825
|
-
display: flex;
|
|
826
|
-
flex-direction: column;
|
|
827
|
-
background: var(--bg-panel);
|
|
828
|
-
border: 1px solid var(--border);
|
|
829
|
-
border-radius: var(--spectrum-corner-radius-200, 8px);
|
|
830
|
-
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
|
|
831
|
-
width: min(720px, calc(100vw - 48px));
|
|
832
|
-
max-height: 80vh;
|
|
833
|
-
}
|
|
834
|
-
.new-project-modal-header {
|
|
835
|
-
display: flex;
|
|
836
|
-
align-items: center;
|
|
837
|
-
justify-content: space-between;
|
|
838
|
-
padding: 12px 16px;
|
|
839
|
-
border-bottom: 1px solid var(--border);
|
|
840
|
-
}
|
|
841
|
-
.new-project-modal-title {
|
|
842
|
-
margin: 0;
|
|
843
|
-
font-size: var(--spectrum-font-size-100, 14px);
|
|
844
|
-
font-weight: 600;
|
|
845
|
-
color: var(--fg);
|
|
846
|
-
}
|
|
847
|
-
.new-project-modal-body {
|
|
848
|
-
padding: 16px;
|
|
849
|
-
overflow-y: auto;
|
|
850
|
-
display: flex;
|
|
851
|
-
flex-direction: column;
|
|
852
|
-
gap: 12px;
|
|
853
|
-
}
|
|
854
|
-
.new-project-modal-footer {
|
|
855
|
-
display: flex;
|
|
856
|
-
justify-content: flex-end;
|
|
857
|
-
gap: 8px;
|
|
858
|
-
padding: 12px 16px;
|
|
859
|
-
border-top: 1px solid var(--border);
|
|
860
|
-
}
|
|
861
|
-
.new-project-field {
|
|
862
|
-
display: flex;
|
|
863
|
-
flex-direction: column;
|
|
864
|
-
gap: 4px;
|
|
865
|
-
}
|
|
866
|
-
.new-project-label {
|
|
867
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
868
|
-
font-weight: 500;
|
|
869
|
-
color: var(--fg-dim);
|
|
870
|
-
}
|
|
871
|
-
/* Explanatory text under a field's control — what the number means, not what the field is
|
|
872
|
-
called. Sits below rather than beside so a long sentence wraps instead of squeezing the input. */
|
|
873
|
-
.new-project-hint {
|
|
874
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
875
|
-
color: var(--fg-dim);
|
|
876
|
-
line-height: 1.4;
|
|
877
|
-
}
|
|
878
|
-
.new-project-error {
|
|
879
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
880
|
-
color: var(--danger);
|
|
881
|
-
padding: 4px 0;
|
|
882
|
-
}
|
|
883
|
-
/* Destination row: the Location field takes the slack, Browse… stays its natural width. */
|
|
884
|
-
.new-project-location-row {
|
|
885
|
-
display: flex;
|
|
886
|
-
align-items: center;
|
|
887
|
-
gap: 8px;
|
|
888
|
-
}
|
|
889
|
-
.new-project-location-row .new-project-location {
|
|
890
|
-
flex: 1;
|
|
891
|
-
min-width: 0;
|
|
892
|
-
}
|
|
893
|
-
/* Live preview of where the project will land — the answer to "where did that go?". */
|
|
894
|
-
.new-project-destination-preview {
|
|
895
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
896
|
-
color: var(--fg-dim);
|
|
897
|
-
padding: 2px 0 4px;
|
|
898
|
-
overflow-wrap: anywhere;
|
|
899
|
-
}
|
|
900
|
-
.new-project-destination-preview code {
|
|
901
|
-
font-family: var(--font-mono, ui-monospace, monospace);
|
|
902
|
-
color: var(--fg);
|
|
903
|
-
}
|
|
904
|
-
/* Backend/global creation errors sit between the scroll body and the footer so they are
|
|
905
|
-
visible regardless of scroll position. */
|
|
906
|
-
.new-project-error--global {
|
|
907
|
-
flex: none;
|
|
908
|
-
padding: 8px 16px;
|
|
909
|
-
border-top: 1px solid var(--border);
|
|
910
|
-
}
|
|
911
|
-
.add-repo-modal .new-project-modal-body {
|
|
912
|
-
display: flex;
|
|
913
|
-
flex-direction: column;
|
|
914
|
-
gap: 8px;
|
|
915
|
-
}
|
|
916
|
-
.add-repo-list {
|
|
917
|
-
display: flex;
|
|
918
|
-
flex-direction: column;
|
|
919
|
-
max-height: 320px;
|
|
920
|
-
overflow-y: auto;
|
|
921
|
-
}
|
|
922
|
-
.add-repo-row {
|
|
923
|
-
display: flex;
|
|
924
|
-
align-items: baseline;
|
|
925
|
-
gap: 8px;
|
|
926
|
-
width: 100%;
|
|
927
|
-
padding: 5px 8px;
|
|
928
|
-
background: none;
|
|
929
|
-
border: none;
|
|
930
|
-
border-radius: var(--radius);
|
|
931
|
-
font: inherit;
|
|
932
|
-
font-size: 13px;
|
|
933
|
-
color: var(--fg);
|
|
934
|
-
cursor: pointer;
|
|
935
|
-
text-align: left;
|
|
936
|
-
}
|
|
937
|
-
.add-repo-row:hover:not([disabled]) {
|
|
938
|
-
background: var(--hover-bg);
|
|
939
|
-
}
|
|
940
|
-
.add-repo-row[disabled] {
|
|
941
|
-
opacity: 0.6;
|
|
942
|
-
cursor: default;
|
|
943
|
-
}
|
|
944
|
-
.add-repo-name {
|
|
945
|
-
color: var(--accent);
|
|
946
|
-
}
|
|
947
|
-
.add-repo-meta {
|
|
948
|
-
display: flex;
|
|
949
|
-
align-items: baseline;
|
|
950
|
-
gap: 6px;
|
|
951
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
952
|
-
color: var(--fg-dim);
|
|
953
|
-
}
|
|
954
|
-
.add-repo-badge {
|
|
955
|
-
padding: 0 5px;
|
|
956
|
-
border: 1px solid var(--border);
|
|
957
|
-
border-radius: 8px;
|
|
958
|
-
}
|
|
959
|
-
.add-repo-busy {
|
|
960
|
-
margin-left: auto;
|
|
961
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
962
|
-
color: var(--fg-dim);
|
|
963
|
-
}
|
|
964
|
-
.add-repo-empty {
|
|
965
|
-
padding: 12px 8px;
|
|
966
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
967
|
-
color: var(--fg-dim);
|
|
968
|
-
}
|
|
969
|
-
.add-repo-install {
|
|
970
|
-
color: var(--accent, #1473e6);
|
|
971
|
-
text-decoration: underline;
|
|
972
|
-
}
|
|
973
|
-
/* Repository-access footer: widen the GitHub App, or reload after doing so. */
|
|
974
|
-
.add-repo-access {
|
|
975
|
-
display: flex;
|
|
976
|
-
flex-wrap: wrap;
|
|
977
|
-
align-items: baseline;
|
|
978
|
-
gap: 6px;
|
|
979
|
-
padding-top: 8px;
|
|
980
|
-
border-top: 1px solid var(--border);
|
|
981
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
982
|
-
color: var(--fg-dim);
|
|
983
|
-
}
|
|
984
|
-
.add-repo-access-note {
|
|
985
|
-
flex: 1 1 auto;
|
|
986
|
-
}
|
|
987
|
-
.add-repo-access-links {
|
|
988
|
-
display: flex;
|
|
989
|
-
flex-wrap: wrap;
|
|
990
|
-
gap: 8px;
|
|
991
|
-
}
|
|
992
|
-
.add-repo-access-link {
|
|
993
|
-
color: var(--accent, #1473e6);
|
|
994
|
-
text-decoration: underline;
|
|
995
|
-
}
|
|
996
|
-
.add-repo-refresh {
|
|
997
|
-
padding: 2px 8px;
|
|
998
|
-
background: none;
|
|
999
|
-
border: 1px solid var(--border);
|
|
1000
|
-
border-radius: var(--radius);
|
|
1001
|
-
font: inherit;
|
|
1002
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1003
|
-
color: var(--fg);
|
|
1004
|
-
cursor: pointer;
|
|
1005
|
-
}
|
|
1006
|
-
.add-repo-refresh:hover:not([disabled]) {
|
|
1007
|
-
background: var(--hover-bg);
|
|
1008
|
-
}
|
|
1009
|
-
.add-repo-refresh[disabled] {
|
|
1010
|
-
opacity: 0.5;
|
|
1011
|
-
cursor: default;
|
|
1012
|
-
}
|
|
1013
|
-
.new-project-tabs {
|
|
1014
|
-
padding: 0 16px;
|
|
1015
|
-
border-bottom: 1px solid var(--border);
|
|
1016
|
-
}
|
|
1017
|
-
.new-project-tab-intro {
|
|
1018
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1019
|
-
color: var(--fg-dim);
|
|
1020
|
-
line-height: 1.5;
|
|
1021
|
-
}
|
|
1022
|
-
.new-project-creds {
|
|
1023
|
-
display: flex;
|
|
1024
|
-
flex-direction: column;
|
|
1025
|
-
max-width: 480px;
|
|
1026
|
-
}
|
|
1027
|
-
.new-project-import-grid {
|
|
1028
|
-
display: grid;
|
|
1029
|
-
grid-template-columns: 1fr 1fr;
|
|
1030
|
-
gap: 12px;
|
|
1031
|
-
}
|
|
1032
|
-
/* Breakpoints: a mode picker, whichever value control that mode takes, and the rounding rule. It
|
|
1033
|
-
wraps rather than scrolls — the widths field is the one that needs room, and it should get it. */
|
|
1034
|
-
.new-project-import-breakpoints {
|
|
1035
|
-
display: flex;
|
|
1036
|
-
flex-wrap: wrap;
|
|
1037
|
-
align-items: center;
|
|
1038
|
-
gap: 8px;
|
|
1039
|
-
}
|
|
1040
|
-
.new-project-breakpoint-mode {
|
|
1041
|
-
min-width: 132px;
|
|
1042
|
-
}
|
|
1043
|
-
.new-project-breakpoint-rounding {
|
|
1044
|
-
min-width: 132px;
|
|
1045
|
-
}
|
|
1046
|
-
.new-project-breakpoint-count,
|
|
1047
|
-
.new-project-min-fidelity {
|
|
1048
|
-
width: 96px;
|
|
1049
|
-
}
|
|
1050
|
-
.new-project-breakpoint-widths {
|
|
1051
|
-
flex: 1;
|
|
1052
|
-
min-width: 160px;
|
|
1053
|
-
}
|
|
1054
|
-
/* One line under a control saying what it will do. Not an error and not a label — the sentence a
|
|
1055
|
-
reader needs to predict the outcome before the run rather than after it. */
|
|
1056
|
-
.new-project-hint {
|
|
1057
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1058
|
-
color: var(--fg-dim);
|
|
1059
|
-
line-height: 1.5;
|
|
1060
|
-
}
|
|
1061
|
-
.new-project-import-progress {
|
|
1062
|
-
display: flex;
|
|
1063
|
-
align-items: center;
|
|
1064
|
-
gap: 8px;
|
|
1065
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1066
|
-
color: var(--fg);
|
|
1067
|
-
}
|
|
1068
|
-
.new-project-import-log {
|
|
1069
|
-
font-family: var(--font-mono);
|
|
1070
|
-
font-size: 11px;
|
|
1071
|
-
line-height: 1.6;
|
|
1072
|
-
background: var(--bg-input);
|
|
1073
|
-
border: 1px solid var(--border);
|
|
1074
|
-
border-radius: var(--radius);
|
|
1075
|
-
padding: 8px 10px;
|
|
1076
|
-
max-height: 240px;
|
|
1077
|
-
overflow-y: auto;
|
|
1078
|
-
white-space: pre-wrap;
|
|
1079
|
-
word-break: break-word;
|
|
1080
|
-
}
|
|
1081
|
-
.new-project-import-log-line {
|
|
1082
|
-
color: var(--fg);
|
|
1083
|
-
}
|
|
1084
|
-
.new-project-import-phase {
|
|
1085
|
-
color: var(--fg-dim);
|
|
1086
|
-
margin-right: 6px;
|
|
1087
|
-
}
|
|
1088
|
-
.new-project-agent-prompt {
|
|
1089
|
-
min-height: 120px;
|
|
1090
|
-
}
|
|
1091
|
-
.new-project-import-prompt {
|
|
1092
|
-
width: 100%;
|
|
1093
|
-
min-height: 90px;
|
|
1094
|
-
}
|
|
1095
|
-
.new-project-import-model {
|
|
1096
|
-
width: 100%;
|
|
1097
|
-
}
|
|
1098
|
-
.new-project-step-context {
|
|
1099
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1100
|
-
color: var(--fg-dim);
|
|
1101
|
-
}
|
|
1102
|
-
.new-project-templates {
|
|
1103
|
-
display: grid;
|
|
1104
|
-
grid-template-columns: 1fr 1fr 1fr;
|
|
1105
|
-
gap: 8px;
|
|
1106
|
-
}
|
|
1107
|
-
.new-project-template {
|
|
1108
|
-
text-align: left;
|
|
1109
|
-
border: 1px solid var(--border);
|
|
1110
|
-
border-radius: 6px;
|
|
1111
|
-
overflow: hidden;
|
|
1112
|
-
cursor: pointer;
|
|
1113
|
-
background: var(--bg-panel);
|
|
1114
|
-
padding: 0;
|
|
1115
|
-
display: flex;
|
|
1116
|
-
flex-direction: column;
|
|
1117
|
-
}
|
|
1118
|
-
.new-project-template:hover {
|
|
1119
|
-
border-color: var(--fg-dim);
|
|
1120
|
-
}
|
|
1121
|
-
.new-project-template.selected {
|
|
1122
|
-
border-color: var(--accent, #3b82f6);
|
|
1123
|
-
box-shadow: 0 0 0 1px var(--accent, #3b82f6);
|
|
1124
|
-
}
|
|
1125
|
-
.new-project-template-thumb {
|
|
1126
|
-
width: 100%;
|
|
1127
|
-
aspect-ratio: 16 / 10;
|
|
1128
|
-
object-fit: cover;
|
|
1129
|
-
display: block;
|
|
1130
|
-
background: var(--bg-elevated, #1a1a1a);
|
|
1131
|
-
}
|
|
1132
|
-
.new-project-template-blank {
|
|
1133
|
-
display: flex;
|
|
1134
|
-
align-items: center;
|
|
1135
|
-
justify-content: center;
|
|
1136
|
-
aspect-ratio: 16 / 10;
|
|
1137
|
-
color: var(--fg-dim);
|
|
1138
|
-
font-size: 28px;
|
|
1139
|
-
background: var(--bg-elevated, #1a1a1a);
|
|
1140
|
-
}
|
|
1141
|
-
.new-project-template-body {
|
|
1142
|
-
padding: 6px 8px 8px;
|
|
1143
|
-
}
|
|
1144
|
-
.new-project-template-name {
|
|
1145
|
-
font-size: 12px;
|
|
1146
|
-
font-weight: 600;
|
|
1147
|
-
color: var(--fg);
|
|
1148
|
-
}
|
|
1149
|
-
.new-project-template-tag {
|
|
1150
|
-
font-size: 11px;
|
|
1151
|
-
color: var(--fg-dim);
|
|
1152
|
-
margin-top: 2px;
|
|
1153
|
-
line-height: 1.3;
|
|
1154
|
-
}
|
|
1155
|
-
|
|
1156
|
-
/* The one non-starter card, last in the gallery and spanning it, so the sites lead. */
|
|
1157
|
-
.new-project-scratch {
|
|
1158
|
-
grid-column: 1 / -1;
|
|
1159
|
-
flex-direction: row;
|
|
1160
|
-
align-items: center;
|
|
1161
|
-
}
|
|
1162
|
-
.new-project-scratch .new-project-template-blank {
|
|
1163
|
-
width: 96px;
|
|
1164
|
-
flex-shrink: 0;
|
|
1165
|
-
}
|
|
1166
|
-
/* CSS Vars editor */
|
|
1167
|
-
.css-vars-group {
|
|
1168
|
-
margin-bottom: 24px;
|
|
1169
|
-
}
|
|
1170
|
-
.css-vars-group-title {
|
|
1171
|
-
margin: 0 0 8px;
|
|
1172
|
-
font-size: 13px;
|
|
1173
|
-
font-weight: 600;
|
|
1174
|
-
color: var(--fg);
|
|
1175
|
-
text-transform: uppercase;
|
|
1176
|
-
letter-spacing: 0.5px;
|
|
1177
|
-
}
|
|
1178
|
-
.css-var-row {
|
|
1179
|
-
display: flex;
|
|
1180
|
-
align-items: center;
|
|
1181
|
-
gap: 8px;
|
|
1182
|
-
padding: 4px 0;
|
|
1183
|
-
}
|
|
1184
|
-
.css-var-name {
|
|
1185
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1186
|
-
color: var(--fg-dim);
|
|
1187
|
-
min-width: 100px;
|
|
1188
|
-
}
|
|
1189
|
-
.css-var-swatch {
|
|
1190
|
-
width: 24px;
|
|
1191
|
-
height: 24px;
|
|
1192
|
-
border-radius: var(--radius);
|
|
1193
|
-
border: 1px solid var(--border);
|
|
1194
|
-
position: relative;
|
|
1195
|
-
overflow: hidden;
|
|
1196
|
-
cursor: pointer;
|
|
1197
|
-
}
|
|
1198
|
-
.css-var-swatch input[type="color"] {
|
|
1199
|
-
position: absolute;
|
|
1200
|
-
inset: 0;
|
|
1201
|
-
opacity: 0;
|
|
1202
|
-
cursor: pointer;
|
|
1203
|
-
width: 100%;
|
|
1204
|
-
height: 100%;
|
|
1205
|
-
}
|
|
1206
|
-
.css-var-font-preview {
|
|
1207
|
-
font-size: 13px;
|
|
1208
|
-
color: var(--fg-dim);
|
|
1209
|
-
padding: 4px 0 12px 108px;
|
|
1210
|
-
}
|
|
1211
|
-
.css-var-media-overrides {
|
|
1212
|
-
padding-left: 108px;
|
|
1213
|
-
margin-bottom: 8px;
|
|
1214
|
-
}
|
|
1215
|
-
.css-var-media-row {
|
|
1216
|
-
display: flex;
|
|
1217
|
-
align-items: center;
|
|
1218
|
-
gap: 8px;
|
|
1219
|
-
padding: 2px 0;
|
|
1220
|
-
}
|
|
1221
|
-
.css-var-media-label {
|
|
1222
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1223
|
-
color: var(--fg-dim);
|
|
1224
|
-
min-width: 60px;
|
|
1225
|
-
}
|
|
1226
|
-
.css-var-add-row {
|
|
1227
|
-
display: flex;
|
|
1228
|
-
gap: 8px;
|
|
1229
|
-
align-items: center;
|
|
1230
|
-
padding: 8px 0;
|
|
1231
|
-
border-top: 1px solid var(--border);
|
|
1232
|
-
margin-top: 8px;
|
|
1233
|
-
}
|
|
1234
|
-
/* Head editor */
|
|
1235
|
-
.head-entry {
|
|
1236
|
-
border: 1px solid var(--border);
|
|
1237
|
-
border-radius: var(--radius);
|
|
1238
|
-
padding: 12px;
|
|
1239
|
-
margin-bottom: 8px;
|
|
1240
|
-
}
|
|
1241
|
-
.head-entry-header {
|
|
1242
|
-
display: flex;
|
|
1243
|
-
align-items: center;
|
|
1244
|
-
justify-content: space-between;
|
|
1245
|
-
margin-bottom: 8px;
|
|
1246
|
-
}
|
|
1247
|
-
.head-entry-tag {
|
|
1248
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1249
|
-
font-weight: 600;
|
|
1250
|
-
color: var(--fg);
|
|
1251
|
-
}
|
|
1252
|
-
.head-code-editor {
|
|
1253
|
-
width: 100%;
|
|
1254
|
-
min-height: 80px;
|
|
1255
|
-
padding: 8px;
|
|
1256
|
-
font-family: var(--font-mono);
|
|
1257
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1258
|
-
background: var(--spectrum-gray-100, #1e1e1e);
|
|
1259
|
-
color: var(--fg);
|
|
1260
|
-
border: 1px solid var(--border);
|
|
1261
|
-
border-radius: var(--radius);
|
|
1262
|
-
resize: vertical;
|
|
1263
|
-
}
|
|
1264
|
-
|
|
1265
|
-
/* ─── Settings editors (Collections / Definitions) ─── */
|
|
1266
|
-
.settings-two-col {
|
|
1267
|
-
display: flex;
|
|
1268
|
-
height: 100%;
|
|
1269
|
-
gap: 1px;
|
|
1270
|
-
background: var(--border);
|
|
1271
|
-
}
|
|
1272
|
-
.settings-list-panel {
|
|
1273
|
-
display: flex;
|
|
1274
|
-
flex-direction: column;
|
|
1275
|
-
gap: 4px;
|
|
1276
|
-
padding: 12px;
|
|
1277
|
-
width: 200px;
|
|
1278
|
-
min-width: 200px;
|
|
1279
|
-
background: var(--bg-panel);
|
|
1280
|
-
overflow-y: auto;
|
|
1281
|
-
}
|
|
1282
|
-
.settings-list-panel sp-action-button {
|
|
1283
|
-
width: 100%;
|
|
1284
|
-
justify-content: flex-start;
|
|
1285
|
-
}
|
|
1286
|
-
.settings-editor-panel {
|
|
1287
|
-
flex: 1;
|
|
1288
|
-
padding: 16px;
|
|
1289
|
-
background: var(--bg-panel);
|
|
1290
|
-
overflow-y: auto;
|
|
1291
|
-
}
|
|
1292
|
-
.settings-editor-header {
|
|
1293
|
-
display: flex;
|
|
1294
|
-
align-items: center;
|
|
1295
|
-
gap: 12px;
|
|
1296
|
-
margin-bottom: 16px;
|
|
1297
|
-
}
|
|
1298
|
-
.settings-editor-header h3 {
|
|
1299
|
-
margin: 0;
|
|
1300
|
-
font-size: var(--spectrum-font-size-100, 14px);
|
|
1301
|
-
font-weight: 600;
|
|
1302
|
-
}
|
|
1303
|
-
.settings-empty-state {
|
|
1304
|
-
flex: 1;
|
|
1305
|
-
display: flex;
|
|
1306
|
-
align-items: center;
|
|
1307
|
-
justify-content: center;
|
|
1308
|
-
background: var(--bg-panel);
|
|
1309
|
-
color: var(--fg-dim);
|
|
1310
|
-
font-size: 13px;
|
|
1311
|
-
}
|
|
1312
|
-
.settings-inline-form {
|
|
1313
|
-
display: flex;
|
|
1314
|
-
align-items: center;
|
|
1315
|
-
gap: 6px;
|
|
1316
|
-
}
|
|
1317
|
-
.settings-top-chrome {
|
|
1318
|
-
z-index: 16 !important;
|
|
1319
|
-
}
|
|
1320
|
-
|
|
1321
|
-
/* ─── Schema field cards ─── */
|
|
1322
|
-
.schema-field-list {
|
|
1323
|
-
display: flex;
|
|
1324
|
-
flex-direction: column;
|
|
1325
|
-
gap: 4px;
|
|
1326
|
-
margin-bottom: 12px;
|
|
1327
|
-
}
|
|
1328
|
-
.schema-field-card {
|
|
1329
|
-
border: 1px solid var(--border);
|
|
1330
|
-
border-radius: var(--radius);
|
|
1331
|
-
padding: 6px 10px;
|
|
1332
|
-
}
|
|
1333
|
-
.schema-field-row {
|
|
1334
|
-
display: flex;
|
|
1335
|
-
align-items: center;
|
|
1336
|
-
gap: 8px;
|
|
1337
|
-
}
|
|
1338
|
-
.schema-field-nested {
|
|
1339
|
-
margin-left: 16px;
|
|
1340
|
-
margin-top: 6px;
|
|
1341
|
-
padding-left: 8px;
|
|
1342
|
-
border-left: 2px solid var(--border);
|
|
1343
|
-
}
|
|
1344
|
-
.schema-field-name-input {
|
|
1345
|
-
flex: 1;
|
|
1346
|
-
max-width: 140px;
|
|
1347
|
-
}
|
|
1348
|
-
.schema-field-card--nested {
|
|
1349
|
-
border-color: var(--spectrum-gray-300, #444);
|
|
1350
|
-
}
|
|
1351
|
-
.schema-nested-add {
|
|
1352
|
-
display: flex;
|
|
1353
|
-
align-items: center;
|
|
1354
|
-
gap: 6px;
|
|
1355
|
-
padding: 4px 0;
|
|
1356
|
-
}
|
|
1357
|
-
.schema-nested-add-name {
|
|
1358
|
-
flex: 1;
|
|
1359
|
-
max-width: 120px;
|
|
1360
|
-
}
|
|
1361
|
-
.schema-add-field {
|
|
1362
|
-
display: flex;
|
|
1363
|
-
align-items: center;
|
|
1364
|
-
gap: 8px;
|
|
1365
|
-
padding: 8px 0;
|
|
1366
|
-
}
|
|
1367
|
-
|
|
1368
|
-
/* ─── Media picker ─────────────────────────────── */
|
|
1369
|
-
.media-picker {
|
|
1370
|
-
display: flex;
|
|
1371
|
-
align-items: center;
|
|
1372
|
-
gap: 4px;
|
|
1373
|
-
flex: 1;
|
|
1374
|
-
}
|
|
1375
|
-
.media-picker sp-textfield {
|
|
1376
|
-
flex: 1;
|
|
1377
|
-
min-width: 0;
|
|
1378
|
-
}
|
|
1379
|
-
/* Upload + Browse always render, so the field yields width before the buttons do. */
|
|
1380
|
-
.media-picker sp-action-button {
|
|
1381
|
-
flex-shrink: 0;
|
|
1382
|
-
}
|
|
1383
|
-
.media-picker-thumb {
|
|
1384
|
-
width: 24px;
|
|
1385
|
-
height: 24px;
|
|
1386
|
-
object-fit: cover;
|
|
1387
|
-
border-radius: var(--radius);
|
|
1388
|
-
border: 1px solid var(--border);
|
|
1389
|
-
flex-shrink: 0;
|
|
1390
|
-
}
|
|
1391
|
-
/* .media-picker-popover is no longer used — inlined in media-picker.ts */
|
|
1392
|
-
|
|
1393
|
-
/* ─── Source view ────────────────────────────── */
|
|
1394
|
-
#source-view {
|
|
1395
|
-
width: 100%;
|
|
1396
|
-
height: 100%;
|
|
1397
|
-
background: var(--bg);
|
|
1398
|
-
color: var(--fg);
|
|
1399
|
-
font: 11px/1.6 var(--font-mono, monospace);
|
|
1400
|
-
border: none;
|
|
1401
|
-
padding: 8px;
|
|
1402
|
-
resize: none;
|
|
1403
|
-
/* Pointer focus only — the keyboard ring is restored below. */
|
|
1404
|
-
outline: none;
|
|
1405
|
-
}
|
|
1406
|
-
|
|
1407
|
-
#source-view:focus-visible {
|
|
1408
|
-
outline: 2px solid var(--accent);
|
|
1409
|
-
outline-offset: -2px;
|
|
1410
|
-
}
|
|
1411
|
-
|
|
1412
|
-
/* ─── Empty state ────────────────────────────── */
|
|
1413
|
-
.empty-state {
|
|
1414
|
-
padding: 24px;
|
|
1415
|
-
text-align: center;
|
|
1416
|
-
color: var(--fg-dim);
|
|
1417
|
-
font-size: 13px;
|
|
1418
|
-
}
|
|
1419
|
-
|
|
1420
|
-
/* ─── Style filter bar ───────────────────────── */
|
|
1421
|
-
.style-filter-bar {
|
|
1422
|
-
display: flex;
|
|
1423
|
-
align-items: center;
|
|
1424
|
-
padding: 2px 8px 4px;
|
|
1425
|
-
gap: 6px;
|
|
1426
|
-
}
|
|
1427
|
-
.style-filter-input {
|
|
1428
|
-
flex: 1;
|
|
1429
|
-
min-width: 0;
|
|
1430
|
-
--spectrum-textfield-texticon-min-width: 0;
|
|
1431
|
-
}
|
|
1432
|
-
/* ─── Git panel ──────────────────────────────── */
|
|
1433
|
-
.git-panel {
|
|
1434
|
-
display: flex;
|
|
1435
|
-
flex-direction: column;
|
|
1436
|
-
height: 100%;
|
|
1437
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1438
|
-
}
|
|
1439
|
-
|
|
1440
|
-
/* Sync status bar */
|
|
1441
|
-
.git-sync-bar {
|
|
1442
|
-
display: flex;
|
|
1443
|
-
align-items: center;
|
|
1444
|
-
gap: 10px;
|
|
1445
|
-
padding: 12px 12px;
|
|
1446
|
-
border-bottom: 1px solid var(--border);
|
|
1447
|
-
}
|
|
1448
|
-
.git-sync-icon {
|
|
1449
|
-
flex-shrink: 0;
|
|
1450
|
-
}
|
|
1451
|
-
.git-sync-text {
|
|
1452
|
-
display: flex;
|
|
1453
|
-
flex-direction: column;
|
|
1454
|
-
gap: 2px;
|
|
1455
|
-
flex: 1;
|
|
1456
|
-
}
|
|
1457
|
-
.git-sync-actions {
|
|
1458
|
-
flex-shrink: 0;
|
|
1459
|
-
margin-left: auto;
|
|
1460
|
-
}
|
|
1461
|
-
.git-sync-label {
|
|
1462
|
-
font-size: 13px;
|
|
1463
|
-
font-weight: 600;
|
|
1464
|
-
color: var(--fg);
|
|
1465
|
-
}
|
|
1466
|
-
.git-sync-time {
|
|
1467
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1468
|
-
color: var(--fg-dim);
|
|
1469
|
-
}
|
|
1470
|
-
|
|
1471
|
-
/* Branch selector row */
|
|
1472
|
-
.git-branch-row {
|
|
1473
|
-
display: flex;
|
|
1474
|
-
align-items: center;
|
|
1475
|
-
gap: 10px;
|
|
1476
|
-
padding: 10px 12px;
|
|
1477
|
-
border-bottom: 1px solid var(--border);
|
|
1478
|
-
}
|
|
1479
|
-
.git-branch-icon {
|
|
1480
|
-
flex-shrink: 0;
|
|
1481
|
-
color: var(--fg-dim);
|
|
1482
|
-
}
|
|
1483
|
-
.git-branch-text {
|
|
1484
|
-
display: flex;
|
|
1485
|
-
flex-direction: column;
|
|
1486
|
-
gap: 1px;
|
|
1487
|
-
flex: 1;
|
|
1488
|
-
min-width: 0;
|
|
1489
|
-
}
|
|
1490
|
-
.git-branch-label {
|
|
1491
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1492
|
-
color: var(--fg-dim);
|
|
1493
|
-
}
|
|
1494
|
-
.git-branch-name {
|
|
1495
|
-
font-size: 13px;
|
|
1496
|
-
font-weight: 600;
|
|
1497
|
-
color: var(--fg);
|
|
1498
|
-
}
|
|
1499
|
-
.git-branch-picker {
|
|
1500
|
-
flex-shrink: 0;
|
|
1501
|
-
--spectrum-picker-min-width: 0;
|
|
1502
|
-
}
|
|
1503
|
-
|
|
1504
|
-
/* Tabs: Local Changes / History */
|
|
1505
|
-
.git-tabs {
|
|
1506
|
-
display: flex;
|
|
1507
|
-
border-bottom: 1px solid var(--border);
|
|
1508
|
-
}
|
|
1509
|
-
.git-tab {
|
|
1510
|
-
flex: 1;
|
|
1511
|
-
padding: 8px 12px;
|
|
1512
|
-
font: inherit;
|
|
1513
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1514
|
-
font-weight: 600;
|
|
1515
|
-
background: var(--hover-bg);
|
|
1516
|
-
border: none;
|
|
1517
|
-
border-bottom: 2px solid transparent;
|
|
1518
|
-
color: var(--fg-dim);
|
|
1519
|
-
cursor: pointer;
|
|
1520
|
-
transition:
|
|
1521
|
-
color 0.15s,
|
|
1522
|
-
border-color 0.15s;
|
|
1523
|
-
}
|
|
1524
|
-
.git-tab:hover {
|
|
1525
|
-
color: var(--fg);
|
|
1526
|
-
}
|
|
1527
|
-
.git-tab.active {
|
|
1528
|
-
color: var(--fg);
|
|
1529
|
-
border-bottom-color: var(--accent, #e2b93d);
|
|
1530
|
-
background: transparent;
|
|
1531
|
-
}
|
|
1532
|
-
|
|
1533
|
-
/* Commit area */
|
|
1534
|
-
.git-commit-area {
|
|
1535
|
-
display: flex;
|
|
1536
|
-
flex-direction: column;
|
|
1537
|
-
gap: 8px;
|
|
1538
|
-
padding: 12px;
|
|
1539
|
-
border-bottom: 1px solid var(--border);
|
|
1540
|
-
}
|
|
1541
|
-
.git-commit-label {
|
|
1542
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1543
|
-
font-weight: 500;
|
|
1544
|
-
color: var(--fg-dim);
|
|
1545
|
-
}
|
|
1546
|
-
.git-commit-input {
|
|
1547
|
-
width: 100%;
|
|
1548
|
-
--spectrum-textfield-texticon-min-width: 0;
|
|
1549
|
-
}
|
|
1550
|
-
.git-commit-actions {
|
|
1551
|
-
display: flex;
|
|
1552
|
-
}
|
|
1553
|
-
.git-split-btn {
|
|
1554
|
-
display: flex;
|
|
1555
|
-
flex: 1;
|
|
1556
|
-
position: relative;
|
|
1557
|
-
}
|
|
1558
|
-
.git-split-btn .git-commit-btn {
|
|
1559
|
-
flex: 1;
|
|
1560
|
-
border-top-right-radius: 0;
|
|
1561
|
-
border-bottom-right-radius: 0;
|
|
1562
|
-
}
|
|
1563
|
-
.git-split-btn .git-split-trigger {
|
|
1564
|
-
border-top-left-radius: 0;
|
|
1565
|
-
border-bottom-left-radius: 0;
|
|
1566
|
-
border-left: 1px solid rgba(0, 0, 0, 0.15);
|
|
1567
|
-
}
|
|
1568
|
-
.git-split-menu {
|
|
1569
|
-
position: absolute;
|
|
1570
|
-
top: 100%;
|
|
1571
|
-
left: 0;
|
|
1572
|
-
right: 0;
|
|
1573
|
-
margin-top: 4px;
|
|
1574
|
-
background: var(--bg-panel);
|
|
1575
|
-
border: 1px solid var(--border);
|
|
1576
|
-
border-radius: var(--radius);
|
|
1577
|
-
z-index: 10;
|
|
1578
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
|
1579
|
-
}
|
|
1580
|
-
.git-split-menu-item {
|
|
1581
|
-
display: block;
|
|
1582
|
-
width: 100%;
|
|
1583
|
-
padding: 6px 12px;
|
|
1584
|
-
font: inherit;
|
|
1585
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1586
|
-
color: var(--fg);
|
|
1587
|
-
background: none;
|
|
1588
|
-
border: none;
|
|
1589
|
-
text-align: left;
|
|
1590
|
-
cursor: pointer;
|
|
1591
|
-
}
|
|
1592
|
-
.git-split-menu-item:hover {
|
|
1593
|
-
background: var(--hover-bg);
|
|
1594
|
-
}
|
|
1595
|
-
|
|
1596
|
-
/* Changed Components grouping */
|
|
1597
|
-
.git-component-group {
|
|
1598
|
-
margin-bottom: 2px;
|
|
1599
|
-
}
|
|
1600
|
-
.git-component-header {
|
|
1601
|
-
display: flex;
|
|
1602
|
-
align-items: center;
|
|
1603
|
-
gap: 6px;
|
|
1604
|
-
padding: 4px 8px;
|
|
1605
|
-
}
|
|
1606
|
-
.git-component-overflow {
|
|
1607
|
-
flex-shrink: 0;
|
|
1608
|
-
}
|
|
1609
|
-
.git-component-name {
|
|
1610
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1611
|
-
font-weight: 500;
|
|
1612
|
-
color: var(--fg);
|
|
1613
|
-
}
|
|
1614
|
-
|
|
1615
|
-
/* Sections */
|
|
1616
|
-
.git-section {
|
|
1617
|
-
border-bottom: 1px solid var(--border);
|
|
1618
|
-
}
|
|
1619
|
-
.git-section-header {
|
|
1620
|
-
display: flex;
|
|
1621
|
-
align-items: center;
|
|
1622
|
-
gap: 6px;
|
|
1623
|
-
padding: 8px 12px 6px;
|
|
1624
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1625
|
-
font-weight: 700;
|
|
1626
|
-
color: var(--fg);
|
|
1627
|
-
}
|
|
1628
|
-
.git-count {
|
|
1629
|
-
display: inline-flex;
|
|
1630
|
-
align-items: center;
|
|
1631
|
-
justify-content: center;
|
|
1632
|
-
min-width: 18px;
|
|
1633
|
-
height: 18px;
|
|
1634
|
-
padding: 0 5px;
|
|
1635
|
-
border-radius: 9px;
|
|
1636
|
-
background: var(--accent-15);
|
|
1637
|
-
color: var(--accent);
|
|
1638
|
-
font-size: 10px;
|
|
1639
|
-
font-weight: 600;
|
|
1640
|
-
}
|
|
1641
|
-
.git-section-header .git-count {
|
|
1642
|
-
margin-right: auto;
|
|
1643
|
-
}
|
|
1644
|
-
|
|
1645
|
-
/* File rows */
|
|
1646
|
-
.git-file-row {
|
|
1647
|
-
display: flex;
|
|
1648
|
-
align-items: center;
|
|
1649
|
-
gap: 4px;
|
|
1650
|
-
padding: 2px 8px 2px 16px;
|
|
1651
|
-
cursor: default;
|
|
1652
|
-
}
|
|
1653
|
-
.git-file-row:hover {
|
|
1654
|
-
background: var(--hover-bg);
|
|
1655
|
-
}
|
|
1656
|
-
.git-file-info {
|
|
1657
|
-
flex: 1;
|
|
1658
|
-
min-width: 0;
|
|
1659
|
-
display: flex;
|
|
1660
|
-
align-items: baseline;
|
|
1661
|
-
gap: 6px;
|
|
1662
|
-
overflow: hidden;
|
|
1663
|
-
}
|
|
1664
|
-
.git-file-name {
|
|
1665
|
-
white-space: nowrap;
|
|
1666
|
-
overflow: hidden;
|
|
1667
|
-
text-overflow: ellipsis;
|
|
1668
|
-
}
|
|
1669
|
-
.git-file-dir {
|
|
1670
|
-
font-size: 10px;
|
|
1671
|
-
color: var(--fg-dim);
|
|
1672
|
-
white-space: nowrap;
|
|
1673
|
-
overflow: hidden;
|
|
1674
|
-
text-overflow: ellipsis;
|
|
1675
|
-
}
|
|
1676
|
-
.git-file-actions {
|
|
1677
|
-
display: flex;
|
|
1678
|
-
gap: 0;
|
|
1679
|
-
opacity: 0;
|
|
1680
|
-
}
|
|
1681
|
-
.git-file-row:hover .git-file-actions {
|
|
1682
|
-
opacity: 1;
|
|
1683
|
-
}
|
|
1684
|
-
.git-file-badge {
|
|
1685
|
-
flex-shrink: 0;
|
|
1686
|
-
width: 16px;
|
|
1687
|
-
text-align: center;
|
|
1688
|
-
font-size: 10px;
|
|
1689
|
-
font-weight: 700;
|
|
1690
|
-
font-family: var(--font-mono);
|
|
1691
|
-
}
|
|
1692
|
-
.git-status-M {
|
|
1693
|
-
color: var(--signal);
|
|
1694
|
-
}
|
|
1695
|
-
.git-status-A {
|
|
1696
|
-
color: var(--success);
|
|
1697
|
-
}
|
|
1698
|
-
.git-status-D {
|
|
1699
|
-
color: var(--danger);
|
|
1700
|
-
}
|
|
1701
|
-
.git-status-R {
|
|
1702
|
-
color: var(--tag);
|
|
1703
|
-
}
|
|
1704
|
-
.git-status-U {
|
|
1705
|
-
color: var(--success);
|
|
1706
|
-
}
|
|
1707
|
-
.git-status-C {
|
|
1708
|
-
color: var(--tag);
|
|
1709
|
-
}
|
|
1710
|
-
|
|
1711
|
-
/* History tab */
|
|
1712
|
-
.git-history {
|
|
1713
|
-
padding: 4px 0;
|
|
1714
|
-
overflow-y: auto;
|
|
1715
|
-
flex: 1;
|
|
1716
|
-
}
|
|
1717
|
-
.git-history-entry {
|
|
1718
|
-
display: flex;
|
|
1719
|
-
flex-direction: column;
|
|
1720
|
-
gap: 2px;
|
|
1721
|
-
padding: 6px 12px;
|
|
1722
|
-
border-bottom: 1px solid var(--border);
|
|
1723
|
-
}
|
|
1724
|
-
.git-history-entry:hover {
|
|
1725
|
-
background: var(--hover-bg);
|
|
1726
|
-
}
|
|
1727
|
-
.git-history-hash {
|
|
1728
|
-
font-size: 10px;
|
|
1729
|
-
font-family: var(--font-mono);
|
|
1730
|
-
color: var(--accent);
|
|
1731
|
-
}
|
|
1732
|
-
.git-history-message {
|
|
1733
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1734
|
-
color: var(--fg);
|
|
1735
|
-
}
|
|
1736
|
-
.git-history-meta {
|
|
1737
|
-
font-size: 10px;
|
|
1738
|
-
color: var(--fg-dim);
|
|
1739
|
-
}
|
|
1740
|
-
|
|
1741
|
-
/* Utility */
|
|
1742
|
-
.git-loading {
|
|
1743
|
-
padding: 8px;
|
|
1744
|
-
text-align: center;
|
|
1745
|
-
color: var(--fg-dim);
|
|
1746
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1747
|
-
}
|
|
1748
|
-
.git-error {
|
|
1749
|
-
padding: 6px 8px;
|
|
1750
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1751
|
-
color: var(--danger);
|
|
1752
|
-
background: color-mix(in srgb, var(--danger) 8%, transparent);
|
|
1753
|
-
border-bottom: 1px solid var(--border);
|
|
1754
|
-
}
|
|
1755
|
-
|
|
1756
|
-
.git-panel-empty {
|
|
1757
|
-
justify-content: center;
|
|
1758
|
-
align-items: center;
|
|
1759
|
-
}
|
|
1760
|
-
.git-sync-bar--no-remote {
|
|
1761
|
-
gap: 8px;
|
|
1762
|
-
}
|
|
1763
|
-
|
|
1764
|
-
/* GitHub auth dialog */
|
|
1765
|
-
.github-auth-dialog {
|
|
1766
|
-
text-align: center;
|
|
1767
|
-
padding: 16px 0;
|
|
1768
|
-
}
|
|
1769
|
-
.github-auth-dialog p {
|
|
1770
|
-
margin: 8px 0;
|
|
1771
|
-
font-size: 13px;
|
|
1772
|
-
}
|
|
1773
|
-
.github-auth-code {
|
|
1774
|
-
font-size: 24px;
|
|
1775
|
-
font-weight: 700;
|
|
1776
|
-
letter-spacing: 2px;
|
|
1777
|
-
font-family: var(--font-mono, monospace);
|
|
1778
|
-
padding: 12px 16px;
|
|
1779
|
-
background: var(--hover-bg);
|
|
1780
|
-
border-radius: var(--radius);
|
|
1781
|
-
display: inline-block;
|
|
1782
|
-
margin: 8px 0;
|
|
1783
|
-
}
|
|
1784
|
-
.github-auth-waiting {
|
|
1785
|
-
color: var(--fg-dim);
|
|
1786
|
-
font-style: italic;
|
|
1787
|
-
}
|
|
1788
|
-
|
|
1789
|
-
/* GitHub publish dialog */
|
|
1790
|
-
.github-publish-dialog {
|
|
1791
|
-
display: flex;
|
|
1792
|
-
flex-direction: column;
|
|
1793
|
-
gap: 8px;
|
|
1794
|
-
padding: 8px 0;
|
|
1795
|
-
}
|
|
1796
|
-
.github-publish-dialog sp-textfield {
|
|
1797
|
-
width: 100%;
|
|
1798
|
-
}
|
|
1799
|
-
|
|
1800
|
-
/* ─── Feature toggle (stylebook) ─────────────── */
|
|
1801
|
-
.tb-toggle {
|
|
1802
|
-
padding: 3px 8px;
|
|
1803
|
-
font: inherit;
|
|
1804
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1805
|
-
color: var(--fg-dim);
|
|
1806
|
-
background: transparent;
|
|
1807
|
-
border: 1px solid var(--border);
|
|
1808
|
-
border-radius: var(--radius);
|
|
1809
|
-
cursor: pointer;
|
|
1810
|
-
}
|
|
1811
|
-
.tb-toggle:hover {
|
|
1812
|
-
background: var(--hover-bg);
|
|
1813
|
-
}
|
|
1814
|
-
.tb-toggle.active {
|
|
1815
|
-
color: var(--accent);
|
|
1816
|
-
border-color: var(--accent);
|
|
1817
|
-
background: var(--accent-15);
|
|
1818
|
-
}
|
|
1819
|
-
|
|
1820
|
-
/* ─── Stylebook ─────────────────────────────────── */
|
|
1821
|
-
/* Chrome bar (tabs + filter) above the canvas viewport */
|
|
1822
|
-
.sb-chrome {
|
|
1823
|
-
display: flex;
|
|
1824
|
-
align-items: center;
|
|
1825
|
-
padding: 4px 8px;
|
|
1826
|
-
background: var(--bg-panel);
|
|
1827
|
-
border-bottom: 1px solid var(--border);
|
|
1828
|
-
gap: 4px;
|
|
1829
|
-
flex-shrink: 0;
|
|
1830
|
-
}
|
|
1831
|
-
|
|
1832
|
-
/* Section layout in canvas */
|
|
1833
|
-
.sb-section {
|
|
1834
|
-
margin-bottom: 24px;
|
|
1835
|
-
}
|
|
1836
|
-
.sb-label {
|
|
1837
|
-
font-size: 10px;
|
|
1838
|
-
font-weight: 700;
|
|
1839
|
-
text-transform: uppercase;
|
|
1840
|
-
letter-spacing: 0.08em;
|
|
1841
|
-
color: var(--canvas-muted);
|
|
1842
|
-
padding: 8px 0 4px;
|
|
1843
|
-
border-bottom: 1px solid var(--canvas-rule);
|
|
1844
|
-
margin-bottom: 8px;
|
|
1845
|
-
}
|
|
1846
|
-
.sb-body {
|
|
1847
|
-
padding: 4px 0;
|
|
1848
|
-
display: flex;
|
|
1849
|
-
flex-direction: column;
|
|
1850
|
-
gap: 6px;
|
|
1851
|
-
}
|
|
1852
|
-
|
|
1853
|
-
/* Variable rows — unified layout for existing + add-new */
|
|
1854
|
-
.sb-var-row {
|
|
1855
|
-
display: flex;
|
|
1856
|
-
flex-direction: column;
|
|
1857
|
-
gap: 4px;
|
|
1858
|
-
padding: 10px 0;
|
|
1859
|
-
border-bottom: 1px solid var(--canvas-rule);
|
|
1860
|
-
}
|
|
1861
|
-
.sb-var-row:last-child {
|
|
1862
|
-
border-bottom: none;
|
|
1863
|
-
}
|
|
1864
|
-
.sb-var-row-header {
|
|
1865
|
-
display: flex;
|
|
1866
|
-
align-items: baseline;
|
|
1867
|
-
gap: 6px;
|
|
1868
|
-
min-height: 18px;
|
|
1869
|
-
flex-wrap: wrap;
|
|
1870
|
-
}
|
|
1871
|
-
.sb-var-row-title {
|
|
1872
|
-
font-weight: 600;
|
|
1873
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1874
|
-
color: var(--canvas-fg-2);
|
|
1875
|
-
white-space: nowrap;
|
|
1876
|
-
}
|
|
1877
|
-
.sb-var-row-ref {
|
|
1878
|
-
font-size: 10px;
|
|
1879
|
-
color: var(--canvas-muted);
|
|
1880
|
-
font-family: var(--font-mono);
|
|
1881
|
-
overflow: hidden;
|
|
1882
|
-
text-overflow: ellipsis;
|
|
1883
|
-
}
|
|
1884
|
-
.sb-var-row-header .sb-var-del {
|
|
1885
|
-
margin-left: auto;
|
|
1886
|
-
}
|
|
1887
|
-
.sb-var-row sp-textfield {
|
|
1888
|
-
pointer-events: auto;
|
|
1889
|
-
}
|
|
1890
|
-
/* Existing variable: horizontal swatch + value */
|
|
1891
|
-
.sb-var-input-row {
|
|
1892
|
-
display: flex;
|
|
1893
|
-
align-items: flex-end;
|
|
1894
|
-
gap: 8px;
|
|
1895
|
-
}
|
|
1896
|
-
.sb-var-col-name {
|
|
1897
|
-
min-width: 0;
|
|
1898
|
-
}
|
|
1899
|
-
.sb-var-col-value {
|
|
1900
|
-
flex: 1;
|
|
1901
|
-
min-width: 0;
|
|
1902
|
-
}
|
|
1903
|
-
.sb-var-col-name sp-textfield,
|
|
1904
|
-
.sb-var-col-value sp-textfield {
|
|
1905
|
-
width: 100%;
|
|
1906
|
-
}
|
|
1907
|
-
.sb-var-col-label {
|
|
1908
|
-
font-size: 10px;
|
|
1909
|
-
color: var(--canvas-dim);
|
|
1910
|
-
margin-bottom: 2px;
|
|
1911
|
-
font-weight: 500;
|
|
1912
|
-
}
|
|
1913
|
-
/* Add-new form: horizontal layout matching existing rows */
|
|
1914
|
-
.sb-var-row.is-new .sb-var-input-row {
|
|
1915
|
-
flex-wrap: nowrap;
|
|
1916
|
-
align-items: flex-end;
|
|
1917
|
-
}
|
|
1918
|
-
.sb-var-row.is-new .sb-var-col-name {
|
|
1919
|
-
flex: 2;
|
|
1920
|
-
min-width: 0;
|
|
1921
|
-
}
|
|
1922
|
-
.sb-var-row.is-new .sb-var-col-value {
|
|
1923
|
-
flex: 3;
|
|
1924
|
-
min-width: 0;
|
|
1925
|
-
}
|
|
1926
|
-
.sb-var-row.is-new .sb-var-swatch {
|
|
1927
|
-
align-self: flex-end;
|
|
1928
|
-
margin-bottom: 2px;
|
|
1929
|
-
}
|
|
1930
|
-
.sb-var-swatch {
|
|
1931
|
-
width: 28px;
|
|
1932
|
-
height: 28px;
|
|
1933
|
-
border-radius: var(--radius);
|
|
1934
|
-
border: 1px solid var(--canvas-border);
|
|
1935
|
-
cursor: pointer;
|
|
1936
|
-
position: relative;
|
|
1937
|
-
flex-shrink: 0;
|
|
1938
|
-
align-self: flex-end;
|
|
1939
|
-
margin-bottom: 2px;
|
|
1940
|
-
}
|
|
1941
|
-
.sb-var-swatch input[type="color"] {
|
|
1942
|
-
position: absolute;
|
|
1943
|
-
inset: 0;
|
|
1944
|
-
width: 100%;
|
|
1945
|
-
height: 100%;
|
|
1946
|
-
opacity: 0;
|
|
1947
|
-
cursor: pointer;
|
|
1948
|
-
pointer-events: auto;
|
|
1949
|
-
}
|
|
1950
|
-
.sb-var-preview {
|
|
1951
|
-
margin-top: 2px;
|
|
1952
|
-
padding: 8px;
|
|
1953
|
-
background: var(--canvas-bg-1);
|
|
1954
|
-
border-radius: var(--radius);
|
|
1955
|
-
border: 1px solid var(--canvas-rule);
|
|
1956
|
-
}
|
|
1957
|
-
.sb-var-font-preview {
|
|
1958
|
-
font-size: var(--spectrum-font-size-100, 14px);
|
|
1959
|
-
line-height: 1.4;
|
|
1960
|
-
color: var(--canvas-fg-2);
|
|
1961
|
-
}
|
|
1962
|
-
.sb-var-size-track {
|
|
1963
|
-
background: var(--canvas-track);
|
|
1964
|
-
height: 8px;
|
|
1965
|
-
border-radius: var(--radius);
|
|
1966
|
-
width: 100%;
|
|
1967
|
-
overflow: hidden;
|
|
1968
|
-
}
|
|
1969
|
-
.sb-var-size-bar {
|
|
1970
|
-
height: 100%;
|
|
1971
|
-
background: var(--accent, #3b82f6);
|
|
1972
|
-
transition: width 0.3s;
|
|
1973
|
-
border-radius: var(--radius);
|
|
1974
|
-
}
|
|
1975
|
-
.sb-var-del {
|
|
1976
|
-
opacity: 0;
|
|
1977
|
-
transition: opacity 0.15s;
|
|
1978
|
-
flex-shrink: 0;
|
|
1979
|
-
}
|
|
1980
|
-
.sb-var-row:hover .sb-var-del {
|
|
1981
|
-
opacity: 1;
|
|
1982
|
-
}
|
|
1983
|
-
.sb-var-empty {
|
|
1984
|
-
padding: 16px 8px;
|
|
1985
|
-
text-align: center;
|
|
1986
|
-
color: var(--canvas-light);
|
|
1987
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1988
|
-
font-style: italic;
|
|
1989
|
-
}
|
|
1990
|
-
.sb-var-add-btn {
|
|
1991
|
-
margin-top: 6px;
|
|
1992
|
-
pointer-events: auto;
|
|
1993
|
-
background: none;
|
|
1994
|
-
border: 1px dashed var(--canvas-border);
|
|
1995
|
-
border-radius: var(--radius);
|
|
1996
|
-
padding: 5px 10px;
|
|
1997
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1998
|
-
color: var(--canvas-fg-3);
|
|
1999
|
-
cursor: pointer;
|
|
2000
|
-
display: flex;
|
|
2001
|
-
align-items: center;
|
|
2002
|
-
gap: 4px;
|
|
2003
|
-
transition: all 0.15s;
|
|
2004
|
-
}
|
|
2005
|
-
.sb-var-add-btn:hover {
|
|
2006
|
-
border-color: var(--canvas-muted);
|
|
2007
|
-
color: var(--canvas-fg-2);
|
|
2008
|
-
background: var(--canvas-bg-1);
|
|
2009
|
-
}
|
|
2010
|
-
.sb-var-add-icon {
|
|
2011
|
-
font-size: var(--spectrum-font-size-100, 14px);
|
|
2012
|
-
font-weight: 600;
|
|
2013
|
-
}
|
|
2014
|
-
.sb-var-add-actions {
|
|
2015
|
-
display: flex;
|
|
2016
|
-
gap: 4px;
|
|
2017
|
-
align-items: center;
|
|
2018
|
-
flex-shrink: 0;
|
|
2019
|
-
align-self: flex-end;
|
|
2020
|
-
margin-bottom: 2px;
|
|
2021
|
-
}
|
|
2022
|
-
.sb-unit-input {
|
|
2023
|
-
position: relative;
|
|
2024
|
-
display: flex;
|
|
2025
|
-
align-items: center;
|
|
2026
|
-
width: 100%;
|
|
2027
|
-
}
|
|
2028
|
-
.sb-unit-input sp-textfield {
|
|
2029
|
-
width: 100%;
|
|
2030
|
-
}
|
|
2031
|
-
.sb-unit-input sp-picker {
|
|
2032
|
-
position: absolute;
|
|
2033
|
-
right: 2px;
|
|
2034
|
-
--mod-picker-border-width: 0;
|
|
2035
|
-
--mod-picker-min-width: 56px;
|
|
2036
|
-
}
|
|
2037
|
-
.sb-var-add-preview {
|
|
2038
|
-
font-size: 10px;
|
|
2039
|
-
color: var(--canvas-muted);
|
|
2040
|
-
font-family: var(--font-mono);
|
|
2041
|
-
min-height: 14px;
|
|
131
|
+
flex-direction: column;
|
|
132
|
+
gap: 6px;
|
|
2042
133
|
}
|
|
2043
134
|
|
|
2044
135
|
/* ─── Inline editing ─────────────────────────── */
|
|
2045
|
-
.canvas-panel-canvas [contenteditable="true"] {
|
|
2046
|
-
outline: 2px solid var(--accent);
|
|
2047
|
-
outline-offset: 1px;
|
|
2048
|
-
cursor: text;
|
|
2049
|
-
min-height: 1.5em;
|
|
2050
|
-
border-radius: var(--
|
|
2051
|
-
}
|
|
2052
|
-
.canvas-panel-canvas [contenteditable="true"]:focus {
|
|
2053
|
-
outline-color: var(--accent);
|
|
2054
|
-
box-shadow: 0 0 0 3px var(--accent-15);
|
|
2055
|
-
}
|
|
2056
|
-
|
|
2057
|
-
/* ─── Start pane (no project open) ─────────────────────────── */
|
|
2058
|
-
.welcome-screen {
|
|
2059
|
-
width: 100%;
|
|
2060
|
-
height: 100%;
|
|
2061
|
-
display: flex;
|
|
2062
|
-
align-items: flex-start;
|
|
2063
|
-
justify-content: center;
|
|
2064
|
-
padding-top: 10vh;
|
|
2065
|
-
overflow-y: auto;
|
|
2066
|
-
}
|
|
2067
|
-
.welcome-content {
|
|
2068
|
-
max-width: 560px;
|
|
2069
|
-
width: 100%;
|
|
2070
|
-
padding: 0 24px 48px;
|
|
2071
|
-
}
|
|
2072
|
-
.welcome-title {
|
|
2073
|
-
font-size: 28px;
|
|
2074
|
-
font-weight: 300;
|
|
2075
|
-
color: var(--fg);
|
|
2076
|
-
margin: 0;
|
|
2077
|
-
letter-spacing: -0.5px;
|
|
2078
|
-
}
|
|
2079
|
-
.welcome-subtitle {
|
|
2080
|
-
font-size: var(--spectrum-font-size-100, 14px);
|
|
2081
|
-
color: var(--fg-dim);
|
|
2082
|
-
margin: 2px 0 0;
|
|
2083
|
-
}
|
|
2084
|
-
.welcome-section {
|
|
2085
|
-
margin-top: 28px;
|
|
2086
|
-
}
|
|
2087
|
-
.welcome-section-title {
|
|
2088
|
-
font-size: 13px;
|
|
2089
|
-
font-weight: 600;
|
|
2090
|
-
color: var(--fg);
|
|
2091
|
-
margin: 0 0 8px;
|
|
2092
|
-
text-transform: uppercase;
|
|
2093
|
-
letter-spacing: 0.3px;
|
|
2094
|
-
}
|
|
2095
|
-
.welcome-actions {
|
|
2096
|
-
display: flex;
|
|
2097
|
-
flex-direction: column;
|
|
2098
|
-
align-items: stretch;
|
|
2099
|
-
gap: 2px;
|
|
2100
|
-
}
|
|
2101
|
-
.welcome-action {
|
|
2102
|
-
--mod-actionbutton-content-color-default: var(--accent);
|
|
2103
|
-
--mod-actionbutton-content-color-hover: var(--accent);
|
|
2104
|
-
|
|
2105
|
-
justify-content: flex-start;
|
|
2106
|
-
text-align: left;
|
|
2107
|
-
}
|
|
2108
|
-
.welcome-install-note {
|
|
2109
|
-
margin: 4px 8px 0;
|
|
2110
|
-
font-size: 12px;
|
|
2111
|
-
color: var(--fg-dim);
|
|
2112
|
-
}
|
|
2113
|
-
.welcome-list {
|
|
2114
|
-
list-style: none;
|
|
2115
|
-
margin: 0;
|
|
2116
|
-
padding: 0;
|
|
2117
|
-
}
|
|
2118
|
-
.welcome-recent {
|
|
2119
|
-
display: grid;
|
|
2120
|
-
grid-template-columns: auto 1fr auto;
|
|
2121
|
-
align-items: baseline;
|
|
2122
|
-
gap: 12px;
|
|
2123
|
-
width: 100%;
|
|
2124
|
-
padding: 5px 8px;
|
|
2125
|
-
margin: 0;
|
|
2126
|
-
background: none;
|
|
2127
|
-
border: none;
|
|
2128
|
-
border-radius: var(--radius);
|
|
2129
|
-
font: inherit;
|
|
2130
|
-
font-size: 13px;
|
|
2131
|
-
color: var(--fg);
|
|
2132
|
-
cursor: pointer;
|
|
2133
|
-
text-align: left;
|
|
2134
|
-
}
|
|
2135
|
-
.welcome-recent:hover {
|
|
2136
|
-
background: var(--hover-bg);
|
|
2137
|
-
}
|
|
2138
|
-
.welcome-recent-name {
|
|
2139
|
-
color: var(--accent);
|
|
2140
|
-
overflow: hidden;
|
|
2141
|
-
text-overflow: ellipsis;
|
|
2142
|
-
white-space: nowrap;
|
|
2143
|
-
}
|
|
2144
|
-
.welcome-recent-path {
|
|
2145
|
-
color: var(--fg-dim);
|
|
2146
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
2147
|
-
overflow: hidden;
|
|
2148
|
-
text-overflow: ellipsis;
|
|
2149
|
-
white-space: nowrap;
|
|
2150
|
-
}
|
|
2151
|
-
.welcome-recent-when {
|
|
2152
|
-
color: var(--fg-dim);
|
|
2153
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
2154
|
-
white-space: nowrap;
|
|
2155
|
-
}
|
|
2156
|
-
.welcome-section-header {
|
|
2157
|
-
display: flex;
|
|
2158
|
-
align-items: baseline;
|
|
2159
|
-
justify-content: space-between;
|
|
2160
|
-
gap: 12px;
|
|
2161
|
-
}
|
|
2162
|
-
.welcome-clear {
|
|
2163
|
-
--mod-actionbutton-content-color-default: var(--fg-dim);
|
|
2164
|
-
|
|
2165
|
-
flex-shrink: 0;
|
|
2166
|
-
}
|
|
2167
|
-
.welcome-recent-row {
|
|
2168
|
-
display: flex;
|
|
2169
|
-
align-items: center;
|
|
2170
|
-
}
|
|
2171
|
-
.welcome-recent-row .welcome-recent {
|
|
2172
|
-
flex: 1;
|
|
2173
|
-
min-width: 0;
|
|
2174
|
-
}
|
|
2175
|
-
.welcome-recent-remove {
|
|
2176
|
-
flex-shrink: 0;
|
|
2177
|
-
opacity: 0;
|
|
2178
|
-
}
|
|
2179
|
-
.welcome-recent-row:hover .welcome-recent-remove,
|
|
2180
|
-
.welcome-recent-remove:focus-visible {
|
|
2181
|
-
opacity: 1;
|
|
2182
|
-
}
|
|
2183
|
-
|
|
2184
|
-
/* ─── Grid editor (Tabulator theme over Spectrum tokens) ─────────────── */
|
|
2185
|
-
.jx-grid {
|
|
2186
|
-
display: flex;
|
|
2187
|
-
flex-direction: column;
|
|
2188
|
-
height: 100%;
|
|
2189
|
-
min-height: 0;
|
|
2190
|
-
background: var(--bg);
|
|
2191
|
-
}
|
|
2192
|
-
.jx-grid-toolbar {
|
|
2193
|
-
display: flex;
|
|
2194
|
-
align-items: center;
|
|
2195
|
-
gap: 6px;
|
|
2196
|
-
padding: 6px 10px;
|
|
2197
|
-
border-bottom: 1px solid var(--border);
|
|
2198
|
-
background: var(--bg-panel);
|
|
2199
|
-
flex-shrink: 0;
|
|
2200
|
-
}
|
|
2201
|
-
.jx-grid-toolbar sp-search {
|
|
2202
|
-
width: 200px;
|
|
2203
|
-
}
|
|
2204
|
-
.jx-grid-spacer {
|
|
2205
|
-
flex: 1;
|
|
2206
|
-
}
|
|
2207
|
-
.jx-grid-note {
|
|
2208
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
2209
|
-
color: var(--fg-dim);
|
|
2210
|
-
border: 1px solid var(--border);
|
|
2211
|
-
border-radius: var(--radius);
|
|
2212
|
-
padding: 1px 6px;
|
|
2213
|
-
cursor: help;
|
|
2214
|
-
}
|
|
2215
|
-
.jx-grid-count {
|
|
2216
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
2217
|
-
color: var(--fg-dim);
|
|
2218
|
-
white-space: nowrap;
|
|
2219
|
-
}
|
|
2220
|
-
.jx-grid-error-text {
|
|
2221
|
-
color: var(--danger);
|
|
2222
|
-
}
|
|
2223
|
-
.jx-grid-host {
|
|
2224
|
-
flex: 1;
|
|
2225
|
-
min-height: 0;
|
|
2226
|
-
}
|
|
2227
|
-
.jx-grid-missing {
|
|
2228
|
-
padding: 24px;
|
|
2229
|
-
color: var(--fg-dim);
|
|
2230
|
-
}
|
|
2231
|
-
|
|
2232
|
-
/* Tabulator structural overrides — tokens only, scoped under .jx-grid. */
|
|
2233
|
-
.jx-grid .tabulator {
|
|
2234
|
-
background: var(--bg);
|
|
2235
|
-
color: var(--fg);
|
|
2236
|
-
border: none;
|
|
2237
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
2238
|
-
height: 100%;
|
|
2239
|
-
}
|
|
2240
|
-
.jx-grid .tabulator .tabulator-header {
|
|
2241
|
-
background: var(--bg-panel);
|
|
2242
|
-
color: var(--fg);
|
|
2243
|
-
border-bottom: 1px solid var(--border);
|
|
2244
|
-
}
|
|
2245
|
-
.jx-grid .tabulator .tabulator-header .tabulator-col {
|
|
2246
|
-
background: var(--bg-panel);
|
|
2247
|
-
border-right: 1px solid var(--border);
|
|
2248
|
-
}
|
|
2249
|
-
.jx-grid .tabulator .tabulator-header .tabulator-col .tabulator-col-title {
|
|
2250
|
-
color: var(--fg);
|
|
2251
|
-
font-weight: 600;
|
|
2252
|
-
}
|
|
2253
|
-
.jx-grid .tabulator .tabulator-header .tabulator-header-filter input {
|
|
2254
|
-
background: var(--bg);
|
|
2255
|
-
color: var(--fg);
|
|
2256
|
-
border: 1px solid var(--border);
|
|
2257
|
-
border-radius: var(--spectrum-corner-radius-75, 2px);
|
|
2258
|
-
padding: 1px 4px;
|
|
2259
|
-
font: inherit;
|
|
2260
|
-
}
|
|
2261
|
-
.jx-grid .tabulator .tabulator-tableholder {
|
|
2262
|
-
background: var(--bg);
|
|
2263
|
-
}
|
|
2264
|
-
.jx-grid .tabulator .tabulator-row {
|
|
2265
|
-
background: var(--bg);
|
|
2266
|
-
color: var(--fg);
|
|
2267
|
-
border-bottom: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
|
|
2268
|
-
min-height: 26px;
|
|
2269
|
-
}
|
|
2270
|
-
.jx-grid .tabulator .tabulator-row.tabulator-row-even {
|
|
2271
|
-
background: color-mix(in srgb, var(--bg-panel) 45%, var(--bg));
|
|
2272
|
-
}
|
|
2273
|
-
.jx-grid .tabulator .tabulator-row.tabulator-selected {
|
|
2274
|
-
background: color-mix(in srgb, var(--accent) 16%, var(--bg));
|
|
2275
|
-
}
|
|
2276
|
-
.jx-grid .tabulator .tabulator-row .tabulator-cell {
|
|
2277
|
-
border-right: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
|
|
2278
|
-
padding: 3px 8px;
|
|
2279
|
-
}
|
|
2280
|
-
.jx-grid .tabulator .tabulator-row .tabulator-cell.tabulator-frozen {
|
|
2281
|
-
background: var(--bg-panel);
|
|
2282
|
-
border-right: 1px solid var(--border);
|
|
2283
|
-
}
|
|
2284
|
-
.jx-grid .tabulator .tabulator-range {
|
|
2285
|
-
border: 1px solid var(--accent);
|
|
2286
|
-
background: color-mix(in srgb, var(--accent) 10%, transparent);
|
|
2287
|
-
}
|
|
2288
|
-
.jx-grid .tabulator .tabulator-range-overlay .tabulator-range-cell-active {
|
|
2289
|
-
border: 2px solid var(--accent);
|
|
2290
|
-
}
|
|
2291
|
-
.jx-grid .tabulator .tabulator-placeholder .tabulator-placeholder-contents {
|
|
2292
|
-
color: var(--fg-dim);
|
|
2293
|
-
background: transparent;
|
|
2294
|
-
}
|
|
2295
|
-
|
|
2296
|
-
/* Buffer-state paint (dirty / error / stale / pending rows). */
|
|
2297
|
-
.jx-grid .tabulator-cell.jx-grid-cell--dirty {
|
|
2298
|
-
box-shadow: inset 2px 0 0 var(--accent);
|
|
2299
|
-
background: color-mix(in srgb, var(--accent) 8%, transparent);
|
|
2300
|
-
}
|
|
2301
|
-
.jx-grid .tabulator-cell.jx-grid-cell--error {
|
|
2302
|
-
box-shadow: inset 2px 0 0 var(--danger);
|
|
2303
|
-
background: color-mix(in srgb, var(--danger) 12%, transparent);
|
|
2304
|
-
}
|
|
2305
|
-
.jx-grid .tabulator-cell.jx-grid-cell--stale {
|
|
2306
|
-
opacity: 0.65;
|
|
2307
|
-
}
|
|
2308
|
-
.jx-grid .tabulator-row.jx-grid-row--pending-delete .tabulator-cell {
|
|
2309
|
-
text-decoration: line-through;
|
|
2310
|
-
opacity: 0.55;
|
|
2311
|
-
}
|
|
2312
|
-
.jx-grid .tabulator-row.jx-grid-row--pending-insert {
|
|
2313
|
-
background: color-mix(in srgb, var(--success, var(--accent)) 10%, var(--bg));
|
|
136
|
+
.canvas-panel-canvas [contenteditable="true"] {
|
|
137
|
+
outline: 2px solid var(--accent);
|
|
138
|
+
outline-offset: 1px;
|
|
139
|
+
cursor: text;
|
|
140
|
+
min-height: 1.5em;
|
|
141
|
+
border-radius: var(--jx-radius-xs, 2px);
|
|
2314
142
|
}
|
|
2315
|
-
.
|
|
2316
|
-
outline:
|
|
2317
|
-
|
|
143
|
+
.canvas-panel-canvas [contenteditable="true"]:focus {
|
|
144
|
+
outline-color: var(--accent);
|
|
145
|
+
box-shadow: 0 0 0 3px var(--accent-15);
|
|
2318
146
|
}
|
|
2319
147
|
|
|
2320
148
|
/* Cell content + in-cell editors. */
|
|
@@ -2323,15 +151,6 @@
|
|
|
2323
151
|
text-overflow: ellipsis;
|
|
2324
152
|
white-space: nowrap;
|
|
2325
153
|
}
|
|
2326
|
-
.jx-grid-kind-number {
|
|
2327
|
-
text-align: right;
|
|
2328
|
-
font-variant-numeric: tabular-nums;
|
|
2329
|
-
}
|
|
2330
|
-
.jx-grid-kind-readonly {
|
|
2331
|
-
color: var(--fg-dim);
|
|
2332
|
-
font-family: var(--font-mono);
|
|
2333
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
2334
|
-
}
|
|
2335
154
|
.jx-grid-chip {
|
|
2336
155
|
display: inline-block;
|
|
2337
156
|
background: color-mix(in srgb, var(--accent) 18%, transparent);
|
|
@@ -2339,7 +158,7 @@
|
|
|
2339
158
|
border-radius: 8px;
|
|
2340
159
|
padding: 0 6px;
|
|
2341
160
|
margin-right: 4px;
|
|
2342
|
-
font-size: var(--
|
|
161
|
+
font-size: var(--jx-text-sm, 11px);
|
|
2343
162
|
line-height: 16px;
|
|
2344
163
|
}
|
|
2345
164
|
.jx-grid-editor {
|
|
@@ -2354,7 +173,7 @@
|
|
|
2354
173
|
background: var(--bg);
|
|
2355
174
|
color: var(--fg);
|
|
2356
175
|
border: 1px solid var(--accent);
|
|
2357
|
-
border-radius: var(--
|
|
176
|
+
border-radius: var(--jx-radius-xs, 2px);
|
|
2358
177
|
padding: 2px 6px;
|
|
2359
178
|
font: inherit;
|
|
2360
179
|
/* Pointer focus only — the keyboard ring is restored below. */
|
|
@@ -2382,7 +201,7 @@
|
|
|
2382
201
|
width: 100%;
|
|
2383
202
|
background: var(--bg);
|
|
2384
203
|
border: 1px solid var(--accent);
|
|
2385
|
-
border-radius: var(--
|
|
204
|
+
border-radius: var(--jx-radius-xs, 2px);
|
|
2386
205
|
padding: 1px 4px;
|
|
2387
206
|
}
|
|
2388
207
|
.jx-grid-pill-input {
|
|
@@ -2412,256 +231,15 @@
|
|
|
2412
231
|
.jx-grid-chip-x:hover {
|
|
2413
232
|
color: var(--danger);
|
|
2414
233
|
}
|
|
2415
|
-
.jx-grid-cell-popover-body {
|
|
2416
|
-
display: flex;
|
|
2417
|
-
flex-direction: column;
|
|
2418
|
-
gap: 8px;
|
|
2419
|
-
padding: 10px;
|
|
2420
|
-
min-width: 260px;
|
|
2421
|
-
}
|
|
2422
|
-
.jx-grid-cell-popover-title {
|
|
2423
|
-
font-weight: 600;
|
|
2424
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
2425
|
-
}
|
|
2426
|
-
.jx-grid-cell-popover-hint {
|
|
2427
|
-
color: var(--fg-dim);
|
|
2428
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
2429
|
-
}
|
|
2430
|
-
.jx-grid-cell-popover-actions {
|
|
2431
|
-
display: flex;
|
|
2432
|
-
justify-content: flex-end;
|
|
2433
|
-
}
|
|
2434
|
-
.jx-grid-cell-popover .jx-grid-select,
|
|
2435
|
-
.jx-grid-cell-popover .jx-grid-input,
|
|
2436
|
-
.jx-grid-view-popover .jx-grid-input {
|
|
2437
|
-
width: 100%;
|
|
2438
|
-
background: var(--bg);
|
|
2439
|
-
color: var(--fg);
|
|
2440
|
-
border: 1px solid var(--border);
|
|
2441
|
-
border-radius: var(--spectrum-corner-radius-75, 2px);
|
|
2442
|
-
padding: 3px 6px;
|
|
2443
|
-
font: inherit;
|
|
2444
|
-
}
|
|
2445
|
-
|
|
2446
|
-
/* Saved views — one popover for the four facets a view is made of (plan §12 P7.2). The name of the
|
|
2447
|
-
applied view is on the toolbar button, so the control says what is on screen before it is
|
|
2448
|
-
opened. */
|
|
2449
|
-
.jx-grid-view-button {
|
|
2450
|
-
max-width: 160px;
|
|
2451
|
-
overflow: hidden;
|
|
2452
|
-
text-overflow: ellipsis;
|
|
2453
|
-
white-space: nowrap;
|
|
2454
|
-
}
|
|
2455
|
-
.jx-grid-view-popover .jx-grid-cell-popover-body {
|
|
2456
|
-
min-width: 280px;
|
|
2457
|
-
max-height: 60vh;
|
|
2458
|
-
overflow-y: auto;
|
|
2459
|
-
}
|
|
2460
|
-
.jx-grid-view-empty {
|
|
2461
|
-
color: var(--fg-dim);
|
|
2462
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
2463
|
-
}
|
|
2464
|
-
.jx-grid-view-row {
|
|
2465
|
-
display: flex;
|
|
2466
|
-
align-items: center;
|
|
2467
|
-
gap: 4px;
|
|
2468
|
-
}
|
|
2469
|
-
.jx-grid-view-name {
|
|
2470
|
-
flex: 1;
|
|
2471
|
-
text-align: left;
|
|
2472
|
-
background: none;
|
|
2473
|
-
border: none;
|
|
2474
|
-
color: var(--fg);
|
|
2475
|
-
font: inherit;
|
|
2476
|
-
padding: 3px 6px;
|
|
2477
|
-
border-radius: var(--spectrum-corner-radius-75, 2px);
|
|
2478
|
-
cursor: pointer;
|
|
2479
|
-
}
|
|
2480
|
-
.jx-grid-view-name:hover {
|
|
2481
|
-
background: var(--bg-hover);
|
|
2482
|
-
}
|
|
2483
|
-
.jx-grid-view-name.is-active {
|
|
2484
|
-
font-weight: 600;
|
|
2485
|
-
background: var(--bg-selected);
|
|
2486
|
-
}
|
|
2487
|
-
.jx-grid-view-check {
|
|
2488
|
-
display: flex;
|
|
2489
|
-
align-items: center;
|
|
2490
|
-
gap: 6px;
|
|
2491
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
2492
|
-
}
|
|
2493
|
-
.jx-grid-sort-field,
|
|
2494
|
-
.jx-grid-sort-dir,
|
|
2495
|
-
.jx-grid-group-field {
|
|
2496
|
-
width: 100%;
|
|
2497
|
-
}
|
|
2498
|
-
|
|
2499
|
-
/* The redirect paste box (site-architecture.md §11.4's "import from _redirects or CSV"). Monospace
|
|
2500
|
-
because both formats are column-aligned in the file the author copied them out of. */
|
|
2501
|
-
.jx-redirect-import {
|
|
2502
|
-
width: 100%;
|
|
2503
|
-
min-width: 420px;
|
|
2504
|
-
font-family: var(--font-mono, monospace);
|
|
2505
|
-
background: var(--bg);
|
|
2506
|
-
color: var(--fg);
|
|
2507
|
-
border: 1px solid var(--border);
|
|
2508
|
-
border-radius: var(--spectrum-corner-radius-75, 2px);
|
|
2509
|
-
padding: 6px;
|
|
2510
|
-
resize: vertical;
|
|
2511
|
-
}
|
|
2512
234
|
|
|
2513
235
|
/* ─── ④ The toast host — the fourth overlay layer ─────────────────────────── */
|
|
2514
|
-
/* The stack is bottom-right and pinned to the layer, not to the app grid: a toast reports on an
|
|
2515
|
-
operation, and operations are started from every region — pinning it to one of them would put it
|
|
2516
|
-
furthest from wherever the reader was looking half the time. `pointer-events` is re-enabled per
|
|
2517
|
-
toast rather than on the stack, so the empty area of the layer never eats a canvas click. */
|
|
2518
|
-
.toast-stack {
|
|
2519
|
-
position: absolute;
|
|
2520
|
-
right: 12px;
|
|
2521
|
-
bottom: 36px;
|
|
2522
|
-
display: flex;
|
|
2523
|
-
flex-direction: column;
|
|
2524
|
-
gap: 8px;
|
|
2525
|
-
align-items: flex-end;
|
|
2526
|
-
max-width: min(420px, calc(100vw - 24px));
|
|
2527
|
-
}
|
|
2528
|
-
.toast {
|
|
2529
|
-
display: flex;
|
|
2530
|
-
align-items: center;
|
|
2531
|
-
gap: 8px;
|
|
2532
|
-
pointer-events: auto;
|
|
2533
|
-
padding: 8px 10px;
|
|
2534
|
-
border: 1px solid var(--border);
|
|
2535
|
-
border-left: 3px solid var(--fg-dim);
|
|
2536
|
-
border-radius: var(--radius);
|
|
2537
|
-
background: var(--bg-panel);
|
|
2538
|
-
color: var(--fg);
|
|
2539
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
2540
|
-
box-shadow: 0 4px 16px rgb(0 0 0 / 35%);
|
|
2541
|
-
animation: toast-in 180ms ease-out;
|
|
2542
|
-
}
|
|
2543
|
-
/* §13.3 clause 6: the app honours reduced motion itself, so the photograph shows what a
|
|
2544
|
-
reduced-motion reader actually sees rather than what a runner-injected freeze produced. */
|
|
2545
|
-
@media (prefers-reduced-motion: reduce) {
|
|
2546
|
-
.toast {
|
|
2547
|
-
animation: none;
|
|
2548
|
-
}
|
|
2549
|
-
}
|
|
2550
|
-
@keyframes toast-in {
|
|
2551
|
-
from {
|
|
2552
|
-
opacity: 0;
|
|
2553
|
-
transform: translateY(6px);
|
|
2554
|
-
}
|
|
2555
|
-
to {
|
|
2556
|
-
opacity: 1;
|
|
2557
|
-
transform: translateY(0);
|
|
2558
|
-
}
|
|
2559
|
-
}
|
|
2560
|
-
.toast--success {
|
|
2561
|
-
border-left-color: var(--success);
|
|
2562
|
-
}
|
|
2563
|
-
.toast--info {
|
|
2564
|
-
border-left-color: var(--accent);
|
|
2565
|
-
}
|
|
2566
|
-
.toast--warn {
|
|
2567
|
-
border-left-color: var(--warning);
|
|
2568
|
-
}
|
|
2569
|
-
.toast--error {
|
|
2570
|
-
border-left-color: var(--danger);
|
|
2571
|
-
}
|
|
2572
|
-
.toast-icon {
|
|
2573
|
-
flex: none;
|
|
2574
|
-
width: 14px;
|
|
2575
|
-
text-align: center;
|
|
2576
|
-
font-weight: 700;
|
|
2577
|
-
}
|
|
2578
|
-
.toast--success .toast-icon {
|
|
2579
|
-
color: var(--success);
|
|
2580
|
-
}
|
|
2581
|
-
.toast--info .toast-icon {
|
|
2582
|
-
color: var(--accent);
|
|
2583
|
-
}
|
|
2584
|
-
.toast--warn .toast-icon {
|
|
2585
|
-
color: var(--warning);
|
|
2586
|
-
}
|
|
2587
|
-
.toast--error .toast-icon {
|
|
2588
|
-
color: var(--danger);
|
|
2589
|
-
}
|
|
2590
|
-
.toast-message {
|
|
2591
|
-
flex: 1;
|
|
2592
|
-
min-width: 0;
|
|
2593
|
-
/* Four lines is a message that belongs in Problems, where it can be read at leisure. */
|
|
2594
|
-
overflow: hidden;
|
|
2595
|
-
display: -webkit-box;
|
|
2596
|
-
-webkit-box-orient: vertical;
|
|
2597
|
-
-webkit-line-clamp: 3;
|
|
2598
|
-
}
|
|
2599
|
-
/* The recovery button IS a command: its label is the command's title, so it is never a bare
|
|
2600
|
-
"Retry" that fails to say what would be retried. */
|
|
2601
|
-
.toast-action {
|
|
2602
|
-
flex: none;
|
|
2603
|
-
padding: 2px 8px;
|
|
2604
|
-
border: 1px solid var(--border);
|
|
2605
|
-
border-radius: var(--spectrum-corner-radius-75, 2px);
|
|
2606
|
-
background: transparent;
|
|
2607
|
-
color: var(--accent);
|
|
2608
|
-
font: inherit;
|
|
2609
|
-
cursor: pointer;
|
|
2610
|
-
}
|
|
2611
|
-
.toast-action:hover:not(:disabled) {
|
|
2612
|
-
background: var(--hover-bg);
|
|
2613
|
-
}
|
|
2614
|
-
.toast-action:disabled {
|
|
2615
|
-
color: var(--fg-dim);
|
|
2616
|
-
cursor: default;
|
|
2617
|
-
}
|
|
2618
|
-
.toast-dismiss {
|
|
2619
|
-
flex: none;
|
|
2620
|
-
width: 18px;
|
|
2621
|
-
height: 18px;
|
|
2622
|
-
padding: 0;
|
|
2623
|
-
border: none;
|
|
2624
|
-
border-radius: var(--spectrum-corner-radius-75, 2px);
|
|
2625
|
-
background: transparent;
|
|
2626
|
-
color: var(--fg-dim);
|
|
2627
|
-
font: inherit;
|
|
2628
|
-
line-height: 1;
|
|
2629
|
-
cursor: pointer;
|
|
2630
|
-
}
|
|
2631
|
-
.toast-dismiss:hover {
|
|
2632
|
-
color: var(--fg);
|
|
2633
|
-
background: var(--hover-bg);
|
|
2634
|
-
}
|
|
2635
|
-
|
|
2636
236
|
/* The consequence line inside a destructive confirmation — what this delete or rename breaks, and
|
|
2637
237
|
what survives it. Set apart from the question above it, because the question is a sentence the
|
|
2638
238
|
user already wrote in their head and this is the part they have not thought about. */
|
|
2639
239
|
.dialog-consequence {
|
|
2640
240
|
margin-top: 8px;
|
|
2641
241
|
color: var(--fg-dim);
|
|
2642
|
-
font-size: var(--
|
|
2643
|
-
line-height: 1.5;
|
|
2644
|
-
}
|
|
2645
|
-
|
|
2646
|
-
/* One labelled choice inside a dialog body (`ui/choice-field.ts`) — the New File format picker and
|
|
2647
|
-
the Convert target picker. Stacked rather than inline: the label reads as a question about the
|
|
2648
|
-
field beneath it, and a picker beside a full-width text field wins a width fight neither should
|
|
2649
|
-
be having. */
|
|
2650
|
-
.choice-row {
|
|
2651
|
-
display: flex;
|
|
2652
|
-
flex-direction: column;
|
|
2653
|
-
gap: 4px;
|
|
2654
|
-
margin: 0 0 12px;
|
|
2655
|
-
}
|
|
2656
|
-
.choice-row sp-picker {
|
|
2657
|
-
width: 100%;
|
|
2658
|
-
}
|
|
2659
|
-
/* What a one-row choice degrades to. Sized like the picker it replaces so the dialog does not
|
|
2660
|
-
change height when the project gains a second format. */
|
|
2661
|
-
.choice-static {
|
|
2662
|
-
padding: 4px 0;
|
|
2663
|
-
color: var(--fg-dim);
|
|
2664
|
-
font-size: var(--spectrum-font-size-100, 14px);
|
|
242
|
+
font-size: var(--jx-text-md, 12px);
|
|
2665
243
|
line-height: 1.5;
|
|
2666
244
|
}
|
|
2667
245
|
|
|
@@ -2681,315 +259,10 @@
|
|
|
2681
259
|
right: 0;
|
|
2682
260
|
left: 0;
|
|
2683
261
|
padding: 3px 8px;
|
|
2684
|
-
background: var(--
|
|
2685
|
-
color: var(--
|
|
2686
|
-
font-size: var(--
|
|
262
|
+
background: var(--jx-amber-400, #d59429);
|
|
263
|
+
color: var(--jx-gray-975, #0b0b0d);
|
|
264
|
+
font-size: var(--jx-text-sm, 11px);
|
|
2687
265
|
line-height: 1.4;
|
|
2688
266
|
text-align: center;
|
|
2689
267
|
pointer-events: none;
|
|
2690
268
|
}
|
|
2691
|
-
|
|
2692
|
-
/* ─── The Entry editor (content/entry-editor.ts) ─────────────────────────────
|
|
2693
|
-
One content entry's fields, drawn by ui/schema-form.ts in a pane. Same
|
|
2694
|
-
pane-editor family as the Project Settings document above, so it borrows its
|
|
2695
|
-
metrics rather than inventing a second set. */
|
|
2696
|
-
.entry-editor {
|
|
2697
|
-
height: 100%;
|
|
2698
|
-
padding: 16px;
|
|
2699
|
-
overflow-y: auto;
|
|
2700
|
-
background: var(--bg-panel);
|
|
2701
|
-
}
|
|
2702
|
-
.entry-editor-header {
|
|
2703
|
-
display: flex;
|
|
2704
|
-
align-items: center;
|
|
2705
|
-
gap: 12px;
|
|
2706
|
-
margin-bottom: 16px;
|
|
2707
|
-
}
|
|
2708
|
-
.entry-editor-header h3 {
|
|
2709
|
-
margin: 0;
|
|
2710
|
-
font-size: var(--spectrum-font-size-100, 14px);
|
|
2711
|
-
font-weight: 600;
|
|
2712
|
-
}
|
|
2713
|
-
.entry-editor-collection {
|
|
2714
|
-
padding: 1px 8px;
|
|
2715
|
-
border-radius: var(--radius);
|
|
2716
|
-
background: var(--bg);
|
|
2717
|
-
color: var(--fg-dim);
|
|
2718
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
2719
|
-
}
|
|
2720
|
-
.entry-draft-switch {
|
|
2721
|
-
margin-left: auto;
|
|
2722
|
-
}
|
|
2723
|
-
.entry-editor-fields {
|
|
2724
|
-
display: flex;
|
|
2725
|
-
flex-direction: column;
|
|
2726
|
-
}
|
|
2727
|
-
.entry-editor-note {
|
|
2728
|
-
margin: 0 0 12px;
|
|
2729
|
-
color: var(--fg-dim);
|
|
2730
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
2731
|
-
line-height: 1.5;
|
|
2732
|
-
}
|
|
2733
|
-
.entry-editor-empty {
|
|
2734
|
-
display: flex;
|
|
2735
|
-
max-width: 46ch;
|
|
2736
|
-
flex-direction: column;
|
|
2737
|
-
align-items: flex-start;
|
|
2738
|
-
gap: 8px;
|
|
2739
|
-
color: var(--fg-dim);
|
|
2740
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
2741
|
-
line-height: 1.5;
|
|
2742
|
-
}
|
|
2743
|
-
|
|
2744
|
-
/* The draft pill, on the tab chip. "Published" is deliberately as visible as
|
|
2745
|
-
"Draft": a state you can only see one half of is a state you cannot check. */
|
|
2746
|
-
.entry-pill {
|
|
2747
|
-
padding: 0 5px;
|
|
2748
|
-
border-radius: var(--radius);
|
|
2749
|
-
background: var(--bg);
|
|
2750
|
-
color: var(--fg-dim);
|
|
2751
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
2752
|
-
line-height: 15px;
|
|
2753
|
-
white-space: nowrap;
|
|
2754
|
-
}
|
|
2755
|
-
.entry-pill--draft {
|
|
2756
|
-
background: var(--spectrum-yellow-400, #d8b400);
|
|
2757
|
-
color: var(--spectrum-gray-900, #000);
|
|
2758
|
-
}
|
|
2759
|
-
|
|
2760
|
-
/* ─── Locales section ─── */
|
|
2761
|
-
/* The raw BCP 47 tag beside the language's own name. Both are shown because they answer different
|
|
2762
|
-
questions — "which language is this" is the autonym, "what do I type in a path" is the tag, and a
|
|
2763
|
-
row showing only one of them sends the author to the docs to find the other. */
|
|
2764
|
-
.settings-locale-tag {
|
|
2765
|
-
margin-inline-start: auto;
|
|
2766
|
-
font-family: var(--font-mono);
|
|
2767
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
2768
|
-
color: var(--fg-dim);
|
|
2769
|
-
}
|
|
2770
|
-
.settings-locale-name {
|
|
2771
|
-
flex: 1;
|
|
2772
|
-
min-width: 0;
|
|
2773
|
-
}
|
|
2774
|
-
.settings-default-locale,
|
|
2775
|
-
.settings-locale-routing {
|
|
2776
|
-
max-width: 320px;
|
|
2777
|
-
}
|
|
2778
|
-
|
|
2779
|
-
/* ─── Overlay layers ───────────────────────────────────────────────────────
|
|
2780
|
-
The four full-viewport hosts `ui/layers.ts` renders into, in stacking order.
|
|
2781
|
-
Their z-indices were inline `style` attributes on four divs in index.html,
|
|
2782
|
-
which put the one piece of ordering the whole overlay system depends on
|
|
2783
|
-
outside `check-styles.ts`'s stacking rule — the rule that exists because a
|
|
2784
|
-
blocking progress modal shipped above its own scrim with no reachable exit.
|
|
2785
|
-
`src/shell/tree.ts` emits these classes; the ordering is reviewable here.
|
|
2786
|
-
|
|
2787
|
-
Each layer is inert until something is rendered into it: `pointer-events`
|
|
2788
|
-
is none on the host, and each slot `ui/layers.ts` appends turns it back on
|
|
2789
|
-
for itself. */
|
|
2790
|
-
.jx-layer {
|
|
2791
|
-
position: fixed;
|
|
2792
|
-
inset: 0;
|
|
2793
|
-
pointer-events: none;
|
|
2794
|
-
}
|
|
2795
|
-
|
|
2796
|
-
.jx-layer--popover {
|
|
2797
|
-
z-index: 1000;
|
|
2798
|
-
}
|
|
2799
|
-
|
|
2800
|
-
.jx-layer--modal {
|
|
2801
|
-
z-index: 2000;
|
|
2802
|
-
}
|
|
2803
|
-
|
|
2804
|
-
.jx-layer--dialog {
|
|
2805
|
-
z-index: 3000;
|
|
2806
|
-
}
|
|
2807
|
-
|
|
2808
|
-
/* Above the dialog layer, deliberately: an operation started from a dialog
|
|
2809
|
-
reports its outcome to the person who is still looking at the dialog. */
|
|
2810
|
-
.jx-layer--toast {
|
|
2811
|
-
z-index: 4000;
|
|
2812
|
-
}
|
|
2813
|
-
|
|
2814
|
-
/* The gear menu's section submenu.
|
|
2815
|
-
|
|
2816
|
-
Project Settings has ~16 sections once the extensions have contributed theirs, which is taller
|
|
2817
|
-
than a short window. The menu's own placement floors `top` at 4px so the first rows can never be
|
|
2818
|
-
pushed off the top edge; this is the other half — the list scrolls inside itself rather than
|
|
2819
|
-
demanding a viewport it cannot have. */
|
|
2820
|
-
/* The gear menu's rows.
|
|
2821
|
-
|
|
2822
|
-
A min-width so the widest title and its chord are not crushed into each other: the rows are
|
|
2823
|
-
`Preferences… ⌘,` and `Open Project Settings ⌘⇧,`, and Spectrum sizes a menu to its content. */
|
|
2824
|
-
.settings-menu {
|
|
2825
|
-
min-width: 260px;
|
|
2826
|
-
}
|
|
2827
|
-
|
|
2828
|
-
/* One flex cell for the trailing chord and chevron.
|
|
2829
|
-
|
|
2830
|
-
They must be a SINGLE slotted node. Spectrum's menu-item grid gives `[slot=value]` one cell with
|
|
2831
|
-
`justify-self: end`, applied per assigned node — so a chord and a chevron slotted separately are
|
|
2832
|
-
both pinned to the same right edge, on top of each other. */
|
|
2833
|
-
.settings-menu-value {
|
|
2834
|
-
display: inline-flex;
|
|
2835
|
-
align-items: center;
|
|
2836
|
-
gap: 8px;
|
|
2837
|
-
padding-left: 24px;
|
|
2838
|
-
color: var(--fg-dim);
|
|
2839
|
-
}
|
|
2840
|
-
|
|
2841
|
-
.settings-submenu {
|
|
2842
|
-
max-height: min(60vh, 480px);
|
|
2843
|
-
overflow-y: auto;
|
|
2844
|
-
overscroll-behavior: contain;
|
|
2845
|
-
}
|
|
2846
|
-
|
|
2847
|
-
/* ─── Media viewer ────────────────────────────────────────────────────────────
|
|
2848
|
-
A pane that SHOWS a file rather than editing one (`media/media-pane.ts`). The stage takes the
|
|
2849
|
-
room and the details column stays a fixed width, so the asset is the thing you are looking at
|
|
2850
|
-
and the facts about it are beside it rather than on top of it. It scrolls itself — a wheel over
|
|
2851
|
-
an image is a scroll, not a zoom, which is why `media` is in shortcuts.ts's self-scrolling set. */
|
|
2852
|
-
.media-viewer {
|
|
2853
|
-
height: 100%;
|
|
2854
|
-
display: flex;
|
|
2855
|
-
gap: 16px;
|
|
2856
|
-
padding: 16px;
|
|
2857
|
-
overflow-y: auto;
|
|
2858
|
-
background: var(--bg-panel);
|
|
2859
|
-
}
|
|
2860
|
-
.media-stage {
|
|
2861
|
-
flex: 1;
|
|
2862
|
-
min-width: 0;
|
|
2863
|
-
display: flex;
|
|
2864
|
-
align-items: flex-start;
|
|
2865
|
-
justify-content: center;
|
|
2866
|
-
}
|
|
2867
|
-
/* Never larger than its own pixels: an upscaled thumbnail is a lie about the asset, and judging
|
|
2868
|
-
whether an imported image is big enough is the whole reason somebody opens this. */
|
|
2869
|
-
.media-image {
|
|
2870
|
-
max-width: 100%;
|
|
2871
|
-
height: auto;
|
|
2872
|
-
border: 1px solid var(--border);
|
|
2873
|
-
border-radius: var(--radius);
|
|
2874
|
-
background: var(--bg-input);
|
|
2875
|
-
}
|
|
2876
|
-
.media-video,
|
|
2877
|
-
.media-embed {
|
|
2878
|
-
width: 100%;
|
|
2879
|
-
max-height: 70vh;
|
|
2880
|
-
border: 1px solid var(--border);
|
|
2881
|
-
border-radius: var(--radius);
|
|
2882
|
-
background: var(--bg-input);
|
|
2883
|
-
}
|
|
2884
|
-
.media-audio {
|
|
2885
|
-
width: 100%;
|
|
2886
|
-
}
|
|
2887
|
-
.media-specimen {
|
|
2888
|
-
width: 100%;
|
|
2889
|
-
padding: 16px;
|
|
2890
|
-
border: 1px solid var(--border);
|
|
2891
|
-
border-radius: var(--radius);
|
|
2892
|
-
background: var(--bg-input);
|
|
2893
|
-
color: var(--fg);
|
|
2894
|
-
}
|
|
2895
|
-
.media-specimen-line {
|
|
2896
|
-
margin: 0 0 12px;
|
|
2897
|
-
line-height: 1.3;
|
|
2898
|
-
overflow-wrap: anywhere;
|
|
2899
|
-
}
|
|
2900
|
-
.media-unviewable {
|
|
2901
|
-
padding: 24px;
|
|
2902
|
-
border: 1px dashed var(--border);
|
|
2903
|
-
border-radius: var(--radius);
|
|
2904
|
-
color: var(--fg-dim);
|
|
2905
|
-
text-align: center;
|
|
2906
|
-
}
|
|
2907
|
-
.media-note {
|
|
2908
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
2909
|
-
color: var(--fg-dim);
|
|
2910
|
-
}
|
|
2911
|
-
.media-details {
|
|
2912
|
-
flex: 0 0 260px;
|
|
2913
|
-
display: flex;
|
|
2914
|
-
flex-direction: column;
|
|
2915
|
-
gap: 12px;
|
|
2916
|
-
}
|
|
2917
|
-
.media-name {
|
|
2918
|
-
margin: 0;
|
|
2919
|
-
font-size: var(--spectrum-font-size-100, 14px);
|
|
2920
|
-
color: var(--fg);
|
|
2921
|
-
overflow-wrap: anywhere;
|
|
2922
|
-
}
|
|
2923
|
-
.media-facts {
|
|
2924
|
-
margin: 0;
|
|
2925
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
2926
|
-
color: var(--fg-dim);
|
|
2927
|
-
}
|
|
2928
|
-
/* The reference a document writes for this file — `/hero.jpg` for `public/hero.jpg`, which shares
|
|
2929
|
-
not one segment with it. Getting this wrong is the commonest way an image goes missing. */
|
|
2930
|
-
.media-ref {
|
|
2931
|
-
display: flex;
|
|
2932
|
-
align-items: center;
|
|
2933
|
-
gap: 6px;
|
|
2934
|
-
}
|
|
2935
|
-
.media-ref-value {
|
|
2936
|
-
flex: 1;
|
|
2937
|
-
min-width: 0;
|
|
2938
|
-
font-family: var(--font-mono);
|
|
2939
|
-
font-size: 11px;
|
|
2940
|
-
background: var(--bg-input);
|
|
2941
|
-
border: 1px solid var(--border);
|
|
2942
|
-
border-radius: var(--radius);
|
|
2943
|
-
padding: 3px 6px;
|
|
2944
|
-
overflow-wrap: anywhere;
|
|
2945
|
-
}
|
|
2946
|
-
.media-usage {
|
|
2947
|
-
display: flex;
|
|
2948
|
-
flex-direction: column;
|
|
2949
|
-
}
|
|
2950
|
-
.media-usage-title {
|
|
2951
|
-
margin: 0 0 4px;
|
|
2952
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
2953
|
-
font-weight: 500;
|
|
2954
|
-
color: var(--fg-dim);
|
|
2955
|
-
}
|
|
2956
|
-
.media-usage-headline {
|
|
2957
|
-
margin: 0;
|
|
2958
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
2959
|
-
color: var(--fg-dim);
|
|
2960
|
-
}
|
|
2961
|
-
.media-usage-list {
|
|
2962
|
-
list-style: none;
|
|
2963
|
-
margin: 8px 0 0;
|
|
2964
|
-
padding: 0;
|
|
2965
|
-
display: flex;
|
|
2966
|
-
flex-direction: column;
|
|
2967
|
-
gap: 2px;
|
|
2968
|
-
}
|
|
2969
|
-
.media-usage-list li {
|
|
2970
|
-
display: flex;
|
|
2971
|
-
align-items: baseline;
|
|
2972
|
-
gap: 6px;
|
|
2973
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
2974
|
-
}
|
|
2975
|
-
.media-usage-link {
|
|
2976
|
-
flex: 1;
|
|
2977
|
-
min-width: 0;
|
|
2978
|
-
background: none;
|
|
2979
|
-
border: none;
|
|
2980
|
-
padding: 0;
|
|
2981
|
-
text-align: left;
|
|
2982
|
-
color: var(--accent);
|
|
2983
|
-
cursor: pointer;
|
|
2984
|
-
font: inherit;
|
|
2985
|
-
overflow-wrap: anywhere;
|
|
2986
|
-
}
|
|
2987
|
-
.media-usage-link:hover {
|
|
2988
|
-
text-decoration: underline;
|
|
2989
|
-
}
|
|
2990
|
-
.media-usage-count {
|
|
2991
|
-
flex: 0 0 auto;
|
|
2992
|
-
font-family: var(--font-mono);
|
|
2993
|
-
font-size: 10px;
|
|
2994
|
-
color: var(--fg-dim);
|
|
2995
|
-
}
|