181 lines
2.7 KiB
CSS
181 lines
2.7 KiB
CSS
.ai-debug-shell {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.ai-debug-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.ai-debug-header h2 {
|
|
margin: 0;
|
|
}
|
|
|
|
.ai-debug-subtitle {
|
|
margin: 6px 0 0;
|
|
color: #64748b;
|
|
}
|
|
|
|
.ai-debug-toolbar {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: flex-end;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.ai-debug-toolbar__item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
font-size: 13px;
|
|
color: #334155;
|
|
}
|
|
|
|
.ai-debug-toolbar__item select {
|
|
min-width: 120px;
|
|
border: 1px solid #cbd5e1;
|
|
border-radius: 8px;
|
|
padding: 7px 10px;
|
|
background: #fff;
|
|
}
|
|
|
|
.ai-debug-status {
|
|
min-height: 20px;
|
|
color: #1f2937;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.ai-debug-status--error {
|
|
color: #b91c1c;
|
|
}
|
|
|
|
.ai-debug-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
|
|
gap: 16px;
|
|
}
|
|
|
|
.ai-debug-list-panel,
|
|
.ai-debug-detail-panel {
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 12px;
|
|
background: #fff;
|
|
padding: 12px;
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.ai-debug-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.ai-debug-table th,
|
|
.ai-debug-table td {
|
|
padding: 9px 8px;
|
|
border-bottom: 1px solid #eef2f7;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.ai-debug-table th {
|
|
font-size: 12px;
|
|
letter-spacing: 0.02em;
|
|
text-transform: uppercase;
|
|
color: #64748b;
|
|
}
|
|
|
|
.ai-debug-table tbody tr {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ai-debug-table tbody tr:hover {
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.ai-debug-table tbody tr.is-selected {
|
|
background: #e0f2fe;
|
|
}
|
|
|
|
.ai-debug-empty {
|
|
text-align: center;
|
|
color: #64748b;
|
|
}
|
|
|
|
.ai-debug-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
border-radius: 999px;
|
|
padding: 2px 8px;
|
|
font-size: 11px;
|
|
line-height: 1.6;
|
|
background: #e2e8f0;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.ai-debug-badge--success {
|
|
background: #dcfce7;
|
|
color: #166534;
|
|
}
|
|
|
|
.ai-debug-badge--clipboard_fallback {
|
|
background: #ffedd5;
|
|
color: #9a3412;
|
|
}
|
|
|
|
.ai-debug-badge--cancelled {
|
|
background: #f1f5f9;
|
|
color: #334155;
|
|
}
|
|
|
|
.ai-debug-badge--error,
|
|
.ai-debug-badge--backend_error {
|
|
background: #fee2e2;
|
|
color: #991b1b;
|
|
}
|
|
|
|
.ai-debug-badge--backend_rejected {
|
|
background: #fef3c7;
|
|
color: #92400e;
|
|
}
|
|
|
|
.ai-debug-detail-panel h3 {
|
|
margin: 0 0 8px;
|
|
}
|
|
|
|
.ai-debug-detail-meta {
|
|
color: #475569;
|
|
font-size: 13px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.ai-debug-json {
|
|
margin: 0;
|
|
max-height: 60vh;
|
|
overflow: auto;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
background: #0f172a;
|
|
color: #e2e8f0;
|
|
padding: 12px;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
|
|
@media (max-width: 1080px) {
|
|
.ai-debug-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.ai-debug-json {
|
|
max-height: 42vh;
|
|
}
|
|
}
|