2022-10-19 13:31:20 +01:00
|
|
|
/*
|
|
|
|
|
Copyright 2022 The Matrix.org Foundation C.I.C.
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
*/
|
|
|
|
|
|
2024-03-22 15:50:06 +00:00
|
|
|
.mx_LoginWithQRSection p {
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
margin-bottom: $spacing-16;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_LoginWithQRSection .mx_AccessibleButton svg {
|
2022-10-19 13:31:20 +01:00
|
|
|
margin-right: $spacing-12;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_AuthPage .mx_LoginWithQR {
|
|
|
|
|
.mx_AccessibleButton {
|
|
|
|
|
display: block !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_AccessibleButton + .mx_AccessibleButton {
|
|
|
|
|
margin-top: $spacing-8;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_LoginWithQR_separator {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
|
|
&::before,
|
|
|
|
|
&::after {
|
|
|
|
|
content: "";
|
|
|
|
|
flex: 1;
|
|
|
|
|
border-bottom: 1px solid $quinary-content;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:not(:empty) {
|
|
|
|
|
&::before {
|
|
|
|
|
margin-right: 1em;
|
|
|
|
|
}
|
|
|
|
|
&::after {
|
|
|
|
|
margin-left: 1em;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
font-size: $font-15px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_UserSettingsDialog .mx_LoginWithQR {
|
|
|
|
|
.mx_AccessibleButton + .mx_AccessibleButton {
|
|
|
|
|
margin-left: $spacing-12;
|
|
|
|
|
}
|
|
|
|
|
|
2023-06-29 11:30:25 +01:00
|
|
|
font: var(--cpd-font-body-md-regular);
|
2022-10-19 13:31:20 +01:00
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
|
font-size: $font-24px;
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
li {
|
|
|
|
|
line-height: 1.8;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_QRCode {
|
|
|
|
|
margin: $spacing-28 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_LoginWithQR_buttons {
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_LoginWithQR_qrWrapper {
|
|
|
|
|
display: flex;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_LoginWithQR {
|
|
|
|
|
min-height: 350px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
|
|
.mx_LoginWithQR_centreTitle {
|
|
|
|
|
h1 {
|
2024-03-22 15:50:06 +00:00
|
|
|
text-align: center;
|
2022-10-19 13:31:20 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h1 > svg {
|
|
|
|
|
&.normal {
|
|
|
|
|
color: $secondary-content;
|
|
|
|
|
}
|
|
|
|
|
&.error {
|
|
|
|
|
color: $alert;
|
|
|
|
|
}
|
|
|
|
|
&.success {
|
|
|
|
|
color: $accent;
|
|
|
|
|
}
|
|
|
|
|
height: 1.3em;
|
|
|
|
|
margin-right: $spacing-8;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_LoginWithQR_confirmationDigits {
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin: $spacing-48 auto;
|
2023-06-29 11:30:25 +01:00
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
2022-10-19 13:31:20 +01:00
|
|
|
font-size: $font-24px;
|
|
|
|
|
color: $primary-content;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_LoginWithQR_confirmationAlert {
|
|
|
|
|
border: 1px solid $quaternary-content;
|
|
|
|
|
border-radius: $spacing-8;
|
|
|
|
|
padding: $spacing-8;
|
|
|
|
|
line-height: 1.5em;
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
|
|
svg {
|
|
|
|
|
height: 30px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_LoginWithQR_separator {
|
|
|
|
|
margin: 1em 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ol {
|
|
|
|
|
list-style-position: inside;
|
|
|
|
|
padding-inline-start: 0;
|
|
|
|
|
|
|
|
|
|
li::marker {
|
|
|
|
|
color: $accent;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-22 15:50:06 +00:00
|
|
|
.mx_LoginWithQR_heading {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: $spacing-12;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
2022-10-19 13:31:20 +01:00
|
|
|
.mx_LoginWithQR_BackButton {
|
2024-03-22 15:50:06 +00:00
|
|
|
height: $spacing-28;
|
|
|
|
|
border-radius: $spacing-28;
|
|
|
|
|
padding: $spacing-4;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
background-color: var(--cpd-color-bg-subtle-secondary);
|
2022-10-19 13:31:20 +01:00
|
|
|
svg {
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-22 15:50:06 +00:00
|
|
|
.mx_LoginWithQR_breadcrumbs {
|
|
|
|
|
font-size: $font-13px;
|
|
|
|
|
color: var(--cpd-color-text-secondary);
|
|
|
|
|
}
|
|
|
|
|
|
2022-10-19 13:31:20 +01:00
|
|
|
.mx_LoginWithQR_main {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
flex-grow: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_QRCode {
|
|
|
|
|
border-radius: $spacing-8;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_LoginWithQR_spinner {
|
|
|
|
|
flex-grow: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
}
|