Skip to content

Instantly share code, notes, and snippets.

@ryandoherty
Created September 13, 2009 18:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryandoherty/186269 to your computer and use it in GitHub Desktop.
Save ryandoherty/186269 to your computer and use it in GitHub Desktop.
Favicons in Firefox (Mac) Bookmarks Toolbar
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
.bookmark-item > .toolbarbutton-icon {
display: -moz-box ! important;
background-position: 0px 1px !important;
padding-right: 3px ! important;
}
.bookmark-item:hover > .toolbarbutton-icon {
background: url("chrome://global/skin/toolbar/toolbarbutton-customhover-mid.png") repeat-x;
display: -moz-box ! important;
background-position: 0px 1px !important;
padding-right: 3px ! important;
}
.bookmark-item[container]:hover:active > .toolbarbutton-icon,
.bookmark-item[container][open="true"] > .toolbarbutton-icon {
background: url("chrome://browser/skin/bookmark-open-mid.png") repeat-x !important;
}
.bookmark-item[container] > .toolbarbutton-icon { display: none ! important }
.bookmark-item[image] > .toolbarbutton-icon {
display: -moz-box ! important;
background-position: 0px 1px !important;
padding-right: 3px ! important;
float:right !important;
}
/** Replace 'delicous' with the bookmark label you don't want have have a favicon show **/
.bookmark-item[label="delicous"] > .toolbarbutton-icon
{
display: none !important;
border: 1px solid red !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment