224 lines
18 KiB
CSS
224 lines
18 KiB
CSS
.simulation-profiles { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 1rem; height: 100%; min-height: 0; }
|
|
.simulation-profiles > .nodedc-select-anchor { justify-self: start; }
|
|
.ai-polygon { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 1rem; height: 100%; min-width: 0; min-height: 0; overflow: hidden; }
|
|
.ai-polygon__import-action { position: absolute; top: 0; right: 0; }
|
|
.simulation-import-overlay.nodedc-glass-material { position: absolute; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--nodedc-space-3); padding: var(--nodedc-space-5); text-align: center; pointer-events: none; border-radius: var(--nodedc-radius-panel); }
|
|
.simulation-imports { flex: 0 0 auto; margin-bottom: var(--nodedc-space-3); }
|
|
.simulation-imports__progress { display: flex; align-items: center; gap: var(--nodedc-space-3); width: clamp(14rem, 35vw, 32rem); max-width: 100%; min-width: 0; }
|
|
.simulation-imports__progress .nodedc-progress-bar { flex: 1 1 45%; min-width: 3rem; }
|
|
.simulation-imports__progress .nodedc-description { flex: 1 1 55%; min-width: 0; }
|
|
.ai-polygon__content { min-height: 0; overflow: auto; overscroll-behavior: contain; padding-bottom: 1rem; }
|
|
.ai-polygon__head, .ai-polygon__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
|
|
.ai-polygon__actions, .ai-polygon__facts { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
|
|
/* Header selectors and available actions share the window action row. */
|
|
.ai-polygon__location-actions { margin-left: auto; justify-content: flex-end; }
|
|
.ai-polygon__planner-actions { justify-content: flex-end; }
|
|
.ai-polygon__mode-field { width: 15rem; min-width: 0; }
|
|
.ai-polygon__task-field { min-width: 0; }
|
|
.ai-polygon__scene-actions { display: flex; align-items: flex-start; justify-content: flex-end; gap: .75rem; min-width: 0; }
|
|
.ai-polygon__context-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: flex-start; gap: .75rem; min-width: 0; }
|
|
.ai-polygon__context-actions:empty { display: none; }
|
|
.ai-polygon__mode-actions { display: flex; align-items: flex-start; gap: .75rem; flex-shrink: 0; }
|
|
.ai-polygon__location-actions > .ai-polygon__actions:empty,
|
|
.ai-polygon__planner-actions > .ai-polygon__actions:empty { display: none; }
|
|
.ai-polygon__robot-select { width: 12rem; flex: 0 0 12rem; }
|
|
.ai-polygon__report { font-size: var(--nodedc-font-size-sm); }
|
|
.ai-polygon__report dl { margin: 0; display: grid; gap: .5rem; }
|
|
.ai-polygon__report dl > div { display: flex; justify-content: space-between; gap: 1rem; }
|
|
.ai-polygon__report dt, .ai-polygon__report p { color: var(--nodedc-text-muted); }
|
|
.ai-polygon__report dd { margin: 0; text-align: right; }
|
|
.ai-polygon__report h3 { margin: .5rem 0 0; font-size: var(--nodedc-font-size-md); }
|
|
.ai-polygon__report-identities dd { overflow-wrap: anywhere; max-width: 65%; }
|
|
.ai-polygon__telemetry-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
|
|
.ai-polygon__telemetry-row > .ai-polygon__facts { flex: 1; min-width: 0; }
|
|
.ai-polygon__telemetry-row > :last-child { flex-shrink: 0; }
|
|
.ai-polygon__telemetry-row--local { justify-content: flex-start; flex-wrap: wrap; }
|
|
.ai-polygon__section, .ai-polygon__run, .ai-polygon__form { display: grid; gap: .75rem; }
|
|
.ai-polygon h2, .ai-polygon h3, .ai-polygon p { margin: 0; }
|
|
.ai-polygon h2 { font-size: var(--nodedc-font-size-md); }
|
|
.ai-polygon h3, .ai-polygon strong { font-size: var(--nodedc-font-size-md); }
|
|
.ai-polygon p, .ai-polygon span, .ai-polygon a { font-size: var(--nodedc-font-size-sm); }
|
|
.ai-polygon p { color: var(--nodedc-text-muted); line-height: 1.5; }
|
|
.ai-polygon__setup { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .75rem; }
|
|
|
|
.ai-polygon__title { display: flex; align-items: center; gap: 1rem; }
|
|
.ai-polygon__stage { display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
|
|
.ai-polygon__content--local { display: flex; flex-direction: column; gap: .75rem; overflow: hidden; padding-bottom: 0; }
|
|
.ai-polygon__content--local > .ai-polygon__section,
|
|
.ai-polygon__content--local .ai-polygon__stage { display: flex; flex-direction: column; flex: 1; min-height: 0; }
|
|
.ai-polygon__content--local .ai-polygon__viewer { flex: 1; height: auto; min-height: 0; }
|
|
.ai-polygon__viewer { display: flex; flex-direction: column; min-height: 24rem; height: min(65vh, 48rem); overflow: hidden; border-radius: var(--nodedc-radius-panel); background: var(--nodedc-canvas); }
|
|
.ai-polygon__viewport { flex: 1; position: relative; min-height: 0; overflow: hidden; border-radius: inherit; }
|
|
.ai-polygon__viewport[hidden] { display: none; }
|
|
.ai-polygon__viewport .nodedc-loading-region { height: 100%; }
|
|
.ai-polygon__video { width: 100%; height: 100%; pointer-events: none; }
|
|
.ai-polygon__video video { display: block; width: 100%; height: 100%; object-fit: contain; }
|
|
.ai-polygon__preview-error { position: absolute; inset: 0; display: grid; place-content: center; gap: .75rem; background: var(--nodedc-canvas); }
|
|
.ai-polygon__stage:fullscreen { height: 100%; box-sizing: border-box; padding: .75rem; overflow: auto; background: var(--nodedc-canvas); }
|
|
.ai-polygon__stage:fullscreen .ai-polygon__viewer { flex: 1; height: auto; min-height: 12rem; }
|
|
|
|
.ai-polygon__plan-select { width: 16rem; flex: 0 0 16rem; }
|
|
@media (max-width: 1600px) {
|
|
.ai-polygon__robot-select { width: 8rem; flex-basis: 8rem; }
|
|
.ai-polygon__plan-select { width: 10rem; flex-basis: 10rem; }
|
|
}
|
|
.ai-route { position: absolute; inset: 0; pointer-events: none; }
|
|
.ai-route__canvas { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); overflow: hidden; }
|
|
.ai-route__canvas--editing { pointer-events: auto; touch-action: none; cursor: grab; }
|
|
.ai-route__tools { position: absolute; bottom: .75rem; left: .75rem; right: 5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; pointer-events: auto; }
|
|
.ai-route__tools p { flex-basis: 100%; padding: .25rem .5rem; background: var(--nodedc-canvas-soft); border-radius: var(--nodedc-radius-control); }
|
|
.ai-route__height { position: absolute; top: 44px; right: 12px; bottom: 12px; width: 58px; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: auto; color: var(--nodedc-text-muted); font-size: var(--nodedc-font-size-xs); }
|
|
.ai-route__height > .nodedc-range-scale { flex: 1; min-height: 0; }
|
|
.ai-route__line { fill: none; stroke: var(--nodedc-text-primary); stroke-width: 3; stroke-dasharray: 8 5; opacity: .8; pointer-events: none; }
|
|
.ai-route__trace { fill: none; stroke: rgb(var(--nodedc-success-rgb)); stroke-width: 4; pointer-events: none; }
|
|
.ai-route__marker { fill: var(--nodedc-text-primary); stroke: var(--nodedc-canvas); stroke-width: 2; cursor: pointer; }
|
|
.ai-route__beam { stroke: var(--nodedc-text-primary); stroke-width: 7; animation: ai-route-pulse 2s ease-in-out infinite; }
|
|
.ai-route__marker text { font: 600 16px var(--nodedc-font-family); paint-order: stroke; stroke-width: 3; }
|
|
.ai-route__marker.is-selected, .ai-route__marker.is-active { fill: rgb(var(--nodedc-accent-rgb)); }
|
|
.ai-route__marker.is-selected .ai-route__beam, .ai-route__marker.is-active .ai-route__beam { stroke: rgb(var(--nodedc-accent-rgb)); }
|
|
.ai-route__axis { stroke: rgb(var(--nodedc-accent-rgb)); stroke-width: 5; cursor: move; }
|
|
.ai-route__axis path { fill: rgb(var(--nodedc-accent-rgb)); stroke-width: 2; }
|
|
.ai-route__axis text { stroke: none; fill: var(--nodedc-text-primary); font-size: 16px; }
|
|
@keyframes ai-route-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
|
|
@media (prefers-reduced-motion: reduce) { .ai-route__beam { animation: none; } }
|
|
.ai-local-editor__surface { position: absolute; inset: 0; touch-action: none; }
|
|
.ai-local-editor > canvas, .ai-local-editor__surface > canvas { display: block; width: 100%; height: 100%; touch-action: none; }
|
|
.ai-local-editor__markers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
|
|
.ai-local-editor__markers .ai-route__marker { pointer-events: auto; touch-action: none; }
|
|
|
|
.ai-local-editor__markers .ai-route__beam { stroke-width: 21; }
|
|
|
|
/* View controls float above the render target; there is no separate header strip. */
|
|
.ai-simulation__view-tools { max-width: calc(100% - 6rem); flex-wrap: wrap; justify-content: flex-end; position: absolute; z-index: 3; top: .5rem; right: .5rem; display: flex; align-items: center; gap: .5rem; }
|
|
.ai-simulation__display-tools { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; }
|
|
.ai-simulation__display-tools > .nodedc-select-anchor { width: 10rem; }
|
|
.ai-simulation__view-tools--planning { flex-direction: row-reverse; justify-content: flex-start; align-items: flex-start; }
|
|
.ai-simulation__view-tools--planning .ai-simulation__display-tools { flex: 0 0 auto; max-width: 100%; }
|
|
.ai-simulation__speed { position: absolute; left: .75rem; bottom: .75rem; pointer-events: none; font-size: var(--nodedc-font-size-sm); }
|
|
/* Equal visible padding on all three sides; owner requested twice the radius-centred inset. */
|
|
.ai-local-editor .ai-route__height { --ai-clip-inset: calc(var(--nodedc-radius-panel) * 2 - var(--nodedc-control-height) * .4); top: max(33.333%, calc(var(--planner-cube-size, 66px) + 20px)); bottom: var(--ai-clip-inset); left: var(--ai-clip-inset); right: auto; width: calc(var(--nodedc-control-height) * .4); }
|
|
.ai-local-editor__tools { display: contents; }
|
|
.ai-local-editor__tool-row { flex: 0 0 auto; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .5rem; max-width: 100%; }
|
|
.ai-local-editor__layers { max-width: 100%; overflow-x: auto; flex-shrink: 0; }
|
|
.ai-local-editor__legend { position: absolute; z-index: 2; bottom: .75rem; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 9rem); display: flex; flex-direction: column; align-items: center; gap: .5rem; }
|
|
.ai-local-editor__legend-controls { max-width: 100%; flex-wrap: wrap; justify-content: center; }
|
|
.ai-local-editor__legend-swatch { display: inline-block; width: .65rem; height: .65rem; flex: 0 0 .65rem; border-radius: 50%; }
|
|
.ai-local-editor > .ai-local-editor__loading { position: absolute; inset: 0; background: var(--nodedc-canvas); }
|
|
.ai-local-editor .ai-route__tools { left: 5.5rem; right: .75rem; }
|
|
/* The renderer has no perimeter; canonical controls retain their focus indicators. */
|
|
.ai-local-editor canvas { outline: none; }
|
|
.ai-local-editor__hit, .ai-local-editor__axis-hit line { stroke: transparent; stroke-width: 28; pointer-events: stroke; }
|
|
.ai-local-editor__axis-hit { cursor: move; }
|
|
.ai-local-editor__axis-hit text { stroke: none; fill: var(--nodedc-text-primary); pointer-events: none; }
|
|
.ai-polygon__history { width: 100%; }
|
|
|
|
.ai-polygon__stream-bounds { container-type: size; }
|
|
/* Video and its projected route use the same cover transform, with one outer clip. */
|
|
.ai-polygon__stream-picture { position: absolute; inset: 0; border-radius: var(--nodedc-radius-panel); overflow: hidden; }
|
|
.ai-polygon__stream-tools { position: absolute; z-index: 3; top: 1.5rem; left: 1.5rem; right: 1.5rem; display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; pointer-events: none; }
|
|
.ai-polygon__stream-fps { flex-shrink: 0; }
|
|
.ai-polygon__stream-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; pointer-events: auto; }
|
|
|
|
.ai-polygon__video-frame { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; }
|
|
|
|
.ai-polygon__stream-bounds { outline: none; touch-action: none; }
|
|
.ai-polygon__stream-actions { flex-wrap: wrap; justify-content: flex-end; max-width: 100%; }
|
|
.ai-polygon__camera-select { display: none; width: 13rem; max-width: 100%; }
|
|
@container (max-width: 45rem) {
|
|
.ai-polygon__camera-tabs { display: none; }
|
|
.ai-polygon__camera-select { display: block; }
|
|
}
|
|
.ai-polygon__inference-tools { position: absolute; z-index: 3; bottom: 1.5rem; right: 1.5rem; left: 1.5rem; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .5rem; pointer-events: none; }
|
|
.ai-polygon__inference-tools > * { pointer-events: auto; }
|
|
.ai-polygon__layer-options { display: grid; gap: .5rem; }
|
|
.ai-inference-preview { flex: 1; min-width: 0; position: relative; overflow: hidden; border-radius: var(--nodedc-radius-panel); background: var(--nodedc-canvas); }
|
|
.ai-inference-preview > img { display: block; width: 100%; height: 100%; object-fit: contain; }
|
|
.ai-inference-preview__tools { position: absolute; top: 1.5rem; left: 1.5rem; right: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
|
|
.ai-inference-preview__caption { position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; display: grid; gap: .5rem; font-size: var(--nodedc-font-size-sm); }
|
|
|
|
.ai-inference-preview__legend { display: flex; flex-wrap: wrap; gap: .35rem .75rem; }
|
|
.ai-inference-preview__legend > span { display: inline-flex; align-items: center; gap: .3rem; }
|
|
.ai-inference-preview__legend i { width: .65rem; height: .65rem; border-radius: 50%; }
|
|
.ai-inference-preview__caption { background: var(--nodedc-surface-overlay, #272729); padding: .75rem; border-radius: 1rem; }
|
|
|
|
.ai-polygon__configuration-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--nodedc-space-6); align-items:start; }
|
|
.ai-polygon__configuration-column { display:grid; gap:var(--nodedc-space-4); min-width:0; }
|
|
.ai-polygon__configuration-fields { display: grid; gap: 1rem; width: 100%; }
|
|
.ai-polygon__profile-row { display:flex; align-items:flex-end; gap:var(--nodedc-space-2); flex-wrap:wrap; }
|
|
.ai-polygon__profile-row > :first-child { flex:1; min-width:12rem; }
|
|
@media (max-width: 800px) { .ai-polygon__configuration-columns { grid-template-columns:minmax(0,1fr); } }
|
|
.ai-polygon__rover-row { display: flex; align-items: flex-end; gap: .5rem; min-width: 0; }
|
|
.ai-polygon__rover-row > .ai-polygon__robot-select { flex: 1; width: auto; min-width: 0; }
|
|
/* Stable grid cells keep the one Worker video connection mounted as panes change. */
|
|
.ai-polygon__viewports { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(18rem, 1fr); gap: .75rem; overflow: auto; }
|
|
.ai-polygon__viewports[data-panes="1"] { grid-template-columns: minmax(0, 1fr); }
|
|
.ai-polygon__viewports > * { min-width: 0; min-height: 0; }
|
|
.ai-inference-preview:fullscreen { width: 100%; height: 100%; }
|
|
.ai-inference-preview__tools { z-index: 2; pointer-events: none; }
|
|
.ai-inference-preview__tools > * { pointer-events: auto; }
|
|
.ai-inference-preview__caption { pointer-events: none; }
|
|
.ai-polygon__viewer:has(> .ai-polygon__viewports) { background: transparent; }
|
|
@media (max-width: 800px) {
|
|
.ai-polygon__viewports { grid-template-columns: minmax(0, 1fr); }
|
|
}
|
|
.ai-polygon__configuration-fields > .ai-polygon__robot-select,
|
|
.ai-polygon__configuration-fields > .ai-polygon__plan-select { width: 100%; }
|
|
.ai-polygon__observation { display:flex; flex-direction:column; flex:1; min-width:0; min-height:0; gap:var(--nodedc-space-2); }
|
|
.ai-polygon__observation-toolbar { display:flex; justify-content:flex-end; gap:var(--nodedc-space-2); }
|
|
.ai-polygon__observation .ai-polygon__viewport, .ai-polygon__observation .ai-inference-preview { height:100%; min-height:0; }
|
|
.ai-polygon__observation .ai-polygon__stream-fps { position:absolute; bottom:var(--nodedc-space-3); left:var(--nodedc-space-3); z-index:2; }
|
|
.ai-polygon__observation .observation-panel__header { z-index:4; }
|
|
.ai-polygon__viewer:has(> .ai-polygon__observation) { background:transparent; }
|
|
|
|
/* Fixed telemetry slots keep changing status and digit counts independent. */
|
|
.ai-polygon__run { container-type: inline-size; }
|
|
.ai-polygon__run-metrics {
|
|
display: grid;
|
|
grid-template-columns: repeat(9, minmax(0, 1fr));
|
|
gap: .75rem;
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: .5rem .25rem;
|
|
box-sizing: border-box;
|
|
font-size: var(--nodedc-font-size-sm);
|
|
}
|
|
.ai-polygon__run-metric { min-width: 0; text-align: center; }
|
|
.ai-polygon__run-metric dt { margin-bottom: .25rem; color: var(--nodedc-text-muted); }
|
|
.ai-polygon__run-metric dd {
|
|
margin: 0;
|
|
min-height: 2.5em;
|
|
font-variant-numeric: tabular-nums;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.ai-polygon__run-metric--status dd { display: flex; justify-content: center; }
|
|
@container (max-width: 64rem) {
|
|
.ai-polygon__run-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
}
|
|
@container (max-width: 32rem) {
|
|
.ai-polygon__run-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
}
|
|
|
|
/* Keep navigation in the same header cells when contextual controls appear.
|
|
Flatten only this domain composition; canonical controls keep their styling. */
|
|
.nodedc-application-panel:has(.ai-polygon__scene-actions) { container-type: inline-size; container-name: simulation-panel; }
|
|
.nodedc-application-panel__head:has(.ai-polygon__scene-actions) { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: start; gap: .75rem; }
|
|
.nodedc-application-panel__actions:has(.ai-polygon__scene-actions),
|
|
.nodedc-application-panel__tools:has(.ai-polygon__scene-actions),
|
|
.nodedc-application-panel__head .ai-polygon__scene-actions { display: contents; }
|
|
.nodedc-application-panel__head:has(.ai-polygon__scene-actions) > .nodedc-application-panel__titles { grid-column: 1; grid-row: 1; }
|
|
.nodedc-application-panel__head .ai-polygon__context-actions { grid-column: 2; grid-row: 1; }
|
|
.nodedc-application-panel__head .ai-polygon__mode-actions { grid-column: 3; grid-row: 1; }
|
|
.nodedc-application-panel__actions:has(.ai-polygon__scene-actions) > [data-action="close"] { grid-column: 4; grid-row: 1; }
|
|
@container simulation-panel (max-width: 70rem) {
|
|
.nodedc-application-panel__head:has(.ai-polygon__scene-actions) > .nodedc-application-panel__titles { grid-column: 1 / 3; }
|
|
.nodedc-application-panel__head .ai-polygon__context-actions { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
|
|
}
|
|
|
|
.ai-local-editor__marking-template { flex: 0 1 12rem; width: 12rem; max-width: 100%; }
|
|
|
|
.semantic-tools__menu { display: flex; flex-direction: column; gap: .25rem; }
|
|
.ai-polygon__semantic-actions { display: contents; }
|
|
.ai-polygon__semantic-version-field { width: 18rem; min-width: 0; max-width: 100%; }
|
|
|
|
.ai-local-editor__cube { position: absolute; top: 8px; left: 4px; z-index: 5; }
|