| 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 | @import url(chrome://communicator/skin/); |
| 24 | @import url(chrome://communicator/skin/sidebar/sidebar.css); |
| 25 | /* Note: most of our styles are in EditorToolbars.css |
| 26 | in order to share with all users of editor |
| 27 | */ |
| 28 | |
| 29 | /********* image pre-cacheing ********/ |
| 30 | #resource_bundle_editor{ |
| 31 | -moz-binding : url('chrome://editor/skin/resources.xml#resource_bundle_editor') |
| 32 | } |
| 33 | |
| 34 | #content-frame { |
| 35 | min-width: 10px; |
| 36 | min-height: 10px; |
| 37 | height: 400px; |
| 38 | } |
| 39 | |
| 40 | .source-editor, .source-editor:focus { |
| 41 | margin: 0px 5px 5px 0px; |
| 42 | border: 0px; |
| 43 | /* Scroll bars are in content, |
| 44 | so we can't use right and bottom padding! */ |
| 45 | padding: 5px 0px 0px 5px; |
| 46 | } |
| 47 | |
| 48 | /* Multiline textarea for HTML source editing */ |
| 49 | #content-source, #doctype-text |
| 50 | { |
| 51 | font-family : -moz-fixed; |
| 52 | } |