Skip to content

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

TypeScript fluxerfluxerapp
993 B
Raw Blame
/* SPDX-License-Identifier: AGPL-3.0-or-later */

.list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.item {
	position: relative;
	display: flex;
	padding-inline-start: 1rem;
	color: var(--text-primary);
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.item::before {
	position: absolute;
	top: 0.5rem;
	inset-inline-start: 0.125rem;
	width: 0.375rem;
	height: 0.375rem;
	border-radius: var(--radius-full);
	background-color: var(--brand-primary-light);
	content: '';
}

:global(.theme-light) .item::before {
	background-color: var(--brand-primary);
}

.item:not(:last-child)::after {
	position: absolute;
	top: 0.875rem;
	bottom: -0.625rem;
	inset-inline-start: 0.25rem;
	width: 0.125rem;
	border-radius: var(--radius-full);
	background-color: var(--background-header-secondary);
	content: '';
}

.text {
	min-width: 0;
}

.clamped {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}