| 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/newfile.gif"); |
| 44 | } |
| 45 | |
| 46 | #newButton:hover, |
| 47 | #newButton:hover:active { |
| 48 | list-style-image: url("chrome://editor/skin/icons/newfile-hover.gif"); |
| 49 | } |
| 50 | |
| 51 | #newButton[disabled="true"] { |
| 52 | list-style-image: url("chrome://editor/skin/icons/newfile-disabled.gif") !important; |
| 53 | } |
| 54 | |
| 55 | #openButton { |
| 56 | list-style-image: url("chrome://editor/skin/icons/openfile.gif"); |
| 57 | } |
| 58 | |
| 59 | #openButton:hover, |
| 60 | #openButton:hover:active { |
| 61 | list-style-image: url("chrome://editor/skin/icons/openfile-hover.gif"); |
| 62 | } |
| 63 | |
| 64 | #openButton[disabled="true"] { |
| 65 | list-style-image: url("chrome://editor/skin/icons/openfile-disabled.gif") !important; |
| 66 | } |
| 67 | |
| 68 | #saveButton { |
| 69 | list-style-image: url("chrome://editor/skin/icons/savefile.gif"); |
| 70 | } |
| 71 | |
| 72 | #saveButton:hover, |
| 73 | #saveButton:hover:active { |
| 74 | list-style-image: url("chrome://editor/skin/icons/savefile-hover.gif"); |
| 75 | } |
| 76 | |
| 77 | #saveButton[disabled="true"] { |
| 78 | list-style-image: url("chrome://editor/skin/icons/savefile-disabled.gif") !important; |
| 79 | } |
| 80 | |
| 81 | #saveButton[dirty="true"] { |
| 82 | list-style-image: url("chrome://editor/skin/icons/savefile-dirty.gif"); |
| 83 | } |
| 84 | |
| 85 | #saveButton[dirty="true"]:hover, |
| 86 | #saveButton[dirty="true"]:hover:active { |
| 87 | list-style-image: url("chrome://editor/skin/icons/savefile-hover.gif"); |
| 88 | } |
| 89 | |
| 90 | #saveButton[dirty="true"][disabled="true"] { |
| 91 | list-style-image: url("chrome://editor/skin/icons/savefile-disabled.gif") !important; |
| 92 | } |
| 93 | |
| 94 | #publishButton { |
| 95 | list-style-image: url("chrome://editor/skin/icons/publish.gif"); |
| 96 | } |
| 97 | |
| 98 | #publishButton:hover, |
| 99 | #publishButton:hover:active { |
| 100 | list-style-image: url("chrome://editor/skin/icons/publish-hover.gif"); |
| 101 | } |
| 102 | |
| 103 | #publishButton[disabled="true"] { |
| 104 | list-style-image: url("chrome://editor/skin/icons/publish-disabled.gif") !important; |
| 105 | } |
| 106 | |
| 107 | #previewButton { |
| 108 | list-style-image: url("chrome://editor/skin/icons/preview.gif"); |
| 109 | } |
| 110 | |
| 111 | #previewButton:hover, |
| 112 | #previewButton:hover:active { |
| 113 | list-style-image: url("chrome://editor/skin/icons/preview-hover.gif"); |
| 114 | } |
| 115 | |
| 116 | #previewButton[disabled="true"] { |
| 117 | list-style-image: url("chrome://editor/skin/icons/preview-disabled.gif") !important; |
| 118 | } |
| 119 | |
| 120 | #printButton { |
| 121 | list-style-image: url("chrome://global/skin/icons/print.gif"); |
| 122 | } |
| 123 | |
| 124 | #printButton:hover, |
| 125 | #printButton:hover:active, |
| 126 | #printButton[open="true"] { |
| 127 | list-style-image: url("chrome://global/skin/icons/print-hover.gif"); |
| 128 | } |
| 129 | |
| 130 | #printButton[disabled="true"] { |
| 131 | list-style-image: url("chrome://global/skin/icons/print-disabled.gif") !important; |
| 132 | } |
| 133 | |
| 134 | /* |
| 135 | #findButton { |
| 136 | list-style-image: url("chrome://editor/skin/icons/find.gif"); |
| 137 | } |
| 138 | |
| 139 | #findButton:hover, |
| 140 | #findButton:hover:active { |
| 141 | list-style-image: url("chrome://editor/skin/icons/find-hover.gif"); |
| 142 | } |
| 143 | |
| 144 | #findButton[disabled="true"] { |
| 145 | list-style-image: url("chrome://editor/skin/icons/find-disabled.gif") !important; |
| 146 | } |
| 147 | */ |
| 148 | |
| 149 | #linkButton { |
| 150 | list-style-image: url("chrome://editor/skin/icons/link.gif"); |
| 151 | } |
| 152 | |
| 153 | #linkButton:hover, |
| 154 | #linkButton:hover:active { |
| 155 | list-style-image: url("chrome://editor/skin/icons/link-hover.gif"); |
| 156 | } |
| 157 | |
| 158 | #linkButton[disabled="true"] { |
| 159 | list-style-image: url("chrome://editor/skin/icons/link-disabled.gif") !important; |
| 160 | } |
| 161 | |
| 162 | #imageButton { |
| 163 | list-style-image: url("chrome://editor/skin/icons/image.gif"); |
| 164 | } |
| 165 | |
| 166 | #imageButton:hover, |
| 167 | #imageButton:hover:active { |
| 168 | list-style-image: url("chrome://editor/skin/icons/image-hover.gif"); |
| 169 | } |
| 170 | |
| 171 | #imageButton[disabled="true"] { |
| 172 | list-style-image: url("chrome://editor/skin/icons/image-disabled.gif") !important; |
| 173 | } |
| 174 | |
| 175 | #namedAnchorButton { |
| 176 | list-style-image: url("chrome://editor/skin/icons/anchor.gif"); |
| 177 | } |
| 178 | |
| 179 | #namedAnchorButton:hover, |
| 180 | #namedAnchorButton:hover:active { |
| 181 | list-style-image: url("chrome://editor/skin/icons/anchor-hover.gif"); |
| 182 | } |
| 183 | |
| 184 | #namedAnchorButton[disabled="true"] { |
| 185 | list-style-image: url("chrome://editor/skin/icons/anchor-disabled.gif") !important; |
| 186 | } |
| 187 | |
| 188 | #hlineButton { |
| 189 | list-style-image: url("chrome://editor/skin/icons/hline.gif"); |
| 190 | } |
| 191 | |
| 192 | #hlineButton:hover, |
| 193 | #hlineButton:hover:active { |
| 194 | list-style-image: url("chrome://editor/skin/icons/hline-hover.gif"); |
| 195 | } |
| 196 | |
| 197 | #hlineButton[disabled="true"] { |
| 198 | list-style-image: url("chrome://editor/skin/icons/hline-disabled.gif") !important; |
| 199 | } |
| 200 | |
| 201 | #tableButton { |
| 202 | list-style-image: url("chrome://editor/skin/icons/table.gif"); |
| 203 | } |
| 204 | |
| 205 | #tableButton:hover, |
| 206 | #tableButton:hover:active { |
| 207 | list-style-image: url("chrome://editor/skin/icons/table-hover.gif"); |
| 208 | } |
| 209 | |
| 210 | #tableButton[disabled="true"] { |
| 211 | list-style-image: url("chrome://editor/skin/icons/table-disabled.gif") !important; |
| 212 | } |
| 213 | |
| 214 | #spellingButton { |
| 215 | list-style-image: url("chrome://editor/skin/icons/spell.gif"); |
| 216 | } |
| 217 | |
| 218 | #spellingButton:hover, |
| 219 | #spellingButton:hover:active { |
| 220 | list-style-image: url("chrome://editor/skin/icons/spell-hover.gif"); |
| 221 | } |
| 222 | |
| 223 | #spellingButton[disabled="true"] { |
| 224 | list-style-image: url("chrome://editor/skin/icons/spell-disabled.gif") !important; |
| 225 | } |
| 226 | |
| 227 | #cutButton { |
| 228 | list-style-image: url("chrome://editor/skin/icons/cut.gif"); |
| 229 | } |
| 230 | |
| 231 | #cutButton:hover, |
| 232 | #cutButton:hover:active { |
| 233 | list-style-image: url("chrome://editor/skin/icons/cut-hover.gif"); |
| 234 | } |
| 235 | |
| 236 | #cutButton[disabled="true"] { |
| 237 | list-style-image: url("chrome://editor/skin/icons/cut-disabled.gif") !important; |
| 238 | } |
| 239 | |
| 240 | #copyButton { |
| 241 | list-style-image: url("chrome://editor/skin/icons/copy.gif"); |
| 242 | } |
| 243 | |
| 244 | #copyButton:hover, |
| 245 | #copyButton:hover:active { |
| 246 | list-style-image: url("chrome://editor/skin/icons/copy-hover.gif"); |
| 247 | } |
| 248 | |
| 249 | #copyButton[disabled="true"] { |
| 250 | list-style-image: url("chrome://editor/skin/icons/copy-disabled.gif") !important; |
| 251 | } |
| 252 | |
| 253 | #pasteButton { |
| 254 | list-style-image: url("chrome://editor/skin/icons/paste.gif"); |
| 255 | } |
| 256 | |
| 257 | #pasteButton:hover, |
| 258 | #pasteButton:hover:active { |
| 259 | list-style-image: url("chrome://editor/skin/icons/paste-hover.gif"); |
| 260 | } |
| 261 | |
| 262 | #pasteButton[disabled="true"] { |
| 263 | list-style-image: url("chrome://editor/skin/icons/paste-disabled.gif") !important; |
| 264 | } |
| 265 | |
| 266 | #findButton { |
| 267 | list-style-image: url("chrome://editor/skin/icons/find.gif"); |
| 268 | } |
| 269 | |
| 270 | #findButton:hover, |
| 271 | #findButton:hover:active { |
| 272 | list-style-image: url("chrome://editor/skin/icons/find-hover.gif"); |
| 273 | } |
| 274 | |
| 275 | #findButton[disabled="true"] { |
| 276 | list-style-image: url("chrome://editor/skin/icons/find-disabled.gif") !important; |
| 277 | } |
| 278 | |
| 279 | #formButton { |
| 280 | list-style-image: url("chrome://editor/skin/icons/form.gif"); |
| 281 | } |
| 282 | |
| 283 | #formButton:hover, |
| 284 | #formButton:hover:active { |
| 285 | list-style-image: url("chrome://editor/skin/icons/form-hover.gif"); |
| 286 | } |
| 287 | |
| 288 | #formButton[disabled="true"] { |
| 289 | list-style-image: url("chrome://editor/skin/icons/form-disabled.gif") !important; |
| 290 | } |