removing useless directories, moving contents.rdf and preview.png to top level directory
[themes.git] / EarlyBlue / communicator / directory / directory.css
CommitLineData
f6e0a33f 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):
128000f4 22 * Robert Kaiser <KaiRo@KaiRo.at>
f6e0a33f 23 *
24 * Alternatively, the contents of this file may be used under the terms of
25 * either the GNU General Public License Version 2 or later (the "GPL"), or
26 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the NPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the NPL, the GPL or the LGPL.
35 *
36 * ***** END LICENSE BLOCK ***** */
37
128000f4 38@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
39
f6e0a33f 40/*
41
42 Style rules specific to the directory listing window.
43
44*/
45
46@import url(chrome://communicator/skin/);
47
48/* Hide twisty for files */
49.treecell-indent[type="FILE"] > .tree-cell-twisty
50 {
51 list-style-image : none;
52 }
53
54.treecell-filename
55 {
56 list-style-image : url("chrome://communicator/skin/directory/file-icon.gif");
57 }
58
59treeitem[selected="true"] > treerow > .treecell-filename
60 {
61 list-style-image : url("chrome://communicator/skin/directory/file-icon-sel.gif");
62 }
63
64treeitem[container="true"] > treerow > .treecell-filename
65 {
66 list-style-image : url("chrome://communicator/skin/directory/file-folder-closed.gif");
67 }
68treeitem[container="true"][selected="true"] > treerow > .treecell-filename
69 {
70 list-style-image : url("chrome://communicator/skin/directory/file-folder-closed-sel.gif");
71 }
72
73treeitem[container="true"][open="true"] > treerow > .treecell-filename
74 {
75 list-style-image : url("chrome://communicator/skin/directory/file-folder-open.gif");
76 }
77treeitem[container="true"][open="true"][selected="true"] > treerow > .treecell-filename
78 {
79 list-style-image : url("chrome://communicator/skin/directory/file-folder-open-sel.gif");
80 }
81
82
83/* Show an animated icon when a directory/symlink is loading */
84treeitem[type="SYMBOLIC-LINK"][loading="true"] > treerow > .treecell-filename > .tree-cell-twisty,
85treeitem[type="DIRECTORY"][loading="true"] > treerow > treecell > .tree-cell-twisty
86 {
87 list-style-image : url("chrome://global/skin/loading.gif");
88 }
89
90/* Italicize a symbolic link and make it look like a link (it can be a dir or link) */
91.treecell-filename[type="SYMBOLIC-LINK"]
92 {
93 color : inherit;
94 text-decoration : inherit;
95 font-style : italic;
96 }
97
98treerow
99 {
100 min-height : 19px;
101 }
102
103/**
104 * This fixes a bug. As you scroll down in a tree the computed column width
105 * can change. That would make the columns shift durning scrolling.
106 * So we give them inital preferred widths so they aren't computed.
107 */
108#FilenameColumn {
109 width: 100px;
110}
111
112#ContentLengthColumn {
113 width: 100px;
114}
115
116#LastModColumn {
117 width: 100px;
118}
119
120div.server {
121 color: blue;
122 display: block;
123 font-size: 10pt;
124 font-family: sans-serif;
125}
126
127div.client {
128 color: red;
129 display: block;
130 font-size: 10pt;
131 font-family: sans-serif;
132}