Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp
1.2 KB
Raw Blame
/* SPDX-License-Identifier: AGPL-3.0-or-later */

.container {
	display: flex;
	height: 100%;
	flex-direction: column;
	overflow: hidden;
}

.backButton {
	display: flex;
	align-items: center;
	color: var(--text-primary);
}

.backIcon {
	height: 1.25rem;
	width: 1.25rem;
}

.list {
	padding: 0.5rem 1rem;
	padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}

.sectionDivider {
	margin: 0.375rem 0.75rem;
	border-bottom: 0.0625rem solid var(--background-modifier-accent);
}

.item {
	display: flex;
	width: 100%;
	align-items: center;
	gap: 0.75rem;
	padding: 0.625rem 0.75rem;
	border-radius: 0.75rem;
	cursor: pointer;
	text-align: start;
}

.item:active {
	background-color: var(--background-modifier-selected);
}

.iconFrame {
	display: flex;
	width: 2.5rem;
	height: 2.5rem;
	flex: 0 0 2.5rem;
	align-items: center;
	justify-content: center;
}

.itemInfo {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.itemName {
	font-weight: 500;
	font-size: 0.9375rem;
	color: var(--text-primary);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.itemDetail {
	font-size: 0.8125rem;
	color: var(--text-secondary);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.guildIcon {
	border-radius: 0.75rem;
}