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