| 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 | * Joe Hewitt <hewitt@netscape.com> |
| 23 | * Robert Kaiser <KaiRo@KaiRo.at> |
| 24 | * |
| 25 | * Alternatively, the contents of this file may be used under the terms of |
| 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
| 27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 28 | * in which case the provisions of the GPL or the LGPL are applicable instead |
| 29 | * of those above. If you wish to allow use of your version of this file only |
| 30 | * under the terms of either the GPL or the LGPL, and not to allow others to |
| 31 | * use your version of this file under the terms of the NPL, indicate your |
| 32 | * decision by deleting the provisions above and replace them with the notice |
| 33 | * and other provisions required by the GPL or the LGPL. If you do not delete |
| 34 | * the provisions above, a recipient may use your version of this file under |
| 35 | * the terms of any one of the NPL, the GPL or the LGPL. |
| 36 | * |
| 37 | * ***** END LICENSE BLOCK ***** */ |
| 38 | |
| 39 | @import url("chrome://communicator/skin/"); |
| 40 | |
| 41 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 42 | |
| 43 | /* ===== directory.css ================================================== |
| 44 | == Styles specific to the directory listing window. |
| 45 | ======================================================================= */ |
| 46 | |
| 47 | page { |
| 48 | padding: 0px; |
| 49 | } |
| 50 | |
| 51 | #tree { |
| 52 | margin: 0px !important; |
| 53 | border: none; |
| 54 | } |
| 55 | |
| 56 | treechildren:-moz-tree-image(FilenameColumn) { |
| 57 | margin-right: 2px; |
| 58 | list-style-image: url("chrome://communicator/skin/directory/file.gif"); |
| 59 | } |
| 60 | |
| 61 | treechildren:-moz-tree-image(FilenameColumn, selected) { |
| 62 | margin-right: 2px; |
| 63 | list-style-image: url("chrome://communicator/skin/directory/file-sel.gif"); |
| 64 | } |
| 65 | |
| 66 | treechildren:-moz-tree-image(FilenameColumn, container) { |
| 67 | list-style-image: url("chrome://communicator/skin/directory/folder-closed.gif"); |
| 68 | } |
| 69 | |
| 70 | treechildren:-moz-tree-image(FilenameColumn, container, selected) { |
| 71 | list-style-image: url("chrome://communicator/skin/directory/folder-closed-sel.gif"); |
| 72 | } |
| 73 | |
| 74 | treechildren:-moz-tree-image(FilenameColumn, container, open) { |
| 75 | list-style-image: url("chrome://communicator/skin/directory/folder-open.gif"); |
| 76 | } |
| 77 | |
| 78 | treechildren:-moz-tree-image(FilenameColumn, container, open, selected) { |
| 79 | list-style-image: url("chrome://communicator/skin/directory/folder-open-sel.gif"); |
| 80 | } |
| 81 | |
| 82 | treechildren:-moz-tree-image(FilenameColumn, loading) { |
| 83 | list-style-image: url("chrome://global/skin/icons/loading.gif"); |
| 84 | } |
| 85 | |
| 86 | treechildren:-moz-tree-cell-text(symbolic-link) { |
| 87 | font-style: italic; |
| 88 | } |
| 89 | |
| 90 | /* ::::: column/row preferred sizes ::::: */ |
| 91 | |
| 92 | #FilenameColumn, |
| 93 | #LastModColumn, |
| 94 | #ContentLengthColumn { |
| 95 | width: 100px; |
| 96 | } |
| 97 | |
| 98 | div.server { |
| 99 | color: blue; |
| 100 | display: block; |
| 101 | font-size: 10pt; |
| 102 | font-family: sans-serif; |
| 103 | } |
| 104 | |
| 105 | div.client { |
| 106 | color: red; |
| 107 | display: block; |
| 108 | font-size: 10pt; |
| 109 | font-family: sans-serif; |
| 110 | } |