2019-05-29 18:03:05 +02:00
|
|
|
/*
|
2024-09-09 15:57:16 +02:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2019-05-29 18:03:05 +02:00
|
|
|
Copyright 2019 The Matrix.org Foundation C.I.C.
|
|
|
|
|
2024-09-09 15:57:16 +02:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
2019-05-29 18:03:05 +02:00
|
|
|
*/
|
|
|
|
|
2019-06-25 14:50:56 +02:00
|
|
|
.mx_MessageEditHistoryDialog {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
max-height: 60vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MessageEditHistoryDialog_scrollPanel {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
2019-07-03 12:16:58 +02:00
|
|
|
.mx_MessageEditHistoryDialog_error {
|
2021-11-11 14:37:29 +01:00
|
|
|
color: $alert;
|
2019-07-03 12:16:58 +02:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2019-06-25 14:50:56 +02:00
|
|
|
.mx_MessageEditHistoryDialog_edits {
|
2019-05-29 18:03:05 +02:00
|
|
|
list-style-type: none;
|
2023-06-29 12:30:25 +02:00
|
|
|
font: var(--cpd-font-body-md-regular);
|
2019-06-26 11:56:58 +02:00
|
|
|
padding: 0;
|
2021-08-12 11:27:12 +02:00
|
|
|
color: $primary-content;
|
2019-05-29 18:03:05 +02:00
|
|
|
|
2022-12-12 12:24:14 +01:00
|
|
|
span.mx_EditHistoryMessage_deletion,
|
|
|
|
span.mx_EditHistoryMessage_insertion {
|
2019-07-19 16:09:23 +02:00
|
|
|
padding: 0px 2px;
|
|
|
|
}
|
|
|
|
|
2019-07-23 09:12:24 +02:00
|
|
|
.mx_EditHistoryMessage_deletion {
|
2019-07-19 16:09:23 +02:00
|
|
|
color: rgb(255, 76, 85);
|
|
|
|
background-color: rgba(255, 76, 85, 0.1);
|
2019-07-31 14:44:48 +02:00
|
|
|
text-decoration: line-through;
|
2019-07-19 16:09:23 +02:00
|
|
|
}
|
|
|
|
|
2019-07-23 09:12:24 +02:00
|
|
|
.mx_EditHistoryMessage_insertion {
|
2019-07-19 16:09:23 +02:00
|
|
|
color: rgb(26, 169, 123);
|
|
|
|
background-color: rgba(26, 169, 123, 0.1);
|
2019-07-31 14:44:48 +02:00
|
|
|
text-decoration: underline;
|
2019-07-19 16:09:23 +02:00
|
|
|
}
|
|
|
|
|
2022-07-27 15:39:29 +02:00
|
|
|
/* Emulate mx_EventTile[data-layout="group"] */
|
2022-05-07 05:07:51 +02:00
|
|
|
.mx_EventTile {
|
2023-04-27 15:02:34 +02:00
|
|
|
padding-top: 0;
|
2022-06-07 07:00:27 +02:00
|
|
|
|
2022-05-07 05:07:51 +02:00
|
|
|
.mx_MessageTimestamp {
|
|
|
|
position: absolute;
|
2022-07-06 12:45:18 +02:00
|
|
|
left: 0;
|
|
|
|
text-align: center;
|
2022-05-07 05:07:51 +02:00
|
|
|
}
|
|
|
|
|
2022-06-07 07:00:27 +02:00
|
|
|
.mx_EventTile_line {
|
2022-07-01 11:04:53 +02:00
|
|
|
padding-top: var(--EventTile_group_line-spacing-block-start);
|
|
|
|
padding-bottom: var(--EventTile_group_line-spacing-block-end);
|
|
|
|
padding-left: var(--EventTile_group_line-spacing-inline-start);
|
|
|
|
line-height: var(--EventTile_group_line-line-height);
|
2022-06-07 07:00:27 +02:00
|
|
|
|
|
|
|
.mx_EventTile_content {
|
|
|
|
margin-right: 0px;
|
|
|
|
}
|
|
|
|
}
|
2023-09-27 12:42:49 +02:00
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: -1px;
|
|
|
|
bottom: -1px;
|
|
|
|
left: -10px;
|
|
|
|
right: -10px;
|
|
|
|
z-index: -1;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
&::before {
|
|
|
|
background: $eventbubble-bg-hover;
|
|
|
|
}
|
|
|
|
}
|
2019-05-29 18:03:05 +02:00
|
|
|
}
|
2019-07-04 11:07:22 +02:00
|
|
|
|
|
|
|
.mx_MessageActionBar .mx_AccessibleButton {
|
2022-06-07 07:00:27 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
padding-inline-start: $spacing-8;
|
|
|
|
padding-inline-end: $spacing-8;
|
|
|
|
|
|
|
|
font-size: $font-15px;
|
2019-07-04 11:07:22 +02:00
|
|
|
}
|
2019-05-29 18:03:05 +02:00
|
|
|
}
|