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!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Bookmarks toolbar folder items overly bold on OS X

  • 4 个回答
  • 1 人有此问题
  • 3 次查看
  • 最后回复者为 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.
已附加屏幕截图

由WalterGR于修改

所有回复 (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