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 */
.container {
position: relative;
display: block;
width: fit-content;
max-width: 100%;
overflow: hidden;
}
.media {
height: fit-content;
}
.gridMedia {
width: 100%;
height: 100%;
min-width: 0;
}
.inline {
display: inline-block;
width: auto;
}
.content {
position: relative;
width: 100%;
height: 100%;
overflow: hidden;
}
.hidden .content {
visibility: hidden;
user-select: none;
-webkit-user-select: none;
pointer-events: none;
}
.overlayButton {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
padding: 0.75rem;
width: 100%;
height: 100%;
border: none;
border-radius: var(--radius-md);
background-color: var(--spoiler-overlay-color);
color: var(--text-primary);
cursor: pointer;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.03em;
z-index: 2;
transition:
background-color var(--transition-fast),
color var(--transition-fast);
}
.overlayButton:hover {
background-color: var(--spoiler-overlay-hover-color);
}
.overlayLabel {
padding: 0.25rem 0.5rem;
background-color: color-mix(in srgb, var(--background-secondary) 30%, transparent);
border-radius: var(--radius-sm);
}