1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
8 * Style rules for generic bookmarks items.
11 treechildren::-moz-tree-image(Name),
12 treechildren::-moz-tree-image(title) {
13 -moz-padding-end: 2px;
17 treechildren::-moz-tree-image(Name),
18 treechildren::-moz-tree-image(title) {
19 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
22 .bookmark-item[container="true"],
23 treechildren::-moz-tree-image(Name, container),
24 treechildren::-moz-tree-image(title, container) {
25 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
28 .bookmark-item[open="true"],
29 treechildren::-moz-tree-image(Name, open),
30 treechildren::-moz-tree-image(title, open) {
31 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
34 .bookmark-item[container="true"][open="true"][loading="true"] {
35 list-style-image: url("chrome://global/skin/icons/loading.gif") !important;
38 .bookmark-item > .menu-iconic-left {
42 toolbarbutton.bookmark-item > .toolbarbutton-menu-dropmarker {
46 .bookmark-item > .toolbarbutton-icon {
47 list-style-image: inherit;
52 /* calendar icon for folders grouping items by day */
53 treechildren::-moz-tree-image(Name, query, dayContainer) {
54 list-style-image: url("chrome://communicator/skin/history/calendar.png");
57 .bookmark-item[container][livemark],
58 treechildren::-moz-tree-image(title, container, livemark) {
59 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
60 -moz-image-region: auto;
63 .bookmark-item[container][livemark] .bookmark-item,
64 treechildren::-moz-tree-image(title, livemarkItem) {
65 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
66 -moz-image-region: rect(0px, 16px, 16px, 0px);
69 .bookmark-item[container][livemark] .bookmark-item[visited],
70 treechildren::-moz-tree-image(title, livemarkItem, visited) {
71 -moz-image-region: rect(0px, 32px, 16px, 16px);
74 treechildren::-moz-tree-image(container, OrganizerQuery_AllBookmarks) {
75 list-style-image: url("chrome://communicator/skin/bookmarks/allBookmarks.png");
76 -moz-image-region: auto;
79 #bookmarksToolbarFolderMenu,
80 #BMB_bookmarksToolbarFolderMenu,
81 treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksToolbar) {
82 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
83 -moz-image-region: auto;
86 treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksMenu) {
87 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksMenu.png");
88 -moz-image-region: auto;
91 #unsortedBookmarksFolderMenu,
92 #BMB_unsortedBookmarksFolderMenu,
93 treechildren::-moz-tree-image(container, OrganizerQuery_UnfiledBookmarks) {
94 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
95 -moz-image-region: auto;
98 /* query-nodes should be styled even if they're not expandable */
99 .bookmark-item[container][query],
100 treechildren::-moz-tree-image(title, query) {
101 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
102 -moz-image-region: auto;
105 .bookmark-item[query][tagContainer],
106 treechildren::-moz-tree-image(title, query, tagContainer),
107 treechildren::-moz-tree-image(query, OrganizerQuery_Tags) {
108 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
109 -moz-image-region: auto;
112 treechildren::-moz-tree-image(Name, separator),
113 treechildren::-moz-tree-image(title, separator) {
114 list-style-image: none;
117 treechildren::-moz-tree-cell-text(Name, separator),
118 treechildren::-moz-tree-cell-text(title, separator) {
123 treechildren::-moz-tree-cell-text(Name, separator, selected, focus),
124 treechildren::-moz-tree-cell-text(title, separator, selected, focus) {
125 /* color: #FFCF00; */
135 #sidebar-search-container > #search-box,
136 #history-panel > hbox > #search-box {
140 #sidebar-search-container > #search-box,
141 #history-panel > hbox {