feat: kiosk-mode hides server, agents, guardian panels + HA/agents/memory/proxmox from bottom bar

- Adds body.kiosk-mode class on fullscreen entry/exit
- Hides: #server-panel, #tab-agents, #tab-guardian, tab buttons
- Hides bottom bar: Home Assistant, Agents, Memory, Proxmox
- Falls back to INTEL tab if agents/guardian was active on kiosk entry
- All elements remain visible in normal/tablet mode
This commit is contained in:
2026-06-21 04:07:32 +00:00
parent 52ddee3e78
commit 45845a1f61
3 changed files with 33 additions and 5 deletions
+20
View File
@@ -1364,3 +1364,23 @@ body.tablet-mode .alert-item { font-size:0.75rem; padding:9px 11px; }
/* ── BOTTOM BAR ─────────────────────────────────────────────────── */
body.tablet-mode #bottomBar { font-size:0.7rem; height:34px; }
/* ════════════════════════════════════════════════════════════════════════
KIOSK MODE — hide noisy panels, keep it clean on Fire tablet
Only active when body.kiosk-mode (fullscreen + tablet)
════════════════════════════════════════════════════════════════════════ */
/* Hide server stats, agents tab, guardian tab in kiosk */
body.kiosk-mode #server-panel { display:none !important; }
body.kiosk-mode #tab-btn-agents { display:none !important; }
body.kiosk-mode #tab-btn-guardian { display:none !important; }
body.kiosk-mode #tab-agents { display:none !important; }
body.kiosk-mode #tab-guardian { display:none !important; }
/* Hide bottom bar: Home Assistant, Agents, Memory, Proxmox */
body.kiosk-mode #bb-ha-item { display:none !important; }
body.kiosk-mode #bb-agents-item { display:none !important; }
body.kiosk-mode #bb-memory-item { display:none !important; }
body.kiosk-mode #bb-pve-item { display:none !important; }
/* If agents or guardian was the active tab, switch to intel */