2018-04-20 16:23:27 +08:00
|
|
|
/*
|
|
|
|
Copyright 2018 Vector Creations Ltd
|
|
|
|
|
|
|
|
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_ReplyPreview {
|
2022-06-27 16:43:58 +08:00
|
|
|
border: 1px solid $primary-hairline-color;
|
2018-04-20 16:23:27 +08:00
|
|
|
border-bottom: none;
|
2022-05-09 14:35:17 +08:00
|
|
|
background: $background;
|
2018-04-20 16:23:27 +08:00
|
|
|
max-height: 50vh;
|
2019-07-10 01:15:10 +08:00
|
|
|
overflow: auto;
|
2018-04-20 16:23:27 +08:00
|
|
|
|
2022-06-27 16:43:58 +08:00
|
|
|
.mx_ReplyPreview_section {
|
|
|
|
border-bottom: 1px solid $primary-hairline-color;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
row-gap: $spacing-8;
|
2023-01-25 15:51:07 +08:00
|
|
|
padding: $spacing-8 $spacing-8 0 0;
|
2022-06-27 16:43:58 +08: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;
|
2022-12-12 19:24:14 +08:00
|
|
|
mask: url("$(res)/img/cancel.svg");
|
2022-06-27 16:43:58 +08:00
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: 18px;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
min-width: 18px;
|
|
|
|
min-height: 18px;
|
|
|
|
}
|
|
|
|
}
|
2022-05-09 14:35:17 +08:00
|
|
|
}
|
|
|
|
}
|
2022-06-07 15:28:29 +08:00
|
|
|
|
2022-06-27 16:43:58 +08:00
|
|
|
.mx_RoomView_body {
|
|
|
|
.mx_ReplyPreview {
|
2022-07-27 21:39:29 +08: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 16:43:58 +08:00
|
|
|
box-shadow: 0px -16px 32px $composer-shadow-color;
|
|
|
|
border-radius: 8px 8px 0 0;
|
|
|
|
}
|
2022-06-07 15:28:29 +08:00
|
|
|
}
|