mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 00:03:56 +08:00
d40649c648
* UX: BEM fix for has-unreads * UX: small refactor for chat channel header icons * UX: refactor chat thread unread indicator * UX: channel header thread icon hover styling * DEV: Spec fixes * UX: fix font + line-height --------- Co-authored-by: Martin Brennan <martin@discourse.org>
23 lines
462 B
SCSS
23 lines
462 B
SCSS
@mixin chat-thread-unread-indicator {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: auto;
|
|
min-width: 14px;
|
|
padding: 3px;
|
|
font-size: 0.8rem;
|
|
border-radius: 1em;
|
|
background: var(--tertiary-med-or-tertiary);
|
|
|
|
&__number {
|
|
font-weight: bold;
|
|
color: var(--secondary);
|
|
line-height: 1;
|
|
}
|
|
}
|
|
|
|
.chat-thread-header-unread-indicator,
|
|
.chat-thread-list-item-unread-indicator {
|
|
@include chat-thread-unread-indicator;
|
|
}
|