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 */
.overlay {
position: fixed;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
z-index: var(--z-index-modal-swap);
background-color: rgba(0, 0, 0, 0.7);
}
:global(html.platform-native:not(.platform-macos)) .overlay {
top: var(--native-titlebar-height);
}
.dialog {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.75rem;
width: 22rem;
max-width: calc(100% - 2rem);
margin: 0 1rem;
padding: 1.25rem;
border-radius: 0.75rem;
border: 0.0625rem solid var(--background-header-secondary);
background-color: var(--background-primary);
text-align: center;
box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.2);
}
.dialogIconCircle {
display: flex;
align-items: center;
justify-content: center;
height: 3rem;
width: 3rem;
border-radius: 0.75rem;
border: 0.0625rem solid var(--background-header-secondary);
background-color: var(--background-secondary);
}
.dialogIcon {
height: 1.5rem;
width: 1.5rem;
color: var(--text-primary-muted);
}
.dialogTextBlock {
display: flex;
flex-direction: column;
justify-content: center;
gap: 0.35rem;
max-width: 100%;
min-width: 0;
}
.dialogTitle {
overflow-wrap: anywhere;
font-weight: 600;
font-size: 1.05rem;
color: var(--text-primary);
}
.dialogDescription {
font-size: 0.875rem;
line-height: 1.4;
color: var(--text-primary-muted);
}
.statusBanner {
display: flex;
align-items: center;
gap: 0.5rem;
min-height: 2.25rem;
padding: 0.45rem 0.65rem;
border-radius: 0.5rem;
font-size: 0.75rem;
}
.statusBannerActive {
background-color: var(--background-secondary);
color: var(--text-primary);
}
.statusBannerDefault {
background-color: var(--background-secondary);
color: var(--text-primary-muted);
}
.statusIndicator {
display: flex;
align-items: center;
justify-content: center;
height: 1.25rem;
width: 1.25rem;
border-radius: 0.35rem;
border: 0.0625rem solid var(--background-modifier-hover);
background-color: var(--background-primary);
}
.statusIndicatorActive {
border-color: var(--brand-primary-light);
background-color: var(--brand-primary-light);
}
.statusIcon {
height: 0.75rem;
width: 0.75rem;
color: var(--text-primary-muted);
}
.statusIndicatorActive .statusIcon {
color: var(--brand-primary-light-fill);
}
:global(.theme-light) .statusIndicatorActive {
border-color: var(--brand-primary);
background-color: var(--brand-primary);
}
:global(.theme-light) .statusIndicatorActive .statusIcon {
color: var(--brand-primary-fill);
}