Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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?