Bookmarks toolbar folder items overly bold on OS X
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.
Modifié le
Toutes les réponses (4)
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.
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?
> 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...
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