2021-12-22 18:02:37 +00:00
# Firefox Sidebar / Edge-like Vertical Tabs (but better!)
2021-03-08 00:13:49 +00:00
2021-12-22 18:02:37 +00:00
**Note:** This repo was originally a subdirectory of [drannex42/linux-utils ](https://github.com/drannex42//linux-utils/ ), but has now become a standalone repo for my Firefox Sidebar CSS and Utilities. The original linux-utils files can be found [here ](https://github.com/drannex42/utils ).
## Example
2021-03-08 00:13:49 +00:00
Video of the extension in action: [https://i.imgur.com/HaLvkFc.mp4 ](https://i.imgur.com/HaLvkFc.mp4 )
2021-12-22 18:02:37 +00:00
## Features:
- Edge-like vertical tab design
- Dynamic Indentation (for tree style tabs)
- Custom theme configuration using Sideberry
- Support for tab groups
- Support for Tab Containers with visual identification
- Pinned tabs (right click to close)
2021-06-14 23:33:18 +00:00
## Updates
2021-12-22 17:34:11 +00:00
**v12021.12.22**
- Sideberry :: Fixed drop down arrows when tab groups are folded. (Thanks [@bpoteryko ](https://github.com/drannex42/linux-utils/issues/8 )!)
2021-12-22 19:04:59 +00:00
- userChrome.css :: You can now easily change the header background color using --sidebar-bg-color at the top of the tile.
- readme.md :: Added tutorial to adding a userChrome.css file
2021-12-22 17:34:11 +00:00
2021-12-14 21:28:21 +00:00
**v12021.12.14**
- Sideberry :: updated to use configs for easier theming, fixed font rendering, and fixed font sizing.
- userChrome.css :: Fixed sidebar header position and background color.
2021-12-14 20:59:36 +00:00
2021-12-14 21:28:21 +00:00
**12021.12.01**
- Sideberry is the preferred method, and has been since June. I will not be updating the TST extension moving forward. Sideberry is better in nearly every regard to memory usage, responsiveness, speed, and useability.
2021-12-01 19:53:16 +00:00
2021-12-14 21:28:21 +00:00
**12021.06.14**
- I have added Sideberry support, sideberry is faster, more responsive, and far easier to customize. I may keep going forward with this version.
2021-06-14 23:33:18 +00:00
2021-12-22 19:04:59 +00:00
# How to use
2021-06-14 23:33:18 +00:00
2021-12-22 19:04:59 +00:00
To use my custom styles you will need to copy the userChrome.css to your firefox profile and then follow the Sideberry section below. Both are outlined below in how to do so.
2021-06-14 23:33:18 +00:00
2021-12-22 19:04:59 +00:00
## 1. Sideberry
2021-06-14 23:33:18 +00:00
Add the sideberry-data-*.json file to your Sideberry addon by using the 'import' section under 'Help'.
2021-12-14 21:08:30 +00:00
The default is for light themes, if you have a particular color scheme in mind navigate to Sideberry Settings > Style Editor (found at the end of the settings sidebar).
To change the color:
**--tabs-font** :: Changes the default font (uses system font by default) to change the font size.
- I recommend changing it via Sideberry Settings > Appearance > Font Size
- default: 1rem -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
**--tabs-fg** :: Changes the tabs text color
- default: #000
**--tabs-bg-hover** :: Changes the hover background color for tabs
- default: #dedddaff
**--tabs-activated-bg** :: This is the active tab background color
- default: #fff
**--tabs-activated-shadow** :: Changes the active tabs shadow color
- default: rgba(0,0,0,0.15);
2021-12-22 19:04:59 +00:00
## 2. userChrome.css
2021-12-14 21:08:30 +00:00
2021-12-22 19:04:59 +00:00
Follow the instructions for adding a userChrome.css file to your Firefox Profile.
- Navigate to `[about:profiles]` in your address bar
2021-12-22 19:05:39 +00:00
- Click on the 'open root folder` button for your current profile
2021-12-22 19:04:59 +00:00
- Create a 'chrome' folder (all lowercase)
- Add the userChrome.css file to that folder
- In firefox navigate to `[about:config]` in your address bar
- change the characteristic `toolkit.legacyUserProfileCustomizations.stylesheets` to `true`
- Restart Firefox
- Visit [userchrome.org ](https://www.userchrome.org/how-create-userchrome-css.html ) if you are confused or have any questions.
Values:
** --sidebar-bg-color**
- Change this if you have a different theme than the default light one to match the rest of your sideberry theme colors
- default: #fafafa ;
### If you use FF without the bookmarks bar
2021-03-08 00:13:49 +00:00
Then the sidebar switcher will be missing, you need to add this to your userChrome.css
```
#sidebar-box {
2021-03-10 00:05:08 +00:00
--menubar-height: -40px !important;
2021-03-08 00:13:49 +00:00
}
```
2021-06-14 23:33:18 +00:00
Warning: TST support may be ending as I continue to test the Sideberry addon.
2021-03-08 00:13:49 +00:00
## Other Considerations
2021-03-10 00:05:26 +00:00
If you dislike some of my my other changes to FF (added vivaldi's folder icon, removed the superbox, cleaned up the borders, removed the titlebar) then remove everything below CUSTOM MODIFICATIONS in userChrome.css
2021-12-01 19:53:16 +00:00
## TreeStyleTabs (Legacy)
Either add the treestyletabs.css to your TST addon preferences or import the treestyletabs-\*.json preferences to your TST addon (_prefered_)