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