2018-04-12 02:23:35 +03:00
|
|
|
/*
|
|
|
|
Copyright 2015, 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_NotificationPanel {
|
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
.mx_NotificationPanel .mx_RoomView_messageListWrapper {
|
2020-09-17 18:23:06 +03:00
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_NotificationPanel .mx_RoomView_MessageList {
|
|
|
|
width: 100%;
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_NotificationPanel .mx_RoomView_MessageList h2 {
|
|
|
|
margin-left: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 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_NotificationPanel .mx_EventTile {
|
|
|
|
word-break: break-word;
|
2020-09-17 18:23:06 +03:00
|
|
|
position: relative;
|
|
|
|
padding-bottom: 18px;
|
|
|
|
|
2020-09-17 19:40:48 +03:00
|
|
|
&:not(.mx_EventTile_last):not(.mx_EventTile_lastInSection)::after {
|
2020-09-17 18:23:06 +03:00
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2021-08-12 12:53:54 +03:00
|
|
|
background-color: $tertiary-content;
|
2020-09-17 18:23:06 +03:00
|
|
|
height: 1px;
|
|
|
|
opacity: 0.4;
|
|
|
|
content: '';
|
|
|
|
}
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_NotificationPanel .mx_EventTile_roomName {
|
|
|
|
font-weight: bold;
|
2020-03-31 17:26:23 +03:00
|
|
|
font-size: $font-14px;
|
2020-09-17 18:23:06 +03:00
|
|
|
|
|
|
|
> * {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .mx_BaseAvatar {
|
2020-09-17 19:44:58 +03:00
|
|
|
margin-right: 8px;
|
2020-09-17 18:23:06 +03:00
|
|
|
}
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_NotificationPanel .mx_EventTile_roomName a {
|
2021-08-12 12:27:12 +03:00
|
|
|
color: $primary-content;
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_NotificationPanel .mx_EventTile_avatar {
|
2020-09-17 19:44:18 +03:00
|
|
|
display: none; // we don't need this in this view
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
|
|
|
|
2022-03-23 01:14:55 +03:00
|
|
|
.mx_NotificationPanel .mx_EventTile .mx_DisambiguatedProfile,
|
2018-04-12 02:23:35 +03:00
|
|
|
.mx_NotificationPanel .mx_EventTile .mx_MessageTimestamp {
|
2021-08-12 12:27:12 +03:00
|
|
|
color: $primary-content;
|
2020-03-31 17:26:23 +03:00
|
|
|
font-size: $font-12px;
|
2018-04-12 02:23:35 +03:00
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2021-07-22 17:00:41 +03:00
|
|
|
.mx_NotificationPanel .mx_EventTile:not([data-layout=bubble]) .mx_EventTile_senderDetails {
|
2020-09-17 19:44:18 +03:00
|
|
|
padding-left: 36px; // align with the room name
|
2018-04-12 02:23:35 +03:00
|
|
|
position: relative;
|
2020-05-26 17:56:16 +03:00
|
|
|
|
|
|
|
a {
|
|
|
|
display: flex;
|
|
|
|
}
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_NotificationPanel .mx_EventTile_roomName a,
|
|
|
|
.mx_NotificationPanel .mx_EventTile_senderDetails a {
|
2019-04-09 17:05:39 +03:00
|
|
|
text-decoration: none !important;
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_NotificationPanel .mx_EventTile .mx_MessageTimestamp {
|
|
|
|
visibility: visible;
|
|
|
|
position: initial;
|
|
|
|
display: inline;
|
2021-06-07 18:21:53 +03:00
|
|
|
padding-left: 5px;
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
|
|
|
|
2021-07-22 17:00:41 +03:00
|
|
|
.mx_NotificationPanel .mx_EventTile:not([data-layout=bubble]) .mx_EventTile_line {
|
2018-04-12 02:23:35 +03:00
|
|
|
margin-right: 0px;
|
2020-09-17 19:44:18 +03:00
|
|
|
padding-left: 36px; // align with the room name
|
2018-04-12 02:23:35 +03:00
|
|
|
padding-top: 0px;
|
|
|
|
padding-bottom: 0px;
|
|
|
|
padding-right: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_NotificationPanel .mx_EventTile_selected .mx_EventTile_line {
|
|
|
|
padding-left: 0px;
|
|
|
|
}
|
|
|
|
|
2019-04-09 17:03:13 +03:00
|
|
|
.mx_NotificationPanel .mx_EventTile:hover .mx_EventTile_line {
|
2021-08-12 12:10:47 +03:00
|
|
|
background-color: $background;
|
2019-04-09 17:03:13 +03:00
|
|
|
}
|
|
|
|
|
2018-04-12 02:23:35 +03:00
|
|
|
.mx_NotificationPanel .mx_EventTile_content {
|
|
|
|
margin-right: 0px;
|
2018-10-24 14:50:58 +03:00
|
|
|
}
|
2020-07-31 19:31:22 +03:00
|
|
|
|
|
|
|
.mx_NotificationPanel_empty::before {
|
|
|
|
mask-image: url('$(res)/img/element-icons/notifications.svg');
|
|
|
|
}
|