1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/themes/linux/customizableui/panelUIOverlay.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,97 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +%include ../../shared/customizableui/panelUIOverlay.inc.css 1.9 + 1.10 +.panel-subviews { 1.11 + background-color: -moz-dialog; 1.12 +} 1.13 + 1.14 +#BMB_bookmarksPopup > menuitem[type="checkbox"] { 1.15 + -moz-appearance: none !important; /* important, to override toolkit rule */ 1.16 +} 1.17 + 1.18 +#BMB_bookmarksPopup menupopup[placespopup=true] { 1.19 + margin-top: -6px; 1.20 + padding-top: 2px; 1.21 +} 1.22 + 1.23 +/* Add some space at the top because there are no headers: */ 1.24 +#BMB_bookmarksPopup menupopup[placespopup=true] > hbox > .popup-internal-box > .arrowscrollbox-scrollbox > .scrollbox-innerbox { 1.25 + padding-top: 4px; 1.26 +} 1.27 + 1.28 +.subviewbutton > .toolbarbutton-text { 1.29 + padding-top: 3px; 1.30 + padding-bottom: 3px; 1.31 +} 1.32 + 1.33 +.widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-button { 1.34 + -moz-appearance: none; 1.35 + border: 0; 1.36 + -moz-margin-start: 3px; 1.37 +} 1.38 + 1.39 +.widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { 1.40 + -moz-margin-start: 0; 1.41 +} 1.42 + 1.43 +.subviewbutton > .toolbarbutton-text { 1.44 + -moz-padding-start: 16px; 1.45 +} 1.46 + 1.47 +.subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .restoreallitem, .bookmark-item) > .toolbarbutton-text { 1.48 + -moz-padding-start: 0; 1.49 +} 1.50 + 1.51 +.subviewbutton.bookmark-item > .toolbarbutton-icon { 1.52 + -moz-margin-start: 3px; 1.53 +} 1.54 + 1.55 +/* subviewbutton entries for social sidebars have images that come from external 1.56 +/* sources, and are not guaranteed to be the size we want, so force the size on 1.57 +/* those icons. */ 1.58 +toolbarbutton.social-provider-menuitem > .toolbarbutton-icon { 1.59 + width: 16px; 1.60 + height: 16px; 1.61 +} 1.62 + 1.63 +.subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .restoreallitem, .bookmark-item)[checked="true"] > .toolbarbutton-icon { 1.64 + visibility: hidden; 1.65 +} 1.66 + 1.67 +menuitem.subviewbutton { 1.68 + -moz-appearance: none !important; 1.69 +} 1.70 + 1.71 +menu.subviewbutton > .menu-right { 1.72 + -moz-appearance: none; 1.73 + list-style-image: url(chrome://browser/skin/places/bookmarks-menu-arrow.png); 1.74 + -moz-image-region: rect(0, 16px, 16px, 0); 1.75 + width: 16px; 1.76 + height: 16px; 1.77 +} 1.78 + 1.79 +menu[disabled="true"].subviewbutton > .menu-right { 1.80 + -moz-image-region: rect(0, 32px, 16px, 16px); 1.81 +} 1.82 + 1.83 +.subviewbutton > .toolbarbutton-icon { 1.84 + -moz-margin-end: 5px !important; 1.85 +} 1.86 + 1.87 +.subviewbutton > .menu-right, 1.88 +.subviewbutton > .menu-iconic-left { 1.89 + padding-top: 1px; 1.90 + /* These need !important to override menu.css */ 1.91 + margin-top: 1px !important; 1.92 + margin-bottom: 2px !important; 1.93 +} 1.94 + 1.95 +.PanelUI-subView toolbarseparator, 1.96 +.PanelUI-subView menuseparator, 1.97 +.cui-widget-panelview menuseparator, 1.98 +#PanelUI-footer-inner > toolbarseparator { 1.99 + -moz-appearance: none !important; 1.100 +}