删除私信分支链路

This commit is contained in:
kate522 committed 2026-08-23 13:42:35 +08:00
1 parent 1c5c6d86bb
commit c6c2c0af6d
39 files changed
+32 -1465

No files matched your search

-216
View File
@@ -369,217 +369,6 @@ html.dark .messages-nav__actions {
border-top-color: var(--color-line);
}
/* ============================================================
* Private Messages / Conversations
* ============================================================ */
.aksrt-pm__list {
display: flex;
flex-direction: column;
}
.aksrt-pm__item {
display: flex;
align-items: center;
gap: 12px;
padding: 14px 16px;
cursor: pointer;
border-bottom: 1px solid var(--color-line, #f0f0f0);
transition: background 0.15s;
}
.aksrt-pm__item:hover {
background: var(--surface-1, #f8f9fa);
}
.aksrt-pm__item.is-unread {
background: var(--surface-2, #f0f5ff);
}
.aksrt-pm__avatar {
width: 44px;
height: 44px;
border-radius: 50%;
object-fit: cover;
flex-shrink: 0;
}
.aksrt-pm__info {
flex: 1;
min-width: 0;
}
.aksrt-pm__name {
font-size: 14px;
font-weight: 500;
color: var(--color-ink);
display: flex;
align-items: center;
gap: 8px;
}
.aksrt-pm__badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 18px;
height: 18px;
border-radius: 9px;
background: var(--color-primary);
color: #fff;
font-size: 11px;
font-weight: 600;
padding: 0 5px;
}
.aksrt-pm__preview {
font-size: 12px;
color: var(--text-secondary, #8a909c);
margin-top: 3px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.aksrt-pm__time {
font-size: 11px;
color: var(--text-tertiary, #c0c4cc);
flex-shrink: 0;
}
/* Thread view */
.aksrt-pm__thread {
display: flex;
flex-direction: column;
height: 100%;
min-height: 400px;
}
.aksrt-pm__thread-header {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 16px;
border-bottom: 1px solid var(--color-line, #f0f0f0);
}
.aksrt-pm__back-btn {
background: none;
border: none;
color: var(--color-primary);
cursor: pointer;
font-size: 13px;
padding: 4px 8px;
border-radius: 4px;
}
.aksrt-pm__back-btn:hover {
background: var(--surface-1, #f0f5ff);
}
.aksrt-pm__thread-name {
font-size: 15px;
font-weight: 600;
color: var(--color-ink);
}
.aksrt-pm__messages {
flex: 1;
overflow-y: auto;
padding: 16px;
display: flex;
flex-direction: column;
gap: 12px;
}
.aksrt-pm__msg {
display: flex;
max-width: 75%;
}
.aksrt-pm__msg--mine {
align-self: flex-end;
}
.aksrt-pm__msg--mine .aksrt-pm__msg-bubble {
background: var(--color-primary);
color: #fff;
border-radius: 12px 12px 4px 12px;
}
.aksrt-pm__msg:not(.aksrt-pm__msg--mine) .aksrt-pm__msg-bubble {
background: var(--surface-2, #f0f0f0);
color: var(--color-ink);
border-radius: 12px 12px 12px 4px;
}
.aksrt-pm__msg-bubble {
padding: 10px 14px;
font-size: 14px;
line-height: 1.5;
word-break: break-word;
}
.aksrt-pm__msg-time {
font-size: 11px;
margin-top: 4px;
opacity: 0.6;
}
.aksrt-pm__compose {
display: flex;
align-items: flex-end;
gap: 8px;
padding: 12px 16px;
border-top: 1px solid var(--color-line, #f0f0f0);
}
.aksrt-pm__compose textarea {
flex: 1;
border: 1px solid var(--color-line, #d9d9d9);
border-radius: 8px;
padding: 8px 12px;
font-size: 14px;
resize: none;
outline: none;
font-family: inherit;
}
.aksrt-pm__compose textarea:focus {
border-color: var(--color-primary);
}
.aksrt-pm__send-btn {
width: 40px;
height: 40px;
border-radius: 50%;
border: none;
background: var(--color-primary);
color: #fff;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
transition: opacity 0.15s;
}
.aksrt-pm__send-btn:hover {
opacity: 0.85;
}
/* Dark mode */
html.dark .aksrt-pm__item:hover,
html.dark .aksrt-pm__item:hover {
background: var(--surface-2);
}
html.dark .aksrt-pm__item.is-unread,
html.dark .aksrt-pm__item.is-unread {
background: rgba(240, 68, 148, 0.08);
}
/* Page header */
.messages-center__header {
margin: 8px 0 16px;
@@ -601,11 +390,6 @@ html.dark .aksrt-pm__item.is-unread {
min-height: 40vh;
}
/* PM thread uses hidden attribute instead of inline style */
.aksrt-pm__thread[hidden] {
display: none !important;
}
.message-item__new-badge {
display: inline-block;
margin-left: 6px;