1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/themes/osx/preferences/applications.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,73 @@ 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 + -moz-margin-start: -2px; 1.16 + margin-top: 0; 1.17 + margin-bottom: -1px; 1.18 +} 1.19 + 1.20 +#handlersView > richlistitem label { 1.21 + -moz-margin-start: 3px; 1.22 + margin-top: 2px; 1.23 +} 1.24 + 1.25 +#handlersView > richlistitem { 1.26 + min-height: 22px; 1.27 +} 1.28 + 1.29 +.typeIcon, 1.30 +.actionIcon { 1.31 + -moz-margin-start: 3px; 1.32 +} 1.33 + 1.34 +.typeIcon, 1.35 +.actionIcon, 1.36 +.actionsMenu .menulist-icon { 1.37 + -moz-margin-end: 2px; 1.38 +} 1.39 + 1.40 +.actionsMenu > menupopup > menuitem > .menu-iconic-left { 1.41 + /* Undo content/browser/preferences/handlers.css - we don't 1.42 + * want icon-less labels to line up with the other labels. 1.43 + */ 1.44 + min-width: 0; 1.45 +} 1.46 + 1.47 +richlistitem[appHandlerIcon="ask"], 1.48 +menuitem[appHandlerIcon="ask"] { 1.49 + list-style-image: url("chrome://browser/skin/preferences/alwaysAsk.png"); 1.50 +} 1.51 + 1.52 +richlistitem[appHandlerIcon="save"], 1.53 +menuitem[appHandlerIcon="save"] { 1.54 + list-style-image: url("chrome://browser/skin/preferences/saveFile.png"); 1.55 +} 1.56 + 1.57 +richlistitem[appHandlerIcon="feed"], 1.58 +menuitem[appHandlerIcon="feed"] { 1.59 + list-style-image: url("chrome://browser/skin/page-livemarks.png"); 1.60 +} 1.61 + 1.62 +richlistitem[appHandlerIcon="plugin"], 1.63 +menuitem[appHandlerIcon="plugin"] { 1.64 + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png"); 1.65 +} 1.66 + 1.67 +/* Repeat what menu.css does for .menuitem-iconic */ 1.68 +menuitem[appHandlerIcon] { 1.69 + padding-top: 1px; 1.70 + padding-bottom: 3px; 1.71 +} 1.72 + 1.73 +menuitem[appHandlerIcon] > .menu-iconic-left > .menu-iconic-icon { 1.74 + -moz-margin-start: 0; 1.75 + width: 16px; 1.76 +}