| 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 | * Robert Kaiser <KaiRo@KaiRo.at> |
| 23 | * |
| 24 | * Alternatively, the contents of this file may be used under the terms of |
| 25 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
| 26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 27 | * in which case the provisions of the GPL or the LGPL are applicable instead |
| 28 | * of those above. If you wish to allow use of your version of this file only |
| 29 | * under the terms of either the GPL or the LGPL, and not to allow others to |
| 30 | * use your version of this file under the terms of the NPL, indicate your |
| 31 | * decision by deleting the provisions above and replace them with the notice |
| 32 | * and other provisions required by the GPL or the LGPL. If you do not delete |
| 33 | * the provisions above, a recipient may use your version of this file under |
| 34 | * the terms of any one of the NPL, the GPL or the LGPL. |
| 35 | * |
| 36 | * ***** END LICENSE BLOCK ***** */ |
| 37 | |
| 38 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 39 | |
| 40 | #newButton |
| 41 | { |
| 42 | list-style-image : url("chrome://editor/skin/images/newfile.gif"); |
| 43 | } |
| 44 | |
| 45 | #newButton[disabled="true"], |
| 46 | #newButton[disabled="true"]:hover, |
| 47 | #newButton[disabled="true"]:hover:active |
| 48 | { |
| 49 | list-style-image : url("chrome://editor/skin/images/newfile-disabled.gif"); |
| 50 | } |
| 51 | |
| 52 | #newButton:hover, |
| 53 | #newButton:hover:active |
| 54 | { |
| 55 | list-style-image : url("chrome://editor/skin/images/newfile-hover.gif"); |
| 56 | } |
| 57 | |
| 58 | #openButton |
| 59 | { |
| 60 | list-style-image : url("chrome://editor/skin/images/openfile.gif"); |
| 61 | } |
| 62 | |
| 63 | #openButton[disabled="true"], |
| 64 | #openButton[disabled="true"]:hover, |
| 65 | #openButton[disabled="true"]:hover:active |
| 66 | { |
| 67 | list-style-image : url("chrome://editor/skin/images/openfile-disabled.gif"); |
| 68 | } |
| 69 | |
| 70 | #openButton:hover, |
| 71 | #openButton:hover:active |
| 72 | { |
| 73 | list-style-image : url("chrome://editor/skin/images/openfile-hover.gif"); |
| 74 | } |
| 75 | |
| 76 | #saveButton |
| 77 | { |
| 78 | list-style-image : url("chrome://editor/skin/images/savefile.gif"); |
| 79 | } |
| 80 | |
| 81 | #saveButton[disabled="true"], |
| 82 | #saveButton[disabled="true"]:hover, |
| 83 | #saveButton[disabled="true"]:hover:active |
| 84 | { |
| 85 | list-style-image : url("chrome://editor/skin/images/savefile-disabled.gif"); |
| 86 | } |
| 87 | |
| 88 | #saveButton:hover, |
| 89 | #saveButton:hover:active |
| 90 | { |
| 91 | list-style-image : url("chrome://editor/skin/images/savefile-hover.gif"); |
| 92 | } |
| 93 | |
| 94 | #saveButton[dirty="true"] |
| 95 | { |
| 96 | list-style-image : url("chrome://editor/skin/images/savefile-dirty.gif"); |
| 97 | } |
| 98 | |
| 99 | #saveButton[dirty="true"][disabled="true"], |
| 100 | #saveButton[dirty="true"][disabled="true"]:hover, |
| 101 | #saveButton[dirty="true"][disabled="true"]:hover:active |
| 102 | { |
| 103 | list-style-image : url("chrome://editor/skin/images/savefile-disabled.gif"); |
| 104 | } |
| 105 | |
| 106 | #saveButton[dirty="true"]:hover, |
| 107 | #saveButton[dirty="true"]:hover:active |
| 108 | { |
| 109 | list-style-image : url("chrome://editor/skin/images/savefile-hover.gif"); |
| 110 | } |
| 111 | |
| 112 | #publishButton |
| 113 | { |
| 114 | list-style-image : url("chrome://editor/skin/images/publish.gif"); |
| 115 | } |
| 116 | |
| 117 | #publishButton[disabled="true"], |
| 118 | #publishButton[disabled="true"]:hover, |
| 119 | #publishButton[disabled="true"]:hover:active |
| 120 | { |
| 121 | list-style-image : url("chrome://editor/skin/images/publish-disabled.gif"); |
| 122 | } |
| 123 | |
| 124 | #publishButton:hover, |
| 125 | #publishButton:hover:active |
| 126 | { |
| 127 | list-style-image : url("chrome://editor/skin/images/publish-hover.gif"); |
| 128 | } |
| 129 | |
| 130 | #previewButton |
| 131 | { |
| 132 | list-style-image : url("chrome://editor/skin/images/preview.gif"); |
| 133 | } |
| 134 | |
| 135 | #previewButton[disabled="true"], |
| 136 | #previewButton[disabled="true"]:hover, |
| 137 | #previewButton[disabled="true"]:hover:active |
| 138 | { |
| 139 | list-style-image : url("chrome://editor/skin/images/preview-disabled.gif"); |
| 140 | } |
| 141 | |
| 142 | #previewButton:hover, |
| 143 | #previewButton:hover:active |
| 144 | { |
| 145 | list-style-image : url("chrome://editor/skin/images/preview-hover.gif"); |
| 146 | } |
| 147 | |
| 148 | #printButton |
| 149 | { |
| 150 | list-style-image : url("chrome://global/skin/print.gif"); |
| 151 | } |
| 152 | |
| 153 | #printButton[disabled="true"], |
| 154 | #printButton[disabled="true"]:hover, |
| 155 | #printButton[disabled="true"][buttonover="true"], |
| 156 | #printButton[disabled="true"][buttondown="true"] |
| 157 | { |
| 158 | list-style-image : url("chrome://global/skin/print-disabled.gif"); |
| 159 | } |
| 160 | |
| 161 | #printButton:hover, |
| 162 | #printButton[buttonover="true"], |
| 163 | #printButton[buttondown="true"], |
| 164 | #printButton[open="true"] |
| 165 | { |
| 166 | list-style-image : url("chrome://global/skin/print-hover.gif"); |
| 167 | } |
| 168 | |
| 169 | #findButton |
| 170 | { |
| 171 | list-style-image : url("chrome://editor/skin/images/find.gif"); |
| 172 | } |
| 173 | |
| 174 | #findButton[disabled="true"], |
| 175 | #findButton[disabled="true"]:hover, |
| 176 | #findButton[disabled="true"]:hover:active |
| 177 | { |
| 178 | list-style-image : url("chrome://editor/skin/images/find-disabled.gif"); |
| 179 | } |
| 180 | |
| 181 | #findButton:hover, |
| 182 | #findButton:hover:active |
| 183 | { |
| 184 | list-style-image : url("chrome://editor/skin/images/find-hover.gif"); |
| 185 | } |
| 186 | |
| 187 | #linkButton |
| 188 | { |
| 189 | list-style-image : url("chrome://editor/skin/images/link.gif"); |
| 190 | } |
| 191 | |
| 192 | #linkButton[disabled="true"], |
| 193 | #linkButton[disabled="true"]:hover, |
| 194 | #linkButton[disabled="true"]:hover:active |
| 195 | { |
| 196 | list-style-image : url("chrome://editor/skin/images/link-disabled.gif"); |
| 197 | } |
| 198 | |
| 199 | #linkButton:hover, |
| 200 | #linkButton:hover:active |
| 201 | { |
| 202 | list-style-image : url("chrome://editor/skin/images/link-hover.gif"); |
| 203 | } |
| 204 | |
| 205 | #imageButton |
| 206 | { |
| 207 | list-style-image : url("chrome://editor/skin/images/image.gif"); |
| 208 | } |
| 209 | |
| 210 | #imageButton[disabled="true"], |
| 211 | #imageButton[disabled="true"]:hover, |
| 212 | #imageButton[disabled="true"]:hover:active |
| 213 | { |
| 214 | list-style-image : url("chrome://editor/skin/images/image-disabled.gif"); |
| 215 | } |
| 216 | |
| 217 | #imageButton:hover, |
| 218 | #imageButton:hover:active |
| 219 | { |
| 220 | list-style-image : url("chrome://editor/skin/images/image-hover.gif"); |
| 221 | } |
| 222 | |
| 223 | #namedAnchorButton |
| 224 | { |
| 225 | list-style-image : url("chrome://editor/skin/images/anchor.gif"); |
| 226 | } |
| 227 | |
| 228 | #namedAnchorButton[disabled="true"], |
| 229 | #namedAnchorButton[disabled="true"]:hover, |
| 230 | #namedAnchorButton[disabled="true"]:hover:active |
| 231 | { |
| 232 | list-style-image : url("chrome://editor/skin/images/anchor-disabled.gif"); |
| 233 | } |
| 234 | |
| 235 | #namedAnchorButton:hover, |
| 236 | #namedAnchorButton:hover:active |
| 237 | { |
| 238 | list-style-image : url("chrome://editor/skin/images/anchor-hover.gif"); |
| 239 | } |
| 240 | |
| 241 | #hlineButton |
| 242 | { |
| 243 | list-style-image : url("chrome://editor/skin/images/hline.gif"); |
| 244 | } |
| 245 | |
| 246 | #hlineButton[disabled="true"], |
| 247 | #hlineButton[disabled="true"]:hover, |
| 248 | #hlineButton[disabled="true"]:hover:active |
| 249 | { |
| 250 | list-style-image : url("chrome://editor/skin/images/hline-disabled.gif"); |
| 251 | } |
| 252 | |
| 253 | #hlineButton:hover, |
| 254 | #hlineButton:hover:active |
| 255 | { |
| 256 | list-style-image : url("chrome://editor/skin/images/hline-hover.gif"); |
| 257 | } |
| 258 | |
| 259 | #tableButton |
| 260 | { |
| 261 | list-style-image : url("chrome://editor/skin/images/table.gif"); |
| 262 | } |
| 263 | |
| 264 | #tableButton[disabled="true"], |
| 265 | #tableButton[disabled="true"]:hover, |
| 266 | #tableButton[disabled="true"]:hover:active |
| 267 | { |
| 268 | list-style-image : url("chrome://editor/skin/images/table-disabled.gif"); |
| 269 | } |
| 270 | |
| 271 | #tableButton:hover, |
| 272 | #tableButton:hover:active |
| 273 | { |
| 274 | list-style-image : url("chrome://editor/skin/images/table-hover.gif"); |
| 275 | } |
| 276 | |
| 277 | #spellingButton |
| 278 | { |
| 279 | list-style-image : url("chrome://editor/skin/images/spell.gif"); |
| 280 | } |
| 281 | |
| 282 | #spellingButton[disabled="true"], |
| 283 | #spellingButton[disabled="true"]:hover, |
| 284 | #spellingButton[disabled="true"]:hover:active |
| 285 | { |
| 286 | list-style-image : url("chrome://editor/skin/images/spell-disabled.gif"); |
| 287 | } |
| 288 | |
| 289 | #spellingButton:hover, |
| 290 | #spellingButton:hover:active |
| 291 | { |
| 292 | list-style-image : url("chrome://editor/skin/images/spell-hover.gif"); |
| 293 | } |