NixDaemon

NixOS pentest workstation as one flake — IceBreaker's successor
git clone https://git.daemon-sec.xyz/NixDaemon.git
Log | Files | Refs | README

shy-custom.css (2746B)


      1 /*== Personal overrides =============================================================================
      2 
      3 Tweaks that are neither ShyFox nor Rosé Pine. Imported last, so anything here
      4 wins. Safe to delete entirely.
      5 
      6 ===================================================================================================*/
      7 
      8 /* Kill the "For quick access, place your bookmarks here on the bookmarks
      9    toolbar. Manage bookmarks…" placeholder.
     10 
     11    Firefox shows this whenever the bookmarks toolbar is visible but empty. Under
     12    ShyFox the toolbar is a floating pull-down panel, so the placeholder ends up
     13    drawn over page content instead of sitting in a bar of its own.
     14 
     15    Hiding it here rather than turning the toolbar off keeps ShyFox's bookmarks
     16    panel working -- once you actually add a bookmark, the panel is useful again
     17    and this rule stops mattering.
     18 
     19    The element is #personal-toolbar-empty in browser.xhtml. The l10n-id
     20    selector is a fallback in case a future Floorp renames the container. */
     21 #personal-toolbar-empty,
     22 #PersonalToolbar [data-l10n-id="bookmarks-toolbar-empty-message"] {
     23   display: none !important;
     24 }
     25 
     26 
     27 /* Narrow the sidebar.
     28 
     29    ShyFox's floating sidebar is 300px (--sdbr-wdt in shy-variables.css), sized
     30    for a Firefox sidebar full of bookmark titles. Sidebery shows a favicon and a
     31    truncated title, so most of that width was padding -- and on a laptop screen
     32    the pop-out was covering a third of the page.
     33 
     34    235px still fits ~28 characters of title at 13px plus three levels of tree
     35    indent. Everything downstream follows automatically: ShyFox derives the page's
     36    left margin from this variable, and the Sidebery pinned-tab grid sizes itself
     37    in vw of the sidebar.
     38 
     39    Declared with !important because shy-variables.css sets it on the same :root;
     40    this file is imported last, so at equal specificity this declaration wins.
     41    Raise or lower the number freely -- nothing else needs to change. */
     42 :root {
     43   --sdbr-wdt: 235px !important;
     44 }
     45 
     46 
     47 /* Floorp's own chrome, gone (2026-10-09).
     48 
     49    The features themselves are switched off in modules/home/floorp.nix
     50    (floorp.panelSidebar.enabled, floorp.workspaces.enabled and friends). Two of
     51    Floorp's toolbar buttons have no switch: undo-closed-tab and the split-view
     52    button are created once per profile and then left to CustomizableUI, so they
     53    are hidden here instead. The Panel Sidebar and workspaces selectors are a
     54    second line of defence in case a Floorp update re-enables them. */
     55 #undo-closed-tab,
     56 #split-view-button,
     57 #workspaces-toolbar-button,
     58 #panel-sidebar-box,
     59 #panel-sidebar-select-box,
     60 #panel-sidebar-splitter,
     61 #panel-sidebar-float,
     62 #ipprotection-button,
     63 #profile-manager-button,
     64 #nora-statusbar {
     65   display: none !important;
     66 }