Funkcjonalność tej witryny będzie ograniczona w czasie konserwacji. Jeśli artykuł nie rozwiązuje twojego problemu i chcesz zadać pytanie, to nasza społeczność wsparcia jest dostępna na @FirefoxSupport na Twitterze i /r/firefox na Reddicie.

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

Change Tab Font, Weight, Color, etc. FF109

  • 3 odpowiedzi
  • 0 osób ma ten problem
  • 1 wyświetlenie
  • Ostatnia odpowiedź od Slouch

more options

Hi All,

I'm trying to modify various userChrome.css attributes of Tabs in Firefox 109.

However, code that worked in FF 88 is seemingly no longer working.

Is the below code outdated?

I would also like to change the appearance of #TabsToolbar from translucent to either a solid color or a background image. Is that possible? Right now, you can see icons from the desktop through the Tab bar, and there appears to be a strange curved, black overlay colorizing it. See attached screenshot.

Thanks for any input!

/* MISCELLANEOUS TAB ATTRIBUTES */

  1. TabsToolbar { /* tab bar */
 -moz-box-ordinal-group: 3 !important;
 padding-top: 0 !important;
 padding-bottom: 0 !important;
 height: 25px !important;
 background-image: url("bkmr_back.gif");
 border-top: 1px solid #afc0d2 !important;
 border-bottom: 1px solid #8698aa !important;

}

/* Change the color of selected tab */

   .tab-background[selected="true"] {
       background-attachment: none!important;
       background-image: none!important;

background-color: #eef5fc !important; /* background color only, not border */ }

/* Change text attributes of selected tab #8698aa to match bottom tabstoolbar line color */

  1. TabsToolbar .tabbrowser-tab[selected] {

font-weight: 800 !important; color: #000 !important;

       border-top: 1px solid #8698aa !important;
       border-left: 1px solid #8698aa !important;
       border-right: 1px solid #8698aa !important;

}

  1. TabsToolbar .tabbrowser-tab:not([selected]) {

font-weight: 600 !important; color: #000 !important; /* non-selected tab text color */

       border-top: 1px solid #afc0d2 !important;
       border-left: 1px solid #afc0d2 !important;
       border-right: 1px solid #afc0d2 !important;

}

/* Change the color of non-selected tab */

  .tab-background:not([selected]) {
       color: #000000 !important;

background-color: #c7d3e0 !important; }

Hi All, I'm trying to modify various userChrome.css attributes of Tabs in Firefox 109. However, code that worked in FF 88 is seemingly no longer working. Is the below code outdated? I would also like to change the appearance of #TabsToolbar from translucent to either a solid color or a background image. Is that possible? Right now, you can see icons from the desktop through the Tab bar, and there appears to be a strange curved, black overlay colorizing it. See attached screenshot. Thanks for any input! /* MISCELLANEOUS TAB ATTRIBUTES */ #TabsToolbar { /* tab bar */ -moz-box-ordinal-group: 3 !important; padding-top: 0 !important; padding-bottom: 0 !important; height: 25px !important; background-image: url("bkmr_back.gif"); border-top: 1px solid #afc0d2 !important; border-bottom: 1px solid #8698aa !important; } /* Change the color of selected tab */ .tab-background[selected="true"] { background-attachment: none!important; background-image: none!important; background-color: #eef5fc !important; /* background color only, not border */ } /* Change text attributes of selected tab #8698aa to match bottom tabstoolbar line color */ #TabsToolbar .tabbrowser-tab[selected] { font-weight: 800 !important; color: #000 !important; border-top: 1px solid #8698aa !important; border-left: 1px solid #8698aa !important; border-right: 1px solid #8698aa !important; } #TabsToolbar .tabbrowser-tab:not([selected]) { font-weight: 600 !important; color: #000 !important; /* non-selected tab text color */ border-top: 1px solid #afc0d2 !important; border-left: 1px solid #afc0d2 !important; border-right: 1px solid #afc0d2 !important; } /* Change the color of non-selected tab */ .tab-background:not([selected]) { color: #000000 !important; background-color: #c7d3e0 !important; }
Załączone zrzuty ekranu

Zmodyfikowany przez Slouch w dniu

Wszystkie odpowiedzi (3)

more options

Dropa said

You need to go to the site your using to create or edit your userChrome.css for support on your css edits as by default Firefox forum doesn't support programming css edits. Or go to a userChrome.css forum and post your question there for those doing css edits to review your edits so it works as what you want.

Hello Dropa,

I'm not sure I understand. For years, I've been getting help with CSS edits here on this forum.

What is the "site" I'm using to edit my userChrome.css?

Thanks.

more options

Do you have other code in your userChrome.cssll code since I notice you have placed the Tab bar below the Navigation Toolbar ?

more options

Hi cor-el,

Yes, quite a bit of other code as well :)