Skip to content

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

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

.page {
	--report-max-width: 40rem;
	max-width: var(--report-max-width);
	width: 100%;
	margin: 0 auto;
	padding: 1rem 0 2rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.breadcrumbs {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-bottom: 0.25rem;
}

.breadcrumbGroup {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	white-space: nowrap;
}

.breadcrumbShell {
	position: sticky;
	top: 0;
	z-index: 5;
	background-color: var(--background-secondary);
	box-shadow: 0 -2rem 0 var(--background-secondary);
	padding-top: 0.3rem;
	padding-bottom: 0.5rem;
	margin-bottom: 0.25rem;
	min-height: 2.5rem;
	display: flex;
	align-items: center;
	width: 100%;
}

.breadcrumbPlaceholder {
	width: 100%;
	height: 1.5rem;
}

.breadcrumbStep {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.35rem 0.6rem;
	border-radius: 0.5rem;
	background: none;
	border: none;
	color: var(--text-tertiary);
	font-size: 0.85rem;
	cursor: pointer;
	transition:
		color 0.1s ease,
		background 0.1s ease;
}

.breadcrumbStep:disabled {
	opacity: 0.6;
	cursor: default;
}

.breadcrumbStep:hover:not(:disabled) {
	color: var(--text-secondary);
}

.breadcrumbActive {
	color: var(--text-primary);
	cursor: default;
	background: color-mix(in srgb, var(--background-modifier-accent) 60%, transparent);
}

.breadcrumbActive:hover {
	color: var(--text-primary);
}

.breadcrumbNumber {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.4rem;
	height: 1.4rem;
	border-radius: 50%;
	background: var(--background-modifier-accent);
	font-weight: 600;
	font-size: 0.8rem;
}

.breadcrumbActive .breadcrumbNumber {
	background: var(--brand-primary);
	color: var(--brand-primary-fill);
}

.breadcrumbLabel {
	font-weight: 600;
}

.breadcrumbSeparator {
	color: var(--text-tertiary);
	font-size: 0.9rem;
}

[dir='rtl'] .breadcrumbSeparator {
	transform: scaleX(-1);
}

.card {
	background: transparent;
	border: none;
	border-radius: 1rem;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	margin: 0;
	box-shadow: none;
}

.cardHeader {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	width: 100%;
}

.cardBody {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	min-height: 0.0625rem;
}

.eyebrow {
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.75rem;
	color: var(--text-tertiary);
}

.title {
	margin: 0;
	font-size: 1.3rem;
	line-height: 1.6rem;
	font-weight: 700;
	color: var(--text-primary);
}

.description {
	margin: 0.2rem 0 0;
	font-size: 0.95rem;
	line-height: 1.45rem;
	color: var(--text-secondary);
}

.form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: stretch;
}

.footerLinks {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.actionRow {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	width: 100%;
}

@media (min-width: 640px) {
	.actionRow {
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
	}
}

.actionButton {
	align-self: flex-start;
}

.linkRow {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.9rem;
	color: var(--text-secondary);
}

.linkButton {
	all: unset;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-secondary);
	cursor: pointer;
}

.linkButton:hover {
	color: var(--text-primary);
	text-decoration: underline;
}

.linkSeparator {
	color: var(--background-modifier-accent);
}

.errorBox {
	padding: 0.75rem 1rem;
	border-radius: var(--radius-lg);
	background-color: color-mix(in srgb, var(--status-danger) 15%, transparent);
	color: var(--status-danger);
	font-size: 0.9rem;
	line-height: 1.3rem;
}

.helperText {
	font-size: 0.8rem;
	color: var(--text-primary-muted);
}

.mainColumn {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	margin: 0;
}