2018-04-20 08:23:27 +00: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-07 07:28:29 +00:00
|
|
|
border: 1px solid $system;
|
|
|
|
|
|
|
|
margin-left: calc(-1 * $spacing-16);
|
|
|
|
margin-right: calc(-1 * $spacing-16);
|
|
|
|
padding: $spacing-8 $spacing-16 0 $spacing-16;
|
|
|
|
|
|
|
|
border-top-left-radius: 16px;
|
|
|
|
border-top-right-radius: 16px;
|
|
|
|
|
2018-04-20 08:23:27 +00:00
|
|
|
border-bottom: none;
|
2022-05-09 06:35:17 +00:00
|
|
|
background: $background;
|
2018-04-20 08:23:27 +00:00
|
|
|
max-height: 50vh;
|
2019-07-09 17:15:10 +00:00
|
|
|
overflow: auto;
|
2022-06-07 07:28:29 +00:00
|
|
|
}
|
2018-04-20 08:23:27 +00:00
|
|
|
|
2022-06-07 07:28:29 +00:00
|
|
|
.mx_ReplyPreview_header {
|
|
|
|
display: flex;
|
|
|
|
font-size: $font-12px;
|
|
|
|
color: $secondary-content;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
> svg {
|
|
|
|
width: 1em;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-right: $spacing-8;
|
2021-07-17 13:25:12 +00:00
|
|
|
}
|
2022-05-09 06:35:17 +00:00
|
|
|
|
2022-06-07 07:28:29 +00:00
|
|
|
.mx_CancelButton {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
2022-05-09 06:35:17 +00:00
|
|
|
}
|
|
|
|
}
|
2022-06-07 07:28:29 +00:00
|
|
|
|
|
|
|
.mx_ReplyPreview_header_cancel {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
color: $primary-content;
|
|
|
|
width: 18px;
|
|
|
|
}
|