Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

Bookmarks toolbar folder items overly bold on OS X

  • 4 odpovědi
  • 1 má tento problém
  • 3 zobrazení
  • Poslední odpověď od WalterGR

more options

In Firefox 40.0.3 running in OS X 10.10.5, items within folders in the bookmarks toolbar are overly bold.

I would like the font to be the same as the font used in the titles of the folders.

I've attached a screenshot. This was taken on a fresh profile. (Apologies for its resolution: I'm on a retina display and resizing the image smaller makes it look wonky.)

I used userChrome.css to override the font. This has no effect:

   /* Matches folders within the bookmarks toolbar folder
      dropdowns, but not bookmarks within them.
   */
   menu.bookmark-item {
       font-weight: normal !important;
   }
   /* Matches bookmarks within the bookmarks toolbar folder
      dropdowns, but not folders within them.
   */
   menuitem.bookmark-item {
       font-weight: normal !important;
   }

So whatever font is used for those items isn't, in fact, bold.

I've used both https://dxr.mozilla.org/mozilla-central/source/ and the DOM Inspector to try to find the attributes of the font used for the folder titles - but have failed completely.

Where would I find that? Then I can override the font used for the folder items and make it the same.

Thanks.

P.S. Please let me know if there is a more technical forum, and I'll ask there.

In Firefox 40.0.3 running in OS X 10.10.5, items within folders in the bookmarks toolbar are overly bold. I would like the font to be the same as the font used in the titles of the folders. I've attached a screenshot. This was taken on a fresh profile. (Apologies for its resolution: I'm on a retina display and resizing the image smaller makes it look wonky.) I used userChrome.css to override the font. This has no effect: /* Matches folders within the bookmarks toolbar folder dropdowns, but not bookmarks within them. */ menu.bookmark-item { font-weight: normal !important; } /* Matches bookmarks within the bookmarks toolbar folder dropdowns, but not folders within them. */ menuitem.bookmark-item { font-weight: normal !important; } So whatever font is used for those items isn't, in fact, bold. I've used both https://dxr.mozilla.org/mozilla-central/source/ and the DOM Inspector to try to find the attributes of the font used for the folder titles - but have failed completely. Where would I find that? Then I can override the font used for the folder items and make it the same. Thanks. P.S. Please let me know if there is a more technical forum, and I'll ask there.
Přiložené obrázky

Upravil uživatel WalterGR dne

Všechny odpovědi (4)

more options

Note: In Firefox 40.0.3 running under Windows 7 SP1, the font matches the rest of the UI - i.e. it isn't excessively bold.

more options

Firefox can display fonts bolder when the font size increases beyond some setting. The font looks larger to me in the screenshot, so that might cause this.

Do you have an extension or possibly a theme or code in userChrome.css that might have increased the font?

more options

> Do you have an extension or possibly a theme or code in userChrome.css that might have increased the font?

No, as I said it happens on a fresh profile, and the screenshot is from the fresh profile.

> The font looks larger to me in the screenshot, so that might cause this.

I'm not positive, but I think it must be a different font entirely. Reducing the size of the font using userChrome.css, by one point at a time, it went from looking like it does in the screenshot to being tiny.

If I could find where the original styles for those UI elements (bookmark and folder) are defined...

more options

Opened:

Bug 1200939 - Items in folders in the Bookmarks Toolbar are overly bold on OS X https://bugzilla.mozilla.org/show_bug.cgi?id=1200939