How can I change the icon for the bookmarks menu button
Using linux, the default icon for the bookmarks menu button is quite ugly. Is there a way to change the icon for the button with some code in userChrome.css ?
Выбранное решение
After several intents, I found a solution.
This is my userChrome.css file:
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
toolbarbutton[class="toolbarbutton-1"]#bookmarks-menu-button image[class="toolbarbutton-icon"] {
list-style-image: url("bookmark_gray.png") !important; -moz-image-region: rect(0px, 0px, 0px, 24px) !important;}
Probably it's messy but works.
Прочитайте этот ответ в контексте 👍 1Все ответы (3)
Probably, but a faster way (since I don't know how to edit the chrome) might be to change your Theme. find them here. https://addons.mozilla.org/en-US/fire.../themes/
Изменено
Выбранное решение
After several intents, I found a solution.
This is my userChrome.css file:
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
toolbarbutton[class="toolbarbutton-1"]#bookmarks-menu-button image[class="toolbarbutton-icon"] {
list-style-image: url("bookmark_gray.png") !important; -moz-image-region: rect(0px, 0px, 0px, 24px) !important;}
Probably it's messy but works.
You can also switch to a different icon pack via Look and Feel. I use Tango for the icons because it has colored icons.