1 /* -*- Mode: C; c-basic-offset: 2 -*-
3 * The contents of this file are subject to the Netscape Public
4 * License Version 1.1 (the "License"); you may not use this file
5 * except in compliance with the License. You may obtain a copy of
6 * the License at http://www.mozilla.org/NPL/
8 * Software distributed under the License is distributed on an "AS
9 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
10 * implied. See the License for the specific language governing
11 * rights and limitations under the License.
13 * The Original Code is mozilla.org code.
15 * The Initial Developer of the Original Code is Netscape
16 * Communications Corporation. Portions created by Netscape are
17 * Copyright (C) 1998 Netscape Communications Corporation. All
23 treeitem[container="true"][open="true"][loading="true"] > treerow > .treecell-bookmark
25 list-style-image: url("chrome://communicator/skin/bookmarks/loading.gif") ! important ;
28 treeitem[status="new"] > treerow > .treecell-bookmark
30 list-style-image: url("chrome://communicator/skin/bookmarks/loading.gif") ! important ;
33 treeitem[type="http://home.netscape.com/NC-rdf#Folder"] > treerow > .treecell-bookmark,
34 treeitem[type="http://home.netscape.com/NC-rdf#IEFavoriteFolder"] > treerow > .treecell-bookmark,
35 treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] > treerow > .treecell-bookmark,
36 treeitem[container="true"] > treerow > .treecell-bookmark
38 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
41 treeitem[type="http://home.netscape.com/NC-rdf#Folder"][open="true"] > treerow > .treecell-bookmark,
42 treeitem[type="http://home.netscape.com/NC-rdf#IEFavoriteFolder"][open="true"] > treerow > .treecell-bookmark,
43 treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"] > treerow > .treecell-bookmark,
44 treeitem[container="true"][open="true"] > treerow > .treecell-bookmark
46 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
49 treeitem[type="http://home.netscape.com/NC-rdf#BookmarkSeparator"] > treerow > .treecell-bookmark
51 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
54 treeitem[type="http://home.netscape.com/NC-rdf#Bookmark"] > treerow > .treecell-bookmark
56 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
59 treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"] > treerow > .treecell-bookmark
61 list-style-image: url("chrome://communicator/skin/directory/folder-open.gif");
64 treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"] > treerow > .treecell-bookmark
66 list-style-image: url("chrome://communicator/skin/directory/folder-closed.gif");
69 treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"] > treerow > .treecell-bookmark
71 list-style-image: url("chrome://communicator/skin/bookmarks/article.gif");
74 treeitem > treerow > .treecell-bookmark {
75 list-style-image:url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
80 display:none !important;
84 /* Style rules below currently do only apply to bookmark window "file" menubutton */
87 * Style rules for bookmarks tree items. Ideally this would be usage agnostic, but
88 * there's window/panel specific cruft in here too.
92 list-style-image : inherit;
97 list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
100 .treeitem-bookmark[menuactive="true"]
102 list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item-sel.gif");
105 .treeitem-bookmark[container="true"][open="true"][loading="true"]
107 list-style-image : url("chrome://global/skin/loading.gif") ! important ;
110 .treeitem-bookmark[status="new"]
112 list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item-updated.gif") ! important ;
115 .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"],
116 .treeitem-bookmark[container="true"]
118 list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
121 .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"][menuactive="true"],
122 .treeitem-bookmark[container="true"][menuactive="true"]
124 list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed-sel.gif");
127 .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"][open="true"],
128 .treeitem-bookmark[container="true"][open="true"]
130 list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
133 .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"][open="true"][menuactive="true"],
134 .treeitem-bookmark[container="true"][open="true"][menuactive="true"]
136 list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open-sel.gif");
139 .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"]
141 list-style-image : url("chrome://communicator/skin/bookmarks/personal-folder-closed.gif") !important;
144 .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][menuactive="true"]
146 list-style-image : url("chrome://communicator/skin/bookmarks/personal-folder-closed-sel.gif") !important;
149 .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"]
151 list-style-image : url("chrome://communicator/skin/bookmarks/personal-folder-open.gif") !important;
154 .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"][menuactive="true"]
156 list-style-image : url("chrome://communicator/skin/bookmarks/personal-folder-open-sel.gif") !important;
159 .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#BookmarkSeparator"],
160 .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Bookmark"]
162 list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
166 * XXX - need to create some different icons for file system objects
168 .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"]
170 list-style-image : url("chrome://communicator/skin/directory/file-folder-open.gif");
173 .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"]
175 list-style-image : url("chrome://communicator/skin/directory/file-folder-closed.gif");
178 .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#FileSystemObject"]
180 list-style-image : url("chrome://communicator/skin/directory/file-icon.gif");
186 .bookmarks-panel-tree, .bookmarks-panel-tree > .tree-container-treerows
194 border-bottom : none;