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;
flex-direction: column;
gap: 1rem;
}
.controls {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.75rem;
}
.searchInput {
flex: 1 1 15rem;
}
.viewToggle {
display: inline-flex;
align-items: stretch;
border: 0.0625rem solid var(--background-header-secondary);
background-color: var(--background-secondary);
border-radius: 0.5rem;
overflow: hidden;
}
.viewToggleButton {
border: none;
background: transparent;
padding: 0.45rem 0.75rem;
color: var(--text-primary-muted);
font-weight: 600;
cursor: pointer;
transition:
background-color 0.12s ease-in-out,
color 0.12s ease-in-out;
}
.viewToggleButton:not(:last-child) {
border-inline-end: 0.0625rem solid var(--background-header-secondary);
}
.viewToggleButtonActive {
background-color: var(--background-tertiary);
color: var(--text-primary);
}
.spinnerContainer {
display: flex;
justify-content: center;
padding: 2rem 0;
}
.stickerGrid {
--sticker-grid-gap: 1rem;
display: grid;
gap: var(--sticker-grid-gap);
grid-template-columns: repeat(auto-fill, minmax(var(--sticker-card-min-width, 11.875rem), 1fr));
grid-auto-rows: var(--sticker-card-height, 16.25rem);
align-items: stretch;
}
.compactGrid {
--sticker-card-min-width: 9.375rem;
--sticker-card-height: 13.75rem;
--sticker-card-padding: 0.5rem;
--sticker-card-gap: 0.5rem;
}
.cozyGrid {
--sticker-card-min-width: 11.875rem;
--sticker-card-height: 16.25rem;
--sticker-card-padding: 0.75rem;
--sticker-card-gap: 0.75rem;
}