Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

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

Learn More

话题已关闭并存档。 如果需要帮助请提出新问题。

Bookmark colors in FF91

more options

Only able to color SVG files in omni.ja NOT SVG files extracted from omni.ja and saved to a local directory

BookmarksToolbar.svg is in the chrome directory along with userChrome.css. See code below

<per>

/* Colored folders for Bookmark Menus. */ /* Standard folder -- on Toolbar and Menus */

  1. PlacesToolbarItems toolbarbutton[container="true"]:not([query="true"]) .toolbarbutton-icon,
-moz-any(
  1. PlacesToolbarItems,
  2. PlacesChevronPopup,
  3. BMB_bookmarksPopup,
  4. bookmarksMenu,
  5. OtherBookmarksPopup) menu[container="true"]:not([query="true"]) > .menu-iconic-left > .menu-iconic-icon,

/* Standard folder -- in Sidebar, Library, Add/Edit Bookmark dialog */

-moz-any(
  1. bookmarks-view,
  2. editBMPanel_folderTree,
  3. placesList,
  4. placeContent) treechildren::-moz-tree-image(container),
  5. editBMPanel_folderMenuList > .menulist-label-box > .menulist-icon,
  6. editBMPanel_folderMenuList menupopup menuitem,
  7. editBMPanel_folderMenuList {
 [profile folder]\chrome\BookmarksToolbar.svg 
 /* Specify icon to override basic folder   */
 list-style-image: url("BookmarksToolbar.svg") !important; } 

/* One line fix This colours all bookmarks */

.bookmark-item[container], treechildren::-moz-tree-image(container) { fill: Blue    !important; }

/* Make Shop folder Red */ toolbarbutton.bookmark-item[label="Shop"] > .toolbarbutton-icon { fill: #e74c3c !important; }

/* Make Active folder Green */ toolbarbutton.bookmark-item[label="Active"] > .toolbarbutton-icon { fill: #3CE770 !important; }

<per>

Only able to color SVG files in omni.ja NOT SVG files extracted from omni.ja and saved to a local directory BookmarksToolbar.svg is in the chrome directory along with userChrome.css. See code below <per> /* Colored folders for Bookmark Menus. */ /* Standard folder -- on Toolbar and Menus */ #PlacesToolbarItems toolbarbutton[container="true"]:not([query="true"]) .toolbarbutton-icon, :-moz-any( #PlacesToolbarItems, #PlacesChevronPopup, #BMB_bookmarksPopup, #bookmarksMenu, #OtherBookmarksPopup) menu[container="true"]:not([query="true"]) > .menu-iconic-left > .menu-iconic-icon, /* Standard folder -- in Sidebar, Library, Add/Edit Bookmark dialog */ :-moz-any( #bookmarks-view, #editBMPanel_folderTree, #placesList, #placeContent) treechildren::-moz-tree-image(container), #editBMPanel_folderMenuList > .menulist-label-box > .menulist-icon, #editBMPanel_folderMenuList menupopup menuitem, #editBMPanel_folderMenuList { [profile folder]\chrome\BookmarksToolbar.svg /* Specify icon to override basic folder */ list-style-image: url("BookmarksToolbar.svg") !important; } /* One line fix This colours all bookmarks */ .bookmark-item[container], treechildren::-moz-tree-image(container) { fill: Blue !important; } /* Make Shop folder Red */ toolbarbutton.bookmark-item[label="Shop"] > .toolbarbutton-icon { fill: #e74c3c !important; } /* Make Active folder Green */ toolbarbutton.bookmark-item[label="Active"] > .toolbarbutton-icon { fill: #3CE770 !important; } <per>
已附加屏幕截图

所有回复 (1)

more options

Hi, those tags are <pre> and </pre> (pre being short for preformatted).

Norbert38 said

Only able to color SVG files in omni.ja NOT SVG files extracted from omni.ja and saved to a local directory

I think it would be best to continue in your established thread: https://support.mozilla.org/questions/1351058