Skip to content

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

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

.container {
	position: relative;
	display: flex;
	height: 100%;
	min-height: 0;
	width: 100%;
	flex-direction: column;
	overflow: hidden;
	background-color: var(--background-primary);
}

.banner {
	position: relative;
	height: 11.5rem;
	width: 100%;
	overflow: hidden;
}

.bannerImage {
	height: 100%;
	width: 100%;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.bannerDefault {
	height: 100%;
	width: 100%;
	background-color: var(--brand-primary);
}

.profile {
	position: relative;
	background-color: var(--background-primary);
}

.avatarButton {
	position: absolute;
	inset-inline-start: 1rem;
	top: -2.5rem;
	border: 0.25rem solid var(--background-primary);
	background-color: var(--background-primary);
	border-radius: 624.9375rem;
	width: fit-content;
}

.content {
	padding-inline-start: 1rem;
	padding-inline-end: 1rem;
	padding-top: 3rem;
}

.actions {
	position: absolute;
	top: 1rem;
	inset-inline-end: 1rem;
	z-index: 10;
	display: flex;
	gap: 0.5rem;
}

.settingsButton {
	position: relative;
	display: flex;
	height: 2.5rem;
	width: 2.5rem;
	align-items: center;
	justify-content: center;
	border-radius: 624.9375rem;
	background-color: var(--background-tertiary);
	color: var(--text-primary);
}

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

.settingsIconWithDot {
	mask-image: radial-gradient(circle at 85% 15%, transparent 0.34375rem, #000 calc(0.34375rem + 0.03125rem));
}

.settingsDot {
	position: absolute;
	top: 0.5625rem;
	right: 0.5625rem;
}

.userInfo {
	margin-top: 0.75rem;
}

.usernameRow {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	min-width: 0;
}

.username {
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 2rem;
	color: var(--text-primary);
	word-break: break-word;
	overflow-wrap: break-word;
}

.tagBadgeRow {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	min-width: 0;
}

.fullTag {
	font-weight: 500;
	color: var(--text-tertiary);
}

.badgesWrapper {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	max-width: 100%;
}

.customStatusRow {
	margin-top: 0.25rem;
}

.customStatusText {
	font-size: 0.875rem;
	color: var(--text-secondary);
}

.customStatusRow:hover .customStatusText,
.customStatusRow:active .customStatusText {
	--emoji-show-animated: 1;
}

.editButton {
	margin-top: 1rem;
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: 0.75rem;
	background-color: var(--brand-primary);
	padding: 0.75rem 1rem;
}

.editIcon {
	height: 1.25rem;
	width: 1.25rem;
	color: var(--brand-primary-fill);
}

.editLabel {
	font-weight: 500;
	color: var(--brand-primary-fill);
}

.section {
	margin-top: 1rem;
	border-radius: 0.75rem;
	background-color: var(--background-secondary);
	padding: 1rem;
}

.sectionHeader {
	margin-bottom: 0.75rem;
}

.sectionTitle {
	margin-bottom: 0.5rem;
	font-weight: 600;
	font-size: 0.875rem;
	color: var(--text-primary);
}

.noteButton {
	margin-top: 1rem;
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	border-radius: 0.75rem;
	background-color: var(--background-secondary);
	padding: 1rem;
	text-align: start;
}

.noteLabel {
	font-weight: 600;
	font-size: 0.875rem;
	color: var(--text-primary);
}

.noteSubtext {
	color: var(--text-tertiary);
	font-size: 0.75rem;
}

.noteText {
	margin-top: 0.25rem;
	font-size: 0.875rem;
	color: var(--text-secondary);
}

.noteIconWrapper {
	display: flex;
	height: 2rem;
	width: 2rem;
	align-items: center;
	justify-content: center;
	border-radius: 624.9375rem;
	background-color: var(--background-tertiary);
}

.noteIcon {
	height: 1rem;
	width: 1rem;
	color: var(--text-primary);
}