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 /**
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 -moz-margin-start: -2px;
13 margin-top: 0;
14 margin-bottom: -1px;
15 }
17 #handlersView > richlistitem label {
18 -moz-margin-start: 3px;
19 margin-top: 2px;
20 }
22 #handlersView > richlistitem {
23 min-height: 22px;
24 }
26 .typeIcon,
27 .actionIcon {
28 -moz-margin-start: 3px;
29 }
31 .typeIcon,
32 .actionIcon,
33 .actionsMenu .menulist-icon {
34 -moz-margin-end: 2px;
35 }
37 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
38 /* Undo content/browser/preferences/handlers.css - we don't
39 * want icon-less labels to line up with the other labels.
40 */
41 min-width: 0;
42 }
44 richlistitem[appHandlerIcon="ask"],
45 menuitem[appHandlerIcon="ask"] {
46 list-style-image: url("chrome://browser/skin/preferences/alwaysAsk.png");
47 }
49 richlistitem[appHandlerIcon="save"],
50 menuitem[appHandlerIcon="save"] {
51 list-style-image: url("chrome://browser/skin/preferences/saveFile.png");
52 }
54 richlistitem[appHandlerIcon="feed"],
55 menuitem[appHandlerIcon="feed"] {
56 list-style-image: url("chrome://browser/skin/page-livemarks.png");
57 }
59 richlistitem[appHandlerIcon="plugin"],
60 menuitem[appHandlerIcon="plugin"] {
61 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
62 }
64 /* Repeat what menu.css does for .menuitem-iconic */
65 menuitem[appHandlerIcon] {
66 padding-top: 1px;
67 padding-bottom: 3px;
68 }
70 menuitem[appHandlerIcon] > .menu-iconic-left > .menu-iconic-icon {
71 -moz-margin-start: 0;
72 width: 16px;
73 }