2021-11-30 00:06:15 +08:00
|
|
|
/*
|
2022-03-30 19:43:54 +08:00
|
|
|
Copyright 2021 - 2022 The Matrix.org Foundation C.I.C.
|
2021-11-30 00:06:15 +08:00
|
|
|
|
|
|
|
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_TimelineCard {
|
|
|
|
.mx_TimelineCard__header {
|
|
|
|
margin-left: 6px;
|
|
|
|
|
|
|
|
span:first-of-type {
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: 15px;
|
|
|
|
line-height: 18px;
|
|
|
|
color: $secondary-content;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_BaseCard_header {
|
|
|
|
margin: 5px 0 9px 0;
|
2022-02-08 21:11:18 +08:00
|
|
|
|
2021-11-30 00:06:15 +08:00
|
|
|
.mx_BaseCard_close {
|
|
|
|
margin: 8px;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
}
|
2022-02-08 21:11:18 +08:00
|
|
|
|
2022-03-30 19:43:54 +08:00
|
|
|
.mx_TimelineCard_timeline {
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative; // offset parent for jump to bottom button
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
2021-12-14 00:46:32 +08:00
|
|
|
.mx_AutoHideScrollbar {
|
|
|
|
padding-right: 10px;
|
|
|
|
width: calc(100% - 10px);
|
|
|
|
}
|
|
|
|
|
2022-02-08 21:11:18 +08:00
|
|
|
.mx_NewRoomIntro {
|
|
|
|
margin-left: 36px;
|
|
|
|
}
|
|
|
|
|
2021-12-14 00:46:32 +08:00
|
|
|
.mx_EventTile_content {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2022-02-08 21:11:18 +08:00
|
|
|
|
2021-12-14 00:46:32 +08:00
|
|
|
.mx_EventTile:not([data-layout="bubble"]) .mx_EventTile_line {
|
|
|
|
padding-left: 36px;
|
|
|
|
padding-right: 36px;
|
|
|
|
}
|
|
|
|
|
2022-02-08 21:11:18 +08:00
|
|
|
.mx_EventTile:not([data-layout="bubble"]) .mx_ReactionsRow {
|
|
|
|
padding-left: 36px;
|
|
|
|
padding-right: 36px;
|
|
|
|
}
|
|
|
|
|
2022-02-23 22:03:46 +08:00
|
|
|
.mx_EventTile:not([data-layout="bubble"]) .mx_ThreadInfo {
|
|
|
|
margin-left: 36px;
|
|
|
|
margin-right: 0;
|
|
|
|
max-width: min(calc(100% - 36px), 600px);
|
|
|
|
}
|
|
|
|
|
2022-03-23 13:45:53 +08:00
|
|
|
.mx_GroupLayout .mx_EventTile > .mx_DisambiguatedProfile {
|
2021-12-14 00:46:32 +08:00
|
|
|
margin-left: 36px;
|
|
|
|
}
|
2022-02-08 21:11:18 +08:00
|
|
|
|
2021-12-14 00:46:32 +08:00
|
|
|
.mx_EventTile:not([data-layout="bubble"]) .mx_EventTile_avatar {
|
|
|
|
top: 12px;
|
2022-02-08 21:11:18 +08:00
|
|
|
left: -3px;
|
2021-12-14 00:46:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_CallEvent_wrapper {
|
|
|
|
justify-content: center;
|
|
|
|
margin: auto 5px;
|
|
|
|
.mx_CallEvent {
|
|
|
|
margin: 4px;
|
|
|
|
}
|
|
|
|
}
|
2022-02-08 21:11:18 +08:00
|
|
|
|
2021-12-14 00:46:32 +08:00
|
|
|
.mx_EventTile:not([data-layout="bubble"]) .mx_MessageTimestamp {
|
|
|
|
right: -4px;
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_EventTile:not([data-layout="bubble"]) .mx_EventTile_msgOption {
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
2022-02-08 21:11:18 +08:00
|
|
|
|
2022-02-28 18:23:01 +08:00
|
|
|
.mx_GenericEventListSummary:not([data-layout=bubble]) .mx_EventTile_line,
|
|
|
|
.mx_GenericEventListSummary:not([data-layout=bubble]) > .mx_GenericEventListSummary_unstyledList > .mx_EventTile_info .mx_EventTile_avatar ~ .mx_EventTile_line {
|
2022-02-08 21:11:18 +08:00
|
|
|
padding-left: 36px;
|
|
|
|
}
|
|
|
|
|
2021-12-14 00:46:32 +08:00
|
|
|
.mx_GroupLayout .mx_EventTile .mx_EventTile_line {
|
|
|
|
padding-bottom: 8px;
|
|
|
|
}
|
2022-02-08 21:11:18 +08:00
|
|
|
|
2021-12-14 00:46:32 +08:00
|
|
|
.mx_EventTile_readAvatars {
|
|
|
|
top: -10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_EventTile:not([data-layout="bubble"]).mx_EventTile_info .mx_EventTile_line {
|
|
|
|
padding-left: 36px;
|
|
|
|
}
|
2022-02-08 21:11:18 +08:00
|
|
|
|
2021-12-14 00:46:32 +08:00
|
|
|
.mx_EventTile:not([data-layout="bubble"]).mx_EventTile_info .mx_EventTile_avatar {
|
|
|
|
left: 18px;
|
|
|
|
}
|
2022-02-08 21:11:18 +08:00
|
|
|
|
|
|
|
.mx_WhoIsTypingTile {
|
|
|
|
margin-left: -12px; // undo padding on the message list
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_WhoIsTypingTile_avatars {
|
|
|
|
flex-basis: 48px; // 12 (padding on message list) + 36 (padding on event lines)
|
|
|
|
}
|
2021-11-30 00:06:15 +08:00
|
|
|
}
|