A modular UI customization for Firefox, removing borders in the favor of shadows to emphasize the layer elevation.
Sidebery is used for the vertical tabs.
- Set Firefox theme to
Dark
in: Firefox settings > Extensions & Themes > Themes. - Vertical tabs (Optional, see Customization):
- Install the Sidebery extension.
- Go to Sidebery settings (right-click extension) > Help > Import addon data > Choose file
sidebery/settings.json
. - (Optional) For tab previews: Sidebery settings > Search for "Tabs preview" > Enable and grant permissions.
- Go to
about:config
(in the URL bar) and settoolkit.legacyUserProfileCustomizations.stylesheets = true
. - Go to
about:support
> Search for "Profile Directory" > Open > Copy the "chrome" folder to this location. - Restart Firefox.
Set toolkit.legacyUserProfileCustomizations.stylesheets = false
or delete the chrome
folder from the profile.
For Sidebery: Sidebery settings > Help > Reset settings.
- It's recommended that additions or updates of the default styles to be done in the following files (which should be created by you). This way, your local changes will persist when this repository is updated.
chrome/DownToneUI/override_chrome.css
for changes tochrome/userChrome.css
chrome/DownToneUI/override_content.css
for changes tochrome/userContent.css
- For normal (horizontal) tabs:
- In file
chrome/userChrome.css
remove the line@import "DownToneUI/sidebar.css";
.
- In file
- Changing the color scheme:
- This can be done in
chrome/DownToneUI/_globals.css
by modifying the--dtui-theme
variables. - NOTE: if vertical tabs are used, these changes also have to be applied to: Sidebery settings > Style editor.
- This can be done in
- See addons for some modifications of the defaults. The content of these files is intended to be copied as follows:
chrome_
files tochrome/DownToneUI/override_chrome.css
content_
files tochrome/DownToneUI/override_content.css
sidbery_
files to Sidebery's Style editor (at the end)
- The bookmarks bar inner height varies based on the font you use and maybe other factors (like scaling). To get the correct height, some trial & error might be needed.
-
First, copy the contents of
addons/chrome_debug_bookmarks_height.css.css
to yourchrome/DownToneUI/override_chrome.css
-
Decrease the value of
--dtui-ui-bookmarks-inner-height
inchrome/DownToneUI/_globals.css
until the red background is visible. (Firefox restart is needed after every change) -
Set it to the value where the red background is NOT visible.
-
- To open the sidebar tabs (in case you've gone to History or entered Private Mode): click on the Sidebery extension or use shortcut CTRL+E (shortcut is not working in Windows).
- Contributors to the firefox-csshacks repository and Zen Browser for some ideas.
- Community on /r/FirefoxCSS for the various snippets of information.