Last active
November 11, 2017 07:15
-
-
Save jscher2000/0f998e5dfc7daeb1e2916211e7987e48 to your computer and use it in GitHub Desktop.
Color the gray folder and other container icons in Firefox 56+
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Colored bookmark sidebar, toolbar, menu button containers */ | |
/* Standard folder */ | |
#bookmarks-view treechildren::-moz-tree-image(container), | |
#PlacesToolbarItems toolbarbutton[container="true"] .toolbarbutton-icon, | |
#PlacesToolbarItems menu[container="true"] .menu-iconic-left, | |
#BMB_bookmarksPopup menu[container="true"] .menu-iconic-icon { | |
fill: #e8bb00 !important; /* slightly muted gold */ | |
} | |
/* Live Bookmark (RSS Feed) */ | |
#bookmarks-view treechildren::-moz-tree-image(container, livemark), | |
#PlacesToolbarItems toolbarbutton[container="true"][livemark="true"] .toolbarbutton-icon, | |
#PlacesToolbarItems menu[container="true"][livemark="true"] .menu-iconic-left, | |
#BMB_bookmarksPopup menu[container="true"][livemark="true"] .menu-iconic-icon { | |
fill: orange !important; | |
} | |
/* Smart bookmark folder */ | |
#bookmarks-view treechildren::-moz-tree-image(container, query), | |
#PlacesToolbarItems toolbarbutton[container="true"][query="true"] .toolbarbutton-icon, | |
#PlacesToolbarItems menu[container="true"][query="true"] .menu-iconic-left, | |
#BMB_bookmarksPopup menu[container="true"][query="true"] .menu-iconic-icon { | |
fill: #69c !important; /* similar to blue smart folder color */ | |
} | |
/* These "containers" are SVG in the sidebar, not yet on the menu */ | |
#bookmarks-view treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksMenu) { | |
fill: olive !important; | |
} | |
#bookmarks-view treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksToolbar) { | |
fill: olive !important; | |
} | |
#bookmarks-view treechildren::-moz-tree-image(container, OrganizerQuery_UnfiledBookmarks) { | |
fill: olive !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment