humainflow-web/src/app/shared/task-execution-viewer/task-execution-viewer.css

210 lines
3.7 KiB
CSS

:host {
display: block;
height: 100%;
}
.execution-rete-readonly {
pointer-events: auto;
}
:host ::ng-deep .execution-rete-readonly :is(
.llm-socket,
.hi-socket,
.input-socket,
.output-socket
) {
pointer-events: none;
}
:host ::ng-deep .execution-rete-readonly .llm-input-info,
:host ::ng-deep .execution-rete-readonly .hi-input-info,
:host ::ng-deep .execution-rete-readonly .llm-input-info-wrap,
:host ::ng-deep .execution-rete-readonly .hi-input-info-wrap {
pointer-events: auto;
}
:host ::ng-deep .execution-rete-readonly :is(
.node-delete-btn,
.llm-delete-btn,
.hi-delete-btn,
.llm-edit-btn,
.hi-edit-btn,
.llm-name-edit-btn,
.hi-name-edit-btn
) {
display: none !important;
}
.context-title {
font-size: 11px;
color: #64748b;
font-weight: 600;
margin-bottom: 4px;
}
.context-json {
margin: 0;
border: 1px solid #e2e8f0;
border-radius: 8px;
background: #f8fafc;
color: #0f172a;
font-size: 11px;
line-height: 1.35;
padding: 8px;
white-space: pre-wrap;
word-break: break-word;
}
.execution-aside-tab {
border: 0;
border-bottom: 2px solid transparent;
background: transparent;
color: #64748b;
font-size: 12px;
font-weight: 700;
padding: 9px 12px;
cursor: pointer;
}
.execution-aside-tab-active {
border-bottom-color: #2563eb;
color: #1d4ed8;
}
.execution-aside-tab:disabled {
cursor: not-allowed;
opacity: 0.45;
}
.execution-output-modal {
margin: 0;
border: 1px solid #e2e8f0;
border-radius: 10px;
background: #f8fafc;
color: #0f172a;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-size: 12px;
line-height: 1.45;
padding: 14px;
white-space: pre-wrap;
word-break: break-word;
}
.execution-output-badge {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 52px;
border: 1px solid #bfdbfe;
border-radius: 10px;
background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
color: #1d4ed8;
line-height: 1.2;
padding: 8px 12px;
text-align: center;
}
.execution-output-title {
font-size: 14px;
font-weight: 800;
}
.execution-output-subtitle {
margin-top: 2px;
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
color: #2563eb;
}
.execution-output-preview {
white-space: pre-wrap;
word-break: break-word;
color: #0f172a;
font-size: 12px;
line-height: 1.45;
}
.execution-log-card {
border: 1px solid #e2e8f0;
border-radius: 12px;
background: #f8fafc;
padding: 12px;
}
.execution-log-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.execution-log-title-wrap {
display: flex;
align-items: flex-start;
gap: 10px;
min-width: 0;
}
.execution-log-icon {
width: 18px;
height: 18px;
font-size: 18px;
color: #475569;
margin-top: 1px;
}
.execution-log-title {
color: #0f172a;
font-size: 13px;
font-weight: 700;
line-height: 1.35;
}
.execution-log-meta {
display: flex;
flex-wrap: wrap;
gap: 6px 10px;
margin-top: 4px;
color: #64748b;
font-size: 11px;
}
.execution-log-level {
display: inline-flex;
align-items: center;
border-radius: 999px;
border: 1px solid transparent;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.03em;
padding: 3px 8px;
text-transform: uppercase;
}
.execution-log-level-info {
background: #e0f2fe;
border-color: #bae6fd;
color: #0c4a6e;
}
.execution-log-level-warn {
background: #fef3c7;
border-color: #fde68a;
color: #92400e;
}
.execution-log-level-error {
background: #fee2e2;
border-color: #fecaca;
color: #991b1b;
}
.execution-logs-scroll {
height: 100%;
overflow-y: auto;
overscroll-behavior: contain;
}