| 1 | /* ***** BEGIN LICENSE BLOCK ***** |
| 2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 |
| 3 | * |
| 4 | * The contents of this file are subject to the Netscape Public License |
| 5 | * Version 1.1 (the "License"); you may not use this file except in |
| 6 | * compliance with the License. You may obtain a copy of the License at |
| 7 | * http://www.mozilla.org/NPL/ |
| 8 | * |
| 9 | * Software distributed under the License is distributed on an "AS IS" basis, |
| 10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| 11 | * for the specific language governing rights and limitations under the |
| 12 | * License. |
| 13 | * |
| 14 | * The Original Code is mozilla.org code. |
| 15 | * |
| 16 | * The Initial Developer of the Original Code is |
| 17 | * Netscape Communications Corporation. |
| 18 | * Portions created by the Initial Developer are Copyright (C) 1998 |
| 19 | * the Initial Developer. All Rights Reserved. |
| 20 | * |
| 21 | * Contributor(s): |
| 22 | * Joe Hewitt (hewitt@netscape.com) |
| 23 | * Patrick Thompson (sailfish@unforgettable.com) |
| 24 | * Robert Kaiser <KaiRo@KaiRo.at> |
| 25 | * |
| 26 | * Alternatively, the contents of this file may be used under the terms of |
| 27 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
| 28 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 29 | * in which case the provisions of the GPL or the LGPL are applicable instead |
| 30 | * of those above. If you wish to allow use of your version of this file only |
| 31 | * under the terms of either the GPL or the LGPL, and not to allow others to |
| 32 | * use your version of this file under the terms of the NPL, indicate your |
| 33 | * decision by deleting the provisions above and replace them with the notice |
| 34 | * and other provisions required by the GPL or the LGPL. If you do not delete |
| 35 | * the provisions above, a recipient may use your version of this file under |
| 36 | * the terms of any one of the NPL, the GPL or the LGPL. |
| 37 | * |
| 38 | * ***** END LICENSE BLOCK ***** */ |
| 39 | |
| 40 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 41 | |
| 42 | #newButton { |
| 43 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 44 | -moz-image-region: rect(84px 25px 105px 0px); |
| 45 | } |
| 46 | |
| 47 | #newButton[disabled="true"] { |
| 48 | -moz-image-region: rect(84px 50px 105px 25px); |
| 49 | } |
| 50 | |
| 51 | #openButton { |
| 52 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 53 | -moz-image-region: rect(105px 25px 126px 0px); |
| 54 | } |
| 55 | |
| 56 | #openButton[disabled="true"] { |
| 57 | -moz-image-region: rect(105px 50px 126px 25px); |
| 58 | } |
| 59 | |
| 60 | #saveButton { |
| 61 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 62 | -moz-image-region: rect(147px 25px 168px 0px); |
| 63 | } |
| 64 | |
| 65 | #saveButton[disabled="true"] { |
| 66 | -moz-image-region: rect(147px 50px 168px 25px); |
| 67 | } |
| 68 | |
| 69 | #publishButton { |
| 70 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 71 | -moz-image-region: rect(210px 25px 231px 0px); |
| 72 | } |
| 73 | |
| 74 | #publishButton[disabled="true"] { |
| 75 | -moz-image-region: rect(210px 50px 231px 25px); |
| 76 | } |
| 77 | |
| 78 | #previewButton { |
| 79 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 80 | -moz-image-region: rect(126px 25px 147px 0px); |
| 81 | } |
| 82 | |
| 83 | #previewButton[disabled="true"] { |
| 84 | -moz-image-region: rect(126px 50px 147px 25px); |
| 85 | } |
| 86 | |
| 87 | #printButton { |
| 88 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
| 89 | -moz-image-region: rect(0px 25px 21px 0px); |
| 90 | } |
| 91 | |
| 92 | #printButton[disabled="true"] { |
| 93 | -moz-image-region: rect(0px 50px 21px 25px); |
| 94 | } |
| 95 | |
| 96 | #findButton { |
| 97 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 98 | -moz-image-region: rect(294px 25px 315px 0px); |
| 99 | } |
| 100 | |
| 101 | #findButton[disabled="true"] { |
| 102 | -moz-image-region: rect(294px 50px 315px 25px); |
| 103 | } |
| 104 | |
| 105 | #linkButton { |
| 106 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 107 | -moz-image-region: rect(63px 25px 84px 0px); |
| 108 | } |
| 109 | |
| 110 | #linkButton[disabled="true"] { |
| 111 | -moz-image-region: rect(63px 50px 84px 25px); |
| 112 | } |
| 113 | |
| 114 | #imageButton { |
| 115 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 116 | -moz-image-region: rect(42px 25px 63px 0px); |
| 117 | } |
| 118 | |
| 119 | #imageButton[disabled="true"] { |
| 120 | -moz-image-region: rect(42px 50px 63px 25px); |
| 121 | } |
| 122 | |
| 123 | #namedAnchorButton { |
| 124 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 125 | -moz-image-region: rect(0px 25px 21px 0px); |
| 126 | } |
| 127 | |
| 128 | #namedAnchorButton[disabled="true"] { |
| 129 | -moz-image-region: rect(0px 50px 21px 25px); |
| 130 | } |
| 131 | |
| 132 | #hlineButton { |
| 133 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 134 | -moz-image-region: rect(21px 25px 42px 0px); |
| 135 | } |
| 136 | |
| 137 | #hlineButton[disabled="true"] { |
| 138 | -moz-image-region: rect(21px 50px 42px 25px); |
| 139 | } |
| 140 | |
| 141 | #tableButton { |
| 142 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 143 | -moz-image-region: rect(189px 25px 210px 0px); |
| 144 | } |
| 145 | |
| 146 | #tableButton[disabled="true"] { |
| 147 | -moz-image-region: rect(189px 50px 210px 25px); |
| 148 | } |
| 149 | |
| 150 | #spellingButton { |
| 151 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 152 | -moz-image-region: rect(168px 25px 189px 0px); |
| 153 | } |
| 154 | |
| 155 | #spellingButton[disabled="true"] { |
| 156 | -moz-image-region: rect(168px 50px 189px 25px); |
| 157 | } |
| 158 | |
| 159 | #cutButton { |
| 160 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 161 | -moz-image-region: rect(231px 25px 252px 0px); |
| 162 | } |
| 163 | |
| 164 | #cutButton[disabled="true"] { |
| 165 | -moz-image-region: rect(231px 50px 252px 25px); |
| 166 | } |
| 167 | |
| 168 | #copyButton { |
| 169 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 170 | -moz-image-region: rect(252px 25px 273px 0px); |
| 171 | } |
| 172 | |
| 173 | #copyButton[disabled="true"] { |
| 174 | -moz-image-region: rect(252px 50px 273px 25px); |
| 175 | } |
| 176 | |
| 177 | #pasteButton { |
| 178 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 179 | -moz-image-region: rect(273px 25px 294px 0px); |
| 180 | } |
| 181 | |
| 182 | #pasteButton[disabled="true"] { |
| 183 | -moz-image-region: rect(273px 50px 294px 25px); |
| 184 | } |