| 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 | list-style-image: url("chrome://editor/skin/icons/newfile.gif"); |
| 42 | } |
| 43 | |
| 44 | #newButton:hover, |
| 45 | #newButton:hover:active { |
| 46 | list-style-image: url("chrome://editor/skin/icons/newfile-hover.gif"); |
| 47 | } |
| 48 | |
| 49 | #newButton[disabled="true"] { |
| 50 | list-style-image: url("chrome://editor/skin/icons/newfile-disabled.gif") !important; |
| 51 | } |
| 52 | |
| 53 | #openButton { |
| 54 | list-style-image: url("chrome://editor/skin/icons/openfile.gif"); |
| 55 | } |
| 56 | |
| 57 | #openButton:hover, |
| 58 | #openButton:hover:active { |
| 59 | list-style-image: url("chrome://editor/skin/icons/openfile-hover.gif"); |
| 60 | } |
| 61 | |
| 62 | #openButton[disabled="true"] { |
| 63 | list-style-image: url("chrome://editor/skin/icons/openfile-disabled.gif") !important; |
| 64 | } |
| 65 | |
| 66 | #saveButton { |
| 67 | list-style-image: url("chrome://editor/skin/icons/savefile.gif"); |
| 68 | } |
| 69 | |
| 70 | #saveButton:hover, |
| 71 | #saveButton:hover:active { |
| 72 | list-style-image: url("chrome://editor/skin/icons/savefile-hover.gif"); |
| 73 | } |
| 74 | |
| 75 | #saveButton[disabled="true"] { |
| 76 | list-style-image: url("chrome://editor/skin/icons/savefile-disabled.gif") !important; |
| 77 | } |
| 78 | |
| 79 | #saveButton[dirty="true"] { |
| 80 | list-style-image: url("chrome://editor/skin/icons/savefile-dirty.gif"); |
| 81 | } |
| 82 | |
| 83 | #saveButton[dirty="true"]:hover, |
| 84 | #saveButton[dirty="true"]:hover:active { |
| 85 | list-style-image: url("chrome://editor/skin/icons/savefile-hover.gif"); |
| 86 | } |
| 87 | |
| 88 | #saveButton[dirty="true"][disabled="true"] { |
| 89 | list-style-image: url("chrome://editor/skin/icons/savefile-disabled.gif") !important; |
| 90 | } |
| 91 | |
| 92 | #publishButton { |
| 93 | list-style-image: url("chrome://editor/skin/icons/publish.gif"); |
| 94 | } |
| 95 | |
| 96 | #publishButton:hover, |
| 97 | #publishButton:hover:active { |
| 98 | list-style-image: url("chrome://editor/skin/icons/publish-hover.gif"); |
| 99 | } |
| 100 | |
| 101 | #publishButton[disabled="true"] { |
| 102 | list-style-image: url("chrome://editor/skin/icons/publish-disabled.gif") !important; |
| 103 | } |
| 104 | |
| 105 | #previewButton { |
| 106 | list-style-image: url("chrome://editor/skin/icons/preview.gif"); |
| 107 | } |
| 108 | |
| 109 | #previewButton:hover, |
| 110 | #previewButton:hover:active { |
| 111 | list-style-image: url("chrome://editor/skin/icons/preview-hover.gif"); |
| 112 | } |
| 113 | |
| 114 | #previewButton[disabled="true"] { |
| 115 | list-style-image: url("chrome://editor/skin/icons/preview-disabled.gif") !important; |
| 116 | } |
| 117 | |
| 118 | #printButton { |
| 119 | list-style-image: url("chrome://global/skin/icons/print.gif"); |
| 120 | } |
| 121 | |
| 122 | #printButton:hover, |
| 123 | #printButton[buttonover="true"], |
| 124 | #printButton[buttondown="true"], |
| 125 | #printButton[open="true"] { |
| 126 | list-style-image: url("chrome://global/skin/icons/print-hover.gif"); |
| 127 | } |
| 128 | |
| 129 | #printButton[disabled="true"] { |
| 130 | list-style-image: url("chrome://global/skin/icons/print-disabled.gif") !important; |
| 131 | } |
| 132 | |
| 133 | /* |
| 134 | #findButton { |
| 135 | list-style-image: url("chrome://editor/skin/icons/find.gif"); |
| 136 | } |
| 137 | |
| 138 | #findButton:hover, |
| 139 | #findButton:hover:active { |
| 140 | list-style-image: url("chrome://editor/skin/icons/find-hover.gif"); |
| 141 | } |
| 142 | |
| 143 | #findButton[disabled="true"] { |
| 144 | list-style-image: url("chrome://editor/skin/icons/find-disabled.gif") !important; |
| 145 | } |
| 146 | */ |
| 147 | |
| 148 | #linkButton { |
| 149 | list-style-image: url("chrome://editor/skin/icons/link.gif"); |
| 150 | } |
| 151 | |
| 152 | #linkButton:hover, |
| 153 | #linkButton:hover:active { |
| 154 | list-style-image: url("chrome://editor/skin/icons/link-hover.gif"); |
| 155 | } |
| 156 | |
| 157 | #linkButton[disabled="true"] { |
| 158 | list-style-image: url("chrome://editor/skin/icons/link-disabled.gif") !important; |
| 159 | } |
| 160 | |
| 161 | #imageButton { |
| 162 | list-style-image: url("chrome://editor/skin/icons/image.gif"); |
| 163 | } |
| 164 | |
| 165 | #imageButton:hover, |
| 166 | #imageButton:hover:active { |
| 167 | list-style-image: url("chrome://editor/skin/icons/image-hover.gif"); |
| 168 | } |
| 169 | |
| 170 | #imageButton[disabled="true"] { |
| 171 | list-style-image: url("chrome://editor/skin/icons/image-disabled.gif") !important; |
| 172 | } |
| 173 | |
| 174 | #namedAnchorButton { |
| 175 | list-style-image: url("chrome://editor/skin/icons/anchor.gif"); |
| 176 | } |
| 177 | |
| 178 | #namedAnchorButton:hover, |
| 179 | #namedAnchorButton:hover:active { |
| 180 | list-style-image: url("chrome://editor/skin/icons/anchor-hover.gif"); |
| 181 | } |
| 182 | |
| 183 | #namedAnchorButton[disabled="true"] { |
| 184 | list-style-image: url("chrome://editor/skin/icons/anchor-disabled.gif") !important; |
| 185 | } |
| 186 | |
| 187 | #hlineButton { |
| 188 | list-style-image: url("chrome://editor/skin/icons/hline.gif"); |
| 189 | } |
| 190 | |
| 191 | #hlineButton:hover, |
| 192 | #hlineButton:hover:active { |
| 193 | list-style-image: url("chrome://editor/skin/icons/hline-hover.gif"); |
| 194 | } |
| 195 | |
| 196 | #hlineButton[disabled="true"] { |
| 197 | list-style-image: url("chrome://editor/skin/icons/hline-disabled.gif") !important; |
| 198 | } |
| 199 | |
| 200 | #tableButton { |
| 201 | list-style-image: url("chrome://editor/skin/icons/table.gif"); |
| 202 | } |
| 203 | |
| 204 | #tableButton:hover, |
| 205 | #tableButton:hover:active { |
| 206 | list-style-image: url("chrome://editor/skin/icons/table-hover.gif"); |
| 207 | } |
| 208 | |
| 209 | #tableButton[disabled="true"] { |
| 210 | list-style-image: url("chrome://editor/skin/icons/table-disabled.gif") !important; |
| 211 | } |
| 212 | |
| 213 | #spellingButton { |
| 214 | list-style-image: url("chrome://editor/skin/icons/spell.gif"); |
| 215 | } |
| 216 | |
| 217 | #spellingButton:hover, |
| 218 | #spellingButton:hover:active { |
| 219 | list-style-image: url("chrome://editor/skin/icons/spell-hover.gif"); |
| 220 | } |
| 221 | |
| 222 | #spellingButton[disabled="true"] { |
| 223 | list-style-image: url("chrome://editor/skin/icons/spell-disabled.gif") !important; |
| 224 | } |