2019-05-30 00:03:05 +08:00
|
|
|
/*
|
|
|
|
Copyright 2019 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.
|
|
|
|
*/
|
|
|
|
|
2019-06-25 20:50:56 +08:00
|
|
|
.mx_MessageEditHistoryDialog {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
max-height: 60vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MessageEditHistoryDialog_scrollPanel {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
2019-07-03 18:16:58 +08:00
|
|
|
.mx_MessageEditHistoryDialog_error {
|
2021-11-11 21:37:29 +08:00
|
|
|
color: $alert;
|
2019-07-03 18:16:58 +08:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2019-06-25 20:50:56 +08:00
|
|
|
.mx_MessageEditHistoryDialog_edits {
|
2019-05-30 00:03:05 +08:00
|
|
|
list-style-type: none;
|
2020-03-31 22:26:23 +08:00
|
|
|
font-size: $font-14px;
|
2019-06-26 17:56:58 +08:00
|
|
|
padding: 0;
|
2021-08-12 17:27:12 +08:00
|
|
|
color: $primary-content;
|
2019-05-30 00:03:05 +08:00
|
|
|
|
2019-07-19 22:09:23 +08:00
|
|
|
span.mx_EditHistoryMessage_deletion, span.mx_EditHistoryMessage_insertion {
|
|
|
|
padding: 0px 2px;
|
|
|
|
}
|
|
|
|
|
2019-07-23 15:12:24 +08:00
|
|
|
.mx_EditHistoryMessage_deletion {
|
2019-07-19 22:09:23 +08:00
|
|
|
color: rgb(255, 76, 85);
|
|
|
|
background-color: rgba(255, 76, 85, 0.1);
|
2019-07-31 20:44:48 +08:00
|
|
|
text-decoration: line-through;
|
2019-07-19 22:09:23 +08:00
|
|
|
}
|
|
|
|
|
2019-07-23 15:12:24 +08:00
|
|
|
.mx_EditHistoryMessage_insertion {
|
2019-07-19 22:09:23 +08:00
|
|
|
color: rgb(26, 169, 123);
|
|
|
|
background-color: rgba(26, 169, 123, 0.1);
|
2019-07-31 20:44:48 +08:00
|
|
|
text-decoration: underline;
|
2019-07-19 22:09:23 +08:00
|
|
|
}
|
|
|
|
|
2022-05-07 11:07:51 +08:00
|
|
|
.mx_EventTile {
|
2022-06-07 13:00:27 +08:00
|
|
|
padding-top: 0 !important; // Override mx_EventTile:not([data-layout=bubble])
|
|
|
|
|
2022-05-07 11:07:51 +08:00
|
|
|
.mx_MessageTimestamp {
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
2022-06-07 13:00:27 +08:00
|
|
|
.mx_EventTile_line {
|
|
|
|
padding-top: 1px;
|
|
|
|
padding-bottom: 3px;
|
|
|
|
|
|
|
|
line-height: $font-22px;
|
|
|
|
|
|
|
|
.mx_EventTile_content {
|
|
|
|
margin-right: 0px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-30 00:03:05 +08:00
|
|
|
}
|
2019-07-04 17:07:22 +08:00
|
|
|
|
|
|
|
.mx_MessageActionBar .mx_AccessibleButton {
|
2022-06-07 13:00:27 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
padding-inline-start: $spacing-8;
|
|
|
|
padding-inline-end: $spacing-8;
|
|
|
|
|
|
|
|
font-size: $font-15px;
|
2019-07-04 17:07:22 +08:00
|
|
|
}
|
2019-05-30 00:03:05 +08:00
|
|
|
}
|