搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

userChrome.css broken in FF 10.0.2 and Nightly 13.0a1?

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 sctl

more options

I noticed with the FF 10.0.2 update that userChrome.css is no longer being applied. To test, I created a new profile with no addons or extensions, and a single modified CSS value (to opacify the titlebar) in userChrome.css. It doesn't work as usual or expected (no result at all). I noticed that Nightly 13.0a1 is also affected. Here's the one CSS value I pared the userChrome down to:

#TabsToolbar {
 background-color: -moz-dialog !important;
}

Thanks

I noticed with the FF 10.0.2 update that userChrome.css is no longer being applied. To test, I created a new profile with no addons or extensions, and a single modified CSS value (to opacify the titlebar) in userChrome.css. It doesn't work as usual or expected (no result at all). I noticed that Nightly 13.0a1 is also affected. Here's the one CSS value I pared the userChrome down to:<br /> <br /> <pre><nowiki>#TabsToolbar { background-color: -moz-dialog !important; } </nowiki></pre> Thanks

由 cor-el 於 修改

被選擇的解決方法

That tab bar already has that background-color: -moz-dialog !important; rule, but there is another rule that sets a background-image

background-image: -moz-linear-gradient(50% 100%, rgba(0, 0, 0, 0.3) 1px, rgba(0, 0, 0, 0.05) 1px, transparent 50%);

You probably need to add a -moz-appearance: none !important; rule and may also need to disable background images or set a different background image instead.


See line 27 and line 1429 in:

  • chrome://browser/skin/browser.css
從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

選擇的解決方法

That tab bar already has that background-color: -moz-dialog !important; rule, but there is another rule that sets a background-image

background-image: -moz-linear-gradient(50% 100%, rgba(0, 0, 0, 0.3) 1px, rgba(0, 0, 0, 0.05) 1px, transparent 50%);

You probably need to add a -moz-appearance: none !important; rule and may also need to disable background images or set a different background image instead.


See line 27 and line 1429 in:

  • chrome://browser/skin/browser.css
more options

Thanks cor-el, sorry it took me so long. You are spot on, as usual!