搜索 | 用户支持

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

Learn More

Change navigation bar line style

  • 2 个回答
  • 2 人有此问题
  • 4 次查看
  • 最后回复者为 memeplex

more options

Hi all,

I don't like the much darker line around the back button (see screenshot) in the latest version of firefox (45). I would like to style it softer, more like the lines around tabs (see screenshot). I tried to get this working with a custom chrome/userChrome.css but to no avail. I'm not a css expert and I don't understand the details of firefox dom at all. Could anyone here help me achieve my goal?

Thank you in advance -- Carlos

Hi all, I don't like the much darker line around the back button (see screenshot) in the latest version of firefox (45). I would like to style it softer, more like the lines around tabs (see screenshot). I tried to get this working with a custom chrome/userChrome.css but to no avail. I'm not a css expert and I don't understand the details of firefox dom at all. Could anyone here help me achieve my goal? Thank you in advance -- Carlos
已附加屏幕截图

所有回复 (2)

more options

That border color seems to be defined via --urlbar-border-color

  • chrome://browser/skin/browser.css
/* Location bar */
#nav-bar {
  --urlbar-border-color: ThreeDShadow;
}
more options

Thank you very much cor-el. Changing that attribute did the trick.

But there are other gui elements affected by the same system color (see https://bugzilla.mozilla.org/show_bug.cgi?id=1211892).

Do you know if it's possible to redefine ThreeDShadow instead of replacing each occurrence?