2026-07-21 20:09:00 +08:00
|
|
|
:root {
|
|
|
|
|
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
|
|
|
color: #e7e9ec;
|
|
|
|
|
background: #101215;
|
|
|
|
|
font-synthesis: none;
|
|
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
|
--bg: #101215;
|
|
|
|
|
--surface-1: #15181c;
|
|
|
|
|
--surface-2: #1b1f24;
|
|
|
|
|
--surface-3: #23282e;
|
|
|
|
|
--border: #2d333a;
|
|
|
|
|
--border-strong: #3a424a;
|
|
|
|
|
--text: #e7e9ec;
|
|
|
|
|
--text-muted: #929aa3;
|
|
|
|
|
--text-dim: #68717b;
|
|
|
|
|
--accent: #29c58b;
|
|
|
|
|
--accent-strong: #52d6a6;
|
|
|
|
|
--blue: #5a92f7;
|
|
|
|
|
--amber: #eeb84a;
|
|
|
|
|
--red: #ee6961;
|
|
|
|
|
--purple: #bb7ee4;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
* { box-sizing: border-box; }
|
|
|
|
|
html, body, #root { width: 100%; height: 100%; margin: 0; overflow: hidden; }
|
|
|
|
|
body { background: var(--bg); }
|
|
|
|
|
button, input, textarea { font: inherit; }
|
|
|
|
|
button { color: inherit; }
|
|
|
|
|
|
|
|
|
|
.app-shell {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-rows: 56px 42px minmax(0, 1fr) 24px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
min-width: 980px;
|
|
|
|
|
background: var(--bg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-header {
|
|
|
|
|
display: grid;
|
2026-07-21 22:16:29 +08:00
|
|
|
grid-template-columns: 248px minmax(140px, 1fr) auto;
|
2026-07-21 20:09:00 +08:00
|
|
|
align-items: center;
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
background: #15181b;
|
|
|
|
|
padding: 0 12px;
|
|
|
|
|
user-select: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.brand-block, .brand-copy, .header-actions, .monitor-title, .monitor-actions,
|
|
|
|
|
.tree-tab, .view-switch, .workspace-toolbar-actions, .section-title,
|
|
|
|
|
.endpoint-row, .runtime-legend, .event-stream-heading, .xml-header > div {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.brand-block { gap: 9px; }
|
|
|
|
|
.brand-mark {
|
|
|
|
|
display: grid;
|
|
|
|
|
place-items: center;
|
|
|
|
|
width: 32px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
border: 1px solid #357f64;
|
|
|
|
|
border-radius: 7px;
|
|
|
|
|
color: var(--accent-strong);
|
|
|
|
|
background: #17251f;
|
|
|
|
|
}
|
|
|
|
|
.brand-copy { align-items: flex-start; flex-direction: column; line-height: 1.1; }
|
2026-07-21 22:16:29 +08:00
|
|
|
.brand-copy strong { font-size: 15px; font-weight: 680; }
|
|
|
|
|
.brand-copy span { margin-top: 3px; color: var(--text-dim); font-size: 10px; text-transform: uppercase; }
|
|
|
|
|
.document-title { min-width: 0; overflow: hidden; text-align: center; color: #c5c9ce; font-size: 13px; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.document-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
|
|
.document-title i { display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-radius: 50%; background: var(--amber); vertical-align: 1px; }
|
|
|
|
|
.header-actions { justify-content: flex-end; gap: 4px; }
|
|
|
|
|
.toolbar-separator { width: 1px; height: 22px; margin: 0 5px; background: var(--border); }
|
|
|
|
|
|
|
|
|
|
button { border: 0; cursor: pointer; }
|
|
|
|
|
button:disabled { cursor: default; opacity: .38; }
|
|
|
|
|
.icon-button, .bare-icon {
|
|
|
|
|
display: inline-grid;
|
|
|
|
|
place-items: center;
|
|
|
|
|
padding: 0;
|
|
|
|
|
border: 1px solid transparent;
|
|
|
|
|
background: transparent;
|
|
|
|
|
}
|
|
|
|
|
.icon-button { width: 32px; height: 32px; border-radius: 6px; color: #abb2ba; }
|
|
|
|
|
.icon-button:hover:not(:disabled) { border-color: var(--border); color: var(--text); background: var(--surface-3); }
|
|
|
|
|
.icon-button.compact { width: 27px; height: 27px; }
|
|
|
|
|
.bare-icon { width: 24px; height: 24px; color: var(--text-dim); }
|
|
|
|
|
.bare-icon:hover { color: var(--text); }
|
|
|
|
|
.bare-icon.danger-hover:hover { color: var(--red); }
|
|
|
|
|
|
|
|
|
|
.monitor-button, .tool-button, .primary-button, .secondary-button, .danger-button {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
gap: 6px;
|
|
|
|
|
min-height: 31px;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
padding: 0 10px;
|
2026-07-21 22:16:29 +08:00
|
|
|
font-size: 13px;
|
2026-07-21 20:09:00 +08:00
|
|
|
font-weight: 600;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
.monitor-button { margin-left: 5px; border: 1px solid #345b4c; color: #9fdac3; background: #17241f; }
|
|
|
|
|
.monitor-button:hover, .monitor-button.active { border-color: #4b9c79; color: #d2f4e6; background: #1c342a; }
|
|
|
|
|
|
|
|
|
|
.workspace-toolbar {
|
2026-07-21 22:16:29 +08:00
|
|
|
position: relative;
|
2026-07-21 20:09:00 +08:00
|
|
|
display: grid;
|
2026-07-21 22:16:29 +08:00
|
|
|
grid-template-columns: 248px 1fr auto;
|
2026-07-21 20:09:00 +08:00
|
|
|
align-items: center;
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
background: #121518;
|
|
|
|
|
padding-right: 12px;
|
|
|
|
|
}
|
2026-07-21 22:16:29 +08:00
|
|
|
.tree-selector { position: relative; align-self: stretch; min-width: 0; }
|
|
|
|
|
.tree-tab { display: flex; align-items: center; width: 100%; height: 100%; gap: 7px; padding: 0 13px; border-right: 1px solid var(--border); color: #bac0c6; background: transparent; font-size: 12px; text-align: left; }
|
|
|
|
|
.tree-tab:hover, .tree-tab.active { color: var(--text); background: var(--surface-2); }
|
2026-07-21 20:09:00 +08:00
|
|
|
.tree-tab span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
|
|
.tree-tab svg:first-child { color: var(--accent); }
|
|
|
|
|
.tree-tab svg:last-child { margin-left: auto; color: var(--text-dim); }
|
2026-07-21 22:16:29 +08:00
|
|
|
.tree-menu { position: absolute; z-index: 30; top: calc(100% + 1px); left: 7px; width: 260px; overflow: hidden; padding: 6px; border: 1px solid var(--border-strong); border-radius: 6px; background: #191d21; box-shadow: 0 14px 34px rgba(0, 0, 0, .42); }
|
|
|
|
|
.tree-menu-heading { padding: 7px 8px; color: var(--text-dim); font-size: 10px; font-weight: 650; text-transform: uppercase; }
|
|
|
|
|
.tree-menu > button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-width: 0; padding: 9px 8px; border-radius: 4px; color: #c3c8cd; background: transparent; font-size: 12px; text-align: left; }
|
|
|
|
|
.tree-menu > button:hover, .tree-menu > button.active { color: #eff1f2; background: #262c32; }
|
|
|
|
|
.tree-menu > button.active { box-shadow: inset 2px 0 var(--accent); }
|
|
|
|
|
.tree-menu > button span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
|
|
.tree-menu > button small { flex: 0 0 auto; margin-left: 8px; color: #79828b; font-size: 9px; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.view-switch { justify-self: center; height: 29px; padding: 2px; border: 1px solid var(--border); border-radius: 6px; background: #0f1114; }
|
2026-07-21 22:16:29 +08:00
|
|
|
.view-switch button { display: inline-flex; align-items: center; gap: 5px; height: 23px; padding: 0 10px; border-radius: 4px; color: var(--text-dim); background: transparent; font-size: 12px; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.view-switch button.active { color: #e2e5e8; background: var(--surface-3); box-shadow: 0 0 0 1px #303740; }
|
|
|
|
|
.workspace-toolbar-actions { justify-content: flex-end; }
|
|
|
|
|
.tool-button { min-height: 28px; border: 1px solid var(--border); color: #aab1b8; background: var(--surface-2); }
|
|
|
|
|
.tool-button:hover { border-color: var(--border-strong); color: var(--text); background: var(--surface-3); }
|
|
|
|
|
|
2026-07-21 22:16:29 +08:00
|
|
|
.workspace-grid { display: grid; grid-template-columns: 248px minmax(0, 1fr) 320px; min-height: 0; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.left-panel, .right-panel { min-height: 0; background: var(--surface-1); }
|
|
|
|
|
.left-panel { border-right: 1px solid var(--border); }
|
|
|
|
|
.right-panel { border-left: 1px solid var(--border); }
|
|
|
|
|
.panel-heading { display: flex; align-items: center; justify-content: space-between; height: 63px; padding: 0 14px; border-bottom: 1px solid var(--border); }
|
2026-07-21 22:16:29 +08:00
|
|
|
.panel-heading h2 { margin: 3px 0 0; font-size: 15px; font-weight: 650; letter-spacing: 0; }
|
|
|
|
|
.eyebrow { color: var(--text-dim); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; }
|
|
|
|
|
.count-label { min-width: 22px; padding: 2px 7px; border: 1px solid var(--border); border-radius: 8px; color: var(--text-dim); background: var(--surface-2); font-size: 10px; text-align: center; }
|
2026-07-21 20:09:00 +08:00
|
|
|
|
|
|
|
|
.palette-search { display: flex; align-items: center; gap: 7px; height: 48px; margin: 0 10px; border-bottom: 1px solid var(--border); color: var(--text-dim); }
|
2026-07-21 22:16:29 +08:00
|
|
|
.palette-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 12px; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.palette-search input::placeholder, input::placeholder, textarea::placeholder { color: #5f6770; }
|
|
|
|
|
.palette-scroll, .inspector-scroll { height: calc(100% - 63px); overflow: auto; scrollbar-color: #353c44 transparent; scrollbar-width: thin; }
|
|
|
|
|
.palette-scroll { height: calc(100% - 111px); padding: 8px 10px 20px; }
|
2026-07-21 22:16:29 +08:00
|
|
|
.palette-group h3 { margin: 12px 4px 7px; color: #7c858e; font-size: 10px; font-weight: 650; text-transform: uppercase; }
|
|
|
|
|
.custom-model-group { margin-bottom: 11px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
|
2026-07-21 20:09:00 +08:00
|
|
|
.palette-items { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
|
|
|
|
|
.palette-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
height: 35px;
|
|
|
|
|
padding: 0 7px;
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
color: #bfc4c9;
|
|
|
|
|
background: #1a1e22;
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
|
.palette-item:hover { border-color: var(--category-color); color: #f0f2f3; background: #20252a; }
|
|
|
|
|
.palette-item-icon { display: grid; place-items: center; flex: 0 0 23px; color: var(--category-color); }
|
2026-07-21 22:16:29 +08:00
|
|
|
.palette-item-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 11px; white-space: nowrap; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.category-control { --category-color: var(--blue); }
|
|
|
|
|
.category-decorator { --category-color: var(--purple); }
|
|
|
|
|
.category-action { --category-color: var(--accent); }
|
|
|
|
|
.category-condition { --category-color: var(--amber); }
|
|
|
|
|
.category-subtree { --category-color: #ed756d; }
|
2026-07-21 22:16:29 +08:00
|
|
|
.panel-empty { padding: 35px 10px; color: var(--text-dim); font-size: 12px; text-align: center; }
|
2026-07-21 20:09:00 +08:00
|
|
|
|
|
|
|
|
.center-stage { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: #101215; }
|
|
|
|
|
.canvas-region { position: relative; flex: 1 1 auto; min-height: 180px; }
|
|
|
|
|
.react-flow { background: #101215; }
|
|
|
|
|
.react-flow__pane { cursor: default; }
|
|
|
|
|
.react-flow__edge-path { stroke: #59636d; stroke-width: 1.5; }
|
|
|
|
|
.react-flow__edge.selected .react-flow__edge-path { stroke: #71a2fa; stroke-width: 2; }
|
|
|
|
|
.react-flow__edge.animated path { stroke: var(--accent); }
|
|
|
|
|
.react-flow__arrowhead polyline { stroke: #69737d; fill: #69737d; }
|
|
|
|
|
.react-flow__controls { overflow: hidden; border: 1px solid var(--border) !important; border-radius: 6px !important; box-shadow: 0 8px 20px rgba(0, 0, 0, .28) !important; }
|
|
|
|
|
.react-flow__controls-button { width: 27px !important; height: 27px !important; border-bottom-color: var(--border) !important; color: #b5bbc2 !important; fill: #b5bbc2 !important; background: #1d2227 !important; }
|
|
|
|
|
.react-flow__controls-button:hover { background: #282e34 !important; }
|
|
|
|
|
.react-flow__minimap { width: 142px !important; height: 90px !important; border: 1px solid var(--border); border-radius: 5px; background: #161a1e !important; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
|
|
|
|
|
|
|
|
|
|
.behavior-node {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
width: 210px;
|
|
|
|
|
height: 84px;
|
|
|
|
|
border: 1px solid #384049;
|
|
|
|
|
border-radius: 7px;
|
|
|
|
|
color: var(--text);
|
|
|
|
|
background: #1b2025;
|
|
|
|
|
box-shadow: 0 7px 16px rgba(0, 0, 0, .25);
|
|
|
|
|
transition: border-color .14s, box-shadow .14s;
|
|
|
|
|
}
|
|
|
|
|
.behavior-node:hover { border-color: #525d68; }
|
|
|
|
|
.behavior-node.is-selected { border-color: var(--category-color); box-shadow: 0 0 0 2px color-mix(in srgb, var(--category-color) 26%, transparent), 0 10px 24px rgba(0, 0, 0, .32); }
|
|
|
|
|
.node-accent { align-self: stretch; flex: 0 0 4px; border-radius: 6px 0 0 6px; background: var(--category-color); }
|
|
|
|
|
.node-icon { display: grid; place-items: center; flex: 0 0 33px; height: 33px; margin-left: 10px; border: 1px solid color-mix(in srgb, var(--category-color) 35%, #30363d); border-radius: 6px; color: var(--category-color); background: color-mix(in srgb, var(--category-color) 9%, #171b1f); }
|
|
|
|
|
.node-copy { min-width: 0; margin: 0 11px 0 9px; }
|
|
|
|
|
.node-title { max-width: 135px; overflow: hidden; color: #eef0f1; font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
|
|
.node-type { max-width: 132px; margin-top: 6px; overflow: hidden; color: #747e87; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
|
|
.node-handle { width: 9px !important; height: 9px !important; border: 2px solid #a7b0b9 !important; background: #20252a !important; }
|
|
|
|
|
.node-handle:hover { border-color: var(--category-color) !important; background: var(--category-color) !important; }
|
|
|
|
|
.node-handle-target { top: -5px !important; }
|
|
|
|
|
.node-handle-source { bottom: -5px !important; }
|
|
|
|
|
.breakpoint-icon { position: absolute; top: 7px; right: 7px; color: var(--red); }
|
|
|
|
|
.runtime-badge { position: absolute; right: 7px; bottom: 6px; padding: 2px 5px; border: 1px solid currentColor; border-radius: 4px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 7px; background: #161a1e; }
|
|
|
|
|
.behavior-node.runtime-running { border-color: #5a9cf5; box-shadow: 0 0 0 2px rgba(90, 156, 245, .25), 0 0 20px rgba(90, 156, 245, .18); }
|
|
|
|
|
.behavior-node.runtime-success { border-color: #39c98f; }
|
|
|
|
|
.behavior-node.runtime-failure { border-color: #ee6961; }
|
|
|
|
|
.behavior-node.runtime-skipped { opacity: .58; }
|
|
|
|
|
.runtime-badge.runtime-running, .event-status.runtime-running { color: #68a8ff !important; background: #15263a !important; }
|
|
|
|
|
.runtime-badge.runtime-success, .event-status.runtime-success { color: #49d49d !important; background: #153026 !important; }
|
|
|
|
|
.runtime-badge.runtime-failure, .event-status.runtime-failure { color: #f37770 !important; background: #321c1b !important; }
|
|
|
|
|
.runtime-badge.runtime-idle, .event-status.runtime-idle { color: #929aa3 !important; background: #20252a !important; }
|
|
|
|
|
.runtime-badge.runtime-skipped, .event-status.runtime-skipped { color: #bd82dd !important; background: #2b1d33 !important; }
|
|
|
|
|
.runtime-legend i.runtime-running, .event-row > i.runtime-running { background-color: #68a8ff; }
|
|
|
|
|
.runtime-legend i.runtime-success, .event-row > i.runtime-success { background-color: #49d49d; }
|
|
|
|
|
.runtime-legend i.runtime-failure, .event-row > i.runtime-failure { background-color: #f37770; }
|
|
|
|
|
.runtime-legend i.runtime-idle, .event-row > i.runtime-idle { background-color: #808891; }
|
|
|
|
|
.runtime-legend i.runtime-skipped, .event-row > i.runtime-skipped { background-color: #bd82dd; }
|
|
|
|
|
|
|
|
|
|
.inspector-scroll { padding: 15px 14px 30px; }
|
2026-07-21 22:16:29 +08:00
|
|
|
.category-chip { max-width: 102px; overflow: hidden; padding: 3px 8px; border: 1px solid color-mix(in srgb, var(--category-color) 45%, #30363d); border-radius: 8px; color: var(--category-color); background: color-mix(in srgb, var(--category-color) 8%, #171a1e); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.field-group { min-width: 0; margin-bottom: 13px; }
|
2026-07-21 22:16:29 +08:00
|
|
|
.field-group label, .monitor-connect label { display: block; margin: 0 0 6px; color: #929ba4; font-size: 11px; font-weight: 600; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.field-group input, .field-group textarea, .port-row input, .endpoint-row input {
|
|
|
|
|
width: 100%;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
outline: 0;
|
|
|
|
|
color: #dce0e3;
|
|
|
|
|
background: #111418;
|
2026-07-21 22:16:29 +08:00
|
|
|
font-size: 12px;
|
2026-07-21 20:09:00 +08:00
|
|
|
}
|
|
|
|
|
.field-group input, .port-row input, .endpoint-row input { height: 31px; padding: 0 8px; }
|
|
|
|
|
.field-group textarea { padding: 8px; resize: vertical; line-height: 1.5; }
|
|
|
|
|
.field-group input:focus, .field-group textarea:focus, .port-row input:focus, .endpoint-row input:focus { border-color: #547ca7; box-shadow: 0 0 0 2px rgba(84, 124, 167, .14); }
|
|
|
|
|
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
|
2026-07-21 22:16:29 +08:00
|
|
|
.read-only-value { height: 31px; overflow: hidden; padding: 7px 8px; border: 1px solid #282e34; border-radius: 5px; color: #8d969f; background: #171a1e; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace !important; }
|
|
|
|
|
.section-divider { height: 1px; margin: 16px 0; background: var(--border); }
|
|
|
|
|
.section-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
|
2026-07-21 22:16:29 +08:00
|
|
|
.section-title { gap: 6px; color: #c1c6cb; font-size: 12px; font-weight: 650; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.section-title svg { color: var(--text-dim); }
|
|
|
|
|
.ports-list { display: flex; flex-direction: column; gap: 5px; }
|
2026-07-21 22:16:29 +08:00
|
|
|
.port-row { display: grid; grid-template-columns: minmax(0, 1fr) 22px; align-items: center; gap: 5px; }
|
|
|
|
|
.port-row input { height: 30px; font-size: 10px; }
|
|
|
|
|
.port-key { grid-column: 1; grid-row: 1; color: #9fc6e5 !important; font-family: ui-monospace, SFMono-Regular, Consolas, monospace !important; }
|
|
|
|
|
.port-row > input:not(.port-key) { grid-column: 1 / -1; grid-row: 2; }
|
|
|
|
|
.port-row > button { grid-column: 2; grid-row: 1; }
|
|
|
|
|
.inline-empty { padding: 10px; border: 1px dashed #2d333a; border-radius: 5px; color: var(--text-dim); font-size: 10px; text-align: center; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; cursor: pointer; }
|
|
|
|
|
.toggle-row > span { display: flex; flex-direction: column; min-width: 0; }
|
2026-07-21 22:16:29 +08:00
|
|
|
.toggle-title { color: #c0c5ca; font-size: 11px; font-weight: 600; }
|
|
|
|
|
.toggle-description { margin-top: 3px; color: var(--text-dim); font-size: 10px; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.toggle-row input { position: relative; width: 28px; height: 16px; margin: 0; appearance: none; border: 1px solid #424a53; border-radius: 8px; background: #24292f; transition: .15s; }
|
|
|
|
|
.toggle-row input::after { position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: #818a94; content: ''; transition: .15s; }
|
|
|
|
|
.toggle-row input:checked { border-color: #318963; background: #245d49; }
|
|
|
|
|
.toggle-row input:checked::after { left: 14px; background: #6fe1b2; }
|
|
|
|
|
.notes-field { margin-top: 15px; }
|
|
|
|
|
.danger-button { width: 100%; border: 1px solid #55312f; color: #db7b75; background: #261a1a; }
|
|
|
|
|
.danger-button:hover { border-color: #8a423e; color: #ff9b94; background: #321d1c; }
|
|
|
|
|
.tree-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; border: 1px solid var(--border); border-radius: 6px; background: #171b1f; }
|
|
|
|
|
.tree-summary div { display: flex; flex-direction: column; align-items: center; padding: 12px 2px; border-right: 1px solid var(--border); }
|
|
|
|
|
.tree-summary div:last-child { border-right: 0; }
|
|
|
|
|
.tree-summary strong { font-size: 15px; font-weight: 650; }
|
2026-07-21 22:16:29 +08:00
|
|
|
.tree-summary span { margin-top: 4px; color: var(--text-dim); font-size: 10px; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.issue-list { display: flex; flex-direction: column; gap: 5px; }
|
2026-07-21 22:16:29 +08:00
|
|
|
.issue-row { display: grid; grid-template-columns: 7px 1fr; gap: 7px; width: 100%; padding: 8px; border: 1px solid var(--border); border-radius: 5px; color: #a7aeb5; background: #191d21; font-size: 10px; line-height: 1.45; text-align: left; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.issue-row:not(:disabled):hover { border-color: #4a535d; background: #20252a; }
|
|
|
|
|
.issue-row:disabled { opacity: 1; cursor: default; }
|
|
|
|
|
.issue-dot { width: 6px; height: 6px; margin-top: 3px; border-radius: 50%; background: var(--amber); }
|
|
|
|
|
.issue-row.error .issue-dot { background: var(--red); }
|
2026-07-21 22:16:29 +08:00
|
|
|
.validation-ok { padding: 9px; border: 1px solid #285441; border-radius: 5px; color: #74cda9; background: #14231d; font-size: 10px; }
|
2026-07-21 20:09:00 +08:00
|
|
|
|
|
|
|
|
.monitor-panel { flex: 0 0 250px; min-height: 0; border-top: 1px solid #384047; background: #15191d; box-shadow: 0 -9px 22px rgba(0, 0, 0, .18); }
|
|
|
|
|
.monitor-header { display: flex; align-items: center; justify-content: space-between; height: 39px; padding: 0 11px 0 14px; border-bottom: 1px solid var(--border); }
|
2026-07-21 22:16:29 +08:00
|
|
|
.monitor-title { gap: 7px; font-size: 12px; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.monitor-title > svg { color: var(--accent); }
|
2026-07-21 22:16:29 +08:00
|
|
|
.connection-pill { display: inline-flex; align-items: center; gap: 5px; margin-left: 4px; padding: 2px 6px; border: 1px solid var(--border); border-radius: 8px; color: var(--text-dim); font-size: 10px; font-weight: 500; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.connection-pill i { width: 5px; height: 5px; border-radius: 50%; background: #69727c; }
|
|
|
|
|
.connection-pill.connected { border-color: #2c674e; color: #78d6af; }
|
|
|
|
|
.connection-pill.connected i { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
|
|
|
|
|
.connection-pill.connecting i { background: var(--amber); }
|
|
|
|
|
.connection-pill.error { border-color: #683a37; color: #e77a73; }
|
|
|
|
|
.connection-pill.error i { background: var(--red); }
|
|
|
|
|
.monitor-body { display: grid; grid-template-columns: minmax(270px, 35%) 110px minmax(250px, 1fr); height: calc(100% - 39px); min-height: 0; }
|
|
|
|
|
.monitor-connect { padding: 12px 14px; border-right: 1px solid var(--border); }
|
|
|
|
|
.monitor-connect .field-group { margin-bottom: 9px; }
|
|
|
|
|
.monitor-connect .topic-field { display: grid; grid-template-columns: 95px minmax(0, 1fr); align-items: center; gap: 7px; }
|
|
|
|
|
.monitor-connect .topic-field label { margin: 0; }
|
|
|
|
|
.monitor-connect .topic-field input { height: 27px; }
|
|
|
|
|
.endpoint-row { gap: 6px; }
|
|
|
|
|
.endpoint-row input { flex: 1; height: 30px; }
|
|
|
|
|
.primary-button, .secondary-button { flex: 0 0 auto; min-height: 30px; padding: 0 9px; }
|
|
|
|
|
.primary-button { border: 1px solid #347b5e; color: #d5f4e7; background: #266448; }
|
|
|
|
|
.primary-button:hover { background: #2f7656; }
|
|
|
|
|
.secondary-button { border: 1px solid var(--border-strong); color: #c2c7cc; background: #24292e; }
|
|
|
|
|
.secondary-button:hover { background: #2c3238; }
|
|
|
|
|
.compact-toggle { max-width: 160px; }
|
|
|
|
|
.monitor-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; }
|
|
|
|
|
.monitor-metrics div { display: flex; flex-direction: column; border-right: 1px solid var(--border); }
|
|
|
|
|
.monitor-metrics div + div { padding-left: 10px; }
|
|
|
|
|
.monitor-metrics div:last-child { border-right: 0; }
|
2026-07-21 22:16:29 +08:00
|
|
|
.monitor-metrics span { color: var(--text-dim); font-size: 10px; }
|
|
|
|
|
.monitor-metrics strong { margin-top: 4px; color: #c6cbd0; font-size: 11px; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.runtime-legend { flex-direction: column; align-items: flex-start; justify-content: center; gap: 11px; padding: 10px 13px; border-right: 1px solid var(--border); }
|
2026-07-21 22:16:29 +08:00
|
|
|
.runtime-legend span { display: flex; align-items: center; gap: 7px; color: #929aa3; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 9px; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.runtime-legend i, .event-row > i { width: 7px; height: 7px; border-radius: 50%; }
|
|
|
|
|
.event-stream { flex-direction: column; align-items: stretch; min-width: 0; min-height: 0; }
|
2026-07-21 22:16:29 +08:00
|
|
|
.event-stream-heading { justify-content: space-between; flex: 0 0 30px; padding: 0 12px; border-bottom: 1px solid var(--border); color: #858e97; font-size: 10px; font-weight: 650; text-transform: uppercase; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.event-list { overflow: auto; min-height: 0; padding: 4px 8px; scrollbar-width: thin; scrollbar-color: #353c44 transparent; }
|
2026-07-21 22:16:29 +08:00
|
|
|
.event-row { display: grid; grid-template-columns: 62px 7px minmax(70px, 1fr) 62px 45px; align-items: center; gap: 7px; min-height: 27px; border-bottom: 1px solid #24292e; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 9px; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.event-row time { color: #626b74; }
|
|
|
|
|
.event-node { overflow: hidden; color: #bec4ca; text-overflow: ellipsis; white-space: nowrap; }
|
2026-07-21 22:16:29 +08:00
|
|
|
.event-status { background: transparent !important; font-size: 8px; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.unmatched { color: #bb716c; }
|
2026-07-21 22:16:29 +08:00
|
|
|
.event-empty { padding: 55px 10px; color: #68717b; font-size: 10px; text-align: center; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.spin { animation: spin 1s linear infinite; }
|
|
|
|
|
@keyframes spin { to { transform: rotate(360deg); } }
|
|
|
|
|
|
|
|
|
|
.xml-view { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 18px; background: #101215; }
|
2026-07-21 22:16:29 +08:00
|
|
|
.xml-header { display: flex; align-items: center; justify-content: space-between; flex: 0 0 38px; padding: 0 9px 0 12px; border: 1px solid var(--border); border-bottom: 0; border-radius: 6px 6px 0 0; color: #aab1b8; background: #1b1f23; font-size: 11px; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.xml-header > div { gap: 7px; }
|
|
|
|
|
.xml-header svg { color: var(--accent); }
|
2026-07-21 22:16:29 +08:00
|
|
|
.xml-view pre { flex: 1; min-height: 0; margin: 0; overflow: auto; padding: 18px; border: 1px solid var(--border); border-radius: 0 0 6px 6px; color: #bbd5c9; background: #0d1012; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; line-height: 1.65; tab-size: 4; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.xml-error { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--border); color: var(--red); background: #141213; }
|
|
|
|
|
.xml-error strong { margin-top: 10px; font-size: 12px; }
|
|
|
|
|
.xml-error span { max-width: 460px; margin-top: 7px; color: #9b7774; font-size: 10px; text-align: center; }
|
|
|
|
|
|
2026-07-21 22:16:29 +08:00
|
|
|
.status-bar { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #242a30; padding: 0 10px; color: #76808a; background: #111417; font-size: 10px; user-select: none; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.status-bar > div { display: flex; align-items: center; gap: 13px; }
|
|
|
|
|
.status-valid, .status-error { display: inline-flex; align-items: center; gap: 4px; }
|
|
|
|
|
.status-valid { color: #5fbf98; }
|
|
|
|
|
.status-error { color: #df746e; }
|
2026-07-21 22:16:29 +08:00
|
|
|
.toast { position: fixed; z-index: 100; left: 50%; bottom: 38px; max-width: min(440px, 70vw); transform: translateX(-50%); padding: 9px 13px; border: 1px solid #356e57; border-radius: 6px; color: #c7eddd; background: #193127; box-shadow: 0 9px 25px rgba(0, 0, 0, .35); font-size: 11px; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.toast.error { border-color: #763b37; color: #f4b5b0; background: #351d1b; }
|
|
|
|
|
|
|
|
|
|
@media (max-width: 1200px) {
|
2026-07-21 22:16:29 +08:00
|
|
|
.workspace-grid { grid-template-columns: 220px minmax(0, 1fr) 286px; }
|
|
|
|
|
.workspace-toolbar, .app-header { grid-template-columns: 220px minmax(120px, 1fr) auto; }
|
2026-07-21 20:09:00 +08:00
|
|
|
.brand-copy span { display: none; }
|
|
|
|
|
.palette-items { grid-template-columns: 1fr; }
|
|
|
|
|
.monitor-body { grid-template-columns: minmax(260px, 42%) 92px minmax(220px, 1fr); }
|
|
|
|
|
}
|