mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-15 07:32:03 +03:00
f938bfaab9
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
87 lines
2.3 KiB
SCSS
87 lines
2.3 KiB
SCSS
/*
|
|
Copyright 2021 The Matrix.org Foundation C.I.C.
|
|
|
|
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;
|
|
.mx_BaseCard_close {
|
|
margin: 8px;
|
|
right: 0;
|
|
}
|
|
}
|
|
.mx_AutoHideScrollbar {
|
|
padding-right: 10px;
|
|
width: calc(100% - 10px);
|
|
}
|
|
|
|
// Style to optimize the layout for the right panel area
|
|
.mx_EventTile_content {
|
|
margin-right: 0;
|
|
}
|
|
.mx_EventTile:not([data-layout="bubble"]) .mx_EventTile_line {
|
|
padding-left: 36px;
|
|
padding-right: 36px;
|
|
}
|
|
|
|
.mx_GroupLayout .mx_EventTile > .mx_SenderProfile {
|
|
margin-left: 36px;
|
|
}
|
|
.mx_EventTile:not([data-layout="bubble"]) .mx_EventTile_avatar {
|
|
top: 12px;
|
|
left: 0px;
|
|
}
|
|
|
|
.mx_CallEvent_wrapper {
|
|
justify-content: center;
|
|
margin: auto 5px;
|
|
.mx_CallEvent {
|
|
margin: 4px;
|
|
}
|
|
}
|
|
.mx_EventTile:not([data-layout="bubble"]) .mx_MessageTimestamp {
|
|
right: -4px;
|
|
left: auto;
|
|
}
|
|
|
|
.mx_EventTile:not([data-layout="bubble"]) .mx_EventTile_msgOption {
|
|
margin-right: 2px;
|
|
}
|
|
.mx_GroupLayout .mx_EventTile .mx_EventTile_line {
|
|
padding-bottom: 8px;
|
|
}
|
|
.mx_EventTile_readAvatars {
|
|
top: -10px;
|
|
}
|
|
|
|
// mx_EventTile_info
|
|
.mx_EventTile:not([data-layout="bubble"]).mx_EventTile_info .mx_EventTile_line {
|
|
padding-left: 36px;
|
|
}
|
|
.mx_EventTile:not([data-layout="bubble"]).mx_EventTile_info .mx_EventTile_avatar {
|
|
left: 18px;
|
|
}
|
|
}
|