Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Rohkem teavet

How to change toolbar button icon color in Library window?

  • 2 vastust
  • 1 on selline probleem
  • 1 view
  • Viimati vastas joeyburrow

more options

Is there way to separate the icon color from the icons in the library window? i used

#nav-bar .chromeclass-toolbar-additional, #nav-bar .webextension-browser-action, 
#reload-button, #stop-button, .toolbarbutton-icon {
  fill: #ffffff !important;
}

but it also applied it in the library window.

Is there way to separate the icon color from the icons in the library window? i used <pre><nowiki>#nav-bar .chromeclass-toolbar-additional, #nav-bar .webextension-browser-action, #reload-button, #stop-button, .toolbarbutton-icon { fill: #ffffff !important; }</nowiki></pre> but it also applied it in the library window.
Attached screenshots

Muudetud cor-el poolt

Valitud lahendus

Enclose the code in a @-moz-document block to restrict the code to browser.xul (future Firefox versions will switch to browser.xhtml).

@-moz-document 
 url(chrome://browser/content/browser.xul),
 url(chrome://browser/content/browser.xhtml){
 (your code)
}
Loe vastust kontekstis 👍 1

All Replies (2)

more options

Valitud lahendus

Enclose the code in a @-moz-document block to restrict the code to browser.xul (future Firefox versions will switch to browser.xhtml).

@-moz-document 
 url(chrome://browser/content/browser.xul),
 url(chrome://browser/content/browser.xhtml){
 (your code)
}

Muudetud cor-el poolt

more options

Thank you. got it working!

Muudetud joeyburrow poolt