Hide FABs when auth visible (locked). Trash FAB glow shadow when active.
This commit is contained in:
@@ -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 don’t already have it) */
|
/* Generic modal overlay (if you don’t already have it) */
|
||||||
.modal-overlay {
|
.modal-overlay {
|
||||||
|
|||||||
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1529,4 +1531,5 @@ document.addEventListener('keydown', function(e) {
|
|||||||
else if (document.getElementById('editModal').classList.contains('show')) saveEdit();
|
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'));
|
||||||
Reference in New Issue
Block a user