mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:35:04 +08:00
d17a2ff80c
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
66 lines
1.7 KiB
SCSS
66 lines
1.7 KiB
SCSS
/*
|
|
Copyright 2019 New Vector 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_VerificationShowSas_decimalSas {
|
|
text-align: center;
|
|
font-weight: bold;
|
|
padding-left: 3px;
|
|
padding-right: 3px;
|
|
}
|
|
|
|
.mx_VerificationShowSas_decimalSas span {
|
|
margin-left: 5px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.mx_VerificationShowSas_emojiSas {
|
|
text-align: center;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
margin: 25px 0;
|
|
}
|
|
|
|
.mx_VerificationShowSas_emojiSas_block {
|
|
display: inline-block;
|
|
margin-bottom: 30px;
|
|
position: relative;
|
|
// allow the blocks to grow to space themselves evenly up to a limit of 100px
|
|
flex-grow: 1;
|
|
max-width: 100px;
|
|
}
|
|
|
|
.mx_VerificationShowSas_emojiSas_emoji {
|
|
font-size: 48px;
|
|
}
|
|
|
|
.mx_UserInfo .mx_VerificationShowSas_emojiSas_emoji {
|
|
font-size: 32px; // in UserInfo use a smaller font-size to fit in a smaller space
|
|
}
|
|
|
|
.mx_VerificationShowSas_emojiSas_label {
|
|
font-weight: bold;
|
|
// allow the text to overflow the parent by 15px on each side
|
|
// this is to keep the width of the parent consistent for spacing centrally via flexbox
|
|
position: absolute;
|
|
left: -15px;
|
|
right: -15px;
|
|
}
|
|
|
|
.mx_VerificationShowSas_emojiSas_break {
|
|
flex-basis: 100%;
|
|
}
|