1 /* -*- Mode: C; c-basic-offset: 2 -*-
\r
3 * The contents of this file are subject to the Netscape Public
\r
4 * License Version 1.1 (the "License"); you may not use this file
\r
5 * except in compliance with the License. You may obtain a copy of
\r
6 * the License at http://www.mozilla.org/NPL/
\r
8 * Software distributed under the License is distributed on an "AS
\r
9 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
\r
10 * implied. See the License for the specific language governing
\r
11 * rights and limitations under the License.
\r
13 * The Original Code is mozilla.org code.
\r
15 * The Initial Developer of the Original Code is Netscape
\r
16 * Communications Corporation. Portions created by Netscape are
\r
17 * Copyright (C) 1998 Netscape Communications Corporation. All
\r
25 Style rules specific to the directory listing window.
\r
29 /* Hide twisty for files */
\r
30 .treecell-indent[type="FILE"] > .tree-cell-twisty
\r
32 list-style-image : none;
\r
37 list-style-image : url("chrome://communicator/skin/directory/file-icon.gif");
\r
40 treeitem[selected="true"] > treerow > .treecell-filename
\r
42 list-style-image : url("chrome://communicator/skin/directory/file-icon-sel.gif");
\r
45 treeitem[container="true"] > treerow > .treecell-filename
\r
47 list-style-image : url("chrome://communicator/skin/directory/file-folder-closed.gif");
\r
49 treeitem[container="true"][selected="true"] > treerow > .treecell-filename
\r
51 list-style-image : url("chrome://communicator/skin/directory/file-folder-closed-sel.gif");
\r
54 treeitem[container="true"][open="true"] > treerow > .treecell-filename
\r
56 list-style-image : url("chrome://communicator/skin/directory/file-folder-open.gif");
\r
58 treeitem[container="true"][open="true"][selected="true"] > treerow > .treecell-filename
\r
60 list-style-image : url("chrome://communicator/skin/directory/file-folder-open-sel.gif");
\r
64 /* Show an animated icon when a directory/symlink is loading */
\r
65 treeitem[type="SYMBOLIC-LINK"][loading="true"] > treerow > .treecell-filename > .tree-cell-twisty,
\r
66 treeitem[type="DIRECTORY"][loading="true"] > treerow > treecell > .tree-cell-twisty
\r
68 list-style-image : url("chrome://global/skin/loading.gif");
\r
71 /* Italicize a symbolic link and make it look like a link (it can be a dir or link) */
\r
72 .treecell-filename[type="SYMBOLIC-LINK"]
\r
75 text-decoration : inherit;
\r
76 font-style : italic;
\r