big tree->listbox/outliner; outliner-> update
[themes.git] / EarlyBlue / communicator / directory / directory.css
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 #tree {
48   margin: 0px !important;
49   border: none;
50 }
51
52 /* EarlyBlue TODO: selected images! */
53
54 treechildren:-moz-tree-image(FilenameColumn) {
55   margin-right: 2px;
56   list-style-image: url("chrome://communicator/skin/directory/file.gif");
57 }
58
59 treechildren:-moz-tree-image(FilenameColumn, selected) {
60   margin-right: 2px;
61   list-style-image: url("chrome://communicator/skin/directory/file-sel.gif");
62 }
63
64 treechildren:-moz-tree-image(FilenameColumn, container) {
65   list-style-image: url("chrome://communicator/skin/directory/folder-closed.gif");
66 }
67
68 treechildren:-moz-tree-image(FilenameColumn, container, selected) {
69   list-style-image: url("chrome://communicator/skin/directory/folder-closed-sel.gif");
70 }
71
72 treechildren:-moz-tree-image(FilenameColumn, container, open) {
73   list-style-image: url("chrome://communicator/skin/directory/folder-open.gif");
74 }
75
76 treechildren:-moz-tree-image(FilenameColumn, container, open, selected) {
77   list-style-image: url("chrome://communicator/skin/directory/folder-open-sel.gif");
78 }
79
80 treechildren:-moz-tree-image(FilenameColumn, loading) {
81   list-style-image: url("chrome://global/skin/icons/loading.gif");
82 }
83
84 treechildren:-moz-tree-cell-text(symbolic-link) {
85   font-style: italic;
86 }
87
88 /* ::::: column/row preferred sizes ::::: */
89
90 #FilenameColumn,
91 #LastModColumn,
92 #ContentLengthColumn {
93   width: 100px;
94 }
95
96 div.server { 
97   color: blue;
98   display: block; 
99   font-size: 10pt;
100   font-family: sans-serif;
101 }
102
103 div.client { 
104   color: red;
105   display: block; 
106   font-size: 10pt;
107   font-family: sans-serif;
108 }