michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: /** michael@0: * Line up the actions menu with action labels above and below it. michael@0: * Equalize the distance from the left side of the action box to the left side michael@0: * of the icon for both the menu and the non-menu versions of the action box. michael@0: * Also make sure the labels are the same distance away from the icons. michael@0: */ michael@0: .actionsMenu { michael@0: margin-top: 0; michael@0: margin-bottom: 0; michael@0: -moz-margin-start: -2px; michael@0: -moz-margin-end: 0; michael@0: } michael@0: michael@0: .typeIcon, michael@0: .actionIcon { michael@0: -moz-margin-start: 3px; michael@0: -moz-margin-end: 3px; michael@0: } michael@0: michael@0: #handlersView > richlistitem label { michael@0: -moz-margin-start: 1px; michael@0: margin-top: 2px; michael@0: } michael@0: michael@0: #handlersView > richlistitem { michael@0: min-height: 22px; michael@0: } michael@0: michael@0: richlistitem[appHandlerIcon="ask"], michael@0: menuitem[appHandlerIcon="ask"] { michael@0: list-style-image: url("chrome://browser/skin/preferences/alwaysAsk.png"); michael@0: } michael@0: michael@0: richlistitem[appHandlerIcon="save"], michael@0: menuitem[appHandlerIcon="save"] { michael@0: list-style-image: url("chrome://browser/skin/preferences/application.png"); michael@0: } michael@0: michael@0: richlistitem[appHandlerIcon="feed"], michael@0: menuitem[appHandlerIcon="feed"] { michael@0: list-style-image: url("chrome://browser/skin/page-livemarks.png"); michael@0: } michael@0: michael@0: richlistitem[appHandlerIcon="plugin"], michael@0: menuitem[appHandlerIcon="plugin"] { michael@0: list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png"); michael@0: } michael@0: michael@0: .actionsMenu .menulist-icon { michael@0: -moz-margin-end: 3px; michael@0: } michael@0: michael@0: .actionsMenu > menupopup > menuitem > .menu-iconic-left { michael@0: -moz-padding-start: 0px; michael@0: -moz-padding-end: 2px; michael@0: } michael@0: michael@0: .actionsMenu > menupopup > menuitem { michael@0: -moz-padding-start: 4px; michael@0: }