third part of syncing LCARStrek with Firefox 31 windows theme changes
[themes.git] / EarlyBlue / communicator / bookmarks / bookmarks.css
... / ...
CommitLineData
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/. */
4
5@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
6
7/**
8 * Style rules for generic bookmarks items.
9 */
10
11treechildren::-moz-tree-image(Name),
12treechildren::-moz-tree-image(title) {
13 -moz-padding-end: 2px;
14}
15
16.bookmark-item,
17treechildren::-moz-tree-image(Name),
18treechildren::-moz-tree-image(title) {
19 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
20}
21
22.bookmark-item[container="true"],
23treechildren::-moz-tree-image(Name, container),
24treechildren::-moz-tree-image(title, container) {
25 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
26}
27
28.bookmark-item[open="true"],
29treechildren::-moz-tree-image(Name, open),
30treechildren::-moz-tree-image(title, open) {
31 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
32}
33
34.bookmark-item[container="true"][open="true"][loading="true"] {
35 list-style-image: url("chrome://global/skin/icons/loading.gif") !important;
36}
37
38.bookmark-item > .menu-iconic-left {
39 height: 16px;
40}
41
42toolbarbutton.bookmark-item > .toolbarbutton-menu-dropmarker {
43 display: none;
44}
45
46.bookmark-item > .toolbarbutton-icon {
47 list-style-image: inherit;
48 max-height: 16px;
49 max-width: 16px;
50}
51
52/* calendar icon for folders grouping items by day */
53treechildren::-moz-tree-image(Name, query, dayContainer) {
54 list-style-image: url("chrome://communicator/skin/history/calendar.png");
55}
56
57.bookmark-item[container][livemark],
58treechildren::-moz-tree-image(title, container, livemark) {
59 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
60 -moz-image-region: auto;
61}
62
63.bookmark-item[container][livemark] .bookmark-item,
64treechildren::-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);
67}
68
69.bookmark-item[container][livemark] .bookmark-item[visited],
70treechildren::-moz-tree-image(title, livemarkItem, visited) {
71 -moz-image-region: rect(0px, 32px, 16px, 16px);
72}
73
74treechildren::-moz-tree-image(container, OrganizerQuery_AllBookmarks) {
75 list-style-image: url("chrome://communicator/skin/bookmarks/allBookmarks.png");
76 -moz-image-region: auto;
77}
78
79#bookmarksToolbarFolderMenu,
80#BMB_bookmarksToolbarFolderMenu,
81treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksToolbar) {
82 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
83 -moz-image-region: auto;
84}
85
86treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksMenu) {
87 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksMenu.png");
88 -moz-image-region: auto;
89}
90
91#unsortedBookmarksFolderMenu,
92#BMB_unsortedBookmarksFolderMenu,
93treechildren::-moz-tree-image(container, OrganizerQuery_UnfiledBookmarks) {
94 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
95 -moz-image-region: auto;
96}
97
98/* query-nodes should be styled even if they're not expandable */
99.bookmark-item[container][query],
100treechildren::-moz-tree-image(title, query) {
101 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
102 -moz-image-region: auto;
103}
104
105.bookmark-item[query][tagContainer],
106treechildren::-moz-tree-image(title, query, tagContainer),
107treechildren::-moz-tree-image(query, OrganizerQuery_Tags) {
108 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
109 -moz-image-region: auto;
110}
111
112treechildren::-moz-tree-image(Name, separator),
113treechildren::-moz-tree-image(title, separator) {
114 list-style-image: none;
115}
116
117treechildren::-moz-tree-cell-text(Name, separator),
118treechildren::-moz-tree-cell-text(title, separator) {
119 color: #808080;
120 margin: 0px 5px;
121}
122
123treechildren::-moz-tree-cell-text(Name, separator, selected, focus),
124treechildren::-moz-tree-cell-text(title, separator, selected, focus) {
125 color: #FFFFFF;
126}