applications.css (1678B)
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/. */ 4 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 margin-top: 0; 13 margin-bottom: 0; 14 margin-inline-start: -2px; 15 margin-inline-end: 0; 16 } 17 18 .typeIcon, 19 .actionIcon { 20 margin-inline-start: 3px; 21 margin-inline-end: 3px; 22 } 23 24 #handlersView > richlistitem label { 25 margin-inline-start: 1px; 26 margin-top: 2px; 27 } 28 29 #handlersView > richlistitem { 30 min-height: 22px; 31 } 32 33 richlistitem[appHandlerIcon="ask"], 34 menuitem[appHandlerIcon="ask"] { 35 list-style-image: url("chrome://global/skin/icons/question-16.svg"); 36 } 37 38 richlistitem[appHandlerIcon="save"], 39 menuitem[appHandlerIcon="save"] { 40 list-style-image: url("chrome://browser/skin/toolbar/new-window.svg"); 41 } 42 43 richlistitem[appHandlerIcon="feed"], 44 menuitem[appHandlerIcon="feed"] { 45 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.svg"); 46 } 47 48 richlistitem[appHandlerIcon="plugin"], 49 menuitem[appHandlerIcon="plugin"] { 50 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.svg"); 51 } 52 53 .actionsMenu .menulist-icon { 54 margin-inline-end: 3px; 55 } 56 57 .actionsMenu > menupopup > menuitem > .menu-iconic-left { 58 padding-inline-start: 0px; 59 padding-inline-end: 2px; 60 } 61 62 .actionsMenu > menupopup > menuitem { 63 padding-inline-start: 4px; 64 }