| 1 |
.dm-poststats__header { |
| 2 |
display: flex; |
| 3 |
justify-content: space-between; |
| 4 |
align-items: center; |
| 5 |
padding-bottom: 6px; |
| 6 |
border-bottom: 1px solid var(--os-ui-color-border, #e5e7eb); |
| 7 |
margin-bottom: 8px; |
| 8 |
flex-shrink: 0; |
| 9 |
gap: 8px; |
| 10 |
min-width: 0; |
| 11 |
} |
| 12 |
.dm-poststats__title { |
| 13 |
font-weight: 600; |
| 14 |
font-size: 11px; |
| 15 |
text-transform: uppercase; |
| 16 |
letter-spacing: 0.06em; |
| 17 |
color: var(--os-ui-color-text-subtle, #6b7280); |
| 18 |
white-space: nowrap; |
| 19 |
overflow: hidden; |
| 20 |
text-overflow: ellipsis; |
| 21 |
min-width: 0; |
| 22 |
} |
| 23 |
.dm-poststats__total { |
| 24 |
font-size: 10px; |
| 25 |
color: var(--os-ui-color-text-subtle, #9ca3af); |
| 26 |
white-space: nowrap; |
| 27 |
flex-shrink: 0; |
| 28 |
} |
| 29 |
.dm-poststats__canvas-wrap { |
| 30 |
flex: 1; |
| 31 |
min-height: 60px; |
| 32 |
position: relative; |
| 33 |
min-width: 0; |
| 34 |
} |
| 35 |
.dm-poststats__canvas { |
| 36 |
display: block; |
| 37 |
width: 100%; |
| 38 |
height: 100%; |
| 39 |
} |
| 40 |
.dm-poststats__legend { |
| 41 |
display: flex; |
| 42 |
flex-wrap: wrap; |
| 43 |
gap: 6px 10px; |
| 44 |
padding-top: 6px; |
| 45 |
flex-shrink: 0; |
| 46 |
} |
| 47 |
.dm-poststats__legend-item { |
| 48 |
display: flex; |
| 49 |
align-items: center; |
| 50 |
gap: 4px; |
| 51 |
font-size: 10px; |
| 52 |
color: var(--os-ui-color-text-subtle, #6b7280); |
| 53 |
white-space: nowrap; |
| 54 |
} |
| 55 |
.dm-poststats__legend-swatch { |
| 56 |
width: 10px; |
| 57 |
height: 10px; |
| 58 |
border-radius: 2px; |
| 59 |
flex-shrink: 0; |
| 60 |
} |
| 61 |
.dm-poststats__empty, |
| 62 |
.dm-poststats__error { |
| 63 |
padding: 12px 0; |
| 64 |
font-size: 11px; |
| 65 |
color: var(--os-ui-color-text-subtle, #9ca3af); |
| 66 |
text-align: center; |
| 67 |
} |
| 68 |
.dm-poststats__error { color: #ef4444; } |
| 69 |
|