Skip to content

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

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

.modalRoot.modalRoot {
	--profile-popout-content-width: 18.75rem;
	--profile-popout-border-width: 0.15625rem;
	--profile-card-width: calc(
		var(--profile-popout-content-width) +
		var(--profile-popout-border-width) +
		var(--profile-popout-border-width)
	);
	--custom-status-modal-padding-inline: 2rem;
	--custom-status-modal-card-gutter: 3.75rem;
	--custom-status-modal-width: calc(
		var(--profile-card-width) +
		var(--custom-status-modal-padding-inline) +
		var(--custom-status-modal-card-gutter) +
		var(--custom-status-modal-card-gutter)
	);

	width: min(var(--custom-status-modal-width), 90vw);
	max-width: var(--custom-status-modal-width);
}

.previewSection {
	width: 100%;
	display: flex;
	justify-content: center;
	margin-bottom: 1rem;
}

.statusInputWrapper {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

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

.emojiTriggerButton {
	width: 2rem;
	height: 2rem;
	border-radius: 62.4375rem;
	border: none;
	background: transparent;
	color: var(--text-primary-muted);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition:
		background-color var(--transition-normal),
		color var(--transition-normal);
}

.emojiPreviewImage {
	width: 1.375rem;
	height: 1.375rem;
	object-fit: contain;
}

.emojiTriggerButton:hover {
	background-color: var(--background-modifier-hover);
	color: var(--text-primary);
}

.emojiTriggerButtonActive {
	background-color: var(--background-modifier-hover);
	color: var(--text-primary);
}

.clearButtonIcon {
	border: none;
	background: transparent;
	color: var(--text-primary-muted);
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 62.4375rem;
}

.clearButtonIcon:hover {
	background-color: var(--background-modifier-hover);
	color: var(--text-primary);
}

.clearButtonIcon:disabled {
	opacity: 0.4;
}

.footer.footer {
	display: flex;
	align-items: stretch;
	flex-direction: column;
	justify-content: flex-start;
	gap: 0.75rem;
}

.footer > button {
	width: 100% !important;
}

.expirationSelectWrapper {
	display: flex;
	width: 100%;
	min-width: 0;
	flex-direction: column;
	gap: 0.375rem;
}

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

.expirationSelect {
	width: 100%;
}