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