MozillaZine

add-on which highlights the active tab?

User Help for Seamonkey and Mozilla Suite
brynn
 
Posts: 36
Joined: November 28th, 2017, 5:08 am

Post Posted December 12th, 2017, 11:09 am

Hi Friends,
I've spent a good deal of time looking through available add ons. But so far, I haven't found one which will highlight the active tab. Or gray out the inactive tabs would work as well.

I found Sea Fox, which might do something like this. But some of the things it does, I don't want.

Has anyone come across an add on which both works with SM and highlights the active tab?

Thank you very much :D

Edit
Oh sorry. Maybe I should have posted in the SM Features board? Please move this if necessary.

therube

User avatar
 
Posts: 18177
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted December 12th, 2017, 11:28 am

userChrome.css

Code: Select all
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);


/* http://texturizer.net/firefox/tips.html#app_tab
   search?  tab color */



/* Change color of active tab */
tab{
   -moz-appearance: none !important;
}
tab[selected="true"] {
   background-color: rgb(0,153,255) !important;
   color: black !important; }


Adjust the rgb(x,x,x) to a color that works for you.
https://www.rapidtables.com/web/color/RGB_Color.html
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

ElTxolo

User avatar
 
Posts: 2266
Joined: July 30th, 2007, 9:35 am
Location: Localhost

Post Posted December 12th, 2017, 4:34 pm

brynn wrote:... I haven't found one which will highlight the active tab.

    :-k I'm using this code (in userChrome.css):


    Code: Select all

    /* Change text color of not visited tabs - Yellow */
     .tabbrowser-tab:not([visited]) .tab-text {color:#FFFF00!important;font-style:bold!important}

    /* Change text color of active tab - Black */
    .tabbrowser-tab[selected="true"] .tab-text {color:#000000!important;font-weight:bold;font-style:oblique!important}

    /* Change text color of loading tab - Orange */
    .tabbrowser-tab[busy] .tab-text {color:#FFA500!important;font-weight:bold}




    Image


  • Not visited tabs - Yellow
  • Active tab - Black
  • Loading tab - Orange





    Cheers! Image
How to Ask Questions The Smart Way - How to Report Bugs Effectively ;)
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20171221 SeaMonkey/2.49.2
Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20170619 SeaMonkey/2.51

brynn
 
Posts: 36
Joined: November 28th, 2017, 5:08 am

Post Posted December 14th, 2017, 5:51 am

Oh nice! I'll try one or the other of those. Or maybe both, since one changes the text color and the other changes the tab color.

Oh....but wait. ElTxolo, I see in your screenshot that the active tab is white. I don't necessarily need the text to change, although I might find some way to use it. But it's how that tab stands out because it's white, and, well at least the one next to it is blue. But you also have some other addon that I don't have, because my tabs have square corners, while yours are slightly rounded. So maybe the white comes from something else?

Where can I find user.Chrome.css?

frg
 
Posts: 458
Joined: December 15th, 2015, 1:20 pm

Post Posted December 14th, 2017, 7:47 am

> I've spent a good deal of time looking through available add ons. But so far, I haven't found one which will highlight the active tab. Or gray out the inactive tabs would work as well.

Do you use the classic or basic Windows theme? With my Aero theme it is white and the inactive tabs are gray.

With classic and Linux they are all gray. There is a bug open for this which I intend to fix for 2.49.2 but not sure if it will make it for this release.

FRG

ElTxolo

User avatar
 
Posts: 2266
Joined: July 30th, 2007, 9:35 am
Location: Localhost

Post Posted December 14th, 2017, 7:58 am

brynn wrote:.... ElTxolo, I see in your screenshot that the active tab is white. I don't necessarily need the text to change, although I might find some way to use it. But it's how that tab stands out because it's white, and, well at least the one next to it is blue. But you also have some other addon that I don't have, because my tabs have square corners, while yours are slightly rounded. So maybe the white comes from something else?

    :-k Well, from my point of view, the active tab is a light grey color.

    The active tab, is that color (light grey). And with those rounded/curves by default, with the theme I use 'Venerable Modern'

    And, I don't use any extension, to change the look of the tabs. (Just the code, of my previous message,
    added to the userChrome.css file; to change the color of the text in the tabs
    )
brynn wrote:.... Where can I find user.Chrome.css?

    @therube, already told you where the userChrome.css file is.

    WindoZe 7:
  • C:\Users\<Windows login/user name>\AppData\Roaming\Mozilla\SeaMonkey\Profiles\<profile folder>\chrome\userChrome.css







    Cheers! Image
How to Ask Questions The Smart Way - How to Report Bugs Effectively ;)
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20171221 SeaMonkey/2.49.2
Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20170619 SeaMonkey/2.51

brynn
 
Posts: 36
Joined: November 28th, 2017, 5:08 am

Post Posted December 17th, 2017, 3:01 am

Oh yes, I do use a Classic Windows theme - hated the appearance of the Aero themes. I like some of the other features it provides, but I just couldn't get past the appearance.

With classic and Linux they are all gray. There is a bug open for this which I intend to fix for 2.49.2 but not sure if it will make it for this release.

Hhmm.... If I made one or both of those fixes with the chrome.css file now, and then sometime in the relatively near future, you fix that bug, what would happen? Would it still continue to uses the fixes I added? Or would the bug fix override those? Or would I have to undo the chrome.css fixes, to allow the bug fix to work?

@therube, already told you where the userChrome.css file is

I apologize for missing the clue.

Return to SeaMonkey Support


Who is online

Users browsing this forum: No registered users and 1 guest