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/* ==== prefpanels.css ================================================== 6 == Styles used by all preference panels in the Communicator suite. 7 ====================================================================== */ 8 9@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 10 11/* ::::: Fonts ::::: */ 12 13#sizeVar, 14#sizeMono { 15 width: 4em; 16} 17 18.prefpanel-font-list { 19 -moz-box-flex: 1; 20} 21 22/* checkbox which is disabled for changes but non-gray text (i.e., in effect) */ 23 24checkbox.nogray-disabled[disabled="true"][nogray="true"] 25 > .checkbox-label-box > .checkbox-label { 26 color: inherit !important; 27} 28 29/* ::::: Applications ::::: */ 30/** 31 * Line up the actions menu with action labels above and below it. 32 * Equalize the distance from the left side of the action box to the left side 33 * of the icon for both the menu and the non-menu versions of the action box. 34 * Also make sure the labels are the same distance away from the icons. 35 */ 36 37.handler-action, 38.handler-type { 39 padding: 0; 40} 41 42.handler-action .listcell-icon, 43.handler-type .listcell-icon { 44 margin-top: 5px; 45 margin-bottom: 5px; 46 margin-inline-start: 7px; 47 margin-inline-end: 2px; 48 height: 16px; 49 width: 16px; 50} 51 52.handler-action .listcell-label, 53.handler-type .listcell-label { 54 padding-top: 5px; 55 padding-bottom: 5px; 56 padding-inline-start: 0px; 57 padding-inline-end: 5px; 58} 59 60.actionsMenu { 61 margin: 0; 62} 63 64.actionsMenu > .menulist-label-box { 65 padding-inline-start: 0; 66} 67 68.actionsMenu > .menulist-label-box > .menulist-icon { 69 margin: 0 2px; 70 height: 16px; 71 width: 16px; 72} 73 74.handler-action > .menu-iconic-left > .menu-iconic-icon { 75 margin-inline-start: 6px; 76} 77 78/* Set icons on app pane elements */ 79 80.handler-action[appHandlerIcon="app"] { 81 list-style-image: url("chrome://communicator/skin/icons/application.png"); 82} 83 84.handler-action[appHandlerIcon="ask"] { 85 list-style-image: url("chrome://communicator/skin/icons/alwaysAsk.png"); 86} 87 88.handler-action[appHandlerIcon="save"] { 89 list-style-image: url("chrome://communicator/skin/icons/save.png"); 90} 91 92.handler-action[appHandlerIcon="feed"] { 93 list-style-image: url("chrome://communicator/skin/icons/feedIcon16.png"); 94} 95 96.handler-action[appHandlerIcon="plugin"] { 97 list-style-image: url("chrome://communicator/skin/icons/plugin.png"); 98} 99 100.handler-type[typeClass="unknown"] { 101 list-style-image: url("moz-icon://goat?size=16"); 102} 103 104.handler-type[typeClass="webFeed"], 105.handler-type[typeClass="videoPodcastFeed"], 106.handler-type[typeClass="audioPodcastFeed"] { 107 list-style-image: url("chrome://communicator/skin/icons/feedIcon16.png"); 108} 109 110/* ::::: Search ::::: */ 111 112#engineList > .menulist-label-box > .menulist-icon { 113 height: 16px; 114 width: 16px; 115} 116 117/* ::::: Sync ::::: */ 118 119#syncDesc { 120 padding: 0 12em; 121} 122