/* No padding on bookmarks */
.bookmark-item { padding: 0 1px !important; }
/* Restore padding on folders */
.bookmark-item[container] { padding: 0 0 0 7px !important; }
/* And on bookmarks and folders inside folders */
.bookmark-item[container] .bookmark-item { padding: 0 !important; }

/* Hide the left semicircle on bookmarks */
.bookmark-item:hover { background-image: none !important; }
/* Restore the left semicircle on folders */
.bookmark-item[container]:hover {
  background-image: url("chrome://global/skin/toolbar/toolbarbutton-customhover-left.png") !important;
}
.bookmark-item[container]:hover:active, .bookmark-item[container][open="true"] {
  background-image: url("chrome://browser/skin/bookmark-open-left.png") !important;
}

/* Show favicons on bookmarks */
.bookmark-item > .toolbarbutton-icon {
  display: -moz-box !important;
  max-width: 38px;
  max-height: 36px;
}
/* Hide favicons on folders */
.bookmark-item[container] > .toolbarbutton-icon { display: none !important; }

/* Show a minimalistic background on hover on bookmars */
.bookmark-item:hover > .toolbarbutton-icon {
  background: url("chrome://global/skin/toolbar/toolbarbutton-customhover-mid.png");
}
.bookmark-item:hover:active > .toolbarbutton-icon {
  background: url("chrome://browser/skin/bookmark-open-mid.png");
}

/* Hide text labels on bookmarks */
.bookmark-item > .toolbarbutton-text-stack { display: none; }
/* Show text labels on folders */
.bookmark-item[container] > .toolbarbutton-text-stack { display: -moz-stack; }