95 lines
1.5 KiB
SCSS
95 lines
1.5 KiB
SCSS
.ChatMessage {
|
|
&:first-child {
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.ListItem-button {
|
|
padding: 0.25rem 0.5rem;
|
|
}
|
|
|
|
.info {
|
|
.title {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
h3 {
|
|
width: auto;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.subtitle {
|
|
color: var(--color-text-secondary);
|
|
|
|
.matching-text-highlight {
|
|
display: inline-block;
|
|
|
|
padding: 0 0.125rem;
|
|
border-radius: 0.25rem;
|
|
|
|
color: var(--color-text);
|
|
|
|
background: #cae3f7;
|
|
|
|
.theme-dark & {
|
|
--color-text: #000;
|
|
}
|
|
}
|
|
}
|
|
|
|
.message {
|
|
overflow: hidden;
|
|
flex-grow: 1;
|
|
color: var(--color-text-secondary);
|
|
text-overflow: ellipsis;
|
|
|
|
.sender-name {
|
|
color: var(--color-text);
|
|
|
|
&::after {
|
|
content: ": ";
|
|
}
|
|
}
|
|
|
|
.media-preview-spoiler {
|
|
filter: blur(1px);
|
|
}
|
|
|
|
.media-preview--image {
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
margin-inline-start: 0.125rem;
|
|
margin-inline-end: 0.25rem;
|
|
border-radius: 0.125rem;
|
|
|
|
vertical-align: -0.25rem;
|
|
|
|
object-fit: cover;
|
|
}
|
|
|
|
.icon-play {
|
|
position: relative;
|
|
bottom: 0.0625rem;
|
|
|
|
display: inline-block;
|
|
|
|
margin-inline-start: -1.25rem;
|
|
margin-inline-end: 0.5rem;
|
|
|
|
font-size: 0.75rem;
|
|
color: #fff;
|
|
}
|
|
}
|
|
}
|
|
|
|
.info-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
&[dir="rtl"] {
|
|
.subtitle {
|
|
text-align: right;
|
|
}
|
|
}
|
|
}
|