본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

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 :)