查看消息内容

This commit is contained in:
xuncha
2026-03-02 21:36:44 +08:00
parent a965890916
commit eace3e9467
2 changed files with 214 additions and 0 deletions

View File

@@ -4132,4 +4132,135 @@
.session-name {
font-weight: 500;
}
}
// 消息信息弹窗
.message-info-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(4px);
display: flex;
align-items: center;
justify-content: center;
z-index: 2000;
padding: 20px;
}
.message-info-modal {
width: 520px;
max-width: 90vw;
max-height: 80vh;
background: var(--card-bg);
border-radius: 12px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: column;
overflow: hidden;
.modal-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 20px;
border-bottom: 1px solid var(--border-color);
h3 {
font-size: 16px;
font-weight: 600;
color: var(--text-primary);
}
.close-btn {
width: 28px;
height: 28px;
border: none;
background: transparent;
border-radius: 6px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
color: var(--text-tertiary);
transition: all 0.2s;
&:hover {
background: var(--bg-hover);
color: var(--text-primary);
}
}
}
.modal-body {
flex: 1;
overflow-y: auto;
padding: 16px 20px;
}
.info-section {
margin-bottom: 16px;
h4 {
font-size: 13px;
font-weight: 600;
color: var(--text-secondary);
margin: 0 0 8px 0;
}
}
.info-grid {
display: flex;
flex-direction: column;
gap: 6px;
}
.info-item {
display: flex;
align-items: baseline;
gap: 8px;
font-size: 13px;
.label {
color: var(--text-tertiary);
min-width: 80px;
flex-shrink: 0;
}
.value {
color: var(--text-primary);
word-break: break-all;
&.code {
font-family: monospace;
font-size: 12px;
background: var(--bg-tertiary);
padding: 2px 6px;
border-radius: 4px;
}
}
}
.raw-content-container {
background: var(--bg-tertiary);
border-radius: 8px;
padding: 12px;
max-height: 200px;
overflow: auto;
pre {
margin: 0;
font-size: 12px;
font-family: monospace;
color: var(--text-primary);
white-space: pre-wrap;
word-break: break-all;
}
}
.select-text {
user-select: text;
}
}