1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/themes/linux/preferences/applications.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,66 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +/** 1.9 + * Line up the actions menu with action labels above and below it. 1.10 + * Equalize the distance from the left side of the action box to the left side 1.11 + * of the icon for both the menu and the non-menu versions of the action box. 1.12 + * Also make sure the labels are the same distance away from the icons. 1.13 + */ 1.14 +.actionsMenu { 1.15 + margin-top: -1px; 1.16 + margin-bottom: -1px; 1.17 + -moz-margin-start: -1px; 1.18 + -moz-margin-end: 0; 1.19 +} 1.20 + 1.21 +.typeIcon, 1.22 +.actionIcon { 1.23 + -moz-margin-start: 3px; 1.24 + -moz-margin-end: 3px; 1.25 +} 1.26 + 1.27 +#handlersView > richlistitem label { 1.28 + -moz-margin-start: 1px; 1.29 + margin-top: 2px; 1.30 +} 1.31 + 1.32 +#handlersView > richlistitem { 1.33 + min-height: 25px; 1.34 +} 1.35 + 1.36 +richlistitem[appHandlerIcon="ask"], 1.37 +menuitem[appHandlerIcon="ask"] { 1.38 + list-style-image: url("chrome://browser/skin/preferences/alwaysAsk.png"); 1.39 +} 1.40 + 1.41 +richlistitem[appHandlerIcon="save"], 1.42 +menuitem[appHandlerIcon="save"] { 1.43 + list-style-image: url("moz-icon://stock/gtk-save?size=menu"); 1.44 +} 1.45 + 1.46 +richlistitem[appHandlerIcon="feed"], 1.47 +menuitem[appHandlerIcon="feed"] { 1.48 + list-style-image: url("chrome://browser/skin/page-livemarks.png"); 1.49 +} 1.50 + 1.51 +richlistitem[appHandlerIcon="plugin"], 1.52 +menuitem[appHandlerIcon="plugin"] { 1.53 + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png"); 1.54 +} 1.55 + 1.56 +.actionsMenu .menulist-icon { 1.57 + -moz-margin-end: 1px; 1.58 + height: 16px; 1.59 + width: 16px; 1.60 +} 1.61 + 1.62 +.actionsMenu > menupopup > menuitem > .menu-iconic-left { 1.63 + -moz-padding-start: 0; 1.64 + -moz-padding-end: 4px !important; 1.65 +} 1.66 + 1.67 +.actionsMenu > menupopup > menuitem { 1.68 + -moz-padding-start: 3px; 1.69 +}