-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Can change recovery key in encryption tab
- Loading branch information
1 parent
8747e62
commit 54ede8b
Showing
11 changed files
with
551 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
/* | ||
* Copyright 2024 New Vector Ltd. | ||
* | ||
* SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only | ||
* Please see LICENSE files in the repository root for full details. | ||
*/ | ||
|
||
.mx_ChangeRecoveryKey_Form { | ||
display: flex; | ||
flex-direction: column; | ||
gap: var(--cpd-space-8x); | ||
|
||
.mx_ChangeRecoveryKey_footer { | ||
display: flex; | ||
flex-direction: column; | ||
gap: var(--cpd-space-4x); | ||
justify-content: center; | ||
} | ||
} | ||
|
||
.mx_ChangeRecoveryKey_KeyPanel { | ||
display: flex; | ||
flex-direction: column; | ||
gap: var(--cpd-space-8x); | ||
|
||
.mx_ChangeRecoveryKey_KeyPanel_content { | ||
display: grid; | ||
grid-template: | ||
"header button" auto | ||
"content button" auto; | ||
|
||
column-gap: var(--cpd-space-3x); | ||
row-gap: var(--cpd-space-1x); | ||
align-items: center; | ||
|
||
> span { | ||
grid-area: header; | ||
} | ||
|
||
> div { | ||
grid-area: content; | ||
display: flex; | ||
flex-direction: column; | ||
gap: var(--cpd-space-2x); | ||
color: var(--cpd-color-text-secondary); | ||
|
||
.mx_ChangeRecoveryKey_KeyPanel_key { | ||
border-radius: var(--cpd-space-2x); | ||
padding: var(--cpd-space-3x) var(--cpd-space-4x); | ||
background-color: var(--cpd-color-bg-subtle-secondary); | ||
} | ||
} | ||
|
||
> button { | ||
margin: 0 var(--cpd-space-1x); | ||
grid-area: button; | ||
color: var(--cpd-color-icon-secondary-alpha); | ||
} | ||
} | ||
} | ||
|
||
.mx_ChangeRecoveryKey_KeyForm { | ||
display: flex; | ||
flex-direction: column; | ||
gap: var(--cpd-space-8x); | ||
} | ||
|
||
.mx_ChangeRecoveryKey_footer { | ||
display: flex; | ||
flex-direction: column; | ||
gap: var(--cpd-space-4x); | ||
justify-content: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* Copyright 2024 New Vector Ltd. | ||
* | ||
* SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only | ||
* Please see LICENSE files in the repository root for full details. | ||
*/ | ||
|
||
.mx_EncryptionCard { | ||
display: flex; | ||
flex-direction: column; | ||
gap: var(--cpd-space-8x); | ||
padding: var(--cpd-space-10x); | ||
border-radius: var(--cpd-space-4x); | ||
/* From figma */ | ||
box-shadow: 0 1.2px 2.4px 0 rgba(27, 29, 34, 0.15); | ||
border: 1px solid var(--cpd-color-gray-400); | ||
|
||
.mx_EncryptionCard_header { | ||
display: flex; | ||
flex-direction: column; | ||
gap: var(--cpd-space-4x); | ||
align-items: center; | ||
|
||
> h2 { | ||
margin: 0; | ||
} | ||
|
||
> span { | ||
color: var(--cpd-color-text-secondary); | ||
text-align: center; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* Copyright 2024 New Vector Ltd. | ||
* | ||
* SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only | ||
* Please see LICENSE files in the repository root for full details. | ||
*/ | ||
|
||
.mx_RecoveryPanel { | ||
.mx_RecoveryPanel_Subheader { | ||
display: flex; | ||
flex-direction: column; | ||
gap: var(--cpd-space-2x); | ||
|
||
> span { | ||
display: flex; | ||
align-items: center; | ||
gap: var(--cpd-space-2x); | ||
font: var(--cpd-font-body-sm-medium); | ||
color: var(--cpd-color-text-success-primary); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.