diff --git a/renderer/app.js b/renderer/app.js
index 1acf60f..85283fe 100644
--- a/renderer/app.js
+++ b/renderer/app.js
@@ -6800,21 +6800,29 @@ function renderSettings() {
-
-
-
Ohne dieses Passwort kann das Backup nicht importiert werden.
+
-
-
-
-
-
-
-
-
+
+
`;
const activateSettingsPage = (target, focus = false) => {
diff --git a/renderer/i18n.js b/renderer/i18n.js
index 21e545c..2898085 100644
--- a/renderer/i18n.js
+++ b/renderer/i18n.js
@@ -417,6 +417,8 @@
['Ohne dieses Passwort kann das Backup nicht importiert werden.', 'The backup cannot be imported without this password.'],
['Passwort (mindestens 8 Zeichen)', 'Password (at least 8 characters)'],
['Passwort wiederholen', 'Repeat password'],
+ ['Mindestens 8 Zeichen', 'At least 8 characters'],
+ ['Passwort erneut eingeben', 'Enter the password again'],
['Das Backup-Passwort muss mindestens 8 Zeichen lang sein.', 'The backup password must be at least 8 characters long.'],
['Die beiden Backup-Passwörter stimmen nicht überein.', 'The two backup passwords do not match.'],
['Passwort prüfen', 'Check password'],
diff --git a/renderer/styles.css b/renderer/styles.css
index a7d7646..df4a619 100644
--- a/renderer/styles.css
+++ b/renderer/styles.css
@@ -2515,15 +2515,63 @@ select.hs-input { max-width: none; width: auto; min-width: 140px; }
flex: 0 0 auto;
}
-.local-backup-password-row {
- margin-bottom: 10px;
+.local-backup-module {
+ gap: 14px;
+}
+
+.local-backup-toggle {
+ display: grid;
+ grid-template-columns: minmax(0, 1fr) auto;
+ align-items: center;
+ gap: 16px;
+ cursor: pointer;
+}
+
+.local-backup-toggle-copy {
+ display: grid;
+ gap: 4px;
+ min-width: 0;
+}
+
+.local-backup-toggle-title {
+ color: var(--text);
+ font-size: 14px;
+ font-weight: 600;
+}
+
+.local-backup-toggle-hint {
+ color: var(--text-dim);
+ font-size: 13px;
+ line-height: 1.4;
+}
+
+.local-backup-toggle input[type="checkbox"] {
+ width: 18px;
+ height: 18px;
+ margin: 0;
+ cursor: pointer;
}
.local-backup-password-fields {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
- gap: 10px;
- margin-bottom: 10px;
+ gap: 12px;
+}
+
+.local-backup-field {
+ display: grid;
+ gap: 6px;
+ min-width: 0;
+ color: var(--text-muted);
+ font-size: 13px;
+ font-weight: 600;
+}
+
+.local-backup-field .key-input {
+ width: 100%;
+ max-width: none;
+ min-height: 40px;
+ font-size: 14px;
}
.local-backup-password-fields[hidden] {
@@ -4154,6 +4202,10 @@ input[type="checkbox"] {
white-space: normal;
}
+ .local-backup-password-fields {
+ grid-template-columns: 1fr;
+ }
+
.online-backup-footer .btn {
width: 100%;
}