mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 14:50:00 -07:00
feat: Make VDL2 message cards clickable with expandable details
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -584,12 +584,111 @@ body {
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
font-size: 10px;
|
||||
animation: fadeIn 0.3s ease;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
|
||||
.vdl2-message-item:hover {
|
||||
background: rgba(74, 158, 255, 0.08);
|
||||
}
|
||||
|
||||
.vdl2-message-item.expanded {
|
||||
background: rgba(74, 158, 255, 0.05);
|
||||
}
|
||||
|
||||
.vdl2-msg-summary {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.vdl2-msg-summary .vdl2-expand-icon {
|
||||
color: var(--text-dim);
|
||||
font-size: 8px;
|
||||
transition: transform 0.2s;
|
||||
flex-shrink: 0;
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
.vdl2-message-item.expanded .vdl2-expand-icon {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.vdl2-msg-details {
|
||||
display: none;
|
||||
margin-top: 6px;
|
||||
padding-top: 6px;
|
||||
border-top: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.vdl2-message-item.expanded .vdl2-msg-details {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.vdl2-detail-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 2px 0;
|
||||
font-size: 9px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.vdl2-detail-label {
|
||||
color: var(--text-muted);
|
||||
flex-shrink: 0;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.vdl2-detail-value {
|
||||
color: var(--text-primary);
|
||||
text-align: right;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.vdl2-msg-body {
|
||||
margin-top: 4px;
|
||||
padding: 4px 6px;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
border-radius: 3px;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 9px;
|
||||
color: var(--text-primary);
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
line-height: 1.4;
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.vdl2-raw-toggle {
|
||||
display: inline-block;
|
||||
margin-top: 4px;
|
||||
font-size: 8px;
|
||||
color: var(--accent-cyan);
|
||||
cursor: pointer;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.vdl2-raw-toggle:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.vdl2-raw-json {
|
||||
display: none;
|
||||
margin-top: 4px;
|
||||
padding: 4px 6px;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
border-radius: 3px;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 8px;
|
||||
color: var(--text-dim);
|
||||
white-space: pre-wrap;
|
||||
word-break: break-all;
|
||||
max-height: 300px;
|
||||
overflow-y: auto;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
/* Panels */
|
||||
.panel {
|
||||
background: var(--bg-panel);
|
||||
|
||||
Reference in New Issue
Block a user