Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Change the color of the Downloads arrow

  • 3 个回答
  • 2 人有此问题
  • 8 次查看
  • 最后回复者为 Vardark

more options

When I download something, the arrow pointing to the downloads overview turns blue. The color distracts me, I want it to always stay gray. Is it possible to somehow access the file containing the blue arrow and replace it woth the gray one?

When I download something, the arrow pointing to the downloads overview turns blue. The color distracts me, I want it to always stay gray. Is it possible to somehow access the file containing the blue arrow and replace it woth the gray one?

所有回复 (3)

more options

This is how is was changed before Australis: https://support.mozilla.org/en-US/que.../971586

However I will wait for one of our experts to check out if they know if this is still valid.

more options

You can find the current CSS code for the download indicator in this file:

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

Add code to the userChrome.css file below the default @namespace line.


@namespace url("https://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#downloads-button[cui-areatype="toolbar"][attention] > #downloads-indicator-anchor > #downloads-indicator-icon {
  background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"),0,198,18,180) !important;
}

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.


Note that you can disable the animation by toggling this pref to false on the about:config page:

  • browser.download.animateNotifications = false
more options

I have created the userChrome file as descibed by MozillaZine (neither it nor the Chrome folder existed). I added the code provided by you. I have restarted the browser. Still the arrow turns blue when I download something. Have I misunderstood something?