| [data-component="message-nav"] { |
| flex-shrink: 0; |
| display: flex; |
| flex-direction: column; |
| align-items: flex-start; |
| padding-left: 0; |
| list-style: none; |
|
|
| &[data-size="normal"] { |
| width: 200px; |
| gap: 4px; |
| } |
|
|
| &[data-size="compact"] { |
| width: 24px; |
| } |
| } |
|
|
| [data-slot="message-nav-item"] { |
| display: flex; |
| align-items: center; |
| align-self: stretch; |
| justify-content: flex-end; |
|
|
| [data-component="message-nav"][data-size="normal"] & { |
| justify-content: flex-start; |
| } |
| } |
|
|
| [data-slot="message-nav-tick-button"] { |
| display: flex; |
| align-items: center; |
| justify-content: flex-start; |
| height: 12px; |
| width: 24px; |
| border: none; |
| background: none; |
| padding: 0; |
|
|
| &[data-active] [data-slot="message-nav-tick-line"] { |
| background-color: var(--icon-strong-base); |
| height: 2px; |
| width: 100%; |
| } |
| } |
|
|
| [data-slot="message-nav-tick-line"] { |
| height: 1px; |
| width: 16px; |
| background-color: var(--icon-base); |
| transition: |
| width 0.2s, |
| background-color 0.2s; |
| } |
|
|
| [data-slot="message-nav-tick-button"]:hover [data-slot="message-nav-tick-line"] { |
| width: 100%; |
| background-color: var(--icon-strong-base); |
| } |
|
|
| [data-slot="message-nav-message-button"] { |
| display: flex; |
| align-items: center; |
| align-self: stretch; |
| width: 100%; |
| column-gap: 10px; |
| cursor: default; |
| border: none; |
| background: none; |
| padding: 4px 10px; |
| border-radius: var(--radius-sm); |
| } |
|
|
| [data-slot="message-nav-title-preview"] { |
| font-size: 14px; |
| color: var(--text-base); |
| white-space: nowrap; |
| overflow: hidden; |
| text-overflow: ellipsis; |
| min-width: 0; |
| text-align: left; |
|
|
| &[data-active] { |
| color: var(--text-strong); |
| font-weight: 500; |
| } |
| } |
|
|
| [data-slot="message-nav-item"]:has([data-slot="message-nav-title-preview"][data-active]) |
| [data-slot="message-nav-message-button"] { |
| background-color: var(--surface-base-active); |
| } |
|
|
| [data-slot="message-nav-item"]:hover [data-slot="message-nav-message-button"] { |
| background-color: var(--surface-base); |
| } |
| [data-slot="message-nav-item"]:active [data-slot="message-nav-message-button"] { |
| background-color: var(--surface-base-active); |
| } |
|
|
| [data-slot="message-nav-item"]:active [data-slot="message-nav-title-preview"] { |
| color: var(--text-base); |
| } |
|
|
| [data-slot="message-nav-hovercard-content"] { |
| z-index: 1000; |
| display: flex; |
| padding: 4px 4px 6px 4px; |
| justify-content: center; |
| align-items: start; |
| border-radius: var(--radius-md); |
| background: var(--surface-raised-stronger-non-alpha); |
| max-height: min(480px, calc(100vh - 6rem)); |
| overflow-y: auto; |
| overflow-x: hidden; |
|
|
| |
| box-shadow: |
| 0 0 0 1px var(--border-weak-base, rgba(17, 0, 0, 0.12)), |
| 0 1px 2px -1px rgba(19, 16, 16, 0.04), |
| 0 1px 2px 0 rgba(19, 16, 16, 0.06), |
| 0 1px 3px 0 rgba(19, 16, 16, 0.08); |
|
|
| * { |
| margin: 0 !important; |
| } |
| } |
|
|