Hide FABs when auth visible (locked). Trash FAB glow shadow when active.

This commit is contained in:
2026-05-12 19:36:35 +01:00
parent eb15d9e849
commit 617b8a7efe
2 changed files with 5 additions and 1 deletions
+4 -1
View File
@@ -623,6 +623,7 @@ async function doLogout() {
document.getElementById('vaultSection').classList.add('hidden');
document.getElementById('loginPassword').value = '';
document.getElementById('loginUsername').value = localStorage.getItem('savedLoginUser') || '';
document.querySelectorAll('.fab').forEach(b => b.classList.add('hidden'));
}
function showVault() {
@@ -635,6 +636,7 @@ function showVault() {
renderFolders();
populateFolderSelects();
syncSettingsUI();
document.querySelectorAll('.fab').forEach(b => b.classList.remove('hidden'));
resetIdle();
}
@@ -1529,4 +1531,5 @@ document.addEventListener('keydown', function(e) {
else if (document.getElementById('editModal').classList.contains('show')) saveEdit();
}
});
document.getElementById('loginUsername').focus();
document.getElementById('loginUsername').focus();
document.querySelectorAll('.fab').forEach(b => b.classList.add('hidden'));