2018-04-12 07:23:35 +08:00
|
|
|
/*
|
2024-09-09 21:57:16 +08:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2018-04-12 07:23:35 +08:00
|
|
|
Copyright 2016 OpenMarket Ltd
|
|
|
|
|
2024-09-09 21:57:16 +08:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
2018-04-12 07:23:35 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_FilePanel {
|
|
|
|
order: 2;
|
|
|
|
flex: 1 1 0;
|
|
|
|
overflow-y: auto;
|
2019-11-06 17:31:05 +08:00
|
|
|
display: flex;
|
2018-04-12 07:23:35 +08:00
|
|
|
|
2022-07-04 14:20:18 +08:00
|
|
|
.mx_RoomView_messageListWrapper {
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2020-09-17 23:23:06 +08:00
|
|
|
|
2022-07-04 14:20:18 +08:00
|
|
|
.mx_RoomView_MessageList {
|
|
|
|
width: 100%;
|
2018-04-12 07:23:35 +08:00
|
|
|
|
2022-07-04 14:20:18 +08:00
|
|
|
h2 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2018-04-12 07:23:35 +08:00
|
|
|
|
2022-07-04 14:20:18 +08:00
|
|
|
/* FIXME: rather than having EventTile's default CSS be for MessagePanel,
|
2018-04-12 07:23:35 +08:00
|
|
|
we should make EventTile a base CSS class and customise it specifically
|
|
|
|
for usage in {Message,File,Notification}Panel. */
|
|
|
|
|
2022-07-04 14:20:18 +08:00
|
|
|
.mx_EventTile_avatar {
|
|
|
|
display: none;
|
2021-07-22 22:00:41 +08:00
|
|
|
}
|
2018-04-12 07:23:35 +08:00
|
|
|
|
2023-04-27 21:02:34 +08:00
|
|
|
/* Overrides for the attachment body tiles */
|
2022-07-04 14:20:18 +08:00
|
|
|
.mx_EventTile {
|
2023-04-27 21:02:34 +08:00
|
|
|
word-break: break-word;
|
|
|
|
margin-top: 10px;
|
|
|
|
padding-top: 0;
|
2022-07-04 14:20:18 +08:00
|
|
|
|
2023-04-27 21:02:34 +08:00
|
|
|
.mx_EventTile_line {
|
|
|
|
padding-inline-start: 0;
|
|
|
|
}
|
2022-07-04 14:20:18 +08:00
|
|
|
|
|
|
|
.mx_MFileBody {
|
|
|
|
line-height: 2.4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MFileBody_download {
|
|
|
|
padding-top: $spacing-8;
|
|
|
|
display: flex;
|
2022-07-13 13:09:09 +08:00
|
|
|
justify-content: space-between;
|
2023-06-29 18:30:25 +08:00
|
|
|
font: var(--cpd-font-body-md-regular);
|
2022-07-04 14:20:18 +08:00
|
|
|
color: $event-timestamp-color;
|
2022-07-13 13:09:09 +08:00
|
|
|
|
|
|
|
.mx_MImageBody_size {
|
2023-06-29 18:30:25 +08:00
|
|
|
font: var(--cpd-font-body-md-regular);
|
2022-07-13 13:09:09 +08:00
|
|
|
text-align: right;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2022-07-04 14:20:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MFileBody_downloadLink {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
color: $light-fg-color;
|
|
|
|
}
|
|
|
|
|
2022-07-27 21:39:29 +08:00
|
|
|
/* anchor link as wrapper */
|
2022-07-13 13:09:09 +08:00
|
|
|
.mx_EventTile_senderDetailsLink {
|
|
|
|
text-decoration: none;
|
2018-04-12 07:23:35 +08:00
|
|
|
|
2022-07-13 13:09:09 +08:00
|
|
|
.mx_EventTile_senderDetails {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-top: -2px;
|
2018-04-12 07:23:35 +08:00
|
|
|
|
2022-07-13 13:09:09 +08:00
|
|
|
.mx_DisambiguatedProfile {
|
2022-07-27 21:39:29 +08:00
|
|
|
color: $event-timestamp-color; /* for ellipsis. Color of displayName and mxid is inherited */
|
2022-07-13 13:09:09 +08:00
|
|
|
}
|
2018-04-12 07:23:35 +08:00
|
|
|
|
2022-07-13 13:09:09 +08:00
|
|
|
.mx_MessageTimestamp {
|
|
|
|
text-align: right;
|
2023-07-13 01:46:49 +08:00
|
|
|
color: $secondary-content;
|
|
|
|
font: var(--cpd-font-body-sm-regular);
|
2022-07-13 13:09:09 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-07-04 14:20:18 +08:00
|
|
|
}
|
2018-04-12 07:23:35 +08:00
|
|
|
|
2022-07-04 14:20:18 +08:00
|
|
|
.mx_EventTile_line {
|
|
|
|
margin-inline-end: 0;
|
|
|
|
padding-inline-start: 0;
|
|
|
|
}
|
2018-04-12 07:23:35 +08:00
|
|
|
}
|