• CSS 58.5%
  • JavaScript 41.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Alex 618bb4db9f Make right sidebar resizable and push content instead of overlapping
The bookmarks/history sidebar was positioned with position:absolute; right:0
which made it overlay page content. The sidebar-splitter was display:none,
preventing resizing.

Changes:
- _base.css: Remove absolute positioning from #sidebar-box[checked]. Use
  flex order:100 to place it after content (order:5) on the right side.
  Removed display:none on #sidebar-splitter.
- _sidebar-separator.css: Scope splitter styling to
  #sidebar-box[checked] ~ #sidebar-splitter (sibling combinator) so it
  only shows when sidebar is open. Added display:flex !important and
  order:99 to override Firefox's native display:none on the splitter.
- example_user.js: sync with live profile layout, add sidebar.verticalTabs,
  compact dark theme, modern privacy recommendations
2026-05-22 18:59:34 +03:00
chrome Make right sidebar resizable and push content instead of overlapping 2026-05-22 18:59:34 +03:00
.gitignore add: gitignore and Timidfox README 2026-05-01 17:50:28 +03:00
example_user.js Make right sidebar resizable and push content instead of overlapping 2026-05-22 18:59:34 +03:00
LICENSE readme: rewrite as Malevich, add license and screenshot 2026-05-01 22:48:37 +03:00
malevich.png fix shyfox link, restore gfm image syntax at native size 2026-05-01 22:55:16 +03:00
README.md fix shyfox link, restore gfm image syntax at native size 2026-05-01 22:55:16 +03:00

Malevich

A dark Firefox userChrome.css theme - minimalistic, lightweight, and radically clean.

Inspired by Shyfox. Every UI panel is hidden by default, leaving nothing but your content. Panels reveal themselves only when you hover the top or left edge of the window.

Malevich

  • Vertical tab bar on the left (native Firefox vertical tabs, FF136+)
  • Modern sidebar (History, Bookmarks, etc.) on the right
  • Tab bar and sidebar use Firefox's built-in "show on hover" behavior - see example_user.js for the required prefs
  • Use Ctrl+Alt+Z (or the Toggle sidebar button) to make the tab bar and navbar permanently visible when you need them

Requirements

  • Firefox 136+ (native vertical tabs)
  • toolkit.legacyUserProfileCustomizations.stylesheets = true in about:config

Installation

  1. Clone the repo (or download the source):

    git clone https://github.com/hermitm0nk/malevich.git
    cd malevich
    
  2. Copy the chrome directory into your Firefox profile:

    cp -r chrome/ ~/.mozilla/firefox/<profile>/
    
  3. Apply the preferences from example_user.js:

    • Either copy it directly as user.js into your profile:
      cp example_user.js ~/.mozilla/firefox/<profile>/user.js
      
    • Or cherry-pick the relevant sidebar/vertical-tabs prefs if you already have a user.js.
  4. Restart Firefox - the theme activates on next launch.

Key Preferences

See example_user.js for the full set. The critical ones for this theme:

user_pref("sidebar.revamp", true);
user_pref("sidebar.visibility", "expand-on-hover");
user_pref("sidebar.position_start", true);
user_pref("browser.sidebar.moveOnResize", false);
user_pref("browser.tabs.allowAnimationPreference", false);
user_pref("browser.tabs.animate", false);

Toggle Visibility

Press Ctrl+Alt+Z or click the Toggle sidebar button to switch between:

  • Compact mode (default) - tab bar and navbar auto-hide, shown on hover
  • Full mode - tab bar and navbar always visible

Structure

chrome/
├── userChrome.css          # Main entry point - imports all modules
├── userContent.css         # Website-level dark theme overrides
└── zen-modules/
    ├── _variables.css
    ├── _base.css
    ├── _bookmark-bar.css
    ├── _vertical-tabs.css
    ├── _navbar-autohide.css
    ├── _sidebar-separator.css
    ├── _urlbar.css
    ├── _content-frame.css
    └── _dark-ui.css

License

MIT