| 1 | /* -*- Mode: C; c-basic-offset: 2 -*- |
| 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/ |
| 7 | * |
| 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. |
| 12 | * |
| 13 | * The Original Code is mozilla.org code. |
| 14 | * |
| 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 |
| 18 | * Rights Reserved. |
| 19 | * |
| 20 | * Contributor(s): |
| 21 | */ |
| 22 | |
| 23 | treeitem[container="true"][open="true"][loading="true"] > treerow > .treecell-bookmark |
| 24 | { |
| 25 | list-style-image: url("chrome://communicator/skin/bookmarks/loading.gif") ! important ; |
| 26 | } |
| 27 | |
| 28 | treeitem[status="new"] > treerow > .treecell-bookmark |
| 29 | { |
| 30 | list-style-image: url("chrome://communicator/skin/bookmarks/loading.gif") ! important ; |
| 31 | } |
| 32 | |
| 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 |
| 37 | { |
| 38 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); |
| 39 | } |
| 40 | |
| 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 |
| 45 | { |
| 46 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); |
| 47 | } |
| 48 | |
| 49 | treeitem[type="http://home.netscape.com/NC-rdf#BookmarkSeparator"] > treerow > .treecell-bookmark |
| 50 | { |
| 51 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); |
| 52 | } |
| 53 | |
| 54 | treeitem[type="http://home.netscape.com/NC-rdf#Bookmark"] > treerow > .treecell-bookmark |
| 55 | { |
| 56 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); |
| 57 | } |
| 58 | |
| 59 | treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"] > treerow > .treecell-bookmark |
| 60 | { |
| 61 | list-style-image: url("chrome://communicator/skin/directory/folder-open.gif"); |
| 62 | } |
| 63 | |
| 64 | treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"] > treerow > .treecell-bookmark |
| 65 | { |
| 66 | list-style-image: url("chrome://communicator/skin/directory/folder-closed.gif"); |
| 67 | } |
| 68 | |
| 69 | treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"] > treerow > .treecell-bookmark |
| 70 | { |
| 71 | list-style-image: url("chrome://communicator/skin/bookmarks/article.gif"); |
| 72 | } |
| 73 | |
| 74 | treeitem > treerow > .treecell-bookmark { |
| 75 | list-style-image:url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); |
| 76 | } |
| 77 | |
| 78 | #navprintplus |
| 79 | { |
| 80 | display:none !important; |
| 81 | } |
| 82 | |
| 83 | |
| 84 | /* Style rules below currently do only apply to bookmark window "file" menubutton */ |
| 85 | |
| 86 | /** |
| 87 | * Style rules for bookmarks tree items. Ideally this would be usage agnostic, but |
| 88 | * there's window/panel specific cruft in here too. |
| 89 | **/ |
| 90 | .treecell-bookmark |
| 91 | { |
| 92 | list-style-image : inherit; |
| 93 | } |
| 94 | |
| 95 | .treeitem-bookmark |
| 96 | { |
| 97 | list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); |
| 98 | } |
| 99 | |
| 100 | .treeitem-bookmark[menuactive="true"] |
| 101 | { |
| 102 | list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item-sel.gif"); |
| 103 | } |
| 104 | |
| 105 | .treeitem-bookmark[container="true"][open="true"][loading="true"] |
| 106 | { |
| 107 | list-style-image : url("chrome://global/skin/loading.gif") ! important ; |
| 108 | } |
| 109 | |
| 110 | .treeitem-bookmark[status="new"] |
| 111 | { |
| 112 | list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item-updated.gif") ! important ; |
| 113 | } |
| 114 | |
| 115 | .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"], |
| 116 | .treeitem-bookmark[container="true"] |
| 117 | { |
| 118 | list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); |
| 119 | } |
| 120 | |
| 121 | .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"][menuactive="true"], |
| 122 | .treeitem-bookmark[container="true"][menuactive="true"] |
| 123 | { |
| 124 | list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed-sel.gif"); |
| 125 | } |
| 126 | |
| 127 | .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"][open="true"], |
| 128 | .treeitem-bookmark[container="true"][open="true"] |
| 129 | { |
| 130 | list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); |
| 131 | } |
| 132 | |
| 133 | .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"][open="true"][menuactive="true"], |
| 134 | .treeitem-bookmark[container="true"][open="true"][menuactive="true"] |
| 135 | { |
| 136 | list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open-sel.gif"); |
| 137 | } |
| 138 | |
| 139 | .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] |
| 140 | { |
| 141 | list-style-image : url("chrome://communicator/skin/bookmarks/personal-folder-closed.gif") !important; |
| 142 | } |
| 143 | |
| 144 | .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][menuactive="true"] |
| 145 | { |
| 146 | list-style-image : url("chrome://communicator/skin/bookmarks/personal-folder-closed-sel.gif") !important; |
| 147 | } |
| 148 | |
| 149 | .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"] |
| 150 | { |
| 151 | list-style-image : url("chrome://communicator/skin/bookmarks/personal-folder-open.gif") !important; |
| 152 | } |
| 153 | |
| 154 | .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"][menuactive="true"] |
| 155 | { |
| 156 | list-style-image : url("chrome://communicator/skin/bookmarks/personal-folder-open-sel.gif") !important; |
| 157 | } |
| 158 | |
| 159 | .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#BookmarkSeparator"], |
| 160 | .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Bookmark"] |
| 161 | { |
| 162 | list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); |
| 163 | } |
| 164 | |
| 165 | /** |
| 166 | * XXX - need to create some different icons for file system objects |
| 167 | **/ |
| 168 | .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"] |
| 169 | { |
| 170 | list-style-image : url("chrome://communicator/skin/directory/file-folder-open.gif"); |
| 171 | } |
| 172 | |
| 173 | .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"] |
| 174 | { |
| 175 | list-style-image : url("chrome://communicator/skin/directory/file-folder-closed.gif"); |
| 176 | } |
| 177 | |
| 178 | .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#FileSystemObject"] |
| 179 | { |
| 180 | list-style-image : url("chrome://communicator/skin/directory/file-icon.gif"); |
| 181 | } |
| 182 | |
| 183 | /** |
| 184 | * Bookmarks tree |
| 185 | **/ |
| 186 | .bookmarks-panel-tree, .bookmarks-panel-tree > .tree-container-treerows |
| 187 | { |
| 188 | border : none; |
| 189 | } |
| 190 | |
| 191 | #bookmarksTree |
| 192 | { |
| 193 | border-top : none; |
| 194 | border-bottom : none; |
| 195 | } |