| 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 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 6 | |
| 7 | #newButton { |
| 8 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 9 | -moz-image-region: rect(84px 25px 105px 0px); |
| 10 | } |
| 11 | |
| 12 | #newButton[disabled="true"] { |
| 13 | -moz-image-region: rect(84px 50px 105px 25px); |
| 14 | } |
| 15 | |
| 16 | #openButton { |
| 17 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 18 | -moz-image-region: rect(105px 25px 126px 0px); |
| 19 | } |
| 20 | |
| 21 | #openButton[disabled="true"] { |
| 22 | -moz-image-region: rect(105px 50px 126px 25px); |
| 23 | } |
| 24 | |
| 25 | #saveButton { |
| 26 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 27 | -moz-image-region: rect(147px 25px 168px 0px); |
| 28 | } |
| 29 | |
| 30 | #saveButton[disabled="true"] { |
| 31 | -moz-image-region: rect(147px 50px 168px 25px); |
| 32 | } |
| 33 | |
| 34 | #publishButton { |
| 35 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 36 | -moz-image-region: rect(210px 25px 231px 0px); |
| 37 | } |
| 38 | |
| 39 | #publishButton[disabled="true"] { |
| 40 | -moz-image-region: rect(210px 50px 231px 25px); |
| 41 | } |
| 42 | |
| 43 | #previewButton { |
| 44 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 45 | -moz-image-region: rect(126px 25px 147px 0px); |
| 46 | } |
| 47 | |
| 48 | #previewButton[disabled="true"] { |
| 49 | -moz-image-region: rect(126px 50px 147px 25px); |
| 50 | } |
| 51 | |
| 52 | #printButton { |
| 53 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
| 54 | -moz-image-region: rect(0px 25px 21px 0px); |
| 55 | } |
| 56 | |
| 57 | #printButton[disabled="true"] { |
| 58 | -moz-image-region: rect(0px 50px 21px 25px); |
| 59 | } |
| 60 | |
| 61 | #findButton { |
| 62 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 63 | -moz-image-region: rect(294px 25px 315px 0px); |
| 64 | } |
| 65 | |
| 66 | #findButton[disabled="true"] { |
| 67 | -moz-image-region: rect(294px 50px 315px 25px); |
| 68 | } |
| 69 | |
| 70 | #linkButton { |
| 71 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 72 | -moz-image-region: rect(63px 25px 84px 0px); |
| 73 | } |
| 74 | |
| 75 | #linkButton[disabled="true"] { |
| 76 | -moz-image-region: rect(63px 50px 84px 25px); |
| 77 | } |
| 78 | |
| 79 | #imageButton { |
| 80 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 81 | -moz-image-region: rect(42px 25px 63px 0px); |
| 82 | } |
| 83 | |
| 84 | #imageButton[disabled="true"] { |
| 85 | -moz-image-region: rect(42px 50px 63px 25px); |
| 86 | } |
| 87 | |
| 88 | #namedAnchorButton { |
| 89 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 90 | -moz-image-region: rect(0px 25px 21px 0px); |
| 91 | } |
| 92 | |
| 93 | #namedAnchorButton[disabled="true"] { |
| 94 | -moz-image-region: rect(0px 50px 21px 25px); |
| 95 | } |
| 96 | |
| 97 | #hlineButton { |
| 98 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 99 | -moz-image-region: rect(21px 25px 42px 0px); |
| 100 | } |
| 101 | |
| 102 | #hlineButton[disabled="true"] { |
| 103 | -moz-image-region: rect(21px 50px 42px 25px); |
| 104 | } |
| 105 | |
| 106 | #tableButton { |
| 107 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 108 | -moz-image-region: rect(189px 25px 210px 0px); |
| 109 | } |
| 110 | |
| 111 | #tableButton[disabled="true"] { |
| 112 | -moz-image-region: rect(189px 50px 210px 25px); |
| 113 | } |
| 114 | |
| 115 | #spellingButton { |
| 116 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 117 | -moz-image-region: rect(168px 25px 189px 0px); |
| 118 | } |
| 119 | |
| 120 | #spellingButton[disabled="true"] { |
| 121 | -moz-image-region: rect(168px 50px 189px 25px); |
| 122 | } |
| 123 | |
| 124 | #cutButton { |
| 125 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 126 | -moz-image-region: rect(231px 25px 252px 0px); |
| 127 | } |
| 128 | |
| 129 | #cutButton[disabled="true"] { |
| 130 | -moz-image-region: rect(231px 50px 252px 25px); |
| 131 | } |
| 132 | |
| 133 | #copyButton { |
| 134 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 135 | -moz-image-region: rect(252px 25px 273px 0px); |
| 136 | } |
| 137 | |
| 138 | #copyButton[disabled="true"] { |
| 139 | -moz-image-region: rect(252px 50px 273px 25px); |
| 140 | } |
| 141 | |
| 142 | #pasteButton { |
| 143 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
| 144 | -moz-image-region: rect(273px 25px 294px 0px); |
| 145 | } |
| 146 | |
| 147 | #pasteButton[disabled="true"] { |
| 148 | -moz-image-region: rect(273px 50px 294px 25px); |
| 149 | } |