Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

How can I change the icon for the bookmarks menu button

  • 3 ответа
  • 12 имеют эту проблему
  • 10 просмотров
  • Последний ответ от cor-el

more options

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 ?

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)

more options

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/

Изменено Marc T

more options

Выбранное решение

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.

more options

You can also switch to a different icon pack via Look and Feel. I use Tango for the icons because it has colored icons.