gecko-dev/browser/components/backup/content/enable-backup-encryption.css
kpatenio 0112ee8243 Bug 1896772 - embed password fields as a separate component into the turn-on-scheduled-backups dialog r=backup-reviewers,sthompson
The patch adds `password-validation-inputs` into `turn-on-scheduled-backups`, therefore removing the need for duplicate password fields and validation logic in the latter component. The turn-on dialog is notified via a dispatched event whenever a valid and invalid password pair is entered.

Tests are written in D216892

Depends on D216617

Differential Revision: https://phabricator.services.mozilla.com/D216762
2024-07-25 22:23:35 +00:00

32 lines
788 B
CSS

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
@import url("chrome://global/skin/in-content/common.css");
#backup-enable-encryption-wrapper {
display: grid;
grid-template-areas:
"header"
"content"
"button-group";
grid-template-rows: auto auto auto;
}
#backup-enable-encryption-header {
grid-area: header;
margin: 0;
}
#backup-enable-encryption-content {
display: flex;
flex-direction: column;
grid-area: content;
margin-block-start: var(--space-small);
margin-block-end: var(--space-large);
row-gap: var(--space-large);
}
#backup-enable-encryption-button-group {
grid-area: button-group;
}