mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-30 22:41:32 +08:00
53 lines
1.3 KiB
Plaintext
53 lines
1.3 KiB
Plaintext
/*
|
|
Copyright 2015, 2016 OpenMarket 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_ViewSource {
|
|
pre {
|
|
font-size: $font-12px;
|
|
padding: 0.5em 1em;
|
|
word-wrap: break-word;
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.mx_ViewSource_header {
|
|
border-bottom: 1px solid $quinary-content;
|
|
padding-bottom: $spacing-12;
|
|
margin-bottom: $spacing-12;
|
|
font-family: monospace;
|
|
|
|
.mx_CopyableText {
|
|
word-break: break-all;
|
|
}
|
|
}
|
|
|
|
.mx_ViewSource_heading {
|
|
font-size: $font-17px;
|
|
font-weight: 400;
|
|
color: $primary-content;
|
|
margin-top: $spacing-12;
|
|
}
|
|
|
|
.mx_ViewSource_details {
|
|
margin-top: $spacing-12;
|
|
}
|
|
|
|
.mx_CopyableText_border {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
}
|
|
}
|