-#BMB_bookmarksPopup menupopup > .bookmarks-actions-menuseparator {
- / Hide bottom separator as the styled footer includes a top border serving the same purpose.
- * We can't just use display: none here, otherwise scrollbox.xml will flip out and sometimes
- * refuse to scroll for us (see bug 984156). Instead, we set it to visibility hidden, force
- * a minimum height, and then negative-margin that single pixel into oblivion. That seems
- * to be enough to make scrollbox happy.
- /
- -moz-appearance: none;
- visibility: hidden;
- min-height: 1px;
- margin: -1px 0 0;
- border: none;
+/ Popups with only one item don't have a footer /
+#BMB_bookmarksPopup menupopup[placespopup=true][singleitempopup=true] > hbox > .popup-internal-box > .arrowscrollbox-scrollbox > .scrollbox-innerbox,
+/ These popups never have a footer /
+#BMB_bookmarksToolbarPopup > hbox > .popup-internal-box > .arrowscrollbox-scrollbox > .scrollbox-innerbox,
+#BMB_unsortedBookmarksPopup > hbox > .popup-internal-box > .arrowscrollbox-scrollbox > .scrollbox-innerbox {
+ / And so they need some bottom padding: /
+ padding-bottom: 4px;
+}
+
+/ Disabled (empty) item is always alone and never has an icon, so fix its left padding /
+#BMB_bookmarksPopup menupopup[emptyplacesresult] .bookmark-item.subviewbutton {
+ padding-left: 6px;