Commit | Line | Data |
---|---|---|
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 | * | |
76983f4c | 16 | * The Initial Developer of the Original Code is |
f6e0a33f | 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): | |
22 | * Ben Goodger <ben@netscape.com> | |
23 | * Josh Soref <timeless@mac.com> | |
76983f4c | 24 | * Dan Cannon <dc2@myrealbox.com> |
128000f4 | 25 | * Robert Kaiser <KaiRo@KaiRo.at> |
f6e0a33f | 26 | * |
27 | * Alternatively, the contents of this file may be used under the terms of | |
76983f4c | 28 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
f6e0a33f | 29 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
30 | * in which case the provisions of the GPL or the LGPL are applicable instead | |
31 | * of those above. If you wish to allow use of your version of this file only | |
32 | * under the terms of either the GPL or the LGPL, and not to allow others to | |
33 | * use your version of this file under the terms of the NPL, indicate your | |
34 | * decision by deleting the provisions above and replace them with the notice | |
35 | * and other provisions required by the GPL or the LGPL. If you do not delete | |
36 | * the provisions above, a recipient may use your version of this file under | |
37 | * the terms of any one of the NPL, the GPL or the LGPL. | |
38 | * | |
39 | * ***** END LICENSE BLOCK ***** */ | |
40 | ||
128000f4 | 41 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
42 | ||
76983f4c | 43 | /** |
44 | * Style rules for generic bookmarks items. | |
45 | */ | |
46 | ||
a1f525f0 | 47 | treechildren::-moz-tree-image(Name) { |
a59b9464 | 48 | -moz-padding-end: 2px; |
f6e0a33f | 49 | } |
76983f4c | 50 | |
51 | .bookmark-item, | |
52 | treechildren::-moz-tree-image(Name) { | |
f6e0a33f | 53 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); |
54 | } | |
55 | ||
76983f4c | 56 | .bookmark-item[container="true"], |
57 | treechildren::-moz-tree-image(Name, container) { | |
f6e0a33f | 58 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); |
59 | } | |
60 | ||
76983f4c | 61 | .bookmark-item[open="true"], |
62 | treechildren::-moz-tree-image(Name, open) { | |
f6e0a33f | 63 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); |
64 | } | |
65 | ||
66 | .bookmark-item[container="true"][open="true"][loading="true"] { | |
74d14f90 | 67 | list-style-image: url("chrome://global/skin/icons/loading.gif") !important; |
f6e0a33f | 68 | } |
69 | ||
76983f4c | 70 | .bookmark-item[status="new"], |
71 | treechildren::-moz-tree-image(Name, new) { | |
f6e0a33f | 72 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item-updated.gif") !important; |
73 | } | |
74d14f90 | 74 | |
75 | .bookmark-item > .menu-iconic-left { | |
76 | height: 16px; | |
77 | } | |
78 | ||
74d14f90 | 79 | toolbarbutton.bookmark-item > .toolbarbutton-menu-dropmarker { |
80 | display: none; | |
81 | } | |
82 | ||
d84b9613 | 83 | .bookmark-item > .toolbarbutton-icon { |
74d14f90 | 84 | list-style-image: inherit; |
d84b9613 | 85 | max-height: 16px; |
86 | max-width: 16px; | |
74d14f90 | 87 | } |
d36c7ec4 | 88 | |
a1f525f0 | 89 | treechildren::-moz-tree-twisty(group, hidetwisty) { |
d36c7ec4 | 90 | list-style-image: none; |
91 | } | |
92 | ||
a1f525f0 | 93 | treechildren::-moz-tree-image(Name, container, group) { |
d36c7ec4 | 94 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-group.gif"); |
95 | } | |
b618d1fd | 96 | |
0ef1663c RK |
97 | /* calendar icon for folders grouping items by day */ |
98 | treechildren::-moz-tree-image(Name, query, dayContainer) { | |
99 | list-style-image: url("chrome://communicator/skin/history/calendar.png"); | |
100 | } | |
101 | ||
a1f525f0 | 102 | treechildren::-moz-tree-image(Name, separator) { |
b618d1fd | 103 | list-style-image: none; |
104 | } | |
105 | ||
a1f525f0 | 106 | treechildren::-moz-tree-cell-text(Name, separator) { |
b618d1fd | 107 | color: #808080; |
02920d2b | 108 | margin: 0px 5px; |
b618d1fd | 109 | } |
110 | ||
a1f525f0 | 111 | treechildren::-moz-tree-cell-text(Name, separator, selected, focus) { |
b618d1fd | 112 | color: #FFFFFF; |
113 | } |