Firefox Webextension help

User Help for Mozilla Firefox
Post Reply
molitar
Posts: 126
Joined: June 1st, 2005, 4:38 pm
Contact:

Firefox Webextension help

Post by molitar »

I find that some Sidebar settings for webextensions are using the default Windows Inactive Title Font setting. In Windows 7 the Inactive Title Bar Font is BOLD. The problem is that webextensions like Update Scanner use bold to indicate there is a change so it basically breaks the functionality of the extension and everything is bold. I changed this setting in Windows and now the extension works properly but now it's hard to read my Window Titles.

Is there a way to change this setting in Firefox itself so that it is not reading Windows default setting?
morat
Posts: 6432
Joined: February 3rd, 2009, 6:29 pm

Re: Firefox Webextension help

Post by morat »

Here is how to change the style of the sidebar title.

Code: Select all

/* Firefox userChrome.css */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

#sidebar-title {
  -moz-appearance: none !important;
  background-color: orange !important;
  color: white !important;
  font-weight: normal !important;
}
http://kb.mozillazine.org/UserChrome.css
molitar
Posts: 126
Joined: June 1st, 2005, 4:38 pm
Contact:

Re: Firefox Webextension help

Post by molitar »

Maybe it's bugged. I have some custom.css settings and they are working fine but when I tried the one above nothing changed it still followed the windows setting and not the Firefox at all.
morat
Posts: 6432
Joined: February 3rd, 2009, 6:29 pm

Re: Firefox Webextension help

Post by morat »

Omit.
Last edited by morat on August 16th, 2018, 5:19 pm, edited 1 time in total.
morat
Posts: 6432
Joined: February 3rd, 2009, 6:29 pm

Re: Firefox Webextension help

Post by morat »

Sorry, I misunderstood what you meant by title. I think I understand the request now.

Here is how to style the changed titles in the sidebar for the Update Scanner extension.

Code: Select all

/* Firefox userContent.css */

@-moz-document regexp("moz-extension://.*/app/sidebar/sidebar.html") {
  .changed > .jstree-anchor {
    color: red !important;
  }
}
http://kb.mozillazine.org/UserContent.css

How to troubleshoot an addon sidebar page
http://forums.mozillazine.org/viewtopic ... &t=3034602
Post Reply