|
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/. */ |
|
4 |
|
5 %include ../../shared/customizableui/panelUIOverlay.inc.css |
|
6 |
|
7 .panel-subviews { |
|
8 background-color: -moz-dialog; |
|
9 } |
|
10 |
|
11 #BMB_bookmarksPopup > menuitem[type="checkbox"] { |
|
12 -moz-appearance: none !important; /* important, to override toolkit rule */ |
|
13 } |
|
14 |
|
15 #BMB_bookmarksPopup menupopup[placespopup=true] { |
|
16 margin-top: -6px; |
|
17 padding-top: 2px; |
|
18 } |
|
19 |
|
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 } |
|
24 |
|
25 .subviewbutton > .toolbarbutton-text { |
|
26 padding-top: 3px; |
|
27 padding-bottom: 3px; |
|
28 } |
|
29 |
|
30 .widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-button { |
|
31 -moz-appearance: none; |
|
32 border: 0; |
|
33 -moz-margin-start: 3px; |
|
34 } |
|
35 |
|
36 .widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { |
|
37 -moz-margin-start: 0; |
|
38 } |
|
39 |
|
40 .subviewbutton > .toolbarbutton-text { |
|
41 -moz-padding-start: 16px; |
|
42 } |
|
43 |
|
44 .subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .restoreallitem, .bookmark-item) > .toolbarbutton-text { |
|
45 -moz-padding-start: 0; |
|
46 } |
|
47 |
|
48 .subviewbutton.bookmark-item > .toolbarbutton-icon { |
|
49 -moz-margin-start: 3px; |
|
50 } |
|
51 |
|
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 } |
|
59 |
|
60 .subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .restoreallitem, .bookmark-item)[checked="true"] > .toolbarbutton-icon { |
|
61 visibility: hidden; |
|
62 } |
|
63 |
|
64 menuitem.subviewbutton { |
|
65 -moz-appearance: none !important; |
|
66 } |
|
67 |
|
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 } |
|
75 |
|
76 menu[disabled="true"].subviewbutton > .menu-right { |
|
77 -moz-image-region: rect(0, 32px, 16px, 16px); |
|
78 } |
|
79 |
|
80 .subviewbutton > .toolbarbutton-icon { |
|
81 -moz-margin-end: 5px !important; |
|
82 } |
|
83 |
|
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 } |
|
91 |
|
92 .PanelUI-subView toolbarseparator, |
|
93 .PanelUI-subView menuseparator, |
|
94 .cui-widget-panelview menuseparator, |
|
95 #PanelUI-footer-inner > toolbarseparator { |
|
96 -moz-appearance: none !important; |
|
97 } |