2018-04-12 01:23:35 +02:00
|
|
|
/*
|
2024-09-09 15:57:16 +02:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2018-04-12 01:23:35 +02:00
|
|
|
Copyright 2016 OpenMarket Ltd
|
|
|
|
|
2024-09-09 15:57:16 +02: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 01:23:35 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_FilePanel {
|
|
|
|
order: 2;
|
|
|
|
flex: 1 1 0;
|
|
|
|
overflow-y: auto;
|
2019-11-06 10:31:05 +01:00
|
|
|
display: flex;
|
2018-04-12 01:23:35 +02:00
|
|
|
|
2022-07-04 08:20:18 +02:00
|
|
|
.mx_RoomView_messageListWrapper {
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2020-09-17 17:23:06 +02:00
|
|
|
|
2022-07-04 08:20:18 +02:00
|
|
|
.mx_RoomView_MessageList {
|
|
|
|
width: 100%;
|
2024-10-14 20:08:05 +02:00
|
|
|
gap: var(--cpd-space-6x);
|
2022-07-04 08:20:18 +02:00
|
|
|
}
|
2018-04-12 01:23:35 +02:00
|
|
|
|
2022-07-04 08:20:18 +02:00
|
|
|
/* FIXME: rather than having EventTile's default CSS be for MessagePanel,
|
2018-04-12 01:23:35 +02:00
|
|
|
we should make EventTile a base CSS class and customise it specifically
|
|
|
|
for usage in {Message,File,Notification}Panel. */
|
|
|
|
|
2023-04-27 15:02:34 +02:00
|
|
|
/* Overrides for the attachment body tiles */
|
2022-07-04 08:20:18 +02:00
|
|
|
.mx_EventTile {
|
2023-04-27 15:02:34 +02:00
|
|
|
word-break: break-word;
|
|
|
|
padding-top: 0;
|
2022-07-04 08:20:18 +02:00
|
|
|
|
2024-10-14 20:08:05 +02:00
|
|
|
& + .mx_EventTile {
|
|
|
|
border-top: 1px solid var(--cpd-color-gray-400);
|
|
|
|
padding-top: var(--cpd-space-6x);
|
2023-04-27 15:02:34 +02:00
|
|
|
}
|
2022-07-04 08:20:18 +02:00
|
|
|
|
2024-10-14 20:08:05 +02:00
|
|
|
.mx_EventTile_line {
|
|
|
|
padding-inline-start: 0;
|
2022-07-04 08:20:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MFileBody_download {
|
2024-10-14 20:08:05 +02:00
|
|
|
margin-top: var(--cpd-space-4x);
|
2022-07-04 08:20:18 +02:00
|
|
|
}
|
|
|
|
|
2022-07-27 15:39:29 +02:00
|
|
|
/* anchor link as wrapper */
|
2022-07-13 07:09:09 +02:00
|
|
|
.mx_EventTile_senderDetailsLink {
|
|
|
|
text-decoration: none;
|
2024-10-14 20:08:05 +02:00
|
|
|
margin-bottom: var(--cpd-space-1x);
|
|
|
|
display: block;
|
2018-04-12 01:23:35 +02:00
|
|
|
|
2022-07-13 07:09:09 +02:00
|
|
|
.mx_EventTile_senderDetails {
|
|
|
|
display: flex;
|
|
|
|
margin-top: -2px;
|
2024-10-14 20:08:05 +02:00
|
|
|
gap: var(--cpd-space-2x);
|
|
|
|
align-items: center;
|
2018-04-12 01:23:35 +02:00
|
|
|
|
2022-07-13 07:09:09 +02:00
|
|
|
.mx_DisambiguatedProfile {
|
2022-07-27 15:39:29 +02:00
|
|
|
color: $event-timestamp-color; /* for ellipsis. Color of displayName and mxid is inherited */
|
2022-07-13 07:09:09 +02:00
|
|
|
}
|
2018-04-12 01:23:35 +02:00
|
|
|
|
2022-07-13 07:09:09 +02:00
|
|
|
.mx_MessageTimestamp {
|
2024-10-14 20:08:05 +02:00
|
|
|
margin-left: auto;
|
|
|
|
font: var(--cpd-font-body-xs-regular);
|
|
|
|
color: var(--cpd-color-text-secondary);
|
2022-07-13 07:09:09 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-07-04 08:20:18 +02:00
|
|
|
}
|
2018-04-12 01:23:35 +02:00
|
|
|
|
2022-07-04 08:20:18 +02:00
|
|
|
.mx_EventTile_line {
|
|
|
|
margin-inline-end: 0;
|
|
|
|
padding-inline-start: 0;
|
|
|
|
}
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|