Commit | Line | Data |
---|---|---|
8da9da4e RK |
1 | /* Sidebars */ |
2 | .sidebar-placesTree { | |
3 | margin: 0; | |
4 | } | |
5 | ||
6 | .sidebar-placesTreechildren::-moz-tree-cell(leaf) , | |
7 | .sidebar-placesTreechildren::-moz-tree-image(leaf) { | |
8 | cursor: pointer; | |
9 | } | |
10 | ||
11 | .sidebar-placesTreechildren::-moz-tree-cell-text(leaf, hover) { | |
12 | cursor: pointer; | |
13 | text-decoration: underline; | |
14 | } | |
15 | ||
16 | .sidebar-placesTreechildren::-moz-tree-cell(separator) { | |
17 | cursor: default; | |
18 | } | |
19 | ||
20 | /* Trees */ | |
21 | treechildren::-moz-tree-image(title) { | |
22 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); | |
23 | padding-right: 2px; | |
24 | margin: 0px 2px; | |
25 | width: 16px; | |
26 | height: 16px; | |
27 | } | |
28 | ||
29 | treechildren::-moz-tree-image(title, livemarkItem) { | |
30 | list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png"); | |
31 | } | |
32 | ||
eec397be RK |
33 | treechildren::-moz-tree-image(title, livemarkItem, visited) { |
34 | /* nothing yet */ | |
35 | } | |
36 | ||
8da9da4e RK |
37 | treechildren::-moz-tree-image(title, separator) { |
38 | list-style-image: none; | |
39 | width: 0; | |
40 | height: 0; | |
41 | } | |
42 | ||
43 | treechildren::-moz-tree-image(title, container) { | |
44 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
45 | } | |
46 | ||
47 | treechildren::-moz-tree-image(title, open) { | |
48 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
49 | } | |
50 | ||
51 | treechildren::-moz-tree-image(title, container, livemark) { | |
52 | list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png"); | |
53 | -moz-image-region: auto; | |
54 | } | |
55 | ||
56 | treechildren::-moz-tree-image(container, OrganizerQuery_AllBookmarks) { | |
57 | list-style-image: url("chrome://communicator/skin/bookmarks/allBookmarks.png"); | |
58 | -moz-image-region: auto; | |
59 | } | |
60 | ||
61 | treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksToolbar) { | |
62 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png"); | |
63 | -moz-image-region: auto; | |
64 | } | |
65 | ||
66 | treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksMenu) { | |
67 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksMenu.png"); | |
68 | -moz-image-region: auto; | |
69 | } | |
70 | ||
71 | treechildren::-moz-tree-image(container, OrganizerQuery_UnfiledBookmarks) { | |
72 | list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png"); | |
73 | -moz-image-region: auto; | |
74 | } | |
75 | ||
76 | /* query-nodes should be styled even if they're not expandable */ | |
77 | treechildren::-moz-tree-image(title, query) { | |
78 | list-style-image: url("chrome://communicator/skin/bookmarks/query.png"); | |
79 | -moz-image-region: auto; | |
80 | } | |
81 | ||
82 | treechildren::-moz-tree-image(title, query, tagContainer), | |
83 | treechildren::-moz-tree-image(query, OrganizerQuery_Tags) { | |
84 | list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); | |
85 | -moz-image-region: auto; | |
86 | } | |
87 | ||
dce90fef RK |
88 | treechildren::-moz-tree-image(query, OrganizerQuery_Downloads) { |
89 | list-style-image: url("chrome://browser/skin/places/downloads.png"); | |
90 | -moz-image-region: auto; | |
91 | } | |
92 | ||
8da9da4e RK |
93 | /* calendar icon for folders grouping items by date */ |
94 | treechildren::-moz-tree-image(title, query, dayContainer) { | |
95 | list-style-image: url("chrome://communicator/skin/history/calendar.png"); | |
96 | -moz-image-region: auto; | |
97 | } | |
98 | ||
99 | treechildren::-moz-tree-image(title, query, hostContainer) { | |
100 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
101 | } | |
102 | ||
103 | treechildren::-moz-tree-image(title, query, hostContainer, open) { | |
104 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
105 | } | |
106 | ||
107 | treechildren::-moz-tree-image(title, query, OrganizerQuery_History) { | |
108 | list-style-image: url("chrome://browser/skin/places/history.png"); | |
109 | } | |
110 | ||
111 | /* We want some queries to look like ordinary folders. This must come | |
112 | after the (title, query) selector, or it would get overridden. */ | |
113 | treechildren::-moz-tree-image(title, query, folder) { | |
114 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
115 | } | |
116 | ||
117 | treechildren::-moz-tree-image(title, query, folder, open) { | |
118 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
119 | } | |
120 | ||
b1234db8 RK |
121 | treechildren::-moz-tree-image(cutting) { |
122 | opacity: 0.5; | |
8da9da4e RK |
123 | } |
124 | ||
b1234db8 RK |
125 | treechildren::-moz-tree-cell-text(cutting) { |
126 | opacity: 0.7; | |
8da9da4e RK |
127 | } |
128 | ||
129 | /* Browser Sidebars */ | |
130 | ||
131 | /* Default button vert. margins are 1px/2px, and this can cause misalignment */ | |
132 | #viewButton { | |
133 | margin-top: 2px; | |
134 | margin-bottom: 2px; | |
135 | } | |
136 | ||
137 | #viewButton > .button-box > .button-menu-dropmarker { | |
138 | height: auto; | |
139 | width: auto; | |
140 | -moz-margin-end: -3px; | |
141 | } |