2018-04-11 23:23:35 +00: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 09:31:05 +00:00
|
|
|
display: flex;
|
2018-04-11 23:23:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_FilePanel .mx_RoomView_messageListWrapper {
|
2020-09-17 15:23:06 +00:00
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_FilePanel .mx_RoomView_MessageList {
|
|
|
|
width: 100%;
|
2018-04-11 23:23:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_FilePanel .mx_RoomView_MessageList h2 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* FIXME: rather than having EventTile's default CSS be for MessagePanel,
|
|
|
|
we should make EventTile a base CSS class and customise it specifically
|
|
|
|
for usage in {Message,File,Notification}Panel. */
|
|
|
|
|
|
|
|
.mx_FilePanel .mx_EventTile_avatar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Overrides for the attachment body tiles */
|
|
|
|
|
2021-07-22 14:00:41 +00:00
|
|
|
.mx_FilePanel .mx_EventTile:not([data-layout=bubble]) {
|
2018-04-11 23:23:35 +00:00
|
|
|
word-break: break-word;
|
2021-07-22 14:00:41 +00:00
|
|
|
margin-top: 10px;
|
|
|
|
padding-top: 0;
|
|
|
|
|
|
|
|
.mx_EventTile_line {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
2018-04-11 23:23:35 +00:00
|
|
|
}
|
|
|
|
|
2020-07-27 14:16:28 +00:00
|
|
|
.mx_FilePanel .mx_EventTile .mx_MFileBody {
|
|
|
|
line-height: 2.4rem;
|
|
|
|
}
|
|
|
|
|
2018-04-29 03:41:30 +00:00
|
|
|
.mx_FilePanel .mx_EventTile .mx_MFileBody_download {
|
2020-07-27 14:16:28 +00:00
|
|
|
padding-top: 8px;
|
2018-04-11 23:23:35 +00:00
|
|
|
display: flex;
|
2020-03-31 14:26:23 +00:00
|
|
|
font-size: $font-14px;
|
2018-04-11 23:23:35 +00:00
|
|
|
color: $event-timestamp-color;
|
|
|
|
}
|
|
|
|
|
2018-04-29 03:41:30 +00:00
|
|
|
.mx_FilePanel .mx_EventTile .mx_MFileBody_downloadLink {
|
2018-04-11 23:23:35 +00:00
|
|
|
flex: 1 1 auto;
|
|
|
|
color: $light-fg-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_FilePanel .mx_EventTile .mx_MImageBody_size {
|
|
|
|
flex: 1 0 0;
|
2020-07-27 14:16:28 +00:00
|
|
|
font-size: $font-14px;
|
2018-04-11 23:23:35 +00:00
|
|
|
text-align: right;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Overides for the sender details line */
|
|
|
|
|
|
|
|
.mx_FilePanel .mx_EventTile_senderDetails {
|
|
|
|
display: flex;
|
|
|
|
margin-top: -2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_FilePanel .mx_EventTile_senderDetailsLink {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2022-03-22 22:14:55 +00:00
|
|
|
.mx_FilePanel .mx_EventTile .mx_DisambiguatedProfile {
|
2018-04-11 23:23:35 +00:00
|
|
|
flex: 1 1 auto;
|
|
|
|
line-height: initial;
|
|
|
|
padding: 0px;
|
2020-07-27 14:16:28 +00:00
|
|
|
font-size: $font-14px;
|
2018-04-11 23:23:35 +00:00
|
|
|
opacity: 1.0;
|
|
|
|
color: $event-timestamp-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_FilePanel .mx_EventTile .mx_MessageTimestamp {
|
|
|
|
flex: 1 0 0;
|
|
|
|
text-align: right;
|
|
|
|
visibility: visible;
|
|
|
|
position: initial;
|
2020-07-27 14:16:28 +00:00
|
|
|
font-size: $font-14px;
|
2018-04-11 23:23:35 +00:00
|
|
|
opacity: 1.0;
|
|
|
|
color: $event-timestamp-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Overrides for the wrappers around the body tile */
|
|
|
|
|
|
|
|
.mx_FilePanel .mx_EventTile_line {
|
|
|
|
margin-right: 0px;
|
|
|
|
padding-left: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_FilePanel .mx_EventTile_selected .mx_EventTile_line {
|
|
|
|
padding-left: 0px;
|
|
|
|
}
|
2019-04-09 14:03:13 +00:00
|
|
|
|
2020-07-31 16:31:22 +00:00
|
|
|
.mx_FilePanel_empty::before {
|
|
|
|
mask-image: url('$(res)/img/element-icons/room/files.svg');
|
|
|
|
}
|