/* Minimal browser chrome for the thin client's browsable Firefox window. * Installed to /chrome/userChrome.css by build-thin-client-iso.sh, and only * read because user.js sets toolkit.legacyUserProfileCustomizations.stylesheets=true. * * What survives: back, forward, reload, and the address bar. Everything else goes. * That set is deliberate — those four are what someone driving this machine from the * Home Assistant mobile app (via ydotool, see thinclient_agent/input_control.py) or * over wayvnc actually needs, and every extra control is one more thing to mis-click * on a screen that has no keyboard in front of it. * * This file is also installed into the digest profile, where it does nothing: that * window runs with --kiosk, which already draws no chrome at all. */ /* Tab strip. The kiosk browses one page at a time; a tab bar on a shared display just * accumulates whatever the last person left open. */ #TabsToolbar, #tabbrowser-tabs, #alltabs-button { visibility: collapse !important; } /* Menu bar and bookmarks bar. */ #toolbar-menubar, #PersonalToolbar, #PlacesToolbar { visibility: collapse !important; } /* Everything on the nav bar except back / forward / reload / the address bar. */ #home-button, #library-button, #sidebar-button, #fxa-toolbar-menu-button, #unified-extensions-button, #PanelUI-button, #downloads-button, #save-to-pocket-button, #pageActionButton, #star-button-box, #reader-mode-button, #customizableui-special-spring1, #customizableui-special-spring2 { display: none !important; } /* The urlbar keeps its identity box (padlock) — dropping it would hide the only * on-screen signal that a page is or is not https. */ #urlbar-container { min-width: 0 !important; } #nav-bar { border: none !important; box-shadow: none !important; } /* Titlebar spacers left over once the tab strip is collapsed. */ .titlebar-buttonbox-container, .titlebar-spacer { display: none !important; } /* Findbar and notification popups stay: they are transient and user-initiated. */