repositories

NixDaemon

NixOS pentest workstation as one flake — IceBreaker's successor

clonegit clone https://git.daemon-sec.xyz/NixDaemon.git
shy-custom.cssCSS66 lines2.7 KiBraw download
/*== Personal overrides =============================================================================

Tweaks that are neither ShyFox nor Rosé Pine. Imported last, so anything here
wins. Safe to delete entirely.

===================================================================================================*/

/* Kill the "For quick access, place your bookmarks here on the bookmarks
   toolbar. Manage bookmarks…" placeholder.

   Firefox shows this whenever the bookmarks toolbar is visible but empty. Under
   ShyFox the toolbar is a floating pull-down panel, so the placeholder ends up
   drawn over page content instead of sitting in a bar of its own.

   Hiding it here rather than turning the toolbar off keeps ShyFox's bookmarks
   panel working -- once you actually add a bookmark, the panel is useful again
   and this rule stops mattering.

   The element is #personal-toolbar-empty in browser.xhtml. The l10n-id
   selector is a fallback in case a future Floorp renames the container. */
#personal-toolbar-empty,
#PersonalToolbar [data-l10n-id="bookmarks-toolbar-empty-message"] {
  display: none !important;
}


/* Narrow the sidebar.

   ShyFox's floating sidebar is 300px (--sdbr-wdt in shy-variables.css), sized
   for a Firefox sidebar full of bookmark titles. Sidebery shows a favicon and a
   truncated title, so most of that width was padding -- and on a laptop screen
   the pop-out was covering a third of the page.

   235px still fits ~28 characters of title at 13px plus three levels of tree
   indent. Everything downstream follows automatically: ShyFox derives the page's
   left margin from this variable, and the Sidebery pinned-tab grid sizes itself
   in vw of the sidebar.

   Declared with !important because shy-variables.css sets it on the same :root;
   this file is imported last, so at equal specificity this declaration wins.
   Raise or lower the number freely -- nothing else needs to change. */
:root {
  --sdbr-wdt: 235px !important;
}


/* Floorp's own chrome, gone (2026-10-09).

   The features themselves are switched off in modules/home/floorp.nix
   (floorp.panelSidebar.enabled, floorp.workspaces.enabled and friends). Two of
   Floorp's toolbar buttons have no switch: undo-closed-tab and the split-view
   button are created once per profile and then left to CustomizableUI, so they
   are hidden here instead. The Panel Sidebar and workspaces selectors are a
   second line of defence in case a Floorp update re-enables them. */
#undo-closed-tab,
#split-view-button,
#workspaces-toolbar-button,
#panel-sidebar-box,
#panel-sidebar-select-box,
#panel-sidebar-splitter,
#panel-sidebar-float,
#ipprotection-button,
#profile-manager-button,
#nora-statusbar {
  display: none !important;
}