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

Mozilla 도움말 검색

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

자세히 살펴보기

AccentColor in Thunderbird 102.10.1 for Custom CSS

  • 5 답장
  • 0 이 문제를 만남
  • 최종 답변자: sfhowes

more options

I am trying to get TB (102.10.1) to use my system colors for

  1. navigation-toolbox-background {background: AccentColor !important;}

I've used AccentColor in Firefox for...

  1. TabsToolbar, #navigator-toolbox, #tabs-newtab-button, #titlebar toolbarbutton:not(:hover):not(:active), #scrollbutton-up:not(:hover):not(:active), #scrollbutton-down:not(:hover):not(:active), .titlebar-color {
   background: AccentColor !important;
   color: AccentColorText;
   fill: AccentColorText !important;

}

...but I'm doing something wrong in TB. Please let me know the proper usage for TB. Thank you for taking a look at this.

I am trying to get TB (102.10.1) to use my system colors for #navigation-toolbox-background {background: AccentColor !important;} I've used AccentColor in Firefox for... #TabsToolbar, #navigator-toolbox, #tabs-newtab-button, #titlebar toolbarbutton:not(:hover):not(:active), #scrollbutton-up:not(:hover):not(:active), #scrollbutton-down:not(:hover):not(:active), .titlebar-color { background: AccentColor !important; color: AccentColorText; fill: AccentColorText !important; } ...but I'm doing something wrong in TB. Please let me know the proper usage for TB. Thank you for taking a look at this.

모든 댓글 (5)

more options

Try this to apply the accent colour to the Unified and Menu Bars, and the tab bar (see picture):

#navigation-toolbox {background-color: AccentColor !important;}


The automatic application of the accent colour to the bars was removed in TB 128.2.2.

If the Menu Bar is enabled, you might need to make it more visible:

/*  Menu Bar colours  */
menubar > menu:hover {
     background-color: orange !important;
     color: black !important;
     font-weight: normal !important;
}

menubar > menu {
     color: white !important;
     font-weight: normal !important;
}


Edit: Realizing you are on 102, I tested the code and it still works, but the accent colour is already applied to the toolbars with the TB system theme. The accent colour is set in Windows Settings, and can be automatic or manual.

글쓴이 sfhowes 수정일시

도움이 되셨습니까?

more options

Thank you sfhowes for your help. It looks like my problem is I'm using a Portable version so it's not using the Windows colors as default. I installed it on another PC and it is using the Windows colors without any CSS as you pointed out. Is there a work around for Portable installs to get it to use system colors like an "normal" install would?

도움이 되셨습니까?

more options

I don't have a portable version, but if it can apply a userChrome for other modifications, it should be able to apply the navigation-toolbox code that works in the standard version. Test with some css that produces an obvious change, like this that makes the scrollbar orange and grey in 102:

scrollbar {
  -moz-appearance: none !important;
    background: orange !important;
    width: 15px;
    scrollbar-color: grey orange;
}


Check that toolkit.legacyUserProfileCustomizations.stylesheets is true in Config. editor.

도움이 되셨습니까?

more options

In general, the custom CSS is working. navigation-toolbox-background {background: blue !important;} works but navigation-toolbox-background {background: AccentColor !important;} does not. A fresh "normal" install of 102.10 uses the Windows colors for that menu area but a fresh Portable install does not, it's gray. I'm guessing the Portable version isn't looking or can't find system settings because of how it is installed. This does not seem to be a Thunderbird issue so I posted on PortableApps https://portableapps.com/node/71642 but don't have a response yet.

글쓴이 emanon1138 수정일시

도움이 되셨습니까?

more options

emanon1138 said

In general, the custom CSS is working. navigation-toolbox-background {background: blue !important;} works but navigation-toolbox-background {background: AccentColor !important;} does not.

I think you have to use the code in my first reply with background-color: AccentColor

도움이 되셨습니까?

질문하기

글에 답글을 달기 위해서는 계정으로 로그인해야만 합니다. 계정이 아직 없다면 새로운 질문을 올려주세요.