2018-04-20 11:23:27 +03:00
|
|
|
/*
|
2024-09-09 16:57:16 +03:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2018-04-20 11:23:27 +03:00
|
|
|
Copyright 2018 Vector Creations Ltd
|
|
|
|
|
2024-09-09 16:57:16 +03:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
2018-04-20 11:23:27 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_ReplyPreview {
|
2022-06-27 11:43:58 +03:00
|
|
|
border: 1px solid $primary-hairline-color;
|
2018-04-20 11:23:27 +03:00
|
|
|
border-bottom: none;
|
2022-05-09 09:35:17 +03:00
|
|
|
background: $background;
|
2018-04-20 11:23:27 +03:00
|
|
|
max-height: 50vh;
|
2019-07-09 20:15:10 +03:00
|
|
|
overflow: auto;
|
2018-04-20 11:23:27 +03:00
|
|
|
|
2022-06-27 11:43:58 +03:00
|
|
|
.mx_ReplyPreview_section {
|
|
|
|
border-bottom: 1px solid $primary-hairline-color;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
row-gap: $spacing-8;
|
2023-01-25 10:51:07 +03:00
|
|
|
padding: $spacing-8 $spacing-8 0 0;
|
2022-06-27 11:43:58 +03:00
|
|
|
|
|
|
|
.mx_ReplyPreview_header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
column-gap: 8px;
|
|
|
|
|
|
|
|
color: $primary-content;
|
|
|
|
font-weight: 400;
|
|
|
|
opacity: 0.4;
|
|
|
|
|
|
|
|
.mx_ReplyPreview_header_cancel {
|
|
|
|
background-color: $primary-content;
|
2024-10-15 13:19:06 +03:00
|
|
|
mask-image: url("@vector-im/compound-design-tokens/icons/close.svg");
|
2022-06-27 11:43:58 +03:00
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
2024-10-15 13:19:06 +03:00
|
|
|
mask-size: contain;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
min-width: 20px;
|
|
|
|
min-height: 20px;
|
2022-06-27 11:43:58 +03:00
|
|
|
}
|
|
|
|
}
|
2022-05-09 09:35:17 +03:00
|
|
|
}
|
|
|
|
}
|
2022-06-07 10:28:29 +03:00
|
|
|
|
2022-06-27 11:43:58 +03:00
|
|
|
.mx_RoomView_body {
|
|
|
|
.mx_ReplyPreview {
|
2022-07-27 16:39:29 +03:00
|
|
|
/* Add box-shadow to the reply preview on the main (left) panel only. */
|
|
|
|
/* It is not added to the preview on the (right) panel for threads and a chat with a maximized widget. */
|
2022-06-27 11:43:58 +03:00
|
|
|
box-shadow: 0px -16px 32px $composer-shadow-color;
|
|
|
|
border-radius: 8px 8px 0 0;
|
|
|
|
}
|
2022-06-07 10:28:29 +03:00
|
|
|
}
|