A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
/* SPDX-License-Identifier: AGPL-3.0-or-later */
.button {
cursor: pointer;
border: none;
background-color: transparent;
padding: 0 0.375rem;
text-align: start;
font-weight: 600;
font-size: 0.875rem;
line-height: 1rem;
}
.container {
cursor: pointer;
border-radius: 0.5rem;
padding: 0.5rem;
}
.container:hover {
background-color: var(--background-modifier-hover);
}
.selected {
background-color: var(--background-modifier-hover);
}
.content {
display: flex;
min-height: 1rem;
align-items: center;
color: var(--text-primary);
}
.icon {
margin-inline-end: 0.5rem;
flex-shrink: 0;
}
.nameWrapper {
min-width: 10ch;
flex-shrink: 1;
flex-grow: 0;
overflow: hidden;
}
.name {
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-weight: 400;
font-size: 1rem;
color: var(--text-primary);
line-height: 1.25;
max-height: 1.25em;
}
.description {
margin-inline-start: 1rem;
min-width: 10ch;
flex-shrink: 0;
flex-grow: 1;
flex-basis: 10ch;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: end;
font-weight: 400;
color: var(--text-primary-muted);
font-size: 0.75rem;
line-height: 1.33;
}