michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: %include ../../shared/customizableui/panelUIOverlay.inc.css michael@0: michael@0: .panel-subviews { michael@0: background-color: -moz-dialog; michael@0: } michael@0: michael@0: #BMB_bookmarksPopup > menuitem[type="checkbox"] { michael@0: -moz-appearance: none !important; /* important, to override toolkit rule */ michael@0: } michael@0: michael@0: #BMB_bookmarksPopup menupopup[placespopup=true] { michael@0: margin-top: -6px; michael@0: padding-top: 2px; michael@0: } michael@0: michael@0: /* Add some space at the top because there are no headers: */ michael@0: #BMB_bookmarksPopup menupopup[placespopup=true] > hbox > .popup-internal-box > .arrowscrollbox-scrollbox > .scrollbox-innerbox { michael@0: padding-top: 4px; michael@0: } michael@0: michael@0: .subviewbutton > .toolbarbutton-text { michael@0: padding-top: 3px; michael@0: padding-bottom: 3px; michael@0: } michael@0: michael@0: .widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-button { michael@0: -moz-appearance: none; michael@0: border: 0; michael@0: -moz-margin-start: 3px; michael@0: } michael@0: michael@0: .widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { michael@0: -moz-margin-start: 0; michael@0: } michael@0: michael@0: .subviewbutton > .toolbarbutton-text { michael@0: -moz-padding-start: 16px; michael@0: } michael@0: michael@0: .subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .restoreallitem, .bookmark-item) > .toolbarbutton-text { michael@0: -moz-padding-start: 0; michael@0: } michael@0: michael@0: .subviewbutton.bookmark-item > .toolbarbutton-icon { michael@0: -moz-margin-start: 3px; michael@0: } michael@0: michael@0: /* subviewbutton entries for social sidebars have images that come from external michael@0: /* sources, and are not guaranteed to be the size we want, so force the size on michael@0: /* those icons. */ michael@0: toolbarbutton.social-provider-menuitem > .toolbarbutton-icon { michael@0: width: 16px; michael@0: height: 16px; michael@0: } michael@0: michael@0: .subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .restoreallitem, .bookmark-item)[checked="true"] > .toolbarbutton-icon { michael@0: visibility: hidden; michael@0: } michael@0: michael@0: menuitem.subviewbutton { michael@0: -moz-appearance: none !important; michael@0: } michael@0: michael@0: menu.subviewbutton > .menu-right { michael@0: -moz-appearance: none; michael@0: list-style-image: url(chrome://browser/skin/places/bookmarks-menu-arrow.png); michael@0: -moz-image-region: rect(0, 16px, 16px, 0); michael@0: width: 16px; michael@0: height: 16px; michael@0: } michael@0: michael@0: menu[disabled="true"].subviewbutton > .menu-right { michael@0: -moz-image-region: rect(0, 32px, 16px, 16px); michael@0: } michael@0: michael@0: .subviewbutton > .toolbarbutton-icon { michael@0: -moz-margin-end: 5px !important; michael@0: } michael@0: michael@0: .subviewbutton > .menu-right, michael@0: .subviewbutton > .menu-iconic-left { michael@0: padding-top: 1px; michael@0: /* These need !important to override menu.css */ michael@0: margin-top: 1px !important; michael@0: margin-bottom: 2px !important; michael@0: } michael@0: michael@0: .PanelUI-subView toolbarseparator, michael@0: .PanelUI-subView menuseparator, michael@0: .cui-widget-panelview menuseparator, michael@0: #PanelUI-footer-inner > toolbarseparator { michael@0: -moz-appearance: none !important; michael@0: }