Add right panel chat timeline (#7112)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
parent
f5f1f18007
commit
4cbed99de3
14 changed files with 243 additions and 17 deletions
|
@ -205,6 +205,7 @@
|
|||
@import "./views/right_panel/_PinnedMessagesCard.scss";
|
||||
@import "./views/right_panel/_RoomSummaryCard.scss";
|
||||
@import "./views/right_panel/_ThreadPanel.scss";
|
||||
@import "./views/right_panel/_TimelineCard.scss";
|
||||
@import "./views/right_panel/_UserInfo.scss";
|
||||
@import "./views/right_panel/_VerificationPanel.scss";
|
||||
@import "./views/right_panel/_WidgetCard.scss";
|
||||
|
|
|
@ -144,6 +144,13 @@ $pulse-color: $alert;
|
|||
}
|
||||
}
|
||||
|
||||
.mx_RightPanel_timelineCardButton {
|
||||
&::before {
|
||||
mask-image: url('$(res)/img/element-icons/feedback.svg');
|
||||
mask-position: center;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes mx_RightPanel_indicator_pulse {
|
||||
0% {
|
||||
transform: scale(0.95);
|
||||
|
|
36
res/css/views/right_panel/_TimelineCard.scss
Normal file
36
res/css/views/right_panel/_TimelineCard.scss
Normal file
|
@ -0,0 +1,36 @@
|
|||
/*
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue