We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Change Tab Font, Weight, Color, etc. FF109

  • 3 件の返信
  • 0 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: 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; }
添付されたスクリーンショット

この投稿は Slouch により に変更されました

すべての返信 (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 :)