[Glitch] Change design of unread conversations in web UI

Port ec4c49082e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
pull/2836/head
Eugen Rochko 2024-09-05 11:39:59 +02:00 committed by Claire
parent 1a0ef0c526
commit cb324b5d7c
2 changed files with 3 additions and 18 deletions

View File

@ -197,7 +197,7 @@ export const Conversation = ({ conversation, scrollKey, onMoveUp, onMoveDown })
return (
<HotKeys handlers={handlers}>
<div className={classNames('conversation focusable muted', { 'conversation--unread': unread })} tabIndex={0}>
<div className={classNames('conversation focusable muted', { unread })} tabIndex={0}>
<div className='conversation__avatar' onClick={handleClick} role='presentation'>
<AvatarComposite accounts={accounts} size={48} />
</div>

View File

@ -9055,22 +9055,6 @@ noscript {
margin: 0;
}
}
&--unread {
background: lighten($ui-base-color, 2%);
&:focus {
background: lighten($ui-base-color, 4%);
}
.conversation__content__info {
font-weight: 700;
}
.conversation__content__relative-time {
color: $primary-text-color;
}
}
}
.announcements {
@ -9265,7 +9249,8 @@ noscript {
}
.notification,
.status__wrapper {
.status__wrapper,
.conversation {
position: relative;
&.unread {