summaryrefslogtreecommitdiffstats
path: root/comm/suite/themes/modern/communicator/places/bookmarks.css
blob: 456d563b8cc85e37a69836101cacda78e2cd204c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/* ===== bookmarks.css ==================================================
  == Styles specific to widgets containing bookmarks.
  ======================================================================= */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/* ::::: bookmark items ::::: */

treechildren::-moz-tree-image(Name),
treechildren::-moz-tree-image(title) {
  margin-inline-end: 2px;
  width: 16px;
  height: 16px;
}

.bookmark-item,
treechildren::-moz-tree-image(title) {
  list-style-image: url("chrome://communicator/skin/places/bookmark-item.svg");
}

.bookmark-item[container="true"],
treechildren::-moz-tree-image(title, container) {
  list-style-image: url("chrome://communicator/skin/places/bookmark-folder-closed.png");
}

.bookmark-item[open="true"],
treechildren::-moz-tree-image(title, open) {
  list-style-image: url("chrome://communicator/skin/places/bookmark-folder-open.png");
}

.bookmark-item[container="true"][open="true"][loading="true"] {
  list-style-image: url("chrome://communicator/skin/icons/loading.png") !important;
}

.bookmark-item > .toolbarbutton-box > .toolbarbutton-icon {
  list-style-image: inherit;
  width: 16px;
  height: 16px;
}

.bookmark-item[container][livemark],
treechildren::-moz-tree-image(title, container, livemark) {
  list-style-image: url("chrome://communicator/skin/places/livemark-folder.png");
  -moz-image-region: auto;
}

.bookmark-item[container][livemark] .bookmark-item,
treechildren::-moz-tree-image(title, livemarkItem) {
  list-style-image: url("chrome://communicator/skin/places/bookmark-item-updated.png");
}

.bookmark-item[container][livemark] .bookmark-item[visited],
treechildren::-moz-tree-image(title, livemarkItem, visited) {
  list-style-image: url("chrome://communicator/skin/places/bookmark-item.svg");
}

#bookmarksToolbarFolderMenu,
#BMB_bookmarksToolbarFolderMenu,
treechildren::-moz-tree-image(container, queryFolder_toolbar_____) {
  list-style-image: url("chrome://communicator/skin/places/bookmarksToolbar.png");
  -moz-image-region: auto;
}

treechildren::-moz-tree-image(container, queryFolder_menu________) {
  list-style-image: url("chrome://communicator/skin/places/bookmarksMenu.png");
  -moz-image-region: auto;
}

#unsortedBookmarksFolderMenu,
#BMB_unsortedBookmarksFolderMenu,
treechildren::-moz-tree-image(container, queryFolder_unfiled_____) {
  list-style-image: url("chrome://communicator/skin/places/unsortedBookmarks.png");
  -moz-image-region: auto;
}

/* query-nodes should be styled even if they're not expandable */
.bookmark-item[container][query],
treechildren::-moz-tree-image(query) {
  list-style-image: url("chrome://communicator/skin/places/query.png");
  -moz-image-region: auto;
}

treechildren::-moz-tree-image(query, OrganizerQuery_AllBookmarks) {
  list-style-image: url("chrome://communicator/skin/places/allBookmarks.png");
  -moz-image-region: auto;
}

.bookmark-item[query][tagContainer],
treechildren::-moz-tree-image(title, query, tagContainer),
treechildren::-moz-tree-image(query, OrganizerQuery_Tags) {
  list-style-image: url("chrome://communicator/skin/places/tag.png");
  -moz-image-region: auto;
}

/* calendar icon for folders grouping items by day */
treechildren::-moz-tree-image(title, query, dayContainer) {
  list-style-image: url("chrome://communicator/skin/places/calendar.png");
  -moz-image-region: auto;
}

treechildren::-moz-tree-image(query, OrganizerQuery_History) {
  list-style-image: url("chrome://communicator/skin/places/history.png");
  -moz-image-region: auto;
}

treechildren::-moz-tree-image(title, separator) {
  list-style-image: none;
  width: 0px;
  height: 0px;
}

treechildren::-moz-tree-cell-text(title, separator) {
  color: #808080;
  margin: 0px 5px;
}

treechildren::-moz-tree-cell-text(title, separator, selected, focus) {
  color: #FFFFFF;
}