mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
f14374a51c
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
59 lines
1.4 KiB
SCSS
59 lines
1.4 KiB
SCSS
/*
|
|
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 {
|
|
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;
|
|
|
|
border-bottom: none;
|
|
background: $background;
|
|
max-height: 50vh;
|
|
overflow: auto;
|
|
}
|
|
|
|
.mx_ReplyPreview_header {
|
|
display: flex;
|
|
font-size: $font-12px;
|
|
color: $secondary-content;
|
|
position: relative;
|
|
|
|
> svg {
|
|
width: 1em;
|
|
vertical-align: middle;
|
|
margin-right: $spacing-8;
|
|
}
|
|
|
|
.mx_CancelButton {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
}
|
|
|
|
.mx_ReplyPreview_header_cancel {
|
|
position: absolute;
|
|
right: 0;
|
|
color: $primary-content;
|
|
width: 18px;
|
|
}
|