2019-12-05 15:05:28 +00:00
|
|
|
/*
|
|
|
|
Copyright 2018 New Vector Ltd
|
2020-01-22 18:08:39 +00:00
|
|
|
Copyright 2019, 2020 The Matrix.org Foundation C.I.C.
|
2019-12-05 15:05:28 +00:00
|
|
|
|
|
|
|
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.
|
|
|
|
*/
|
|
|
|
|
2020-01-28 19:42:09 +00:00
|
|
|
.mx_CreateSecretStorageDialog {
|
|
|
|
// Why you ask? Because CompleteSecurityBody is 600px so this is the width
|
|
|
|
// we end up when in there, but when in our own dialog we set our own width
|
|
|
|
// so need to fix it to something sensible as otherwise we'd end up either
|
|
|
|
// really wide or really narrow depending on the phase. I bet you wish you
|
|
|
|
// never asked.
|
|
|
|
width: 560px;
|
|
|
|
|
|
|
|
.mx_SettingsFlag {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SettingsFlag_label {
|
|
|
|
flex: 1 1 0;
|
|
|
|
min-width: 0;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ToggleSwitch {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
margin-left: 30px;
|
|
|
|
}
|
2020-01-29 22:31:19 +00:00
|
|
|
|
|
|
|
details .mx_AccessibleButton {
|
|
|
|
margin: 1em 0; // emulate paragraph spacing because we can't put this button in a paragraph due to HTML rules
|
|
|
|
}
|
2020-01-28 19:42:09 +00:00
|
|
|
}
|
|
|
|
|
2019-12-05 15:05:28 +00:00
|
|
|
.mx_CreateSecretStorageDialog .mx_Dialog_title {
|
|
|
|
/* TODO: Consider setting this for all dialog titles. */
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_CreateSecretStorageDialog_primaryContainer {
|
|
|
|
/* FIXME: plinth colour in new theme(s). background-color: $accent-color; */
|
2020-01-22 18:08:39 +00:00
|
|
|
padding-top: 20px;
|
2019-12-05 15:05:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_CreateSecretStorageDialog_primaryContainer::after {
|
|
|
|
content: "";
|
|
|
|
clear: both;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_CreateSecretStorageDialog_passPhraseContainer {
|
|
|
|
display: flex;
|
2019-12-23 03:56:19 +00:00
|
|
|
align-items: flex-start;
|
2019-12-05 15:05:28 +00:00
|
|
|
}
|
|
|
|
|
2020-01-22 18:08:39 +00:00
|
|
|
.mx_Field.mx_CreateSecretStorageDialog_passPhraseField {
|
|
|
|
margin-top: 0px;
|
|
|
|
}
|
|
|
|
|
2019-12-05 15:05:28 +00:00
|
|
|
.mx_CreateSecretStorageDialog_passPhraseHelp {
|
|
|
|
flex: 1;
|
2020-01-22 18:08:39 +00:00
|
|
|
height: 64px;
|
2019-12-05 15:05:28 +00:00
|
|
|
margin-left: 20px;
|
|
|
|
font-size: 80%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_CreateSecretStorageDialog_passPhraseHelp progress {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_CreateSecretStorageDialog_passPhraseMatch {
|
2020-01-22 18:08:39 +00:00
|
|
|
width: 200px;
|
2019-12-05 15:05:28 +00:00
|
|
|
margin-left: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_CreateSecretStorageDialog_recoveryKeyHeader {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_CreateSecretStorageDialog_recoveryKeyContainer {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_CreateSecretStorageDialog_recoveryKey {
|
|
|
|
width: 262px;
|
|
|
|
padding: 20px;
|
|
|
|
color: $info-plinth-fg-color;
|
|
|
|
background-color: $info-plinth-bg-color;
|
|
|
|
margin-right: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_CreateSecretStorageDialog_recoveryKeyButtons {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2020-01-24 19:11:57 +00:00
|
|
|
.mx_CreateSecretStorageDialog_recoveryKeyButtons .mx_AccessibleButton {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2019-12-05 15:05:28 +00:00
|
|
|
.mx_CreateSecretStorageDialog_recoveryKeyButtons button {
|
|
|
|
flex: 1;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|