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