sudoec / Edge-Mimicry-Tree-Style-Tab-For-Firefox

A theme for Tree Style Tab that tries to replicate the vertical tab feature of Microsoft Edge Browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Edge Mimicry - Tree Style Tab Theme (Beta)

A theme created for Tree Style Tab extension on Mozilla Firefox, that tries to replicate the vertical tab user interface of Microsoft Edge Browser

ezgif com-gif-maker

Previews:

ss-01 ss-02 ss-05 ss-06 ss-06 ss-07

Features include:

  • support tab indention
  • support for tab-coloring based on its container
  • follows your current firefox theme

How to install:

  1. You must have Tree Style Tab extension installed on Firefox.
  2. Go to Firefox Add-Ons Manager > Tree Style Tab > Options , then click the ☑️ Unlock Expert Options.
  3. On the Appearance section of the options page, choose the "No Decorations" to disable the built-in theme applied.
  4. Scroll down on the options page until you find the "► Advanced" section and expand it. You will see a textfield there with a caption on the top "Extra Style rules provided by Tree Style Tab".
  5. Copy the entire code/content of the treestyletab-edge-mimicry.css and paste it on the textfield.
  6. Close then open the sidebar to restart the tree style tab extension and to be able to load the theme correctly. Alternatively, you can also disable then enable the extension for it to properly load the css codes (and probably to reset the script handling for the pinned tabs, because there seems to be a problem with the pinned tabs layout when in "icons only" mode.)

Optional userChrome.css mods

2022-10-13 17-05-56

If you want to also copy the hover feature of sidebar found on Microsoft Edge, then you can use the userChrome.css and other files included on the "edge-mimicry" folder. However, this sidebar mod will remove the resizeable feature since it uses a fixed width configuration.

How to install userChrome.css mods:

  1. You must have toolkit.legacyUserProfileCustomizations.stylesheets set to true on the about:config of Firefox. If you have not, then set it and restart firefox afterwards.
  2. Go to about:support and find the "Profile Directory". Click the "open directory" to navigate to your profile folder. Once you are at the profile folder, look for a folder named "chrome", if it does not exist, then create one.
  3. Copy-paste both userChrome.css and the files inside the "edge-mimicry" folder on the "chrome" folder. (If you already have your own userChrome.css, then just copy-paste the "@import..." line on my userChrome.css to your existing userChrome.css.)
  4. Re-launch Firefox.

Important Notes:

  • Hover Mod + Icon-Only Pinned Tabs - When choosing both these options, the Tree Style Tab may sometimes have janky animation when hovering on the sidebar. This is a bug that cannot be fixed by simple means of CSS, since the position of pinned tabs is handled by the JavaScript. Best thing that I could do to eliminate it is by setting the transition animation to "none". This way, the tabs won't have animation moving in-and-out.
  • Linux users may encounter problems with the tab layout and margins, along with the default theme. I am still investigating on how Firefox Linux handles browser theming since I primarily created and tested this mod on a Firefox installed on a windows machine.
  • Still in beta, since I'm still fixing some theming issue on Linux. Rest assured I'll update this repo once I'm done.
  • When pasting the code to Extra Style Rules, make sure to check the "No Decorations" on Appearance panel option as this theme doesn't go well with the built-in themes of Tree Style Tab.

Notes/Credits:

About

A theme for Tree Style Tab that tries to replicate the vertical tab feature of Microsoft Edge Browser


Languages

Language:CSS 100.0%