@floless/app 0.139.1 → 0.141.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/dist/floless-server.cjs +32765 -36490
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +8 -3
- package/dist/skills/floless-app-vectorize/SKILL.md +1 -1
- package/dist/skills/floless-app-vectorize/scripts/extract_pdf.py +7 -1
- package/dist/skills/floless-app-vectorize/scripts/vision_to_contract.py +7 -1
- package/dist/web/app.css +163 -3
- package/dist/web/aware.js +657 -66
- package/dist/web/chat.css +387 -25
- package/dist/web/chat.js +2005 -108
- package/dist/web/commands-filter.js +86 -8
- package/dist/web/commands-revit.js +2 -1
- package/dist/web/commands-shell.js +249 -13
- package/dist/web/commands-steel.js +34 -24
- package/dist/web/commands.js +19 -0
- package/dist/web/filter-ai-context.js +57 -0
- package/dist/web/filter-ai-proposal.js +87 -0
- package/dist/web/filter-guidance.js +8 -0
- package/dist/web/index.html +72 -11
- package/dist/web/instructor.js +231 -33
- package/dist/web/left-pane.js +185 -18
- package/dist/web/local-discovery.js +297 -0
- package/dist/web/model-editor-revit-adapter.js +3 -1
- package/dist/web/model-editor-steel-adapter.js +3 -1
- package/dist/web/model-editor.css +4 -4
- package/dist/web/model-revit-module.js +63 -0
- package/dist/web/model-viewport-toolbar.js +13 -1
- package/dist/web/model-viewport.js +16 -1
- package/dist/web/overlay-escape.js +79 -0
- package/dist/web/revit-editor.css +7 -0
- package/dist/web/revit-editor.html +5 -5
- package/dist/web/revit-editor.js +20 -10
- package/dist/web/steel-detail-refs.js +0 -69
- package/dist/web/steel-editor.html +103 -264
- package/dist/web/steel-filter-core.js +298 -12
- package/dist/web/steel-filter-hit.js +526 -0
- package/dist/web/steel-filter.html +1647 -75
- package/dist/web/steel-split-view.js +1 -1
- package/dist/web/vector-3d.html +3 -0
- package/dist/web/vector-editor.html +9 -1
- package/dist/web/workspaces.js +198 -25
- package/package.json +5 -2
|
@@ -7,7 +7,7 @@ description: >-
|
|
|
7
7
|
two-phase Drawing Filter process: first prepare and save the deterministic Filter, then read only the
|
|
8
8
|
selected evidence into model-global members, registered plan views, observations, and revision history.
|
|
9
9
|
metadata:
|
|
10
|
-
version: 0.59.
|
|
10
|
+
version: 0.59.9
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
# Steel Takeoff — read drawings into `steel.model/v2`
|
|
@@ -91,8 +91,13 @@ Do not read members before the user saves the Drawing Filter.
|
|
|
91
91
|
The drawings and completed page identification remain attached; never replace or split the set merely
|
|
92
92
|
because a preparation worker exceeded one attempt window.
|
|
93
93
|
Never build, rename, or replace server-owned Filter geometry yourself.
|
|
94
|
-
2. Stop and ask the user to
|
|
95
|
-
|
|
94
|
+
2. Stop and ask the user to open **Drawing Filter**. Explain that a steel read may need more than
|
|
95
|
+
steel lines: member/profile marks, grid labels, location or scale dimensions, and relevant
|
|
96
|
+
detail/section callouts may be needed too. Tell them that while the Drawing Filter is open they
|
|
97
|
+
can ask FloLess's **AI Chat** on the left about any layer or the selection, or tell it what to
|
|
98
|
+
change. When it proposes ticks, they appear as a card to review, apply with **Apply selection**,
|
|
99
|
+
and Undo; nothing changes before that, and it never presses **Save filter**. Ask the user to review the
|
|
100
|
+
bright selected drawing items and press **Save filter** in the top-right corner only when satisfied.
|
|
96
101
|
3. Only after Save, fetch the request and its saved Filter again, pin its ETag, and read members from
|
|
97
102
|
elements that the saved selection keeps.
|
|
98
103
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: floless-app-vectorize
|
|
3
3
|
description: Vectorize a drawing into an editable drawing.vector/v1 contract in floless.app — the "Vectorize" reader. Triggers on a pending floless `rebake` request for the `vectorize` app (queued from its "Re-read & re-bake ▸" button), or asks like "vectorize this PDF", "turn my sketch into clean CAD linework", "read this detail into vectors", "trace this photo", "make this drawing 3D". Teaches the host AI to read a drawing at COMPOSE time — a vector PDF via ONE deterministic PyMuPDF pass (no LLM), a scan/photo/hand sketch by MEASURING its ink with a deterministic OpenCV centerline tracer for geometry plus AWARE's fenced vision.extract for the text (schema-bound, cached) — emit the drawing.vector/v1 contract, PUT it to the contract store, and hand the 2D vector editor to the user; and, for a multi-view set (plan + elevation), to classify views, read datums, and declare entities so the server reconstructs a viewable 3D model.
|
|
4
4
|
metadata:
|
|
5
|
-
version: 0.8.
|
|
5
|
+
version: 0.8.1
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Vectorize — read a drawing into a drawing.vector/v1 contract
|
|
@@ -28,7 +28,13 @@ import os
|
|
|
28
28
|
import sys
|
|
29
29
|
from datetime import datetime, timezone
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
try:
|
|
32
|
+
import pymupdf as fitz
|
|
33
|
+
except ImportError:
|
|
34
|
+
import sys
|
|
35
|
+
from contextlib import redirect_stdout
|
|
36
|
+
with redirect_stdout(sys.stderr):
|
|
37
|
+
import fitz
|
|
32
38
|
|
|
33
39
|
|
|
34
40
|
def fmt(v):
|
|
@@ -32,7 +32,13 @@ import os
|
|
|
32
32
|
import sys
|
|
33
33
|
from datetime import datetime, timezone
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
try:
|
|
36
|
+
import pymupdf as fitz
|
|
37
|
+
except ImportError:
|
|
38
|
+
import sys
|
|
39
|
+
from contextlib import redirect_stdout
|
|
40
|
+
with redirect_stdout(sys.stderr):
|
|
41
|
+
import fitz
|
|
36
42
|
|
|
37
43
|
|
|
38
44
|
def unwrap(payload):
|
package/dist/web/app.css
CHANGED
|
@@ -537,6 +537,21 @@
|
|
|
537
537
|
.left-pane-empty[hidden] { display: none; }
|
|
538
538
|
.left-pane-section { min-height: 74px; display: flex; flex-direction: column; overflow: hidden; background: var(--surface); }
|
|
539
539
|
.left-pane-section[hidden] { display: none; }
|
|
540
|
+
/* A decision takes priority over the model index while both sections are open. The
|
|
541
|
+
saved split is untouched, so closing the tray restores the person's layout. */
|
|
542
|
+
.left-pane-stack:has(.ai-chat-shell:not(.history-open) .ai-chat-approval-tray > .ai-chat-approval:not(.ai-chat-approval-scope)):has(> .left-pane-section[data-left-section="model"]:not([hidden])) > .left-pane-section[data-left-section="narrative"] {
|
|
543
|
+
flex: 0 0 calc(100% - 85px) !important;
|
|
544
|
+
}
|
|
545
|
+
.left-pane-stack:has(.ai-chat-shell:not(.history-open) .ai-chat-approval-tray > .ai-chat-approval:not(.ai-chat-approval-scope)):has(> .left-pane-section[data-left-section="model"]:not([hidden])) > .left-pane-section[data-left-section="model"] {
|
|
546
|
+
flex: 0 0 74px !important;
|
|
547
|
+
}
|
|
548
|
+
/* A low saved Chat ratio can clip the single-line Revoke grant at any viewport height. */
|
|
549
|
+
.left-pane-stack:has(.ai-chat-shell:not(.history-open) .ai-chat-approval-scope):not(:has(.ai-chat-shell:not(.history-open) .ai-chat-approval-tray > .ai-chat-approval:not(.ai-chat-approval-scope))) > .left-pane-section[data-left-section="narrative"] {
|
|
550
|
+
min-height: 290px;
|
|
551
|
+
}
|
|
552
|
+
.left-pane-stack:has(.ai-chat-shell:not(.history-open) .ai-chat-approval-scope):not(:has(.ai-chat-shell:not(.history-open) .ai-chat-approval-tray > .ai-chat-approval:not(.ai-chat-approval-scope))) > .left-pane-section[data-left-section="model"] {
|
|
553
|
+
flex-shrink: 1 !important;
|
|
554
|
+
}
|
|
540
555
|
.left-pane-section.drag-over { box-shadow: inset 0 2px 0 var(--accent); }
|
|
541
556
|
.left-section-heading {
|
|
542
557
|
height: 40px; flex: 0 0 40px; display: flex; align-items: center; gap: 8px;
|
|
@@ -559,7 +574,8 @@
|
|
|
559
574
|
position: relative; height: 11px; flex: 0 0 11px; cursor: ns-resize; touch-action: none; background: var(--surface);
|
|
560
575
|
}
|
|
561
576
|
.left-pane-split::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--border); }
|
|
562
|
-
.left-pane-split:hover::after, .left-pane-split:focus-visible::after, .left-pane-split.dragging::after { height: 2px; background: var(--accent); }
|
|
577
|
+
.left-pane-split:not([aria-disabled="true"]):hover::after, .left-pane-split:not([aria-disabled="true"]):focus-visible::after, .left-pane-split.dragging::after { height: 2px; background: var(--accent); }
|
|
578
|
+
.left-pane-split[aria-disabled="true"] { cursor: default; }
|
|
563
579
|
.left-pane-split:focus-visible { outline: none; }
|
|
564
580
|
body.left-pane-height-resizing, body.left-pane-height-resizing * { cursor: ns-resize !important; user-select: none; }
|
|
565
581
|
body.left-pane-height-resizing iframe { pointer-events: none; }
|
|
@@ -1617,6 +1633,24 @@
|
|
|
1617
1633
|
justify-content: center;
|
|
1618
1634
|
}
|
|
1619
1635
|
.modal-backdrop.show { display: flex; animation: fade-in 0.15s ease-out; }
|
|
1636
|
+
/* Keep F1's read-only Instructor narration visible while reviewing a Graft source.
|
|
1637
|
+
Reserve space for the strip so it cannot cover the modal actions or scroll area. */
|
|
1638
|
+
body:has(.app.has-instructor) #graft-modal.show {
|
|
1639
|
+
box-sizing: border-box;
|
|
1640
|
+
padding-bottom: 78px;
|
|
1641
|
+
}
|
|
1642
|
+
body:has(.app.has-instructor) #graft-modal.show .modal.graft {
|
|
1643
|
+
max-height: min(86vh, calc(100dvh - 102px));
|
|
1644
|
+
}
|
|
1645
|
+
body:has(#graft-modal.show) .app.has-instructor #instructor {
|
|
1646
|
+
position: relative;
|
|
1647
|
+
z-index: 101;
|
|
1648
|
+
pointer-events: auto;
|
|
1649
|
+
}
|
|
1650
|
+
body:has(#graft-modal.show) #instructor button,
|
|
1651
|
+
body:has(#graft-modal.show) #instructor .ix-hint,
|
|
1652
|
+
body:has(#graft-modal.show) #instructor .ix-ask-split { display: none; }
|
|
1653
|
+
#graft-instructor-note { display: none; }
|
|
1620
1654
|
/* The shared form and confirmation modals are the ones OTHER modals open on top of themselves —
|
|
1621
1655
|
run options and desktop-claim release over Requests, the folder over Integrations — so they
|
|
1622
1656
|
cannot share their z-index. Every backdrop
|
|
@@ -2112,6 +2146,9 @@
|
|
|
2112
2146
|
.int-account-reason { grid-column: 1 / -1; font-size: 9px; line-height: 1.35; color: var(--text-dim); }
|
|
2113
2147
|
.int-account-empty { font-size: 9px; line-height: 1.4; color: var(--text-dim); }
|
|
2114
2148
|
.int-load-failed { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 10px; }
|
|
2149
|
+
/* One clipped line for an OAuth row's endpoint list; offerClippedScopeLines() (aware.js) gives a
|
|
2150
|
+
line that actually overflows a data-tip + tab stop so it is never a dead end (#1524). A setup or
|
|
2151
|
+
status sentence the person must read wraps instead (.int-setup-detail). */
|
|
2115
2152
|
.int-scopes {
|
|
2116
2153
|
font-family: var(--mono);
|
|
2117
2154
|
font-size: 10px;
|
|
@@ -2121,6 +2158,15 @@
|
|
|
2121
2158
|
text-overflow: ellipsis;
|
|
2122
2159
|
white-space: nowrap;
|
|
2123
2160
|
}
|
|
2161
|
+
.int-scopes.int-setup-detail {
|
|
2162
|
+
color: var(--text-muted);
|
|
2163
|
+
white-space: normal;
|
|
2164
|
+
overflow: visible;
|
|
2165
|
+
text-overflow: clip;
|
|
2166
|
+
overflow-wrap: anywhere;
|
|
2167
|
+
line-height: 1.5;
|
|
2168
|
+
margin: 4px 0 8px;
|
|
2169
|
+
}
|
|
2124
2170
|
.int-meta { font-size: 10px; color: var(--text-dim); font-style: italic; margin-bottom: 8px; }
|
|
2125
2171
|
.int-flow {
|
|
2126
2172
|
display: inline-flex;
|
|
@@ -2160,6 +2206,7 @@
|
|
|
2160
2206
|
margin-top: 4px;
|
|
2161
2207
|
gap: 6px;
|
|
2162
2208
|
}
|
|
2209
|
+
.int-recovery-actions { display: inline-flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
|
|
2163
2210
|
.int-badge {
|
|
2164
2211
|
font-size: 9px;
|
|
2165
2212
|
text-transform: uppercase;
|
|
@@ -2182,7 +2229,10 @@
|
|
|
2182
2229
|
cursor: pointer;
|
|
2183
2230
|
font-family: var(--ui);
|
|
2184
2231
|
}
|
|
2185
|
-
.int-action:hover { color: var(--text); border-color: var(--accent-dim); background: var(--surface-2); }
|
|
2232
|
+
.int-action:not(:disabled):hover { color: var(--text); border-color: var(--accent-dim); background: var(--surface-2); }
|
|
2233
|
+
/* A waiting action must not light up under the pointer like a live one. Mirrors the chat
|
|
2234
|
+
Provider row's `.ai-chat-provider-switch:disabled` so the two sign-in surfaces read alike. */
|
|
2235
|
+
.int-action:disabled { cursor: default; color: var(--text-dim); border-color: var(--border); background: var(--surface); }
|
|
2186
2236
|
|
|
2187
2237
|
/* ========== FOOTER ========== */
|
|
2188
2238
|
footer {
|
|
@@ -2684,8 +2734,18 @@
|
|
|
2684
2734
|
padding: 1px 6px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-bright); }
|
|
2685
2735
|
.int-rt-blurb { font-size: 10px; color: var(--text-muted); margin-top: 1px; }
|
|
2686
2736
|
.int-rt-blurb code { font-family: var(--mono); color: var(--text-dim); }
|
|
2737
|
+
/* The text column must be allowed to shrink, or the nowrap lines below (path, account) size the
|
|
2738
|
+
1fr track to their full width and never truncate. */
|
|
2739
|
+
.int-rt-main { min-width: 0; }
|
|
2687
2740
|
.int-rt-where { font-family: var(--mono); font-size: 9.5px; color: var(--text-dim); margin-top: 3px;
|
|
2688
2741
|
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2742
|
+
/* `flex-wrap` rather than a viewport media query: what runs out is the CARD's width, which a
|
|
2743
|
+
narrow modal reaches before any breakpoint. Without it the account line (min-width: 0) is
|
|
2744
|
+
squeezed to nothing while the button keeps its width and clips against .int-section's
|
|
2745
|
+
overflow — the feature's whole payload disappears. It only wraps when there is no room. */
|
|
2746
|
+
.int-rt-signin { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; min-width: 0; flex-wrap: wrap; }
|
|
2747
|
+
.int-rt-account { font-size: 10px; color: var(--text-muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2748
|
+
.int-rt.is-missing .int-rt-account { color: var(--text-dim); }
|
|
2689
2749
|
/* NEUTRAL on purpose, both of them — see point 2 in this block's header. */
|
|
2690
2750
|
.int-rt-badge { font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
|
|
2691
2751
|
padding: 2px 8px; border-radius: 10px; background: var(--surface-3); color: var(--text-muted); }
|
|
@@ -2826,6 +2886,14 @@
|
|
|
2826
2886
|
.graft-success { text-align: center; padding: 26px 8px; }
|
|
2827
2887
|
.graft-success .gs-icon { font-size: 30px; color: var(--ok); }
|
|
2828
2888
|
.graft-success .gs-msg { margin-top: 8px; font-size: 13px; color: var(--text); }
|
|
2889
|
+
.graft-read-review { display: flex; flex-direction: column; gap: 9px; padding: 12px; border: 1px solid var(--border-strong); border-radius: 6px; background: var(--surface-2); font-size: 12px; color: var(--text); }
|
|
2890
|
+
.graft-read-review p { margin: 0; color: var(--text-muted); line-height: 1.45; }
|
|
2891
|
+
.graft-read-review .graft-identity { overflow-wrap: anywhere; }
|
|
2892
|
+
.graft-verify-button { align-self: flex-start; padding: 7px 12px; border: 1px solid var(--border-strong); border-radius: 5px; background: var(--surface-3); color: var(--text); font: inherit; cursor: pointer; }
|
|
2893
|
+
.graft-verify-button:hover:not(:disabled) { border-color: var(--accent); }
|
|
2894
|
+
.graft-verify-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
2895
|
+
.graft-verify-button:disabled { cursor: wait; opacity: .65; }
|
|
2896
|
+
.graft-read-verified { display: flex; flex-direction: column; gap: 8px; padding: 9px; border-left: 3px solid var(--ok); background: rgba(34, 197, 94, .08); }
|
|
2829
2897
|
.graft-err { color: var(--err); font-size: 12px; margin-top: 6px; }
|
|
2830
2898
|
|
|
2831
2899
|
/* ===== App self-update tag (footer) — accent pill, reuses tokens ===== */
|
|
@@ -5080,6 +5148,40 @@ body {
|
|
|
5080
5148
|
.app.has-instructor { grid-template-rows: auto 1fr auto 44px; }
|
|
5081
5149
|
.app.has-instructor.has-whats-new { grid-template-rows: auto 1fr auto auto 44px; }
|
|
5082
5150
|
.app.has-whats-new { grid-template-rows: auto 1fr auto 44px; }
|
|
5151
|
+
/* Keep mobile F1 guidance inside the dialog's focus and scroll area. */
|
|
5152
|
+
body:has(#graft-modal.show) .app.has-instructor #instructor {
|
|
5153
|
+
z-index: auto;
|
|
5154
|
+
}
|
|
5155
|
+
body:has(.app.has-instructor) #graft-modal.show {
|
|
5156
|
+
padding-bottom: 0;
|
|
5157
|
+
}
|
|
5158
|
+
body:has(.app.has-instructor) #graft-modal.show .modal.graft {
|
|
5159
|
+
max-height: calc(100dvh - 32px);
|
|
5160
|
+
}
|
|
5161
|
+
#graft-instructor-note:not([hidden]) {
|
|
5162
|
+
display: block;
|
|
5163
|
+
flex: none;
|
|
5164
|
+
min-height: 0;
|
|
5165
|
+
max-height: min(22dvh, 132px);
|
|
5166
|
+
margin-top: 12px;
|
|
5167
|
+
padding: 8px 10px;
|
|
5168
|
+
overflow-y: auto;
|
|
5169
|
+
border: 1px solid var(--border-strong);
|
|
5170
|
+
border-radius: 5px;
|
|
5171
|
+
background: var(--surface-2);
|
|
5172
|
+
color: var(--text-muted);
|
|
5173
|
+
font-size: 12px;
|
|
5174
|
+
line-height: 1.45;
|
|
5175
|
+
white-space: normal;
|
|
5176
|
+
scrollbar-width: thin;
|
|
5177
|
+
scrollbar-color: var(--border-strong) transparent;
|
|
5178
|
+
}
|
|
5179
|
+
#graft-instructor-note::-webkit-scrollbar { width: 7px; }
|
|
5180
|
+
#graft-instructor-note::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 7px; }
|
|
5181
|
+
#graft-instructor-note::-webkit-scrollbar-track { background: transparent; }
|
|
5182
|
+
#graft-instructor-note:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
5183
|
+
#graft-instructor-note .ix-chip { display: inline-block; margin-bottom: 4px; }
|
|
5184
|
+
#graft-instructor-note .graft-instructor-parts { overflow-wrap: anywhere; }
|
|
5083
5185
|
header { flex-wrap: wrap; gap: 8px; padding: 8px 14px; }
|
|
5084
5186
|
select, .wf-combo { min-width: 0; }
|
|
5085
5187
|
}
|
|
@@ -5097,7 +5199,10 @@ body {
|
|
|
5097
5199
|
.mode-switch button.active { background:var(--accent-soft); color:var(--accent-bright); }
|
|
5098
5200
|
.mode-switch button[aria-busy="true"] { display:inline-flex; align-items:center; gap:6px; color:var(--text); cursor:wait; }
|
|
5099
5201
|
.mode-switch button[aria-busy="true"] .rtn-spinner { width:10px; height:10px; border-width:2px; }
|
|
5100
|
-
|
|
5202
|
+
/* The pending tab deliberately keeps its pointer events (#1489): pointer-events:none would hide the
|
|
5203
|
+
cursor:wait above, because the pointer would fall through to the switch. setMode() already ignores a
|
|
5204
|
+
re-click while aria-busy="true". Its aria-disabled="true" is the blocked signal for screen readers
|
|
5205
|
+
and for Instructor, which narrates its data-blocked-reason. */
|
|
5101
5206
|
|
|
5102
5207
|
/* Mode gating: Workflows chrome hides wholesale in Workspaces (hidden, never disabled).
|
|
5103
5208
|
≡ keeps only app-wide items; Dashboard is Workflows-scoped (spec §2).
|
|
@@ -5135,6 +5240,48 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
5135
5240
|
.app.mode-workspaces { --right-width:0px !important; }
|
|
5136
5241
|
.app.mode-workspaces .inspect { display:none; }
|
|
5137
5242
|
.app.mode-workspaces .canvas { cursor:default; touch-action:auto; }
|
|
5243
|
+
|
|
5244
|
+
/* Local discovery shares the approved dark shell palette and dialog spacing. */
|
|
5245
|
+
.modal.local-discovery { width: 700px; max-height: min(86vh, 760px); display:flex; flex-direction:column; }
|
|
5246
|
+
.local-discovery-body { overflow-y:auto; min-height:0; padding-right:5px; scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
|
|
5247
|
+
.local-discovery-body::-webkit-scrollbar { width:8px; }
|
|
5248
|
+
.local-discovery-body::-webkit-scrollbar-thumb { background:var(--border-strong); border-radius:8px; }
|
|
5249
|
+
.local-discovery-body::-webkit-scrollbar-track { background:transparent; }
|
|
5250
|
+
.local-discovery-scope { padding:12px 14px; background:var(--surface-2); border:1px solid var(--border-strong); border-radius:6px; }
|
|
5251
|
+
.local-discovery-scope strong { display:block; font-size:12px; color:var(--text); margin-bottom:4px; }
|
|
5252
|
+
.local-discovery-scope p { color:var(--text-muted); font-size:12px; line-height:1.45; margin-bottom:10px; }
|
|
5253
|
+
.local-discovery-folders { display:grid; gap:6px; margin-bottom:8px; }
|
|
5254
|
+
.local-discovery-folder { display:flex; align-items:center; gap:8px; padding:5px 7px; border:1px solid var(--border); border-radius:4px; color:var(--text-muted); font:11px var(--mono); }
|
|
5255
|
+
.local-discovery-folder span { overflow-wrap:anywhere; flex:1; }
|
|
5256
|
+
.local-discovery button { color:var(--text); background:var(--surface-3); border:1px solid var(--border-strong); border-radius:5px; padding:6px 10px; cursor:pointer; font:inherit; }
|
|
5257
|
+
.local-discovery button:hover:not(:disabled) { border-color:var(--accent-dim); color:var(--accent-bright); }
|
|
5258
|
+
.local-discovery button:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
|
|
5259
|
+
.local-discovery button:disabled { opacity:.55; cursor:default; }
|
|
5260
|
+
.local-discovery .modal-actions button.primary { background:var(--accent); color:white; border-color:var(--accent); }
|
|
5261
|
+
.local-discovery-status { color:var(--text-muted); font-size:12px; padding:12px 2px; }
|
|
5262
|
+
.local-discovery-errors { border-left:3px solid var(--warn); background:rgba(251,191,36,.07); padding:9px 12px; border-radius:0 4px 4px 0; font-size:12px; margin-bottom:10px; }
|
|
5263
|
+
.local-discovery-errors strong { color:var(--text); }
|
|
5264
|
+
.local-discovery-errors p { color:var(--text-muted); margin-top:4px; overflow-wrap:anywhere; }
|
|
5265
|
+
.local-discovery-browse { display:grid; gap:7px; margin:0 0 10px; }
|
|
5266
|
+
.local-discovery-browse[hidden] { display:none; }
|
|
5267
|
+
.local-discovery-browse p { color:var(--text-muted); font-size:11px; margin:0; }
|
|
5268
|
+
.local-discovery-browse label { color:var(--text-muted); font-size:11px; }
|
|
5269
|
+
.local-discovery-browse input { width:100%; box-sizing:border-box; color:var(--text); background:var(--surface-2); border:1px solid var(--border-strong); border-radius:5px; padding:7px 10px; font:12px var(--ui); }
|
|
5270
|
+
.local-discovery-browse input::placeholder { color:var(--text-dim); }
|
|
5271
|
+
.local-discovery-browse input:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
|
|
5272
|
+
.local-discovery-page-row { display:flex; align-items:center; justify-content:flex-end; gap:7px; color:var(--text-muted); font-size:11px; }
|
|
5273
|
+
.local-discovery-page-row span { margin-right:auto; }
|
|
5274
|
+
.local-discovery-no-filter-match { color:var(--text-muted); font-size:12px; padding:8px 2px; }
|
|
5275
|
+
.local-discovery-results { display:grid; gap:8px; }
|
|
5276
|
+
.local-discovery-card { border:1px solid var(--border-strong); border-radius:6px; background:var(--surface-2); padding:12px 14px; }
|
|
5277
|
+
.local-discovery-card-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
|
|
5278
|
+
.local-discovery-card-head strong { font-size:13px; }
|
|
5279
|
+
.local-discovery-found { color:var(--text-muted); background:var(--surface-3); border:1px solid var(--border-strong); padding:2px 7px; border-radius:999px; font-size:10px; }
|
|
5280
|
+
.local-discovery-facts { display:grid; grid-template-columns:70px minmax(0,1fr); gap:3px 10px; margin:9px 0 11px; font-size:11px; }
|
|
5281
|
+
.local-discovery-facts dt { color:var(--text-dim); }
|
|
5282
|
+
.local-discovery-facts dd { color:var(--text-muted); overflow-wrap:anywhere; }
|
|
5283
|
+
.local-discovery-card-actions { display:flex; flex-wrap:wrap; gap:7px; }
|
|
5284
|
+
#lib-discover-local { margin-right:0 !important; }
|
|
5138
5285
|
.ws-spine { display:flex; align-items:center; gap:10px; }
|
|
5139
5286
|
#ws-proj-name { max-width:260px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
5140
5287
|
#ws-proj-trigger { display:inline-flex; align-items:center; gap:8px; }
|
|
@@ -5388,8 +5535,21 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
5388
5535
|
.ws-source-ico { font-size:34px; color:var(--accent); display:block; margin-bottom:12px; line-height:1; }
|
|
5389
5536
|
.ws-source-title { font-size:14px; font-weight:600; color:var(--text); margin-bottom:6px; }
|
|
5390
5537
|
.ws-source-sub { font-size:12px; color:var(--text-dim); line-height:1.55; }
|
|
5538
|
+
/* Import in flight: paintRevitSourceActions sets data-importing="true" on the pane, and the glyph
|
|
5539
|
+
gives way to a ring spinner — the editor's own .state-spinner recipe (revit-editor.css), reduced
|
|
5540
|
+
motion keeps the ring and drops the spin, like .kb-view-spin. The hook is data-importing rather
|
|
5541
|
+
than aria-busy because this pane is also the import's live region: see paintRevitSourceActions. */
|
|
5542
|
+
.ws-source-spin { display:none; width:24px; height:24px; margin:0 auto 14px; border:2px solid var(--border-strong); border-top-color:var(--accent); border-radius:50%; animation:spin .8s linear infinite; }
|
|
5543
|
+
.ws-source-placeholder[data-importing="true"] .ws-source-ico { display:none; }
|
|
5544
|
+
.ws-source-placeholder[data-importing="true"] .ws-source-spin { display:block; }
|
|
5545
|
+
@media (prefers-reduced-motion: reduce) { .ws-source-spin { animation:none; } }
|
|
5391
5546
|
.ws-source-actions { display:flex; justify-content:center; gap:8px; margin-top:16px; }
|
|
5392
5547
|
.ws-source-actions[hidden] { display:none; }
|
|
5548
|
+
/* Scoped .primary, as .kb-view-host and .modal-actions do: the one filled button after an import
|
|
5549
|
+
lands is "Open Model tab"; Replace RVT keeps the global surface-2 button look and reads as secondary. */
|
|
5550
|
+
.ws-source-actions .primary { background:var(--accent); color:#fff; border-color:var(--accent); font-weight:600; }
|
|
5551
|
+
.ws-source-actions .primary:hover { background:var(--accent-bright); border-color:var(--accent-bright); box-shadow:0 0 14px var(--accent-glow); }
|
|
5552
|
+
.ws-source-actions .primary:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
|
|
5393
5553
|
.ws-source-reassure { margin-top:10px; font-size:11px; color:var(--text-muted); line-height:1.45; }
|
|
5394
5554
|
.ws-source-reassure[hidden] { display:none; }
|
|
5395
5555
|
/* The step tabs and the attach button share ONE row, which is the whole project header now — the 45px
|