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 */
.container {
display: flex;
width: 100%;
height: 100%;
flex-direction: column;
}
.searchField {
display: flex;
width: 100%;
min-height: 2.75rem;
flex-wrap: wrap;
align-items: center;
gap: 0.5rem;
padding: 0.25rem 0.5rem;
}
.searchFieldInner {
display: flex;
min-width: 8.75rem;
flex: 1;
align-items: center;
gap: 0.5rem;
}
.selectedPill {
display: flex;
align-items: center;
gap: 0.25rem;
padding: 0.25rem 0.5rem;
background-color: var(--brand-primary);
border-radius: 624.9375rem;
color: var(--brand-primary-fill);
font-size: 0.875rem;
line-height: 1;
}
.removeButton {
display: flex;
align-items: center;
justify-content: center;
border: 0;
padding: 0;
background: transparent;
border-radius: 624.9375rem;
transition: background-color 0.2s ease;
cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
.removeButton:hover {
background-color: rgba(255, 255, 255, 0.2);
}
}
.searchIcon {
width: 1.25rem;
height: 1.25rem;
color: var(--text-primary-muted);
transition: color 0.2s ease;
}
.searchIconFocused {
color: var(--text-primary);
}
.searchInput {
flex: 1;
min-width: 0;
height: 1.25rem;
background-color: transparent;
color: var(--text-primary);
font-size: 0.875rem;
line-height: 1.25;
border: 0;
padding: 0;
outline: none;
}
.searchInput::placeholder {
color: var(--text-tertiary);
}
.scroller {
--scrollbar-track-bg: var(--background-secondary);
margin-top: 1rem;
flex: 1;
min-height: 0;
}
.scrollerNoSearch {
margin-top: 0;
}
.emptyState {
display: flex;
height: 100%;
flex-direction: column;
align-items: center;
justify-content: center;
}
.emptyStateText {
text-align: center;
color: var(--text-primary-muted);
}
.groupsContainer {
display: flex;
flex-direction: column;
gap: 1rem;
padding-bottom: 1rem;
}
.groupLetter {
margin-bottom: 0.5rem;
padding: 0 1rem;
font-weight: 600;
font-size: 0.875rem;
color: var(--text-primary-muted);
}
.friendsList {
display: flex;
flex-direction: column;
gap: 0.0625rem;
}
.friendButton {
position: relative;
display: flex;
width: 100%;
align-items: center;
justify-content: space-between;
padding: 0.5rem 1rem;
cursor: pointer;
}
.friendButton::before {
content: '';
position: absolute;
inset: 0 var(--spacing-2);
border-radius: var(--radius-md);
transition: background-color 0.15s ease;
pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
.friendButton:hover::before {
background-color: var(--background-modifier-hover);
}
}
.friendButtonSelected::before {
background-color: var(--background-modifier-hover);
}
.friendButtonDisabled {
cursor: not-allowed;
opacity: 0.5;
}
.friendButtonDisabled:hover::before {
background-color: transparent;
}
.friendInfo {
position: relative;
z-index: 1;
display: flex;
align-items: center;
gap: 0.75rem;
}
.friendName {
font-weight: 500;
color: var(--text-primary);
}
.checkboxContainer {
position: relative;
z-index: 1;
pointer-events: none;
}
.removeIcon {
height: 0.75rem;
width: 0.75rem;
}