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 */
.imagePreviewHandler {
height: 100%;
width: 100%;
appearance: none;
border: 0;
background: transparent;
padding: 0;
text-align: start;
cursor: pointer;
-webkit-touch-callout: none;
border-radius: var(--media-border-radius, 0px);
overflow: hidden;
}
.container {
display: flex;
width: 100%;
max-width: 100%;
min-width: 0;
flex-direction: column;
}
.rowContainer {
display: flex;
height: 100%;
width: 100%;
max-width: 100%;
min-width: 0;
flex-direction: row;
}
.justifyEnd {
justify-content: flex-end;
}
.innerContainer {
display: flex;
width: 100%;
flex-direction: column;
}
.imageWrapper {
position: relative;
display: block;
cursor: pointer;
user-select: text;
-webkit-user-select: text;
overflow: hidden;
border-radius: var(--media-border-radius);
}
.imageContainer {
position: relative;
height: 100%;
width: 100%;
overflow: hidden;
border-radius: var(--media-border-radius);
}
.imageInnerContainer {
position: relative;
height: 100%;
width: 100%;
overflow: hidden;
border-radius: var(--media-border-radius);
}
.blurContainer {
display: flex;
width: 100%;
flex-direction: column;
}
.thumbHashContainer {
position: absolute;
inset: 0;
pointer-events: none;
}
.thumbHashImage {
height: 100%;
width: 100%;
object-fit: cover;
}
.mediaContainer {
display: grid;
cursor: pointer;
user-select: text;
-webkit-user-select: text;
overflow: hidden;
border-radius: var(--media-border-radius);
}
.cursorPointer {
cursor: pointer;
}
.imageElement {
display: block;
height: 100%;
width: 100%;
max-width: 100%;
max-height: 100%;
object-fit: cover;
border-radius: var(--media-border-radius);
}
.animatedImageElement {
position: absolute;
inset: 0;
}