2021-11-29 16:06:15 +00:00
|
|
|
/*
|
2022-03-30 11:43:54 +00:00
|
|
|
Copyright 2021 - 2022 The Matrix.org Foundation C.I.C.
|
2021-11-29 16:06:15 +00: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 13:11:18 +00:00
|
|
|
|
2021-11-29 16:06:15 +00:00
|
|
|
.mx_BaseCard_close {
|
|
|
|
margin: 8px;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
}
|
2022-02-08 13:11:18 +00:00
|
|
|
|
2022-03-30 11:43:54 +00:00
|
|
|
.mx_TimelineCard_timeline {
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative; // offset parent for jump to bottom button
|
|
|
|
flex: 1;
|
2022-04-13 15:33:54 +00:00
|
|
|
border-radius: 8px;
|
2022-03-30 11:43:54 +00:00
|
|
|
}
|
|
|
|
|
2022-02-08 13:11:18 +00:00
|
|
|
.mx_NewRoomIntro {
|
2022-05-18 13:08:39 +00:00
|
|
|
margin-inline-start: var(--BaseCard_EventTile-spacing-horizontal);
|
|
|
|
margin-inline-end: var(--BaseCard_EventTile-spacing-horizontal);
|
2022-02-08 13:11:18 +00:00
|
|
|
}
|
|
|
|
|
2021-12-13 16:46:32 +00:00
|
|
|
.mx_EventTile_content {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2022-02-08 13:11:18 +00:00
|
|
|
|
2022-04-14 21:13:46 +00:00
|
|
|
.mx_EventTile:not([data-layout="bubble"]) {
|
|
|
|
.mx_EventTile_line {
|
2022-05-18 13:08:39 +00:00
|
|
|
padding: var(--BaseCard_EventTile_line-padding-block) var(--BaseCard_EventTile-spacing-horizontal);
|
2022-05-13 18:04:27 +00:00
|
|
|
|
|
|
|
.mx_EventTile_e2eIcon {
|
|
|
|
inset-inline-start: 8px;
|
|
|
|
}
|
2022-05-07 03:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_DisambiguatedProfile,
|
|
|
|
.mx_ReactionsRow,
|
|
|
|
.mx_ThreadSummary {
|
2022-05-18 13:08:39 +00:00
|
|
|
margin-inline-start: var(--BaseCard_EventTile-spacing-horizontal);
|
2022-04-14 21:13:46 +00:00
|
|
|
}
|
2021-12-13 16:46:32 +00:00
|
|
|
|
2022-04-14 21:13:46 +00:00
|
|
|
.mx_ReactionsRow {
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
// See margin setting of ReactionsRow on _EventTile.scss
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
2022-02-08 13:11:18 +00:00
|
|
|
|
2022-04-27 17:10:27 +00:00
|
|
|
.mx_ThreadSummary {
|
2022-04-14 22:09:10 +00:00
|
|
|
margin-right: 0;
|
|
|
|
max-width: min(calc(100% - 36px), 600px);
|
|
|
|
}
|
2022-02-23 14:03:46 +00:00
|
|
|
|
2022-04-14 22:09:10 +00:00
|
|
|
.mx_EventTile_avatar {
|
2022-05-07 03:07:51 +00:00
|
|
|
position: absolute; // for IRC layout
|
2022-04-14 22:09:10 +00:00
|
|
|
top: 12px;
|
|
|
|
left: -3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MessageTimestamp {
|
2022-05-07 03:07:51 +00:00
|
|
|
position: absolute; // for modern layout and IRC layout
|
2022-04-14 22:09:10 +00:00
|
|
|
right: -4px;
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_EventTile_msgOption {
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_EventTile_info {
|
|
|
|
.mx_EventTile_line {
|
2022-05-18 13:08:39 +00:00
|
|
|
padding-left: var(--BaseCard_EventTile-spacing-horizontal);
|
2022-04-14 22:09:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_EventTile_avatar {
|
|
|
|
left: 18px;
|
|
|
|
}
|
|
|
|
}
|
2021-12-13 16:46:32 +00:00
|
|
|
}
|
2022-02-08 13:11:18 +00:00
|
|
|
|
2022-05-21 09:34:00 +00:00
|
|
|
.mx_EventTile,
|
|
|
|
.mx_GenericEventListSummary {
|
|
|
|
.mx_ThreadSummary {
|
|
|
|
position: relative;
|
|
|
|
padding-right: 11px;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
bottom: -16px;
|
|
|
|
height: 1px;
|
|
|
|
width: 100%;
|
|
|
|
border-bottom: 1px solid $message-action-bar-border-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-13 16:46:32 +00:00
|
|
|
.mx_CallEvent_wrapper {
|
|
|
|
justify-content: center;
|
|
|
|
margin: auto 5px;
|
|
|
|
.mx_CallEvent {
|
|
|
|
margin: 4px;
|
|
|
|
}
|
|
|
|
}
|
2022-02-08 13:11:18 +00:00
|
|
|
|
2022-05-18 13:08:39 +00:00
|
|
|
.mx_GenericEventListSummary:not([data-layout=bubble]) {
|
|
|
|
.mx_EventTile_line,
|
|
|
|
> .mx_GenericEventListSummary_unstyledList > .mx_EventTile_info .mx_EventTile_avatar ~ .mx_EventTile_line {
|
|
|
|
padding-inline-start: var(--BaseCard_EventTile-spacing-horizontal);
|
|
|
|
padding-inline-end: var(--BaseCard_EventTile-spacing-horizontal);
|
|
|
|
}
|
2022-02-08 13:11:18 +00:00
|
|
|
}
|
|
|
|
|
2022-04-22 15:09:44 +00:00
|
|
|
.mx_ReadReceiptGroup {
|
|
|
|
top: -6px;
|
2021-12-13 16:46:32 +00:00
|
|
|
}
|
|
|
|
|
2022-02-08 13:11:18 +00: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)
|
|
|
|
}
|
2022-04-13 15:33:54 +00:00
|
|
|
|
|
|
|
&.mx_BaseCard {
|
|
|
|
// For a chat timeline on the right panel when the widget is maximised
|
|
|
|
// TODO: rename ThreadPanel
|
|
|
|
&.mx_ThreadPanel {
|
|
|
|
padding-right: 8px; // .mx_RightPanel padding
|
|
|
|
}
|
|
|
|
}
|
2021-11-29 16:06:15 +00:00
|
|
|
}
|