beam: add local converter and STEP viewer flow

This commit is contained in:
CODEX
2026-06-04 19:39:22 +03:00
parent 9aaf82862f
commit 254bec97ab
10 changed files with 625 additions and 10 deletions
+61
View File
@@ -73,6 +73,21 @@ body {
overflow: hidden;
}
html,
body,
.viewer-wrapper,
#viewerCanvas {
outline: none;
}
#viewerCanvas:focus,
#viewerCanvas:focus-visible,
.viewer-wrapper:focus,
.viewer-wrapper:focus-visible {
outline: none;
box-shadow: none;
}
header {
position: fixed;
top: 10px;
@@ -576,6 +591,52 @@ header {
margin-right: 6px;
}
.display-mode-panel {
margin-top: 10px;
}
.display-mode-title {
margin-bottom: 7px;
color: var(--muted);
font-size: 12px;
font-weight: 700;
}
.display-mode-buttons {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 6px;
}
.display-mode-buttons button {
min-width: 0;
border: 1px solid var(--modal-border);
border-radius: 9px;
background: var(--modal-focus);
color: var(--muted);
cursor: pointer;
font: inherit;
font-size: 11px;
font-weight: 700;
line-height: 1;
outline: none;
padding: 8px 6px;
transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.display-mode-buttons button:hover,
.display-mode-buttons button.active {
border-color: var(--accent);
background: color-mix(in srgb, var(--accent) 14%, var(--modal-focus));
color: var(--text);
}
.display-mode-buttons button:focus,
.display-mode-buttons button:focus-visible {
outline: none;
box-shadow: none;
}
.examples-bar {
position: fixed;
left: 0;