2018-04-12 02:23:35 +03:00
|
|
|
/*
|
|
|
|
Copyright 2016 OpenMarket Ltd
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_FilePanel {
|
|
|
|
order: 2;
|
|
|
|
flex: 1 1 0;
|
|
|
|
overflow-y: auto;
|
2019-11-06 12:31:05 +03:00
|
|
|
display: flex;
|
2018-04-12 02:23:35 +03:00
|
|
|
|
2022-07-04 09:20:18 +03:00
|
|
|
.mx_RoomView_messageListWrapper {
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2020-09-17 18:23:06 +03:00
|
|
|
|
2022-07-04 09:20:18 +03:00
|
|
|
.mx_RoomView_MessageList {
|
|
|
|
width: 100%;
|
2018-04-12 02:23:35 +03:00
|
|
|
|
2022-07-04 09:20:18 +03:00
|
|
|
h2 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2018-04-12 02:23:35 +03:00
|
|
|
|
2022-07-04 09:20:18 +03:00
|
|
|
/* FIXME: rather than having EventTile's default CSS be for MessagePanel,
|
2018-04-12 02:23:35 +03:00
|
|
|
we should make EventTile a base CSS class and customise it specifically
|
|
|
|
for usage in {Message,File,Notification}Panel. */
|
|
|
|
|
2022-07-04 09:20:18 +03:00
|
|
|
.mx_EventTile_avatar {
|
|
|
|
display: none;
|
2021-07-22 17:00:41 +03:00
|
|
|
}
|
2018-04-12 02:23:35 +03:00
|
|
|
|
2023-04-27 16:02:34 +03:00
|
|
|
/* Overrides for the attachment body tiles */
|
2022-07-04 09:20:18 +03:00
|
|
|
.mx_EventTile {
|
2023-04-27 16:02:34 +03:00
|
|
|
word-break: break-word;
|
|
|
|
margin-top: 10px;
|
|
|
|
padding-top: 0;
|
2022-07-04 09:20:18 +03:00
|
|
|
|
2023-04-27 16:02:34 +03:00
|
|
|
.mx_EventTile_line {
|
|
|
|
padding-inline-start: 0;
|
|
|
|
}
|
2022-07-04 09:20:18 +03:00
|
|
|
|
2023-04-27 16:02:34 +03:00
|
|
|
&:hover {
|
|
|
|
&.mx_EventTile_verified,
|
|
|
|
&.mx_EventTile_unverified,
|
|
|
|
&.mx_EventTile_unknown {
|
|
|
|
.mx_EventTile_line {
|
|
|
|
box-shadow: none;
|
2022-07-04 09:20:18 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MFileBody {
|
|
|
|
line-height: 2.4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MFileBody_download {
|
|
|
|
padding-top: $spacing-8;
|
|
|
|
display: flex;
|
2022-07-13 08:09:09 +03:00
|
|
|
justify-content: space-between;
|
2022-07-04 09:20:18 +03:00
|
|
|
font-size: $font-14px;
|
|
|
|
color: $event-timestamp-color;
|
2022-07-13 08:09:09 +03:00
|
|
|
|
|
|
|
.mx_MImageBody_size {
|
|
|
|
font-size: $font-14px;
|
|
|
|
text-align: right;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2022-07-04 09:20:18 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MFileBody_downloadLink {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
color: $light-fg-color;
|
|
|
|
}
|
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* anchor link as wrapper */
|
2022-07-13 08:09:09 +03:00
|
|
|
.mx_EventTile_senderDetailsLink {
|
|
|
|
text-decoration: none;
|
2018-04-12 02:23:35 +03:00
|
|
|
|
2022-07-13 08:09:09 +03:00
|
|
|
.mx_EventTile_senderDetails {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-top: -2px;
|
2018-04-12 02:23:35 +03:00
|
|
|
|
2022-07-13 08:09:09 +03:00
|
|
|
.mx_DisambiguatedProfile {
|
2022-07-27 16:39:29 +03:00
|
|
|
color: $event-timestamp-color; /* for ellipsis. Color of displayName and mxid is inherited */
|
2022-07-13 08:09:09 +03:00
|
|
|
}
|
2018-04-12 02:23:35 +03:00
|
|
|
|
2022-07-13 08:09:09 +03:00
|
|
|
.mx_MessageTimestamp {
|
|
|
|
text-align: right;
|
|
|
|
font-size: $font-14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-07-04 09:20:18 +03:00
|
|
|
}
|
2018-04-12 02:23:35 +03:00
|
|
|
|
2022-07-04 09:20:18 +03:00
|
|
|
.mx_EventTile_line {
|
|
|
|
margin-inline-end: 0;
|
|
|
|
padding-inline-start: 0;
|
|
|
|
}
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
2019-04-09 17:03:13 +03:00
|
|
|
|
2020-07-31 19:31:22 +03:00
|
|
|
.mx_FilePanel_empty::before {
|
2023-05-09 08:02:08 +03:00
|
|
|
--maskImage: url("$(res)/img/element-icons/room/files.svg"); /* See: _RightPanel.pcss */
|
2020-07-31 19:31:22 +03:00
|
|
|
}
|