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 */
.wrapper {
--embed-splash-height: 3.75rem;
--embed-radius: 0.75rem;
width: 100%;
max-width: 22.5rem;
overflow: clip;
border-radius: var(--embed-radius);
border: 0.0625rem solid var(--background-modifier-accent);
background-color: var(--background-secondary);
isolation: isolate;
}
.wrapper,
.wrapper *,
.wrapper *::before,
.wrapper *::after {
box-sizing: border-box;
}
.splashWrapper {
flex-shrink: 0;
min-height: var(--embed-splash-height);
position: relative;
}
.splash {
min-height: var(--embed-splash-height);
width: 100%;
background-color: var(--background-tertiary);
background-image: var(--embed-splash-url);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
.grid {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
gap: 0.75rem;
padding: 0.75rem;
align-items: center;
}
@media (min-width: 640px) {
.grid {
gap: 0.9rem;
padding: 0.85rem;
}
}
.iconSlot {
display: grid;
place-items: center;
width: 3rem;
}
@media (min-width: 640px) {
.iconSlot {
width: 3.5rem;
}
}
.content {
min-width: 0;
display: flex;
flex-direction: column;
justify-content: flex-start;
gap: 0.15rem;
}
.header {
min-height: 0;
display: flex;
flex-direction: column;
justify-content: flex-start;
gap: 0.15rem;
}
.titleRow {
min-width: 0;
}
.subtitle {
min-width: 0;
}
.body {
min-width: 0;
margin-top: 0.2rem;
}
.divider {
border-top: 0.0625rem solid var(--background-modifier-accent);
padding: 0.75rem;
}
@media (min-width: 640px) {
.divider {
padding: 0.85rem;
}
}
.title {
margin: 0;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-weight: 600;
font-size: 1em;
line-height: 1.25;
letter-spacing: 0;
}
.titleButton {
background: none;
border: none;
padding: 0;
margin: 0;
width: 100%;
text-align: start;
font: inherit;
color: inherit;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: flex-start;
}
.titleButton:hover {
text-decoration: underline;
}
.titlePrimary {
color: var(--text-primary);
}
.titleDanger {
color: var(--status-danger);
}
.helpText {
color: var(--text-tertiary);
font-size: 0.8em;
line-height: 1.2;
}
.iconCircleDisabled {
display: grid;
place-items: center;
height: 2.75rem;
width: 2.75rem;
border-radius: 624.9375rem;
background-color: var(--background-tertiary);
}
@media (min-width: 640px) {
.iconCircleDisabled {
height: 3rem;
width: 3rem;
}
}
.iconError {
height: 1.5rem;
width: 1.5rem;
color: var(--text-tertiary);
}
@media (min-width: 640px) {
.iconError {
height: 1.75rem;
width: 1.75rem;
}
}
.skeleton {
animation: pulse 1.8s ease-in-out infinite;
background-color: rgb(75 85 99);
}
:global(.theme-light) .skeleton {
background-color: rgb(209 213 219);
}
:global(html.reduced-motion) .skeleton {
animation: none;
opacity: 0.8;
}
.skeletonCircle {
height: 2.75rem;
width: 2.75rem;
border-radius: 624.9375rem;
}
@media (min-width: 640px) {
.skeletonCircle {
height: 3rem;
width: 3rem;
}
}
.skeletonTitle {
height: 1.1rem;
width: 7.5rem;
border-radius: 0.3125rem;
}
@media (min-width: 640px) {
.skeletonTitle {
height: 1.25rem;
width: 8rem;
}
}
.skeletonSubtitle {
height: 0.7rem;
width: 11rem;
border-radius: 0.3125rem;
}
@media (min-width: 640px) {
.skeletonSubtitle {
height: 0.9rem;
width: 12rem;
}
}
.skeletonIcon {
height: 1rem;
width: 1rem;
border-radius: 0.25rem;
}
.skeletonDot {
margin-inline-end: 0.3125rem;
height: 0.55rem;
width: 0.55rem;
border-radius: 624.9375rem;
}
.skeletonStat {
height: 0.75rem;
border-radius: 0.3125rem;
}
@media (min-width: 640px) {
.skeletonStat {
height: 0.85rem;
}
}
.skeletonStatShort {
width: 3.25rem;
}
.skeletonStatLong {
width: 4.5rem;
}
.skeletonButton {
height: 2.25rem;
width: 100%;
border-radius: 0.375rem;
}
@keyframes pulse {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}