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
+1
View File
@@ -274,6 +274,7 @@ input:focus, select:focus { border-color:var(--accent); }
} }
.fab:hover { transform: scale(1.1); filter: brightness(1.1); } .fab:hover { transform: scale(1.1); filter: brightness(1.1); }
.fab-trash { left: 2rem; right: auto; font-size:1.4rem; background:transparent; box-shadow:none; } .fab-trash { left: 2rem; right: auto; font-size:1.4rem; background:transparent; box-shadow:none; }
.fab-trash.active { box-shadow:0 0 18px rgba(var(--accent-rgb),0.5); }
/* Generic modal overlay (if you dont already have it) */ /* Generic modal overlay (if you dont already have it) */
.modal-overlay { .modal-overlay {
+3
View File
@@ -623,6 +623,7 @@ async function doLogout() {
document.getElementById('vaultSection').classList.add('hidden'); document.getElementById('vaultSection').classList.add('hidden');
document.getElementById('loginPassword').value = ''; document.getElementById('loginPassword').value = '';
document.getElementById('loginUsername').value = localStorage.getItem('savedLoginUser') || ''; document.getElementById('loginUsername').value = localStorage.getItem('savedLoginUser') || '';
document.querySelectorAll('.fab').forEach(b => b.classList.add('hidden'));
} }
function showVault() { function showVault() {
@@ -635,6 +636,7 @@ function showVault() {
renderFolders(); renderFolders();
populateFolderSelects(); populateFolderSelects();
syncSettingsUI(); syncSettingsUI();
document.querySelectorAll('.fab').forEach(b => b.classList.remove('hidden'));
resetIdle(); resetIdle();
} }
@@ -1530,3 +1532,4 @@ document.addEventListener('keydown', function(e) {
} }
}); });
document.getElementById('loginUsername').focus(); document.getElementById('loginUsername').focus();
document.querySelectorAll('.fab').forEach(b => b.classList.add('hidden'));