Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | %include ../../shared/customizableui/panelUIOverlay.inc.css |
michael@0 | 6 | |
michael@0 | 7 | .panel-subviews { |
michael@0 | 8 | background-color: -moz-dialog; |
michael@0 | 9 | } |
michael@0 | 10 | |
michael@0 | 11 | #BMB_bookmarksPopup > menuitem[type="checkbox"] { |
michael@0 | 12 | -moz-appearance: none !important; /* important, to override toolkit rule */ |
michael@0 | 13 | } |
michael@0 | 14 | |
michael@0 | 15 | #BMB_bookmarksPopup menupopup[placespopup=true] { |
michael@0 | 16 | margin-top: -6px; |
michael@0 | 17 | padding-top: 2px; |
michael@0 | 18 | } |
michael@0 | 19 | |
michael@0 | 20 | /* Add some space at the top because there are no headers: */ |
michael@0 | 21 | #BMB_bookmarksPopup menupopup[placespopup=true] > hbox > .popup-internal-box > .arrowscrollbox-scrollbox > .scrollbox-innerbox { |
michael@0 | 22 | padding-top: 4px; |
michael@0 | 23 | } |
michael@0 | 24 | |
michael@0 | 25 | .subviewbutton > .toolbarbutton-text { |
michael@0 | 26 | padding-top: 3px; |
michael@0 | 27 | padding-bottom: 3px; |
michael@0 | 28 | } |
michael@0 | 29 | |
michael@0 | 30 | .widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-button { |
michael@0 | 31 | -moz-appearance: none; |
michael@0 | 32 | border: 0; |
michael@0 | 33 | -moz-margin-start: 3px; |
michael@0 | 34 | } |
michael@0 | 35 | |
michael@0 | 36 | .widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { |
michael@0 | 37 | -moz-margin-start: 0; |
michael@0 | 38 | } |
michael@0 | 39 | |
michael@0 | 40 | .subviewbutton > .toolbarbutton-text { |
michael@0 | 41 | -moz-padding-start: 16px; |
michael@0 | 42 | } |
michael@0 | 43 | |
michael@0 | 44 | .subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .restoreallitem, .bookmark-item) > .toolbarbutton-text { |
michael@0 | 45 | -moz-padding-start: 0; |
michael@0 | 46 | } |
michael@0 | 47 | |
michael@0 | 48 | .subviewbutton.bookmark-item > .toolbarbutton-icon { |
michael@0 | 49 | -moz-margin-start: 3px; |
michael@0 | 50 | } |
michael@0 | 51 | |
michael@0 | 52 | /* subviewbutton entries for social sidebars have images that come from external |
michael@0 | 53 | /* sources, and are not guaranteed to be the size we want, so force the size on |
michael@0 | 54 | /* those icons. */ |
michael@0 | 55 | toolbarbutton.social-provider-menuitem > .toolbarbutton-icon { |
michael@0 | 56 | width: 16px; |
michael@0 | 57 | height: 16px; |
michael@0 | 58 | } |
michael@0 | 59 | |
michael@0 | 60 | .subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .restoreallitem, .bookmark-item)[checked="true"] > .toolbarbutton-icon { |
michael@0 | 61 | visibility: hidden; |
michael@0 | 62 | } |
michael@0 | 63 | |
michael@0 | 64 | menuitem.subviewbutton { |
michael@0 | 65 | -moz-appearance: none !important; |
michael@0 | 66 | } |
michael@0 | 67 | |
michael@0 | 68 | menu.subviewbutton > .menu-right { |
michael@0 | 69 | -moz-appearance: none; |
michael@0 | 70 | list-style-image: url(chrome://browser/skin/places/bookmarks-menu-arrow.png); |
michael@0 | 71 | -moz-image-region: rect(0, 16px, 16px, 0); |
michael@0 | 72 | width: 16px; |
michael@0 | 73 | height: 16px; |
michael@0 | 74 | } |
michael@0 | 75 | |
michael@0 | 76 | menu[disabled="true"].subviewbutton > .menu-right { |
michael@0 | 77 | -moz-image-region: rect(0, 32px, 16px, 16px); |
michael@0 | 78 | } |
michael@0 | 79 | |
michael@0 | 80 | .subviewbutton > .toolbarbutton-icon { |
michael@0 | 81 | -moz-margin-end: 5px !important; |
michael@0 | 82 | } |
michael@0 | 83 | |
michael@0 | 84 | .subviewbutton > .menu-right, |
michael@0 | 85 | .subviewbutton > .menu-iconic-left { |
michael@0 | 86 | padding-top: 1px; |
michael@0 | 87 | /* These need !important to override menu.css */ |
michael@0 | 88 | margin-top: 1px !important; |
michael@0 | 89 | margin-bottom: 2px !important; |
michael@0 | 90 | } |
michael@0 | 91 | |
michael@0 | 92 | .PanelUI-subView toolbarseparator, |
michael@0 | 93 | .PanelUI-subView menuseparator, |
michael@0 | 94 | .cui-widget-panelview menuseparator, |
michael@0 | 95 | #PanelUI-footer-inner > toolbarseparator { |
michael@0 | 96 | -moz-appearance: none !important; |
michael@0 | 97 | } |