Quick question on personas hack

Andreas Nilsson nisses.mail at home.se
Wed Mar 31 14:29:26 UTC 2010


  While working on https://bugzilla.mozilla.org/show_bug.cgi?id=538335 
I've ran into a small issue that I'm looking for ideas how to solve.

The way that tabs on Pinstripe for Thunderbird and Firefox works is that 
the css puts a line on top of the tab box, and makes the current tab 
overlap that area. This don't work when using Personas however, since 
the background needs to be transparent instead of solid.
The way Firefox works around this is by drawing lines on top of the 
inactive tabs, but not on the active one. For the rightmost area, the 
Add Tab button is made mega-wide to fill up the blank space and then a 
line is drawn on top of that [1]. (it's a bit ugly, yes, but it works)
Since Thunderbird don't have a Add Tab button this won't work though. [2]

Therefore I'm looking for ideas on how to fix this.
Add a empty box with XUL inside the tab area and mimic the Add Tab 
behaviour?
Other ways?

1. http://www.andreasn.se/diverse/temp/personas-firefox.png
2. http://www.andreasn.se/diverse/temp/personas-thunderbird.png
- Andreas



More information about the tb-planning mailing list