2019-02-07 18:53:41 +01:00
|
|
|
/*
|
|
|
|
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.
|
|
|
|
*/
|
|
|
|
|
2019-02-08 15:57:36 +01:00
|
|
|
.mx_VerificationShowSas_decimalSas {
|
2019-02-07 18:53:41 +01:00
|
|
|
text-align: center;
|
|
|
|
font-weight: bold;
|
|
|
|
padding-left: 3px;
|
|
|
|
padding-right: 3px;
|
|
|
|
}
|
2019-02-08 15:57:36 +01:00
|
|
|
|
|
|
|
.mx_VerificationShowSas_decimalSas span {
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_VerificationShowSas_emojiSas {
|
|
|
|
text-align: center;
|
2020-01-29 23:44:49 +01:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: center;
|
|
|
|
margin: 25px 0;
|
2019-02-08 15:57:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_VerificationShowSas_emojiSas_block {
|
|
|
|
display: inline-block;
|
2020-01-29 23:44:49 +01:00
|
|
|
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;
|
2019-02-08 15:57:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_VerificationShowSas_emojiSas_emoji {
|
|
|
|
font-size: 48px;
|
|
|
|
}
|
|
|
|
|
2020-01-29 23:44:49 +01:00
|
|
|
.mx_UserInfo .mx_VerificationShowSas_emojiSas_emoji {
|
|
|
|
font-size: 32px; // in UserInfo use a smaller font-size to fit in a smaller space
|
|
|
|
}
|
|
|
|
|
2019-02-08 15:57:36 +01:00
|
|
|
.mx_VerificationShowSas_emojiSas_label {
|
|
|
|
font-weight: bold;
|
2020-01-29 23:44:49 +01:00
|
|
|
// 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%;
|
2019-02-08 15:57:36 +01:00
|
|
|
}
|