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 | ||
84 | /* calendar icon for folders grouping items by date */ | |
85 | treechildren::-moz-tree-image(title, query, dayContainer) { | |
86 | list-style-image: url("chrome://communicator/skin/history/calendar.png"); | |
87 | -moz-image-region: auto; | |
88 | } | |
89 | ||
90 | treechildren::-moz-tree-image(title, query, hostContainer) { | |
91 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
92 | } | |
93 | ||
94 | treechildren::-moz-tree-image(title, query, hostContainer, open) { | |
95 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
96 | } | |
97 | ||
98 | treechildren::-moz-tree-image(title, query, OrganizerQuery_History) { | |
99 | list-style-image: url("chrome://browser/skin/places/history.png"); | |
100 | } | |
101 | ||
102 | /* We want some queries to look like ordinary folders. This must come | |
103 | after the (title, query) selector, or it would get overridden. */ | |
104 | treechildren::-moz-tree-image(title, query, folder) { | |
105 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
106 | } | |
107 | ||
108 | treechildren::-moz-tree-image(title, query, folder, open) { | |
109 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
110 | } | |
111 | ||
b1234db8 RK |
112 | treechildren::-moz-tree-image(cutting) { |
113 | opacity: 0.5; | |
8da9da4e RK |
114 | } |
115 | ||
b1234db8 RK |
116 | treechildren::-moz-tree-cell-text(cutting) { |
117 | opacity: 0.7; | |
8da9da4e RK |
118 | } |
119 | ||
120 | /* Browser Sidebars */ | |
121 | ||
122 | /* Default button vert. margins are 1px/2px, and this can cause misalignment */ | |
123 | #viewButton { | |
124 | margin-top: 2px; | |
125 | margin-bottom: 2px; | |
126 | } | |
127 | ||
128 | #viewButton > .button-box > .button-menu-dropmarker { | |
129 | height: auto; | |
130 | width: auto; | |
131 | -moz-margin-end: -3px; | |
132 | } |