為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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