_avatars.scss
sha256:3ff9c9863a9891bdcde71b4a43228f66d0493e38b7cc1d09fe9eb7de774046b2
feat: add repair-commit wire endpoint (API parity with repa…
Opus 4.8
minor
⚠ breaking
1 day ago
| 1 | // ───────────────────────────────────────────────────────────────────────────── |
| 2 | // Component: Avatars |
| 3 | // File: src/scss/components/_avatars.scss |
| 4 | // |
| 5 | // Variants: .avatar .avatar--sm .avatar--lg .avatar--agent .avatar--org |
| 6 | // .participant-stack .participant-avatar .participant-overflow |
| 7 | // Tokens: --bg-overlay, --border-default, --domain-agent, --agent-accent |
| 8 | // Usage: <div class="avatar avatar--agent">A</div> |
| 9 | // |
| 10 | // Notes: Agent avatars get the fuchsia ring — intentionally distinct. |
| 11 | // Participant stack uses negative margin for overlap effect. |
| 12 | // ───────────────────────────────────────────────────────────────────────────── |
| 13 | |
| 14 | .avatar { |
| 15 | display: inline-flex; |
| 16 | align-items: center; |
| 17 | justify-content: center; |
| 18 | width: 32px; |
| 19 | height: 32px; |
| 20 | border-radius: var(--radius-full); |
| 21 | font-size: 13px; |
| 22 | font-weight: var(--weight-semibold); |
| 23 | background: var(--bg-overlay); |
| 24 | color: var(--text-muted); |
| 25 | border: 1px solid var(--border-default); |
| 26 | flex-shrink: 0; |
| 27 | overflow: hidden; |
| 28 | |
| 29 | img { width: 100%; height: 100%; object-fit: cover; } |
| 30 | } |
| 31 | |
| 32 | .avatar--sm { width: 24px; height: 24px; font-size: 10px; } |
| 33 | .avatar--lg { width: 48px; height: 48px; font-size: 18px; } |
| 34 | |
| 35 | .avatar--agent { |
| 36 | border-color: color-mix(in srgb, var(--agent-accent) 40%, transparent); |
| 37 | box-shadow: 0 0 8px color-mix(in srgb, var(--agent-accent) 20%, transparent); |
| 38 | } |
| 39 | |
| 40 | .avatar--org { |
| 41 | border-radius: var(--radius-md); |
| 42 | } |
| 43 | |
| 44 | // Stacked participant avatars |
| 45 | .participant-stack { |
| 46 | display: flex; |
| 47 | align-items: center; |
| 48 | } |
| 49 | |
| 50 | .participant-avatar { |
| 51 | display: inline-flex; |
| 52 | align-items: center; |
| 53 | justify-content: center; |
| 54 | width: 26px; |
| 55 | height: 26px; |
| 56 | border-radius: var(--radius-full); |
| 57 | font-size: 11px; |
| 58 | font-weight: var(--weight-semibold); |
| 59 | color: #fff; |
| 60 | text-decoration: none; |
| 61 | border: 2px solid var(--bg-surface); |
| 62 | margin-left: -6px; |
| 63 | transition: transform var(--transition-fast); |
| 64 | flex-shrink: 0; |
| 65 | |
| 66 | &:first-child { margin-left: 0; } |
| 67 | &:hover { transform: translateY(-2px); text-decoration: none; } |
| 68 | } |
| 69 | |
| 70 | .participant-overflow { |
| 71 | display: inline-flex; |
| 72 | align-items: center; |
| 73 | justify-content: center; |
| 74 | height: 26px; |
| 75 | padding: 0 var(--space-2); |
| 76 | border-radius: var(--radius-full); |
| 77 | font-size: 11px; |
| 78 | font-weight: var(--weight-semibold); |
| 79 | color: var(--text-muted); |
| 80 | background: var(--bg-overlay); |
| 81 | border: 2px solid var(--bg-surface); |
| 82 | margin-left: -6px; |
| 83 | white-space: nowrap; |
| 84 | } |
File History
1 commit
sha256:3ff9c9863a9891bdcde71b4a43228f66d0493e38b7cc1d09fe9eb7de774046b2
feat: add repair-commit wire endpoint (API parity with repa…
Opus 4.8
minor
⚠
1 day ago