Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    5 Star Lounger PaulB's Avatar
    Join Date
    May 2002
    Location
    Ottawa, Ontario
    Posts
    765
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Active Tab Color (FireFox 2)

    In FF 1 there used to be UserChrome.css coding to change the color of the active tab. In FF 2, this coding only changes the color of the background on which the tab sits. Is there any way to get the FF1 effect under FF2?

    Cheers,
    Regards,
    PaulB

  2. #2
    Platinum Lounger
    Join Date
    Jan 2001
    Posts
    3,788
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Active Tab Color (FireFox 2)

    With Firefox 2 the colour of the tab can not be changed as starting with Firefox 2 they are created by combining a series of images (png files) and not generated by just specifying a colour for the tab. If you want to change the appearance of a tab you have to install a theme.

  3. #3
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Wetherby, Yorkshire, England
    Posts
    283
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Active Tab Color (FireFox 2)

    Or you can try the ColorfulTabs extension which randomly changes the colour of all open tabs. I like the effect.

  4. #4
    5 Star Lounger PaulB's Avatar
    Join Date
    May 2002
    Location
    Ottawa, Ontario
    Posts
    765
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Active Tab Color (FireFox 2)

    Bummer. Seems like a step backwards when "progress" results in the loss of a useful feature. Thanks for pointing out "ColorfulTabs". It is nice, as far as it goes, but compounds the problem I want to resolve. I liked having all the tabs the same color except for the active tab. Makes it easy to identify. Having all the tabs different colors just makes matters worse.

    Cheers,
    Regards,
    PaulB

  5. #5
    Platinum Lounger
    Join Date
    Jan 2001
    Posts
    3,788
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Active Tab Color (FireFox 2)

    How about changing the colour of the text on the selected tab, you could also make it bold.

    <code>/* change font colour to red and bold for selected tab*/
    .tabbrowser-tabs > tab[selected="true"] .tab-text {
    color: red !important;
    font-weight: bold !important;
    }</code>

  6. #6
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Active Tab Color (FireFox 2)

    Thanks much, Tony! Don't know about Paul, but I just tried it and I LIKE the look...

  7. #7
    5 Star Lounger PaulB's Avatar
    Join Date
    May 2002
    Location
    Ottawa, Ontario
    Posts
    765
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Active Tab Color (FireFox 2)

    Yes, thanks, this works for me too, especially when I also set the BG color.

    /* Change color of active tab */

    tab[selected="true"]
    {
    background-color: blue !important;
    color: blue !important;
    }


    Cheers,
    Regards,
    PaulB

  8. #8
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Active Tab Color (FireFox 2)

    Ya see what Tony and you started... I'll have to add your tweak too. I just now added a line to increase the font size from what I think the default was (8 point?) and that ALSO makes the tab stand out more for my weak eyes. I tried 10 point first but that was too big.

    font-size: 9pt !important

  9. #9
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Brantford, Ontario, Canada
    Posts
    2,391
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Active Tab Color (FireFox 2)

    Does anyone have a sample file they can provide for me?

    The example provided in my profile directory doesn't seem to be functional (once renamed). I've never experimented with this file, and would like to see what is doable!

    Thanks
    Christopher Baldrey

  10. #10
    Platinum Lounger
    Join Date
    Jan 2001
    Posts
    3,788
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Active Tab Color (FireFox 2)

    Sample file attached, renamed to userChrome.txt so I could attach it here.
    Attached Files Attached Files

  11. #11
    Platinum Lounger
    Join Date
    Jan 2001
    Posts
    3,788
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Active Tab Color (FireFox 2)

    For a site that shows what can be done see userChrome examples

  12. #12
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Active Tab Color (FireFox 2)

    And just to add to Tony's "donation" I'll attach a text version of mine also. The only thing I've done with mine is to customize the little icons graphics on the personal toolbar - you can search out the thread here in The Lounge where we discussed it.

    And for Tony AGAIN: Thanks for the examples link. I was almost too embarrassed to ask you where's a good place to go to try to learn more about this "chrome" stuff. I'm only familiar with about:config and the chrome commands/tags don't seem to show up there. Thanks again...
    Attached Files Attached Files

  13. #13
    5 Star Lounger PaulB's Avatar
    Join Date
    May 2002
    Location
    Ottawa, Ontario
    Posts
    765
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Active Tab Color (FireFox 2)

    Tony, thanks for that great link. Other useful tips can be found here.
    Regards,
    PaulB

  14. #14
    5 Star Lounger PaulB's Avatar
    Join Date
    May 2002
    Location
    Ottawa, Ontario
    Posts
    765
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Active Tab Color (FireFox 2)

    Big Al, I tried varying the font size as per your example. At 9pt I couldn't see any difference, so I settled on 10pt. (Perhaps our respective default font sizes are different?) I didn't use the font weight parameter as it looks as if my default font weight is already bold for the active tab.

    Cheers,
    Regards,
    PaulB

  15. #15
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Brantford, Ontario, Canada
    Posts
    2,391
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Active Tab Color (FireFox 2)

    Thanks to both BigAl and Tony for the example files. I'll give them a go on a break at work.
    Christopher Baldrey

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •