| 1 |
.dm-comments__header { |
| 2 |
display: flex; |
| 3 |
align-items: center; |
| 4 |
justify-content: space-between; |
| 5 |
padding-bottom: 8px; |
| 6 |
border-bottom: 1px solid var(--wpd-color-border, #e5e7eb); |
| 7 |
margin-bottom: 4px; |
| 8 |
flex-shrink: 0; |
| 9 |
min-width: 0; |
| 10 |
} |
| 11 |
.dm-comments__title { |
| 12 |
font-weight: 600; |
| 13 |
font-size: 11px; |
| 14 |
text-transform: uppercase; |
| 15 |
letter-spacing: 0.06em; |
| 16 |
color: var(--wpd-color-text-subtle, #6b7280); |
| 17 |
white-space: nowrap; |
| 18 |
overflow: hidden; |
| 19 |
text-overflow: ellipsis; |
| 20 |
min-width: 0; |
| 21 |
} |
| 22 |
.dm-comments__badge { |
| 23 |
background: #f59e0b; |
| 24 |
color: #fff; |
| 25 |
border-radius: 10px; |
| 26 |
padding: 1px 7px; |
| 27 |
font-size: 10px; |
| 28 |
font-weight: 700; |
| 29 |
display: none; |
| 30 |
flex-shrink: 0; |
| 31 |
margin-left: 6px; |
| 32 |
} |
| 33 |
.dm-comments__badge--visible { display: inline-block; } |
| 34 |
.dm-comments__list { |
| 35 |
overflow-y: auto; |
| 36 |
flex: 1; |
| 37 |
min-height: 0; |
| 38 |
display: flex; |
| 39 |
flex-direction: column; |
| 40 |
gap: 1px; |
| 41 |
} |
| 42 |
.dm-comments__row { |
| 43 |
display: flex; |
| 44 |
align-items: flex-start; |
| 45 |
gap: 8px; |
| 46 |
padding: 6px 0; |
| 47 |
border-bottom: 1px solid var(--wpd-color-border, #f3f4f6); |
| 48 |
min-width: 0; |
| 49 |
} |
| 50 |
.dm-comments__row:last-child { border-bottom: none; } |
| 51 |
.dm-comments__avatar { |
| 52 |
width: 28px; |
| 53 |
height: 28px; |
| 54 |
border-radius: 50%; |
| 55 |
background: var(--wpd-color-accent, #3b82f6); |
| 56 |
color: #fff; |
| 57 |
display: flex; |
| 58 |
align-items: center; |
| 59 |
justify-content: center; |
| 60 |
font-weight: 700; |
| 61 |
font-size: 11px; |
| 62 |
flex-shrink: 0; |
| 63 |
} |
| 64 |
.dm-comments__body { |
| 65 |
flex: 1; |
| 66 |
min-width: 0; |
| 67 |
} |
| 68 |
.dm-comments__meta { |
| 69 |
display: flex; |
| 70 |
align-items: center; |
| 71 |
gap: 4px; |
| 72 |
flex-wrap: wrap; |
| 73 |
margin-bottom: 2px; |
| 74 |
min-width: 0; |
| 75 |
} |
| 76 |
.dm-comments__author { |
| 77 |
font-weight: 600; |
| 78 |
font-size: 11px; |
| 79 |
white-space: nowrap; |
| 80 |
overflow: hidden; |
| 81 |
text-overflow: ellipsis; |
| 82 |
min-width: 0; |
| 83 |
max-width: 50%; |
| 84 |
} |
| 85 |
.dm-comments__status { |
| 86 |
border-radius: 8px; |
| 87 |
padding: 1px 6px; |
| 88 |
font-size: 9px; |
| 89 |
font-weight: 700; |
| 90 |
color: #fff; |
| 91 |
flex-shrink: 0; |
| 92 |
} |
| 93 |
.dm-comments__time { |
| 94 |
font-size: 10px; |
| 95 |
color: var(--wpd-color-text-subtle, #9ca3af); |
| 96 |
margin-left: auto; |
| 97 |
white-space: nowrap; |
| 98 |
flex-shrink: 0; |
| 99 |
} |
| 100 |
.dm-comments__post { |
| 101 |
font-size: 10px; |
| 102 |
color: var(--wpd-color-text-subtle, #9ca3af); |
| 103 |
white-space: nowrap; |
| 104 |
overflow: hidden; |
| 105 |
text-overflow: ellipsis; |
| 106 |
min-width: 0; |
| 107 |
} |
| 108 |
.dm-comments__empty, |
| 109 |
.dm-comments__error { |
| 110 |
padding: 12px 0; |
| 111 |
font-size: 11px; |
| 112 |
color: var(--wpd-color-text-subtle, #9ca3af); |
| 113 |
text-align: center; |
| 114 |
} |
| 115 |
.dm-comments__error { color: #ef4444; } |
| 116 |
|