Skip to content

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

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

.button {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: none;
	background: transparent;
	color: var(--text-secondary);
	cursor: pointer;
	transition:
		transform 150ms ease,
		opacity 150ms ease;
	outline: none;
}

.button:hover {
	opacity: 0.8;
}

.button:active {
	opacity: 0.7;
}

.button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.small {
	width: 1.5rem;
	height: 1.5rem;
}

.medium {
	width: 2rem;
	height: 2rem;
}

.large {
	width: 2.5rem;
	height: 2.5rem;
}

.xlarge {
	width: 3rem;
	height: 3rem;
}

.overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: rgba(0, 0, 0, 0.6);
	border-radius: 50%;
	padding: 1rem;
	color: var(--text-on-dark);
	transition:
		background-color 150ms ease,
		transform 150ms ease;
}

.overlay:hover {
	background-color: rgba(0, 0, 0, 0.8);
	transform: translate(-50%, -50%);
}