| 1 | /* |
| 2 | * The contents of this file are subject to the Netscape Public |
| 3 | * License Version 1.1 (the "License"); you may not use this file |
| 4 | * except in compliance with the License. You may obtain a copy of |
| 5 | * the License at http://www.mozilla.org/NPL/ |
| 6 | * |
| 7 | * Software distributed under the License is distributed on an "AS |
| 8 | * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or |
| 9 | * implied. See the License for the specific language governing |
| 10 | * rights and limitations under the License. |
| 11 | * |
| 12 | * The Original Code is Mozilla Communicator client code, released |
| 13 | * March 31, 1998. |
| 14 | * |
| 15 | * The Initial Developer of the Original Code is Netscape |
| 16 | * Communications Corporation. Portions created by Netscape are |
| 17 | * Copyright (C) 1998-1999 Netscape Communications Corporation. All |
| 18 | * Rights Reserved. |
| 19 | * |
| 20 | * Contributor(s): |
| 21 | */ |
| 22 | |
| 23 | /* This contains CSS just for editor toolbars */ |
| 24 | |
| 25 | #EditorToolbox { |
| 26 | min-width: 1px; |
| 27 | } |
| 28 | |
| 29 | .separator_small { |
| 30 | width: 1em; |
| 31 | } |
| 32 | |
| 33 | .margin-left-right { |
| 34 | margin-left: 3px; |
| 35 | margin-right: 3px; |
| 36 | } |
| 37 | |
| 38 | .toolbar, .key-toolbar { |
| 39 | margin-right: 2px; |
| 40 | } |
| 41 | |
| 42 | .inset-border { |
| 43 | border: 1px inset CCCCDD; |
| 44 | } |
| 45 | |
| 46 | /* THIS DOESN'T WORK ON <text>! */ |
| 47 | .center { |
| 48 | text-align: center; |
| 49 | } |
| 50 | |
| 51 | |
| 52 | |
| 53 | #newButton { |
| 54 | list-style-image:url("chrome://editor/skin/images/newfile.gif"); |
| 55 | } |
| 56 | #newButton[disabled="true"] { |
| 57 | list-style-image:url("chrome://editor/skin/images/newfile_dis.gif"); |
| 58 | } |
| 59 | |
| 60 | #openButton { |
| 61 | list-style-image:url("chrome://editor/skin/images/openfile.gif"); |
| 62 | } |
| 63 | #openButton[disabled="true"] { |
| 64 | list-style-image:url("chrome://editor/skin/images/openfile_dis.gif"); |
| 65 | } |
| 66 | |
| 67 | #saveButton { |
| 68 | list-style-image:url("chrome://editor/skin/images/savefile.gif"); |
| 69 | } |
| 70 | #saveButton[disabled="true"] { |
| 71 | list-style-image:url("chrome://editor/skin/images/savefile_dis.gif"); |
| 72 | } |
| 73 | #saveButton[dirty="true"] { |
| 74 | list-style-image:url(chrome://editor/skin/images/savemod.gif); |
| 75 | } |
| 76 | |
| 77 | #publishButton { |
| 78 | list-style-image:url("chrome://editor/skin/images/publish.gif"); |
| 79 | } |
| 80 | |
| 81 | #previewButton { |
| 82 | list-style-image:url("chrome://editor/skin/images/preview.gif"); |
| 83 | } |
| 84 | #previewButton[disabled="true"] { |
| 85 | list-style-image:url("chrome://editor/skin/images/preview_dis.gif"); |
| 86 | } |
| 87 | |
| 88 | #printButton |
| 89 | { |
| 90 | list-style-image : url("chrome://editor/skin/images/print.gif"); |
| 91 | } |
| 92 | #printButton[disabled="true"] { |
| 93 | list-style-image:url("chrome://editor/skin/images/print_dis.gif"); |
| 94 | } |
| 95 | |
| 96 | #findButton { |
| 97 | list-style-image:url("chrome://editor/skin/images/find.gif"); |
| 98 | } |
| 99 | #findButton[disabled="true"] { |
| 100 | list-style-image:url("chrome://editor/skin/images/find_dis.gif"); |
| 101 | } |
| 102 | |
| 103 | #linkButton { |
| 104 | list-style-image:url("chrome://editor/skin/images/link.gif"); |
| 105 | } |
| 106 | #linkButton[disabled="true"] { |
| 107 | list-style-image:url("chrome://editor/skin/images/link_dis.gif"); |
| 108 | } |
| 109 | |
| 110 | #imageButton { |
| 111 | list-style-image:url("chrome://editor/skin/images/image.gif"); |
| 112 | } |
| 113 | #imageButton[disabled="true"] { |
| 114 | list-style-image:url("chrome://editor/skin/images/image_dis.gif"); |
| 115 | } |
| 116 | |
| 117 | #namedAnchorButton { |
| 118 | list-style-image:url("chrome://editor/skin/images/anchor.gif"); |
| 119 | } |
| 120 | #namedAnchorButton[disabled="true"] { |
| 121 | list-style-image:url("chrome://editor/skin/images/anchor_dis.gif"); |
| 122 | } |
| 123 | |
| 124 | #hlineButton { |
| 125 | list-style-image:url("chrome://editor/skin/images/hline.gif"); |
| 126 | } |
| 127 | #hlineButton[disabled="true"] { |
| 128 | list-style-image:url("chrome://editor/skin/images/hline_dis.gif"); |
| 129 | } |
| 130 | |
| 131 | #tableButton { |
| 132 | list-style-image:url("chrome://editor/skin/images/table.gif"); |
| 133 | } |
| 134 | #tableButton[disabled="true"] { |
| 135 | list-style-image:url("chrome://editor/skin/images/table_dis.gif"); |
| 136 | } |
| 137 | |
| 138 | #linkButton-dark { |
| 139 | list-style-image:url("chrome://editor/skin/images/link.gif"); |
| 140 | } |
| 141 | #imageButton-dark { |
| 142 | list-style-image:url("chrome://editor/skin/images/image.gif"); |
| 143 | } |
| 144 | #namedAnchorButton-dark { |
| 145 | list-style-image:url("chrome://editor/skin/images/anchor.gif"); |
| 146 | } |
| 147 | #hlineButton-dark { |
| 148 | list-style-image:url("chrome://editor/skin/images/hline.gif"); |
| 149 | } |
| 150 | #tableButton-dark { |
| 151 | list-style-image:url("chrome://editor/skin/images/table.gif"); |
| 152 | } |
| 153 | #spellingButton { |
| 154 | list-style-image:url("chrome://editor/skin/images/spell.gif"); |
| 155 | } |