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