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 */
.root {
position: relative;
width: min(65rem, calc(100vw - 3rem));
height: min(48.75rem, calc(100svh - 3rem));
max-height: calc(100svh - 3rem);
display: flex;
flex-direction: column;
border-radius: clamp(0.75rem, 1.1vw, 1rem);
border: 0.0625rem solid var(--background-header-secondary);
background: var(--background-secondary);
box-shadow:
0 0 0 0.0625rem hsla(223, 7%, 20%, 0.08),
0 1rem 2.5rem hsla(0, 0%, 0%, 0.16);
overflow: hidden;
pointer-events: all;
}
.background {
position: absolute;
inset: 0;
pointer-events: none;
background-color: var(--brand-primary);
}
.splashImage {
position: absolute;
inset: 0;
background-size: cover;
background-repeat: no-repeat;
background-position: center bottom;
pointer-events: none;
}
.patternImage {
position: absolute;
inset: 0;
background-size: 16.25rem 16.25rem;
background-repeat: repeat;
opacity: 0.06;
filter: invert(1);
background-color: transparent;
pointer-events: none;
}
.cardHost {
position: relative;
z-index: 1;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 1.5rem;
pointer-events: all;
}
.card {
width: min(35rem, calc(100% - 3rem));
max-height: calc(100% - 1.5rem);
display: flex;
flex-direction: column;
border-radius: 1.125rem;
border: 0.0625rem solid color-mix(in srgb, var(--background-modifier-accent) 70%, transparent);
background: color-mix(in srgb, var(--background-secondary) 86%, transparent);
backdrop-filter: blur(1.125rem);
box-shadow: 0 1.5rem 3.75rem rgba(0, 0, 0, 0.28);
overflow: auto;
pointer-events: all;
}
.cardInner {
display: flex;
flex-direction: column;
gap: 1rem;
padding: clamp(1.25rem, 2.6vw, 1.875rem);
min-height: 0;
}
.stateHost {
min-height: 22.5rem;
display: flex;
align-items: center;
justify-content: center;
padding: clamp(1.25rem, 2.6vw, 1.875rem);
}
.actions {
display: flex;
justify-content: center;
align-items: center;
}
.disabledText {
margin: 0;
text-align: center;
font-size: 0.875rem;
line-height: 1.5;
color: var(--text-tertiary);
}
@media screen and (max-width: 480px) {
.root {
width: calc(100vw - 1.5rem);
height: min(48.75rem, calc(100svh - 1.5rem));
max-height: calc(100svh - 1.5rem);
}
.cardHost {
padding: 0.75rem;
}
.card {
width: calc(100% - 1rem);
max-height: calc(100% - 0.75rem);
}
}