Spaces:
Paused
Paused
File size: 2,136 Bytes
4e7644b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | .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);
}
}
|