|
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 /** |
|
6 * Line up the actions menu with action labels above and below it. |
|
7 * Equalize the distance from the left side of the action box to the left side |
|
8 * of the icon for both the menu and the non-menu versions of the action box. |
|
9 * Also make sure the labels are the same distance away from the icons. |
|
10 */ |
|
11 .actionsMenu { |
|
12 margin-top: -1px; |
|
13 margin-bottom: -1px; |
|
14 -moz-margin-start: -1px; |
|
15 -moz-margin-end: 0; |
|
16 } |
|
17 |
|
18 .typeIcon, |
|
19 .actionIcon { |
|
20 -moz-margin-start: 3px; |
|
21 -moz-margin-end: 3px; |
|
22 } |
|
23 |
|
24 #handlersView > richlistitem label { |
|
25 -moz-margin-start: 1px; |
|
26 margin-top: 2px; |
|
27 } |
|
28 |
|
29 #handlersView > richlistitem { |
|
30 min-height: 25px; |
|
31 } |
|
32 |
|
33 richlistitem[appHandlerIcon="ask"], |
|
34 menuitem[appHandlerIcon="ask"] { |
|
35 list-style-image: url("chrome://browser/skin/preferences/alwaysAsk.png"); |
|
36 } |
|
37 |
|
38 richlistitem[appHandlerIcon="save"], |
|
39 menuitem[appHandlerIcon="save"] { |
|
40 list-style-image: url("moz-icon://stock/gtk-save?size=menu"); |
|
41 } |
|
42 |
|
43 richlistitem[appHandlerIcon="feed"], |
|
44 menuitem[appHandlerIcon="feed"] { |
|
45 list-style-image: url("chrome://browser/skin/page-livemarks.png"); |
|
46 } |
|
47 |
|
48 richlistitem[appHandlerIcon="plugin"], |
|
49 menuitem[appHandlerIcon="plugin"] { |
|
50 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png"); |
|
51 } |
|
52 |
|
53 .actionsMenu .menulist-icon { |
|
54 -moz-margin-end: 1px; |
|
55 height: 16px; |
|
56 width: 16px; |
|
57 } |
|
58 |
|
59 .actionsMenu > menupopup > menuitem > .menu-iconic-left { |
|
60 -moz-padding-start: 0; |
|
61 -moz-padding-end: 4px !important; |
|
62 } |
|
63 |
|
64 .actionsMenu > menupopup > menuitem { |
|
65 -moz-padding-start: 3px; |
|
66 } |