MozillaZine

Firefox Webextension help

User Help for Mozilla Firefox
molitar
 
Posts: 108
Joined: June 1st, 2005, 4:38 pm

Post Posted August 12th, 2018, 12:16 pm

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: 3012
Joined: February 3rd, 2009, 6:29 pm

Post Posted August 12th, 2018, 3:03 pm

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: 108
Joined: June 1st, 2005, 4:38 pm

Post Posted August 12th, 2018, 7:27 pm

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: 3012
Joined: February 3rd, 2009, 6:29 pm

Post Posted August 13th, 2018, 5:12 am

Omit.
Last edited by morat on August 16th, 2018, 5:19 pm, edited 1 time in total.

morat
 
Posts: 3012
Joined: February 3rd, 2009, 6:29 pm

Post Posted August 16th, 2018, 4:34 pm

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
viewtopic.php?f=19&t=3034602

Return to Firefox Support


Who is online

Users browsing this forum: CaJazzman and 10 guests