Skip to content

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

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

.container {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	min-width: 0;
}

.textContainer {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 0;
}

.nameRow {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	min-width: 0;
}

.channelIcon {
	width: 1rem;
	height: 1rem;
	color: var(--text-primary-muted);
	flex-shrink: 0;
	margin-inline-end: -0.25rem;
}

.nameButton {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	text-align: start;
	cursor: pointer;
	min-width: 0;
}

.nameText {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text-primary);
}

.nameButton:hover .nameText {
	text-decoration: underline;
}

.subtext {
	font-size: 0.75rem;
	line-height: 1rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.subtextMuted {
	color: var(--text-primary-muted);
	font-weight: 400;
}

.subtextPrimary {
	color: var(--text-primary);
	font-weight: 400;
}

.subtextBreadcrumb {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.subtextChevron {
	width: 0.75rem;
	height: 0.75rem;
	color: var(--text-primary-muted);
}

.avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	border-radius: 30%;
	overflow: hidden;
	background-color: var(--background-tertiary);
	background-position: center;
	background-size: cover;
	color: var(--text-primary);
}

.fallbackIcon {
	width: 60%;
	height: 60%;
}

.focusRingTight {
	border-radius: 0.25rem;
}