discourse/plugins/chat/assets/stylesheets/desktop/chat-index-drawer.scss
chapoi d0427919f1
UX: add illustrations for empty chat list + split into tabs on drawer (#26910)
Adds a placeholder image + CTA in chat, for empty channel and DM lists.

On desktop with drawer mode, we split chat into tabs (like mobile).

---------

Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
Co-authored-by: David Battersby <info@davidbattersby.com>
Co-authored-by: Régis Hanol <regis@hanol.fr>
2024-05-28 17:00:04 +04:00

49 lines
917 B
SCSS

.chat-drawer-container .channels-list-container {
.chat-channel-divider {
padding: 1.5rem 0.5rem 0.5rem 1rem;
font-size: var(--font-0);
}
&.has-scrollbar {
.chat-channel-row {
margin-right: 0;
}
}
.chat-channel-row {
height: 3.6em;
padding: 0 0.5rem;
margin: 0 0.5rem 0 0.5rem;
&:not(:last-of-type) {
border-bottom: 1px solid var(--primary-low);
}
.chat-channel-metadata {
.chat-channel-unread-indicator {
margin-top: 0.25rem;
}
}
&.--threads {
margin-top: 0.25rem;
.c-unread-indicator {
width: 8px;
height: 8px;
}
.chat-channel-title {
gap: 0.5rem;
color: var(--primary);
}
}
}
.toggle-channel-membership-button.-leave {
margin-left: 0.5em;
}
}
.chat-drawer-container .c-footer .chat-channel-unread-indicator.-urgent {
width: min-content;
}