darrinhenein / VerticalTabs

Firefox add-on for arranging tabs vertically
https://addons.mozilla.org/firefox/addon/108862/
194 stars 28 forks source link

VerticalTabs CSS forces its own background colours, preventing other extensions doing so (FIX IS KNOWN) #13

Open stilez opened 9 years ago

stilez commented 9 years ago

SCENARIO: Firefox and tab Mix Plus. Set up some nice garish background colours in T.M.P. for loaded/unloaded/unread tabs. They work fine. Now install VerticalTabs. They immediately lose their T.M.P. colours.

CAUSE OF ISSUE: There's a css issue in the theming css files (win7.css etc). The extension doesn't just handle vertical tabs, it also expects to recolour tab borders/backgrounds to "default colours" or "VerticalTab theme colours" (Why, why?!) when recolouring is completely unrelated to the extensions job of vertical formatting. This kills any tab background colour or formatting by extensions like TabMix Plus, ColorfulTabs, etc.

SOLUTIONS/WORKAROUNDS:

Solution 1 - just kill all theming to be honest. Vertical-ing a tab bar doesn't mean re-colouring it.

Solution 2 - remove all "background" color code from the Win7 and other OS css files. For Windows this means removing (at least) these lines:

.tabbrowser-tab { -moz-box-pack: start; -moz-box-flex: 0; -moz-appearance: none ! important; <------------- DELETE THIS LINE background: transparent ! important; <------------- DELETE THIS LINE

Those two lines seem to fix it enough for ColorfulTabs and others to semi-work. Really needs to kill all theming though.