351107c9 |
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): |
7aa65558 |
22 | * Joe Hewitt <hewitt@netscape.com> |
23 | * Robert Kaiser <KaiRo@KaiRo.at> |
351107c9 |
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 | |
7aa65558 |
39 | @import url("chrome://communicator/skin/"); |
351107c9 |
40 | |
b1eaa419 |
41 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
351107c9 |
42 | |
7aa65558 |
43 | /* ===== directory.css ================================================== |
44 | == Styles specific to the directory listing window. |
45 | ======================================================================= */ |
351107c9 |
46 | |
b935f37c |
47 | page { |
48 | padding: 0px; |
49 | } |
50 | |
7aa65558 |
51 | #tree { |
52 | margin: 0px !important; |
53 | border: none; |
b1eaa419 |
54 | } |
55 | |
01fc5c11 |
56 | treechildren::-moz-tree-image(FilenameColumn) { |
8caa872d |
57 | -moz-margin-end: 2px; |
b1eaa419 |
58 | list-style-image: url("chrome://communicator/skin/directory/file.gif"); |
7aa65558 |
59 | } |
60 | |
01fc5c11 |
61 | treechildren::-moz-tree-image(FilenameColumn, selected) { |
8caa872d |
62 | -moz-margin-end: 2px; |
b1eaa419 |
63 | list-style-image: url("chrome://communicator/skin/directory/file-sel.gif"); |
64 | } |
7aa65558 |
65 | |
01fc5c11 |
66 | treechildren::-moz-tree-image(FilenameColumn, container) { |
b1eaa419 |
67 | list-style-image: url("chrome://communicator/skin/directory/folder-closed.gif"); |
68 | } |
69 | |
01fc5c11 |
70 | treechildren::-moz-tree-image(FilenameColumn, container, selected) { |
b1eaa419 |
71 | list-style-image: url("chrome://communicator/skin/directory/folder-closed-sel.gif"); |
72 | } |
73 | |
01fc5c11 |
74 | treechildren::-moz-tree-image(FilenameColumn, container, open) { |
b1eaa419 |
75 | list-style-image: url("chrome://communicator/skin/directory/folder-open.gif"); |
76 | } |
77 | |
01fc5c11 |
78 | treechildren::-moz-tree-image(FilenameColumn, container, open, selected) { |
b1eaa419 |
79 | list-style-image: url("chrome://communicator/skin/directory/folder-open-sel.gif"); |
80 | } |
7aa65558 |
81 | |
01fc5c11 |
82 | treechildren::-moz-tree-image(FilenameColumn, loading) { |
b1eaa419 |
83 | list-style-image: url("chrome://global/skin/icons/loading.gif"); |
84 | } |
351107c9 |
85 | |
01fc5c11 |
86 | treechildren::-moz-tree-cell-text(symbolic-link) { |
b1eaa419 |
87 | font-style: italic; |
88 | } |
89 | |
7aa65558 |
90 | /* ::::: column/row preferred sizes ::::: */ |
351107c9 |
91 | |
7aa65558 |
92 | #FilenameColumn, |
93 | #LastModColumn, |
351107c9 |
94 | #ContentLengthColumn { |
95 | width: 100px; |
96 | } |
97 | |
7aa65558 |
98 | div.server { |
99 | color: blue; |
100 | display: block; |
351107c9 |
101 | font-size: 10pt; |
102 | font-family: sans-serif; |
103 | } |
104 | |
7aa65558 |
105 | div.client { |
106 | color: red; |
107 | display: block; |
351107c9 |
108 | font-size: 10pt; |
109 | font-family: sans-serif; |
110 | } |