A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
/* SPDX-License-Identifier: AGPL-3.0-or-later */
.previewModal {
position: fixed;
top: 0;
inset-inline-end: 0;
bottom: 0;
inset-inline-start: 0;
width: 100% !important;
height: 100% !important;
max-width: 100% !important;
max-height: 100% !important;
margin: 0;
padding: 0;
border: none !important;
border-radius: 0 !important;
box-shadow: none !important;
background: #080616;
display: flex;
flex-direction: column;
overflow: hidden;
pointer-events: auto;
}
:global(html.platform-native:not(.platform-macos)) .previewModal {
top: var(--native-titlebar-height);
}
.previewPillContainer {
position: absolute;
top: calc(1rem + env(safe-area-inset-top, 0px));
left: 50%;
transform: translateX(-50%);
z-index: 20;
pointer-events: auto;
}
.previewPill {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.625rem 1.125rem;
border-radius: 0.75rem;
border: 0.0625rem solid color-mix(in srgb, var(--background-modifier-accent) 70%, transparent);
background: color-mix(in srgb, var(--background-secondary) 85%, transparent);
backdrop-filter: blur(0.75rem);
box-shadow: 0 0.75rem 2.25rem rgba(0, 0, 0, 0.35);
-webkit-app-region: no-drag;
}
.previewPillText {
color: var(--text-primary);
font-size: 0.8125rem;
font-weight: 600;
white-space: nowrap;
}
.exitButton {
flex-shrink: 0;
}
.previewContent {
composes: spaceBackground from '@app/features/ui/space_background/SpaceBackground.module.css';
flex: 1 1 auto;
display: flex;
overflow: hidden;
min-height: 0;
}
.background {
position: absolute;
inset: 0;
z-index: 0;
overflow: hidden;
}
.foreground {
position: relative;
z-index: 1;
flex: 1 1 auto;
display: flex;
align-items: stretch;
justify-content: center;
width: 100%;
min-height: 100%;
}
.cardContainer {
width: 100%;
}
.alignmentControlsContainer {
position: absolute;
bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
left: 50%;
transform: translateX(-50%);
z-index: 20;
pointer-events: auto;
}
@media (max-width: 768px) {
.foreground {
padding: 3.75rem 1rem 1rem;
}
}