Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dexeonify/firefox-css
My CSS configuration to customise Firefox to my liking.
https://github.com/dexeonify/firefox-css
css firefox sidebery startpage userchrome
Last synced: 11 days ago
JSON representation
My CSS configuration to customise Firefox to my liking.
- Host: GitHub
- URL: https://github.com/dexeonify/firefox-css
- Owner: dexeonify
- Created: 2021-10-27T15:02:32.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-17T15:15:01.000Z (24 days ago)
- Last Synced: 2024-10-19T22:19:25.875Z (21 days ago)
- Topics: css, firefox, sidebery, startpage, userchrome
- Language: CSS
- Homepage:
- Size: 410 KB
- Stars: 36
- Watchers: 4
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# firefox-css
Some `userChrome.css` configurations to customise Firefox to my liking.
I'm currently daily-driving *Firefox Nightly*, so naturally I will try to
update as soon as possible if there are any breaking changes.## Table of Contents
- [Features](#features)
- [Sidebery CSS](#sidebery-css)
- [URL bar blur](#url-bar-blur)
- [Rounded corner context menu highlight](#rounded-corner-context-menu-highlight)
- [Custom startpage using nightTab](#custom-startpage-using-nighttab)
- [Base Theme](#base-theme)
- [Nord Theme](#nord-theme)
- [Usage](#usage)
- [userChrome.css](#userchromecss)
- [Smooth scrolling](#smooth-scrolling)
- [Vertical tabs](#vertical-tabs)
- [Custom new tab](#custom-new-tab)
- [References](#references)## Features
### Sidebery CSS
### URL bar blur
![Blurred URL Bar](https://i.imgur.com/s5036st.png)
⚠️ Blur currently **does not work** regardless of `layout.css.backdrop-filter.enabled`,
due to [bug 1773402](https://bugzilla.mozilla.org/show_bug.cgi?id=1773402).### Rounded corner context menu highlight
![Rounded Corner Context Menu](https://user-images.githubusercontent.com/72267349/154794069-1ecf9605-c22c-4b83-bea0-593d1ffa7cf4.png)
### Custom startpage using [nightTab](https://github.com/zombieFox/nightTab)
#### Base Theme
![nightTab](https://user-images.githubusercontent.com/72267349/147921209-55f18032-af83-4db2-9c7c-51c977096d27.jpg)
#### Nord Theme
![nightTab Nord](https://user-images.githubusercontent.com/72267349/147921152-0839d947-02c9-4b5c-a70c-5aafad09352b.jpg)
## Usage
### userChrome.css
1. Go to `about:config` and enable `toolkit.legacyUserProfileCustomizations.stylesheets`
2. Go to `about:support` and click **Profile folder > Open Folder**.
3. Create a new folder named `chrome`, download/clone this repo and copy the
downloaded files into the `chrome` folder you just created.
4. Restart Firefox.The directory tree should look something like this:
```css
│ user.js
└── chrome/
│ userChrome.css
│ noise-512x512.png
│
└── components/
autohide_sidebar.css
hide_tabs_toolbar.css
rounded_corner_context_menu.css
windows_controls_placeholder.css
```### Smooth scrolling
Copy the `user.js` file (from the `misc/` folder) to the **Profile folder**
*(not the `chrome/` folder)*. Remove other unrelated tweaks, if needed.
The `user.js` file can be deleted afterwards.### Vertical tabs
0. Install [Sidebery](https://addons.mozilla.org/firefox/addon/sidebery).
1. Copy the contents of `misc/sidebery.css`.
2. Navigate to **Sidebery Settings > Styles editor** and paste the CSS under
"Sidebar" on the right.
3. Individually set the following options in Styles editor:
- **Background color** to `#2B2A33`
- **Info color** to `#9494AA`
- **Color of active option** to `#9494AA`
- **Color of inactive option** to `#52525E`
- Under "Context Menu", **Background color** to `#2B2A33`
- Under "Context Menu", **Option background color on hover** to `#2B2A33`
4. Set window preface value in **Sidebery settings > Help > Preface value**
to " " (a space).\
**Note:** The preface value can be anything, but you would have to change it
accordingly inside the `userChrome.css` files as well.
5. Alternatively, import `misc/sidebery-data.json` in **Sidebery Settings > Help > Import**,
if you are fine with my settings. :P### Custom new tab
0. Install [nightTab](https://addons.mozilla.org/firefox/addon/nighttab).
1. Open a new tab and click the settings icon.
2. Navigate to **Data > Restore > Import from File**.
3. Import any of the any of the `nightTab*.json` file.
4. To set nightTab as your default homepage, [see here](https://github.com/zombieFox/nightTab/wiki/Setting-nightTab-as-your-Firefox-homepage).## References
- [MrOtherGuy/firefox-csshacks](https://github.com/MrOtherGuy/firefox-csshacks)
- [hide_tabs_toolbar_v2.css](https://github.com/MrOtherGuy/firefox-csshacks/blob/master/chrome/hide_tabs_toolbar_v2.css)
- [autohide_sidebar.css](https://github.com/MrOtherGuy/firefox-csshacks/blob/master/chrome/autohide_sidebar.css)
- [context_menus_more_proton.css](https://github.com/MrOtherGuy/firefox-csshacks/blob/master/chrome/context_menus_more_proton.css)
- [iconized_content_context_menu.css](https://github.com/MrOtherGuy/firefox-csshacks/blob/master/chrome/iconized_content_context_menu.css)
- [iconized_main_menu.css](https://github.com/MrOtherGuy/firefox-csshacks/blob/master/chrome/iconized_main_menu.css)
- [iconized_places_context_menu.css](https://github.com/MrOtherGuy/firefox-csshacks/blob/master/chrome/iconized_places_context_menu.css)
- [iconized_tabs_context_menu.css](https://github.com/MrOtherGuy/firefox-csshacks/blob/master/chrome/iconized_tabs_context_menu.css)
- [iconized_textbox_context_menu.css](https://github.com/MrOtherGuy/firefox-csshacks/blob/master/chrome/iconized_textbox_context_menu.css)
- [mgastonportillo/gale-for-ff](https://github.com/mgastonportillo/gale-for-ff)
- [Redundakitties/colorful-minimalist](https://github.com/Redundakitties/colorful-minimalist)