Skip to content

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

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

:global(html:not(.auth-page)) :local(.appContainer) {
	height: 100svh;
	min-height: 100svh;
	box-sizing: border-box;
	background: var(--background-primary);
	padding-top: 0;
	padding-right: calc(env(safe-area-inset-right) + var(--quick-css-dock-right, 0px));
	padding-left: calc(env(safe-area-inset-left) + var(--quick-css-dock-left, 0px));
	overflow: hidden;
	position: relative;
}

:global(html.allow-transparency:not(.auth-page)) :local(.appContainer) {
	background: transparent;
}

:global(html.is-standalone:not(.auth-page)) :local(.appContainer) {
	padding-top: env(safe-area-inset-top);
}

:global(html) :local(.overlayScope) {
	position: fixed;
	inset: 0;
	z-index: var(--z-index-overlay);
	pointer-events: none;
}

:global(html.platform-native:not(.platform-macos)) :local(.overlayScope) {
	top: var(--native-titlebar-height);
}

:global(html) :local(.overlayScope) > :not([data-overlay-pass-through]) {
	pointer-events: auto;
}

.skipLink {
	position: absolute;
	width: 0.0625rem;
	height: 0.0625rem;
	margin: -0.0625rem;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.skipLink:focus-visible {
	position: absolute;
	z-index: var(--z-index-toast);
	inset-block-start: calc(0.5rem + var(--skip-link-titlebar-offset, 0px));
	inset-inline-start: calc(0.5rem + var(--skip-link-traffic-lights-offset, 0px));
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.5rem 0.75rem;
	border: 0.0625rem solid var(--focus-primary);
	border-radius: 0.375rem;
	background: var(--background-primary);
	color: var(--text-primary);
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: var(--elevation-high, 0 0.5rem 1.5rem rgb(0 0 0 / 25%));
	overflow: visible;
	clip: auto;
	clip-path: none;
	white-space: normal;
	outline: 0.125rem solid var(--focus-primary);
	outline-offset: 0.125rem;
}

:global(html.platform-native:not(.platform-macos)) :local(.skipLink) {
	--skip-link-titlebar-offset: var(--native-titlebar-height);
}
:global(html.platform-native.platform-macos) :local(.skipLink) {
	--skip-link-titlebar-offset: var(--native-titlebar-height);
	--skip-link-traffic-lights-offset: 4.5rem;
}
.quickSwitcherPortal {
	position: fixed;
	inset: 0;
	pointer-events: none;
}
:global(html:not(.window-focused):not(.unfocused-fully-interactive)) :local(.appContainer),
:global(html:not(.window-focused):not(.unfocused-fully-interactive)) :local(.appContainer) *,
:global(html:not(.window-focused):not(.unfocused-fully-interactive)) :local(.appContainer) *::before,
:global(html:not(.window-focused):not(.unfocused-fully-interactive)) :local(.appContainer) *::after,
:global(html:not(.window-focused):not(.unfocused-fully-interactive)) :local(.overlayScope),
:global(html:not(.window-focused):not(.unfocused-fully-interactive)) :local(.overlayScope) *,
:global(html:not(.window-focused):not(.unfocused-fully-interactive)) :local(.overlayScope) *::before,
:global(html:not(.window-focused):not(.unfocused-fully-interactive)) :local(.overlayScope) *::after {
	animation-play-state: paused !important;
	transition-duration: 0s !important;
	transition-delay: 0s !important;
}