1
0
mirror of https://github.com/element-hq/element-web.git synced 2026-10-23 11:09:01 +03:00
Files
element-web/apps/web/res/css/views/dialogs/_LogoutDialog.pcss
Skye Elliot df9d6798d0 Allow generating a recovery key when logging out and this is the last device (#35401)
* feat(web): add a success style to `EncryptionCard`

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(web): generate the recovery key inside the logout dialog

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(web): cover generating the recovery key inside the logout dialog

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: Group translations under settings|encryption|recovery

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 12:12:45 +00:00

31 lines
862 B
Plaintext

/*
Copyright 2024 New Vector Ltd.
Copyright 2023 Manan Sadana <manancodes.dev@gmail.com>
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE files in the repository root for full details.
*/
.mx_LogoutDialog {
width: 26rem;
.mx_EncryptionCard {
/* The dialog-based recovery key flow preserves the card's gap, but emphasised content sets its own. */
&:has(> .mx_EncryptionCard_emphasisedContent) {
gap: 0;
}
h2 {
text-align: center;
color: var(--cpd-color-text-primary);
}
.mx_EncryptionCard_emphasisedContent {
text-align: center;
margin-top: var(--cpd-space-2x);
margin-bottom: var(--cpd-space-12x);
p {
margin: 0;
}
}
}
}