nejimakibird_model-weave/styles.css
2026-06-20 16:56:26 +09:00

1819 lines
44 KiB
CSS

.model-weave-zoom-toolbar {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 8px 12px;
margin: 8px 0 10px;
font-size: var(--model-weave-font-size);
}
.model-weave-zoom-toolbar-left {
display: flex;
flex: 1 1 220px;
align-items: center;
min-width: 0;
}
.model-weave-zoom-toolbar-right {
display: flex;
flex: 0 1 auto;
align-items: center;
justify-content: flex-end;
flex-wrap: wrap;
gap: 6px 8px;
margin-left: auto;
min-width: 0;
}
.model-weave-zoom-toolbar-help {
min-width: 0;
overflow: hidden;
color: var(--text-muted);
font-size: var(--model-weave-font-size-small);
text-overflow: ellipsis;
white-space: nowrap;
}
.model-weave-zoom-toolbar-controls {
display: flex;
align-items: center;
justify-content: flex-end;
flex-wrap: wrap;
gap: 6px;
}
.model-weave-zoom-toolbar-label {
font-size: var(--model-weave-font-size-small);
min-width: 52px;
text-align: center;
color: var(--text-normal);
}
.model-weave-zoom-toolbar-button {
border: 1px solid var(--background-modifier-border);
border-radius: 6px;
background: var(--interactive-normal);
color: var(--text-normal);
padding: 2px 8px;
cursor: pointer;
font-size: var(--model-weave-font-size-small);
}
.model-weave-zoom-toolbar-button:hover {
background: var(--interactive-hover);
}
.model-weave-object-focus {
flex: 0 0 auto;
font-size: var(--model-weave-font-size);
}
.model-weave-object-title {
margin: 0 0 6px 0;
font-size: var(--model-weave-font-size-title);
}
.model-weave-detail-card,
.model-weave-object-meta {
display: grid;
gap: 4px;
padding: 8px 10px;
border: 1px solid var(--background-modifier-border);
border-radius: 8px;
background: var(--background-primary-alt);
font-size: var(--model-weave-font-size);
}
.model-weave-detail-card-row {
display: grid;
grid-template-columns: minmax(96px, max-content) 1fr;
gap: 10px;
align-items: start;
}
.model-weave-detail-card-label,
.model-weave-object-meta-key {
font-weight: 600;
color: var(--text-muted);
line-height: 1.3;
font-size: var(--model-weave-font-size);
}
.model-weave-detail-card-value,
.model-weave-object-meta-val {
line-height: 1.3;
font-size: var(--model-weave-font-size);
color: var(--text-normal);
overflow-wrap: anywhere;
}
.model-weave-impact-summary {
display: flex;
flex-direction: column;
gap: 8px;
}
.model-weave-impact-summary-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.model-weave-impact-summary-header .model-weave-preview-section-title {
margin: 0;
}
.model-weave-impact-copy-button {
flex: 0 0 auto;
}
.model-weave-impact-relationship-list {
list-style: none;
margin-inline-start: 0;
padding-inline-start: 0;
}
.model-weave-impact-relationship {
margin-block: 3px;
}
.model-weave-impact-relationship-item {
margin-inline-start: 18px;
width: calc(100% - 18px);
}
.model-weave-impact-relationship-summary {
cursor: pointer;
}
.model-weave-impact-relationship-summary-content {
display: inline-flex;
align-items: center;
gap: 8px;
width: calc(100% - 1.5em);
vertical-align: middle;
}
.model-weave-impact-relationship-title {
flex: 1 1 auto;
min-width: 0;
color: var(--text-normal);
font-weight: 600;
overflow-wrap: anywhere;
}
.model-weave-impact-relationship-path,
.model-weave-impact-usage-meta {
color: var(--text-muted);
font-size: var(--font-ui-smaller);
overflow-wrap: anywhere;
}
.model-weave-impact-relationship-path {
margin-inline-start: 24px;
margin-bottom: 4px;
}
.model-weave-impact-open-button {
flex: 0 0 auto;
}
.model-weave-impact-usage-list,
.model-weave-impact-source-link-list {
margin-top: 4px;
margin-inline-start: 24px;
}
.model-weave-impact-source-link-note-list {
margin-top: 3px;
margin-inline-start: 12px;
}
.model-weave-impact-source-link-details > summary {
cursor: pointer;
}
.model-weave-impact-usage-item {
margin-block: 4px;
}
.model-weave-impact-usage-main {
overflow-wrap: anywhere;
}
.model-weave-source-links {
margin-top: 10px;
display: flex;
flex-direction: column;
gap: 8px;
min-width: 0;
user-select: text;
}
.model-weave-source-links-title {
margin: 0;
font-size: var(--model-weave-font-size-large);
}
.model-weave-source-links-help {
margin: 0;
color: var(--text-muted);
font-size: var(--model-weave-font-size-small);
}
.model-weave-source-links-path,
.model-weave-source-links-resolved {
font-family: var(--font-monospace);
overflow-wrap: anywhere;
}
.model-weave-source-links-status {
display: inline-flex;
align-items: center;
border-radius: 999px;
padding: 2px 8px;
font-size: var(--model-weave-font-size-small);
font-weight: 600;
white-space: nowrap;
}
.model-weave-source-links-status-neutral {
background: var(--background-secondary);
color: var(--text-muted);
}
.model-weave-source-links-status-available {
background: color-mix(in srgb, var(--color-green) 18%, var(--background-primary-alt));
color: var(--text-normal);
}
.model-weave-source-links-status-missing {
background: color-mix(in srgb, var(--color-orange) 18%, var(--background-primary-alt));
color: var(--text-normal);
}
.model-weave-source-links-open {
margin-right: 6px;
font-size: var(--model-weave-font-size-small);
}
.model-weave-source-links-action-note {
color: var(--text-muted);
font-size: var(--model-weave-font-size-small);
}
.model-weave-source-links-bulk-actions {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.model-weave-source-links-bulk-copy {
font-size: var(--model-weave-font-size-small);
}
.model-weave-mermaid-shell {
display: flex;
flex-direction: column;
flex: 1 1 auto;
min-height: 0;
}
.model-weave-mermaid-title,
.model-weave-graph-identity-title {
flex: 0 0 auto;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin: 0 0 6px;
color: var(--text-normal);
font-size: var(--font-ui-medium);
font-weight: 600;
}
.model-weave-graph-canvas {
position: relative;
overflow: hidden;
border: 1px solid var(--background-modifier-border);
border-radius: 8px;
background-color: var(--background-primary);
flex: 1 1 auto;
cursor: grab;
}
.model-weave-graph-canvas-interactive {
min-height: 420px;
}
.model-weave-graph-canvas.model-weave-is-grabbing {
cursor: grabbing;
}
.model-weave-graph-canvas-static {
overflow: auto;
cursor: default;
}
.model-weave-graph-viewport {
position: relative;
width: 100%;
height: 100%;
min-height: 0;
overflow: hidden;
}
.model-weave-graph-canvas-static .model-weave-graph-viewport {
height: auto;
min-height: 0;
overflow: visible;
}
.model-weave-graph-surface {
position: absolute;
left: 0;
top: 0;
width: var(--mw-scene-width);
height: var(--mw-scene-height);
transform: var(--mw-preview-transform);
transform-origin: 0 0;
will-change: transform;
background-color: var(--background-primary);
}
.model-weave-domains-mermaid .model-weave-graph-surface {
background-color: transparent;
}
.model-weave-graph-surface-static {
position: relative;
width: max-content;
min-width: 100%;
height: auto;
transform: none;
}
.model-weave-mermaid-svg {
display: block;
width: var(--mw-scene-width);
height: var(--mw-scene-height);
}
.model-weave-mermaid-shell .model-weave-mermaid-svg .edgeLabel,
.model-weave-mermaid-shell .model-weave-mermaid-svg .label,
.model-weave-mermaid-shell .model-weave-mermaid-svg .nodeLabel,
.model-weave-mermaid-shell .model-weave-mermaid-svg .cluster-label {
color: var(--text-normal);
}
.model-weave-mermaid-shell .model-weave-mermaid-svg .edgeLabel,
.model-weave-mermaid-shell .model-weave-mermaid-svg .edgeLabel p {
background-color: var(--background-secondary);
color: var(--text-normal);
}
.model-weave-mermaid-shell .model-weave-mermaid-svg .edgeLabel rect,
.model-weave-mermaid-shell .model-weave-mermaid-svg rect.labelBkg {
fill: var(--background-secondary);
opacity: 0.94;
}
.model-weave-mermaid-shell .model-weave-mermaid-svg .edgeLabel text,
.model-weave-mermaid-shell .model-weave-mermaid-svg .label text,
.model-weave-mermaid-shell .model-weave-mermaid-svg .nodeLabel,
.model-weave-mermaid-shell .model-weave-mermaid-svg .cluster-label text {
fill: var(--text-normal);
}
.model-weave-mermaid-svg-static {
max-width: none;
}
body.theme-dark .model-weave-domains-mermaid-mode-mindmap svg.model-weave-mermaid-svg .node rect,
body.theme-dark .model-weave-domains-mermaid-mode-mindmap svg.model-weave-mermaid-svg .node circle,
body.theme-dark .model-weave-domains-mermaid-mode-mindmap svg.model-weave-mermaid-svg .node ellipse,
body.theme-dark .model-weave-domains-mermaid-mode-mindmap svg.model-weave-mermaid-svg .node polygon,
body.theme-dark .model-weave-domains-mermaid-mode-mindmap svg.model-weave-mermaid-svg .mindmap-node rect,
body.theme-dark .model-weave-domains-mermaid-mode-mindmap svg.model-weave-mermaid-svg .mindmap-node circle,
body.theme-dark .model-weave-domains-mermaid-mode-mindmap svg.model-weave-mermaid-svg .mindmap-node ellipse,
body.theme-dark .model-weave-domains-mermaid-mode-mindmap svg.model-weave-mermaid-svg .mindmap-node polygon {
fill: #273241;
stroke: #6f8fb8;
}
body.theme-dark .model-weave-domains-mermaid-mode-mindmap svg.model-weave-mermaid-svg text,
body.theme-dark .model-weave-domains-mermaid-mode-mindmap svg.model-weave-mermaid-svg tspan,
body.theme-dark .model-weave-domains-mermaid-mode-mindmap svg.model-weave-mermaid-svg .nodeLabel,
body.theme-dark .model-weave-domains-mermaid-mode-mindmap svg.model-weave-mermaid-svg .mindmap-node-label {
fill: #e6edf3;
color: #e6edf3;
}
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg .entityBox,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg rect.entityBox,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg path.entityBox,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg .entityBox path,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg .entityBox rect {
fill: #273241;
stroke: #6f8fb8;
stroke-width: 1.4px;
}
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg .attributeBoxOdd,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg rect.attributeBoxOdd,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg path.attributeBoxOdd,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg .attributeBoxOdd rect {
fill: #202a37;
stroke: #5f6f82;
}
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg .attributeBoxEven,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg rect.attributeBoxEven,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg path.attributeBoxEven,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg .attributeBoxEven rect {
fill: #243042;
stroke: #5f6f82;
}
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg text,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg tspan,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg .entityLabel,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg .attributeLabel,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg .entityLabel text,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg .attributeLabel text,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg .entityLabel tspan,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg .attributeLabel tspan,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg .relationshipLabel,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg .cardinality,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg .er.entityLabel,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg .er.attributeLabel {
fill: #e6edf3;
color: #e6edf3;
}
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg .relationshipLine,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg .er.relationshipLine,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg path.relationshipLine,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg line.relationshipLine {
stroke: #9aa7b8;
stroke-width: 1.5px;
}
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg .relationshipLabelBox,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg rect.relationshipLabelBox,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg rect.labelBkg,
body.theme-dark .model-weave-mermaid-shell.mdspec-diagram.mdspec-diagram--er.mdspec-diagram--er-detail svg.model-weave-mermaid-svg .edgeLabel rect {
fill: #2a3038;
stroke: #5f6f82;
opacity: 0.96;
}
.model-weave-business-flow-debug-source {
margin: 8px 0 0;
padding: 8px;
overflow: auto;
user-select: text;
color: var(--text-normal);
background: var(--background-primary-alt);
border: 1px solid var(--background-modifier-border);
border-radius: 6px;
}
.model-weave-mermaid-source-actions {
display: flex;
justify-content: flex-end;
margin: 8px 0;
}
.model-weave-secondary-button {
border: 1px solid var(--background-modifier-border);
border-radius: 6px;
padding: 4px 8px;
color: var(--text-normal);
background: var(--background-secondary);
cursor: pointer;
}
.model-weave-secondary-button:hover {
background: var(--background-modifier-hover);
}
.model-weave-mermaid-source-code {
margin: 8px 0 0;
padding: 8px;
overflow: auto;
user-select: text;
white-space: pre;
color: var(--text-normal);
background: var(--background-primary-alt);
border: 1px solid var(--background-modifier-border);
border-radius: 6px;
}
.model-weave-mermaid-fallback {
margin: 0 0 10px;
padding: 8px 10px;
border-radius: 8px;
border: 1px solid var(--color-orange);
background: var(--background-primary-alt);
color: var(--text-normal);
font-size: 12px;
}
.model-weave-mermaid-fallback-shell {
gap: 10px;
}
.model-weave-diagram-preview-root {
display: flex;
flex-direction: column;
height: 100%;
min-height: 0;
overflow: hidden;
padding-bottom: 12px;
}
.model-weave-object-preview-root {
display: flex;
flex-direction: column;
height: 100%;
min-height: 0;
gap: 10px;
}
.model-weave-viewer-root {
display: flex;
flex-direction: column;
gap: var(--mw-content-gap);
height: 100%;
min-height: 0;
overflow: hidden;
padding-bottom: 12px;
font-size: var(--model-weave-font-size);
}
.model-weave-viewer-empty {
display: flex;
flex: 1 1 auto;
min-height: 0;
align-items: center;
justify-content: center;
border: 1px dashed var(--background-modifier-border);
border-radius: 10px;
background: var(--background-primary-alt);
padding: 20px;
}
.model-weave-viewer-empty-text {
margin: 0;
color: var(--text-muted);
text-align: center;
}
.model-weave-viewer-toolbar {
display: flex;
justify-content: flex-end;
align-items: center;
flex-wrap: wrap;
gap: 8px;
flex: 0 0 auto;
}
.model-weave-preview-pane-actions {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.model-weave-preview-pane-button {
font-size: var(--model-weave-font-size-small);
}
body.model-weave-focus-mode-active {
overflow: hidden;
}
.model-weave-viewer-root.model-weave-viewer-focus-mode {
position: fixed;
inset: var(--mw-focus-overlay-top, 0px) 0 0 0;
box-sizing: border-box;
width: auto;
height: auto;
z-index: 10000;
background: var(--background-primary);
border: 1px solid var(--background-modifier-border);
border-radius: 0;
padding: 12px;
box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}
.model-weave-viewer-root.model-weave-viewer-focus-mode .model-weave-viewer-split-shell {
min-height: 0;
}
.model-weave-focus-mode-button.is-active {
background: var(--interactive-accent);
color: var(--text-on-accent);
}
.model-weave-view-only-button.is-active {
background: var(--interactive-accent);
color: var(--text-on-accent);
}
.model-weave-view-only-stage {
display: none;
}
.model-weave-viewer-root.model-weave-viewer-view-only > :not(.model-weave-viewer-toolbar):not(.model-weave-view-only-stage) {
display: none;
}
.model-weave-viewer-root.model-weave-viewer-view-only .model-weave-view-only-stage {
display: flex;
flex: 1 1 auto;
min-height: 0;
overflow: hidden;
}
.model-weave-viewer-root.model-weave-viewer-view-only .model-weave-view-only-target {
display: flex;
flex: 1 1 auto;
flex-direction: column;
min-height: 0;
overflow: hidden;
}
.model-weave-viewer-root.model-weave-viewer-view-only .model-weave-impact-weave-map-render,
.model-weave-viewer-root.model-weave-viewer-view-only .model-weave-impact-weave-map-body {
flex: 1 1 auto;
height: auto;
min-height: 0;
}
.model-weave-graph-canvas,
.model-weave-screen-preview-layout-block,
.model-weave-impact-weave-map-body,
.model-weave-viewer-root.model-weave-viewer-view-only .model-weave-zoom-toolbar {
user-select: none;
}
.model-weave-weave-map-interactive-node {
cursor: pointer;
}
.model-weave-viewer-split-shell {
display: flex;
flex-direction: column;
flex: 1 1 auto;
min-height: 0;
overflow: hidden;
border: 1px solid var(--background-modifier-border);
border-radius: 10px;
background: var(--background-primary);
}
.model-weave-viewer-upper-pane {
display: flex;
flex-direction: column;
flex: var(--mw-pane-flex);
gap: var(--mw-pane-gap);
padding: var(--mw-pane-padding);
min-height: 180px;
min-width: 0;
overflow: hidden;
background: var(--background-primary);
}
.model-weave-viewer-lower-pane {
flex: var(--mw-pane-flex);
gap: var(--mw-pane-gap);
padding: var(--mw-pane-padding);
min-height: 180px;
min-width: 0;
display: flex;
flex-direction: column;
background: var(--background-primary);
}
.model-weave-viewer-resize-handle {
flex: 0 0 10px;
cursor: row-resize;
position: relative;
background: var(--background-primary-alt);
border-top: 1px solid var(--background-modifier-border);
border-bottom: 1px solid var(--background-modifier-border);
touch-action: none;
}
.model-weave-viewer-resize-grip {
position: absolute;
left: 50%;
top: 50%;
width: 42px;
height: 3px;
border-radius: 999px;
background: var(--background-modifier-border-hover);
transform: translate(-50%, -50%);
}
.model-weave-viewer-lower-scroll {
overflow-y: auto;
min-height: 0;
}
.model-weave-summary-details {
min-width: 0;
background: var(--background-primary);
}
.model-weave-viewer-lower-pane.model-weave-summary-details,
.model-weave-summary-section.model-weave-summary-details {
gap: var(--mw-pane-gap, 12px);
padding: var(--mw-pane-padding, 10px 12px 14px);
}
.model-weave-viewer-lower-pane,
.model-weave-summary-details,
.model-weave-summary-section,
.model-weave-preview-section,
.model-weave-summary-list,
.model-weave-summary-paragraph,
.model-weave-summary-table,
.model-weave-data-table,
.model-weave-diagnostics-details,
.model-weave-diagnostics-list,
.model-weave-diagnostics-item,
.model-weave-object-focus,
.model-weave-object-meta,
.model-weave-object-context-list,
.model-weave-object-context-table-wrap,
.model-weave-object-context-table,
.model-weave-diagram-details,
.model-weave-diagram-details-list,
.model-weave-diagram-details-item,
.model-weave-detail-panel {
user-select: text;
}
.model-weave-summary-section {
display: flex;
flex-direction: column;
gap: 12px;
padding: var(--mw-pane-padding, 10px 12px 14px);
overflow: auto;
font-size: var(--model-weave-font-size);
}
.model-weave-summary-heading {
cursor: pointer;
font-size: var(--model-weave-font-size);
}
.model-weave-preview-section {
margin: 0;
}
.model-weave-lower-pane-slot {
display: block;
}
.model-weave-collection-diagram-lower-pane > .model-weave-preview-section,
.model-weave-collection-diagram-lower-pane > .model-weave-detail-panel,
.model-weave-collection-diagram-lower-pane > .model-weave-diagram-details,
.model-weave-collection-diagram-lower-pane > .mdspec-related-list,
.model-weave-collection-diagram-lower-pane > .model-weave-object-context-list,
.model-weave-collection-diagram-lower-pane > details,
.model-weave-lower-pane-slot > .model-weave-preview-section,
.model-weave-lower-pane-slot > .model-weave-detail-panel,
.model-weave-lower-pane-slot > .model-weave-diagram-details,
.model-weave-lower-pane-slot > .mdspec-related-list,
.model-weave-lower-pane-slot > .model-weave-object-context-list,
.model-weave-lower-pane-slot > details {
flex: 0 0 auto;
min-height: 0;
}
.model-weave-preview-section-title {
color: var(--text-normal);
}
.model-weave-table-wrap {
width: 100%;
overflow-x: auto;
}
.model-weave-summary-details .model-weave-data-table {
width: 100%;
border-collapse: collapse;
font-size: var(--model-weave-font-size);
}
.model-weave-summary-details .model-weave-data-table th {
text-align: left;
color: var(--text-muted);
background: var(--background-secondary);
font-weight: 600;
border-bottom: 1px solid var(--background-modifier-border);
}
.model-weave-summary-details .model-weave-data-table th,
.model-weave-summary-details .model-weave-data-table td {
padding: 6px 8px;
line-height: 1.45;
border-bottom: 1px solid var(--background-modifier-border);
}
.model-weave-summary-details .model-weave-data-table td {
color: var(--text-normal);
vertical-align: top;
}
.model-weave-summary-details .model-weave-data-table tbody tr:nth-child(even) {
background: var(--background-primary-alt);
}
.model-weave-color-swatch {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 2.25rem;
min-height: 1.25rem;
border: 1px solid var(--background-modifier-border);
border-radius: 4px;
font-size: 0.75rem;
}
.model-weave-summary-details .model-weave-summary-empty-cell {
color: var(--text-muted);
font-style: italic;
}
.model-weave-summary-paragraph {
margin: 0 0 8px;
white-space: pre-wrap;
color: var(--text-normal);
font-size: var(--model-weave-font-size);
}
.model-weave-summary-list {
margin: 0;
}
.model-weave-summary-empty,
.model-weave-summary-muted {
margin: 0;
color: var(--text-muted);
font-size: var(--model-weave-font-size);
}
.model-weave-clickable {
cursor: pointer;
}
.model-weave-render-mode-toolbar-host {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
}
.model-weave-render-mode-row {
display: flex;
align-items: center;
flex: 0 1 auto;
gap: 6px;
padding-left: 8px;
border-left: 1px solid var(--background-modifier-border);
}
.model-weave-render-mode-label {
font-size: var(--model-weave-font-size-small);
font-weight: 600;
color: var(--text-muted);
}
.model-weave-render-mode-select,
.model-weave-domain-mode-select {
min-width: 104px;
border: 1px solid var(--background-modifier-border);
border-radius: 6px;
background: var(--background-primary);
color: var(--text-normal);
padding: 2px 8px;
font-size: var(--model-weave-font-size-small);
}
.model-weave-screen-preview {
display: flex;
flex-direction: column;
flex: 1 1 auto;
min-height: 0;
--mw-screen-chart-bg: #ffffff;
--mw-screen-card-bg: #f8fafc;
--mw-screen-card-header-bg: #eaf3ff;
--mw-screen-card-border: #6b8ec6;
--mw-screen-card-text: #111827;
--mw-screen-card-muted: #4b5563;
--mw-screen-card-divider: #d1d5db;
--mw-screen-card-shadow: rgba(0, 0, 0, 0.08);
--mw-screen-transition-bg: #ffffff;
--mw-screen-unresolved-bg: #fff7ed;
--mw-screen-unresolved-header-bg: #ffedd5;
--mw-screen-unresolved-border: #c77700;
}
.model-weave-screen-preview-layout-block {
position: relative;
overflow: hidden;
padding: 0;
border: 1px solid var(--background-modifier-border);
border-radius: 8px;
background: var(--mw-screen-chart-bg);
flex: 1 1 auto;
height: auto;
cursor: grab;
user-select: none;
touch-action: none;
}
.model-weave-screen-preview-layout-block-interactive {
min-height: 420px;
}
.model-weave-screen-preview-viewport {
position: relative;
width: 100%;
height: 100%;
min-height: 0;
overflow: hidden;
}
.model-weave-screen-preview-surface {
position: absolute;
left: 0;
top: 0;
width: var(--mw-scene-width);
height: var(--mw-scene-height);
transform: var(--mw-preview-transform);
transform-origin: 0 0;
will-change: transform;
background: var(--mw-screen-chart-bg);
}
.model-weave-screen-preview-card {
position: absolute;
left: var(--mw-node-x);
top: var(--mw-node-y);
width: var(--mw-node-width);
height: var(--mw-node-height);
border: 1px solid var(--mw-screen-card-border);
border-radius: 8px;
background: var(--mw-screen-card-bg);
box-shadow: 0 2px 8px var(--mw-screen-card-shadow);
overflow: hidden;
color: var(--mw-screen-card-text);
}
.model-weave-screen-preview-header {
padding: 10px 12px;
border-bottom: 1px solid var(--mw-screen-card-divider);
background: var(--mw-screen-card-header-bg);
}
.model-weave-screen-preview-title {
font-weight: 700;
font-size: var(--model-weave-font-size-title);
line-height: 1.3;
}
.model-weave-screen-preview-sections {
display: flex;
flex-direction: column;
}
.model-weave-screen-preview-section {
padding: 10px 12px 10px;
}
.model-weave-screen-preview-section-bordered {
border-top: 1px solid var(--mw-screen-card-divider);
}
.model-weave-screen-preview-section-title {
font-size: var(--model-weave-font-size-small);
font-weight: 600;
color: var(--mw-screen-card-muted);
margin-bottom: 6px;
}
.model-weave-screen-preview-empty {
font-size: var(--model-weave-font-size-small);
color: var(--mw-screen-card-muted);
}
.model-weave-screen-preview-muted {
font-size: var(--model-weave-font-size-small);
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--mw-screen-card-muted);
}
.model-weave-screen-preview-list {
margin: 0;
padding-left: 18px;
font-size: var(--model-weave-font-size);
line-height: 1.45;
}
.model-weave-screen-preview-overlay {
position: absolute;
left: 0;
top: 0;
overflow: visible;
pointer-events: none;
}
.model-weave-screen-preview-target-body {
padding: 10px 12px;
font-size: var(--model-weave-font-size-small);
color: var(--mw-screen-card-muted);
display: flex;
flex-direction: column;
gap: 4px;
}
.model-weave-screen-preview-row {
color: inherit;
}
.model-weave-screen-preview-target-box {
position: absolute;
left: var(--mw-node-x);
top: var(--mw-node-y);
width: var(--mw-node-width);
height: var(--mw-node-height);
border: 1px solid var(--mw-screen-card-border);
border-radius: 8px;
background: var(--mw-screen-card-bg);
box-shadow: 0 2px 8px var(--mw-screen-card-shadow);
overflow: hidden;
color: var(--mw-screen-card-text);
}
.model-weave-screen-preview-target-box-unresolved {
border-color: var(--mw-screen-unresolved-border);
background: var(--mw-screen-unresolved-bg);
}
.model-weave-screen-preview-target-header {
padding: 8px 12px;
border-bottom: 1px solid var(--mw-screen-card-divider);
background: var(--mw-screen-card-header-bg);
min-height: 30px;
}
.model-weave-screen-preview-target-header-unresolved {
background: var(--mw-screen-unresolved-header-bg);
}
.model-weave-screen-preview-target-kind {
font-size: var(--model-weave-font-size-small);
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--mw-screen-card-muted);
}
.model-weave-screen-preview-target-title {
font-weight: 700;
font-size: var(--model-weave-font-size-large);
line-height: 1.3;
}
.model-weave-screen-preview-clickable {
cursor: pointer;
}
.model-weave-screen-preview-edge-label {
position: absolute;
left: var(--mw-node-x);
top: var(--mw-node-y);
width: var(--mw-node-width);
height: var(--mw-node-height);
display: flex;
align-items: center;
justify-content: center;
padding: 0 10px;
border: 1px solid var(--mw-screen-card-divider);
border-radius: 999px;
background-color: var(--mw-screen-transition-bg);
color: var(--mw-screen-card-text);
-webkit-text-fill-color: var(--mw-screen-card-text);
box-shadow: 0 1px 4px var(--mw-screen-card-shadow);
font-size: var(--model-weave-font-size-small);
line-height: 1.2;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
opacity: 1;
font-family: inherit;
font-weight: 600;
text-align: center;
text-decoration: none;
pointer-events: none;
cursor: default;
user-select: none;
}
.model-weave-diagnostics-details {
font-size: var(--model-weave-font-size);
}
.model-weave-diagnostics-summary {
cursor: pointer;
}
.model-weave-diagnostics-summary-note {
color: var(--text-muted);
}
.model-weave-diagnostics-summary-warning {
color: var(--text-warning);
}
.model-weave-diagnostics-summary-error {
color: var(--text-error);
}
.model-weave-diagnostics-list {
margin: 8px 0 0;
padding-left: 18px;
}
.model-weave-diagnostics-item {
border-radius: 4px;
padding: 2px 4px;
}
.model-weave-diagnostics-item-clickable:hover {
background: var(--background-modifier-hover);
}
.model-weave-diagnostics-panel-summary {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
margin: 0 0 8px;
padding: 8px 10px;
border: 1px solid var(--background-modifier-border);
border-radius: 8px;
background: var(--background-secondary);
}
.model-weave-diagnostics-panel-title {
font-weight: 700;
color: var(--text-normal);
margin-right: 2px;
}
.model-weave-diagnostics-count-chip {
display: inline-flex;
align-items: center;
border-radius: 999px;
padding: 2px 8px;
font-size: var(--model-weave-font-size-small);
font-weight: 600;
border: 1px solid var(--background-modifier-border);
background: var(--background-primary);
}
.model-weave-diagnostics-count-error {
color: var(--text-error);
border-color: var(--text-error);
}
.model-weave-diagnostics-count-warning {
color: var(--text-warning);
border-color: var(--text-warning);
}
.model-weave-diagnostics-count-info {
color: var(--text-muted);
}
.model-weave-diagnostics-card-list {
display: flex;
flex-direction: column;
gap: 8px;
margin-top: 8px;
}
.model-weave-diagnostic-card {
border: 1px solid var(--background-modifier-border);
border-radius: 8px;
padding: 10px;
background: var(--background-primary);
}
.model-weave-diagnostic-card-error {
border-left: 4px solid var(--text-error);
}
.model-weave-diagnostic-card-warning {
border-left: 4px solid var(--text-warning);
}
.model-weave-diagnostic-card-info {
border-left: 4px solid var(--text-muted);
}
.model-weave-diagnostic-card-header {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
margin-bottom: 6px;
}
.model-weave-diagnostic-severity {
font-size: var(--model-weave-font-size-small);
font-weight: 700;
text-transform: uppercase;
}
.model-weave-diagnostic-severity-error {
color: var(--text-error);
}
.model-weave-diagnostic-severity-warning {
color: var(--text-warning);
}
.model-weave-diagnostic-severity-info {
color: var(--text-muted);
}
.model-weave-diagnostic-code {
font-family: var(--font-monospace);
font-size: var(--model-weave-font-size-small);
color: var(--text-muted);
}
.model-weave-diagnostic-message {
line-height: 1.45;
}
.model-weave-diagnostic-detail-box {
margin-top: 8px;
padding: 8px;
border: 1px solid var(--background-modifier-border);
border-radius: 6px;
background: var(--background-secondary);
}
.model-weave-diagnostic-detail-title {
margin-bottom: 6px;
color: var(--text-muted);
font-size: var(--model-weave-font-size-small);
font-weight: 600;
}
.model-weave-diagnostic-meta-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 4px 10px;
margin-top: 8px;
font-size: var(--model-weave-font-size-small);
}
.model-weave-diagnostic-meta {
min-width: 0;
}
.model-weave-diagnostic-meta-label {
color: var(--text-muted);
font-weight: 600;
margin-right: 4px;
}
.model-weave-diagnostic-meta-value {
overflow-wrap: anywhere;
}
.model-weave-diagnostic-actions {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-top: 10px;
}
.model-weave-diagnostic-action {
font-size: var(--model-weave-font-size-small);
}
.model-weave-export-offscreen-root {
position: fixed;
left: -100000px;
top: 0;
width: 1px;
height: 1px;
overflow: hidden;
pointer-events: none;
opacity: 1;
z-index: -1;
background: #ffffff;
}
.model-weave-export-surface-clone {
left: var(--mw-export-left);
top: var(--mw-export-top);
width: var(--mw-export-width);
height: var(--mw-export-height);
min-width: var(--mw-export-min-width);
min-height: var(--mw-export-min-height);
transform: var(--mw-export-transform);
position: absolute;
margin: 0;
will-change: auto;
display: block;
}
.model-weave-export-wrapper {
width: var(--mw-export-width);
height: var(--mw-export-height);
background: #ffffff;
position: relative;
overflow: hidden;
font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
.model-weave-export-root-background {
background: #ffffff;
}
.model-weave-export-mermaid-clone {
display: block;
width: var(--mw-export-width);
height: var(--mw-export-height);
}
.model-weave-object-context {
margin-top: 10px;
display: flex;
flex-direction: column;
flex: 1 1 auto;
min-height: 0;
font-size: var(--model-weave-font-size);
}
.model-weave-object-context-no-margin {
margin-top: 0;
}
.model-weave-object-context-title-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.model-weave-object-context-title {
margin: 0;
}
.model-weave-object-context-count {
font-size: var(--model-weave-font-size-small);
color: var(--text-muted);
}
.model-weave-object-context-graph {
margin-top: 10px;
min-height: 360px;
}
.model-weave-object-context-list {
margin-top: 10px;
display: flex;
flex: 1 1 180px;
flex-direction: column;
min-height: 0;
}
.model-weave-object-context-summary {
cursor: pointer;
font-weight: 600;
padding: 6px 2px;
}
.model-weave-object-context-table-wrap {
margin-top: 8px;
flex: 1 1 auto;
min-height: 96px;
overflow: auto;
}
.model-weave-object-context-empty {
margin: 8px 0 0;
color: var(--text-muted);
}
.model-weave-object-context-link-wrap {
display: flex;
align-items: center;
gap: 6px;
}
.model-weave-object-context-link {
padding: 0;
border: 0;
background: transparent;
color: var(--text-accent);
cursor: pointer;
font-size: var(--model-weave-font-size);
}
.model-weave-badge {
display: inline-flex;
align-items: center;
padding: 2px 8px;
border-radius: 999px;
font-size: var(--model-weave-font-size-small);
font-weight: 600;
white-space: nowrap;
color: var(--text-normal);
}
.model-weave-badge-outgoing {
background: color-mix(in srgb, var(--color-green) 18%, var(--background-primary-alt));
}
.model-weave-badge-incoming {
background: color-mix(in srgb, var(--color-orange) 18%, var(--background-primary-alt));
}
.model-weave-badge-inheritance {
background: color-mix(in srgb, var(--color-blue) 18%, var(--background-primary-alt));
}
.model-weave-badge-composition {
background: color-mix(in srgb, var(--color-red) 18%, var(--background-primary-alt));
}
.model-weave-badge-aggregation {
background: color-mix(in srgb, var(--color-orange) 18%, var(--background-primary-alt));
}
.model-weave-badge-association {
background: color-mix(in srgb, var(--color-green) 18%, var(--background-primary-alt));
}
.model-weave-badge-dependency {
background: color-mix(in srgb, var(--color-yellow) 18%, var(--background-primary-alt));
}
.model-weave-badge-implementation {
background: color-mix(in srgb, var(--color-cyan) 18%, var(--background-primary-alt));
}
.model-weave-badge-fk {
background: color-mix(in srgb, var(--color-purple) 18%, var(--background-primary-alt));
}
.model-weave-badge-default {
background: var(--background-secondary);
}
.model-weave-diagram-shell {
display: flex;
flex-direction: column;
flex: 1 1 auto;
min-height: 0;
}
.model-weave-diagram-title {
flex: 0 0 auto;
}
.model-weave-diagram-canvas {
position: relative;
overflow: hidden;
padding: 0;
border: 1px solid var(--background-modifier-border);
border-radius: 8px;
background: #ffffff;
flex: 1 1 auto;
height: auto;
cursor: grab;
user-select: none;
touch-action: none;
}
.model-weave-diagram-canvas-interactive {
min-height: 420px;
}
.model-weave-diagram-viewport {
position: relative;
width: 100%;
height: 100%;
min-height: 0;
overflow: hidden;
}
.model-weave-diagram-surface {
position: absolute;
left: 0;
top: 0;
width: var(--mw-scene-width);
height: var(--mw-scene-height);
transform: var(--mw-preview-transform);
transform-origin: 0 0;
will-change: transform;
}
.model-weave-diagram-svg {
position: absolute;
inset: 0;
pointer-events: none;
overflow: visible;
}
.model-weave-node {
position: absolute;
left: var(--mw-node-x);
top: var(--mw-node-y);
width: var(--mw-node-width);
min-height: var(--mw-node-height);
box-sizing: border-box;
border: 1px solid #6b8ec6;
border-radius: 8px;
background: #f8fafc;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
overflow: hidden;
color: #111827;
}
.model-weave-node-class {
cursor: default;
}
.model-weave-node-interface {
cursor: default;
}
.model-weave-node-er {
border: 1px solid #3a7a4f;
background: #ffffff;
}
.model-weave-node-clickable {
cursor: pointer;
}
.model-weave-node[role=\"button\"] {
cursor: pointer;
}
.model-weave-node-header {
padding: 10px 12px;
border-bottom: 1px solid #d1d5db;
}
.model-weave-node-header-class {
background: #eaf3ff;
}
.model-weave-node-header-interface {
background: #e8f7fb;
}
.model-weave-node-header-enum {
background: #fff4e5;
}
.model-weave-node-header-component {
background: #edf8f0;
}
.model-weave-node-header-entity {
background: #eef5ff;
}
.model-weave-node-header-er {
background: #eef8f0;
}
.model-weave-node-kind {
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.08em;
color: #4b5563;
}
.model-weave-node-title {
font-weight: 700;
font-size: 16px;
line-height: 1.3;
}
.model-weave-node-er-logical {
color: #111827;
}
.model-weave-node-er-physical {
padding: 8px 12px 0;
font-family: var(--font-monospace);
font-size: 12px;
color: #4b5563;
}
.model-weave-node-section {
padding: 8px 12px 10px;
border-top: 1px solid #d1d5db;
}
.model-weave-node-section-heading {
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: #4b5563;
margin-bottom: 6px;
}
.model-weave-node-list {
margin: 0;
padding-left: 18px;
font-size: 12px;
line-height: 1.45;
}
.model-weave-node-empty {
padding: 16px;
font-size: 12px;
color: #6b7280;
}
.model-weave-diagram-details {
margin-top: 10px;
flex: 0 0 auto;
color: var(--text-normal);
}
.model-weave-diagram-details-summary {
cursor: pointer;
font-weight: 600;
padding: 4px 0;
color: var(--text-normal);
}
.model-weave-diagram-details-empty {
margin: 8px 0 0;
color: var(--text-muted);
}
.model-weave-diagram-details-list {
list-style: none;
margin: 8px 0 0;
padding: 0;
max-width: 720px;
color: var(--text-normal);
}
.model-weave-diagram-details-item {
padding: 6px 8px;
border: 1px solid var(--background-modifier-border);
border-radius: 8px;
margin-bottom: 6px;
background: var(--background-primary-alt);
font-size: 12px;
line-height: 1.45;
color: var(--text-normal);
}
.model-weave-lower-scroll {
display: flex;
flex: 1 1 auto;
flex-direction: column;
min-height: 0;
}
.model-weave-detail-panel {
flex: 0 0 auto;
min-height: 0;
}
.model-weave-detail-panel.model-weave-object-context-list {
flex: 1 1 180px;
}
.model-weave-editor-suggest-detail {
font-size: 12px;
color: var(--text-muted);
}
.model-weave-review-summary-chips {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-top: 8px;
}
.model-weave-review-summary-chip {
display: inline-flex;
align-items: center;
gap: 6px;
max-width: 100%;
padding: 3px 8px;
border: 1px solid var(--background-modifier-border);
border-radius: 999px;
background-color: var(--background-secondary);
color: var(--text-normal);
font-size: var(--font-ui-small);
line-height: 1.4;
}
.model-weave-review-summary-chip-label {
color: var(--text-muted);
}
.model-weave-review-summary-chip-value {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-weight: 600;
}
.model-weave-review-summary-chip-warning {
border-color: var(--text-warning);
background-color: rgba(var(--color-yellow-rgb), 0.12);
}
.model-weave-review-summary-chip-error {
border-color: var(--text-error);
background-color: rgba(var(--color-red-rgb), 0.12);
}
.model-weave-review-summary-chip-available {
border-color: var(--interactive-accent);
}
.model-weave-impact-weave-map-content {
margin-top: 8px;
}
.model-weave-impact-overview-cards,
.model-weave-source-links-summary {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 8px;
margin-top: 8px;
}
.model-weave-impact-overview-card,
.model-weave-source-links-summary-chip {
min-width: 0;
padding: 8px 10px;
border: 1px solid var(--background-modifier-border);
border-radius: 8px;
background-color: var(--background-secondary);
}
.model-weave-impact-overview-card-warning,
.model-weave-source-links-summary-chip-missing,
.model-weave-source-links-summary-chip-warning {
border-color: var(--text-warning);
background-color: rgba(var(--color-yellow-rgb), 0.12);
}
.model-weave-source-links-summary-chip-available {
border-color: var(--color-green);
background-color: rgba(var(--color-green-rgb), 0.12);
}
.model-weave-impact-overview-card-label,
.model-weave-source-links-summary-label {
color: var(--text-muted);
font-size: var(--font-ui-smaller);
}
.model-weave-impact-overview-card-value,
.model-weave-source-links-summary-value {
margin-top: 2px;
color: var(--text-normal);
font-size: var(--font-ui-large);
font-weight: 700;
line-height: 1.2;
}
.model-weave-impact-overview-card-description {
margin-top: 4px;
overflow: hidden;
color: var(--text-muted);
font-size: var(--font-ui-smaller);
text-overflow: ellipsis;
white-space: nowrap;
}