HF / console /src /pages /Inbox /components /PushMessageCard.module.less
mysticaldragon's picture
Deploy QwenPaw - Personal AI Assistant Platform
4e7644b
Raw History Blame Contribute Delete
2.14 kB
.messageCard {
border-radius: 10px;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
cursor: pointer;
:global(.qwenpaw-card-body) {
height: 142px !important;
display: flex;
flex-direction: column;
}
}
.unread {
border-color: rgba(255, 127, 22, 0.45);
}
.cardHeader {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 12px;
}
.channelInfo {
display: flex;
align-items: center;
gap: 12px;
min-width: 0;
}
.channelName {
font-weight: 600;
}
.senderInfo {
font-size: 12px;
color: rgba(0, 0, 0, 0.5);
}
.headerRight {
display: flex;
align-items: center;
gap: 8px;
}
.unreadDot {
width: 8px;
height: 8px;
border-radius: 999px;
background: #ff7f16;
}
.cardBody {
margin-top: 8px;
}
.messageTitle {
margin-bottom: 4px;
line-height: 1.35;
font-size: 14px;
}
.messageContent {
color: rgba(0, 0, 0, 0.75);
margin-bottom: 0;
line-height: 1.6;
font-size: 13px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
.cardFooter {
margin-top: 14px;
display: flex;
justify-content: flex-end;
align-items: flex-start;
}
.actions {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
align-items: center;
gap: 8px;
}
/* ─── Mobile ────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
.messageCard {
:global(.qwenpaw-card-body) {
height: auto !important;
min-height: 142px;
overflow: hidden;
}
}
}
/* ─── Dark mode ─────────────────────────────────────────────────────────────── */
:global(.dark-mode) {
.messageCard {
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.senderInfo {
color: rgba(255, 255, 255, 0.55);
}
.messageContent {
color: rgba(255, 255, 255, 0.78);
}
}