Oneline Proton
An oneline userChrome.css theme for Firefox, which aims to keep the Proton experience.
Features
- Minimal: Oneline Proton has been made trying to keep all the Proton experience, but with a cleaner interface.
- Practical: The oneline interface allows you to keep a higher visible space and focus on what matters.
- Clean: back/forward buttons keep hidden when disabled, and some url icons are hidden until you hover them.
- Flexible: Support for compact, normal, and touch densities.
- Themeable: You can still using custom themes with full compatibility.
- Customizable: You are able to change settings like navbar's width, animation speed, and hidden elements at the top of the userChrome.css file.
Installation
- In the searchbar, type
about:config
. A dialog will be shown to you. Press the I accept the risk button. - Search for
toolkit.legacyUserProfileCustomizations.stylesheets
and change it to True. - Go to your Firefox profile:
- In the searchbar, type
about:support
and pressEnter
. - Search for
Profile Directory
and click onOpen Directory
button.
- In the searchbar, type
- Create a folder and name it
chrome
(with lowercase). - Paste userChrome.css file into the folder.
- Restart Firefox
- Enjoy your new Firefox!
Customization
- You can change some settings inside the userChrome.css file.
- Use
--navbarWidth
variable to change the width of the navbar (you can use px units for a fixed width, or vw units for a percentage one). - Use
--animationSpeed
variable to change (or disable) animations. - Hide or show the elements you want by commenting or uncommenting them:
/* This element is hidden */
/* "Shield" icon */
#tracking-protection-icon-container {display: none !important}
/* This element is visible */
/* This is the "Search with" indicator on the urlbar */
/* #urlbar-search-mode-indicator {display: none !important} */
The drop-down bookmark of the bookmarks menu button cannot be clicked with the mouse
Your css is very good to use, thank you! But when I put the bookmarks menu button next to the address bar, clicking the button will pop up the bookmarks, but not with the mouse, only with the up and down arrow keys
Pinned tab broken overlap
When a tab is pinned, it overlaps the left-tab-scroll button and there's an odd empty space to the left of it.
Pinned:
Unpinned:
(I made sure to test with the original userChrome too, without my small modifications - still present)
Space at top for dragging window
This may be specific to Firefox on Windows, but I've found that when the tab bar is full there isn't anywhere at the top to drag the window in order to move it, or to quickly switch between fullscreen and windowed modes.
Adding a small margin at the top of the window would fix this. I've found something like
provides enough space so that finding the drag-able area isn't difficult in windowed mode and takes up minimal space while still being functional when fullscreen.