User Help for Mozilla Thunderbird
4 posts • Page 1 of 1
How can I use userChrome.css to access the arrow icons in the new "Correspondents" column in Thunderbird? I like the idea of it, but it's too hard to tell the left and right arrows apart.
I'd like to replace them, or change the background colour of the row based on the direction, or at least just hide the left arrow. But I can't find any css selectors for them, and the DOM inspector doesn't help. I don't really know where to start looking in (or even find) the Thunderbird source code for it. Anyone? Thanks...
Moving to Thunderbird Support.
Yep, DOMi gave use just 'treechildren' for the whole lot, right?
Trawl through the app code and you'll be at it forever, so with trees you have to get inventive. This one was relatively simple, as it was a new feature - Google search gives you the Bug number and then look at the Diff file for the fix -
https://bugzilla.mozilla.org/attachment ... ction=diff
Ignore all .js, xul files and look for the .css files where they would have to style their stuff and this gives me the IDs I need. As I can see that they are using a 16x16px -moz-image-region for those arrows, then the simplest fix is just to give one of the arrows a background (for demonstration I've used an obvious red, but a subtle hex colour should be substituted in your stuff).
The fix? -
Advanced bit - (glad you spotted this btw, as it means that I need to fix this on my stuff as well.)
On my latest theme, I use a grad background there that is roughly #C5CCD3, meanwhile the arrows are a unhelpful grey. I can either go darker or lighter and to make it look neater I've done a circle instead of the square there (the border radius is always half the height of the width/height to get a circle.
So, I end up with this -
...and of the two, the lighter one looks better. Job done.
Perfect, exactly what I was looking for! I had actually made my way to the themes folder in the source code using mxr, but didn't quite find the target - thanks for the hunting tips!
I'm aiming for a very flat look, so I didn't change the background colour. I ended up with this, seems to be much more legible than before:
4 posts • Page 1 of 1
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 4 guests