8741f6cdf48c48cfcd7f3e029a0c61f1fd9a87ad
[themes.git] / LCARStrek / communicator / skin / directory / directory.css
1 /* -*- Mode: C; c-basic-offset: 2 -*-\r
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
7  *\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
12  *\r
13  * The Original Code is mozilla.org code.\r
14  *\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
18  * Rights Reserved.\r
19  *\r
20  * Contributor(s): \r
21  */\r
22 \r
23 /*\r
24 \r
25   Style rules specific to the directory listing window.\r
26 \r
27 */\r
28 \r
29 /* Hide twisty for files */\r
30 .treecell-indent[type="FILE"] > .tree-cell-twisty \r
31   {\r
32     list-style-image      : none;\r
33   }\r
34 \r
35 .treecell-filename\r
36   {\r
37     list-style-image      : url("chrome://communicator/skin/directory/file-icon.gif");\r
38   }  \r
39   \r
40 treeitem[selected="true"] > treerow > .treecell-filename\r
41   {\r
42     list-style-image      : url("chrome://communicator/skin/directory/file-icon-sel.gif");\r
43   }\r
44   \r
45 treeitem[container="true"] > treerow > .treecell-filename\r
46   {\r
47     list-style-image      : url("chrome://communicator/skin/directory/file-folder-closed.gif");\r
48   }\r
49 treeitem[container="true"][selected="true"] > treerow > .treecell-filename\r
50   {\r
51     list-style-image      : url("chrome://communicator/skin/directory/file-folder-closed-sel.gif");\r
52   }\r
53 \r
54 treeitem[container="true"][open="true"] > treerow > .treecell-filename\r
55   {\r
56     list-style-image      : url("chrome://communicator/skin/directory/file-folder-open.gif");\r
57   }\r
58 treeitem[container="true"][open="true"][selected="true"] > treerow > .treecell-filename\r
59   {\r
60     list-style-image      : url("chrome://communicator/skin/directory/file-folder-open-sel.gif");\r
61   }\r
62   \r
63   \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
67   {\r
68     list-style-image      : url("chrome://global/skin/loading.gif");\r
69   }\r
70 \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
73   {\r
74     color                 : inherit;\r
75     text-decoration       : inherit;\r
76     font-style            : italic;\r
77   }\r
78 \r