136 lines
2.4 KiB
SCSS
136 lines
2.4 KiB
SCSS
.MessageMeta {
|
|
position: absolute;
|
|
height: 1.25rem;
|
|
bottom: 0;
|
|
right: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
background: rgba(#999999, 0.6);
|
|
border-radius: .625rem;
|
|
padding: 0 .25rem;
|
|
color: white;
|
|
cursor: pointer;
|
|
max-width: 100%;
|
|
|
|
.message-time,
|
|
.message-signature,
|
|
.message-views {
|
|
font-size: .75rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.message-time {
|
|
margin-inline-end: .1875rem;
|
|
}
|
|
|
|
body.is-ios & {
|
|
.message-time {
|
|
margin-inline-end: .25rem;
|
|
}
|
|
}
|
|
|
|
.message-views {
|
|
margin-inline-start: .1875rem;
|
|
}
|
|
|
|
.message-signature {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
margin-right: 0.375rem;
|
|
}
|
|
|
|
.icon-channelviews {
|
|
margin-inline-start: 0.125rem;
|
|
margin-inline-end: 0.375rem;
|
|
font-size: 1.125rem;
|
|
position: relative;
|
|
top: -0.0625rem;
|
|
}
|
|
|
|
.has-solid-background & {
|
|
color: rgba(var(--color-text-meta-rgb), 0.75);
|
|
background: none;
|
|
}
|
|
|
|
.media:not(.text) &,
|
|
.Message .custom-shape & {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
--color-accent-own: white;
|
|
--color-accent: white;
|
|
color: white !important;
|
|
opacity: 1;
|
|
bottom: .25rem;
|
|
right: .25rem;
|
|
left: auto;
|
|
height: 1.125rem;
|
|
padding: 0 .3125rem 0 .375rem;
|
|
|
|
.MessageOutgoingStatus i {
|
|
background: transparent;
|
|
}
|
|
}
|
|
|
|
.media:not(.text):dir(rtl) &,
|
|
.Message .custom-shape:dir(rtl) & {
|
|
right: auto !important;
|
|
left: .25rem;
|
|
padding: 0 .375rem 0 .3125rem;
|
|
}
|
|
|
|
.is-forwarded.media:not(.text):dir(rtl) &,
|
|
.Message .is-forwarded.custom-shape:dir(rtl) & {
|
|
left: .8125rem;
|
|
}
|
|
|
|
.is-forwarded.media:not(.text) & {
|
|
bottom: 0.935rem;
|
|
right: 0.8125rem;
|
|
}
|
|
|
|
.emoji-only & {
|
|
right: 0;
|
|
}
|
|
|
|
.Message.own .has-solid-background & {
|
|
color: var(--color-message-meta-own);
|
|
}
|
|
|
|
.MessageOutgoingStatus {
|
|
margin-left: -.1875rem;
|
|
font-size: 1.1875rem;
|
|
border-radius: .625rem;
|
|
|
|
.Message.own & {
|
|
color: var(--color-accent-own);
|
|
}
|
|
}
|
|
|
|
.message-content.has-replies:not(.custom-shape) & {
|
|
bottom: 3.375rem;
|
|
}
|
|
|
|
.message-content.has-replies.text:not(.custom-shape) & {
|
|
bottom: 3.4375rem;
|
|
}
|
|
}
|
|
|
|
.Message:not(.own) {
|
|
.custom-shape .reply-message + .MessageMeta {
|
|
right: auto;
|
|
left: 13.2rem;
|
|
bottom: 0.25rem;
|
|
}
|
|
|
|
.emoji-only-1 .reply-message + .MessageMeta {
|
|
left: 2.5rem;
|
|
}
|
|
|
|
.emoji-only-2 .reply-message + .MessageMeta {
|
|
left: 5.5rem;
|
|
}
|
|
|
|
.emoji-only-3 .reply-message + .MessageMeta {
|
|
left: 6.5rem;
|
|
}
|
|
}
|