Skip to content

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

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

.subtext {
	color: var(--text-tertiary-muted);
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1rem;
	margin-top: 0.0625rem;
}

.sliderItem {
	--menu-slider-track-padding: 0.5rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.25rem;
	padding: 0.375rem 0.5rem;
	margin: 0;
	border: 0.0625rem solid transparent;
	border-radius: 0.375rem;
	background-color: transparent;
	color: var(--text-primary);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.125rem;
	cursor: default;
	outline: none;
	box-sizing: border-box;
	transition: none;
}

:global(:where(html.window-focused, html.unfocused-fully-interactive):not(.window-focus-activation-guard))
	.sliderItem:not(.disabled):is(:hover, [data-hovered], [data-focus-visible]) {
	background-color: var(--surface-interactive-hover-bg);
}

.sliderItem.disabled {
	color: var(--interactive-muted);
	cursor: not-allowed;
	opacity: 0.5;
}

.sliderHeader {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
}

.sliderLabel {
	font-size: 0.8125rem;
	font-weight: 500;
	color: currentColor;
}

.sliderValue {
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--text-tertiary-muted);
}

.sliderContainer {
	width: calc(100% + var(--menu-slider-track-padding) * 2);
	margin-inline: calc(var(--menu-slider-track-padding) * -1);
}