Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | %include ../shared.inc |
michael@0 | 6 | |
michael@0 | 7 | /* Sidebars */ |
michael@0 | 8 | |
michael@0 | 9 | #bookmarksPanel, |
michael@0 | 10 | #history-panel, |
michael@0 | 11 | #sidebar-search-container { |
michael@0 | 12 | -moz-appearance: none !important; |
michael@0 | 13 | background-color: transparent !important; |
michael@0 | 14 | border-top: none !important; |
michael@0 | 15 | } |
michael@0 | 16 | |
michael@0 | 17 | .sidebar-placesTree, |
michael@0 | 18 | .sidebar-placesTreechildren::-moz-tree-row { |
michael@0 | 19 | background-color: transparent; |
michael@0 | 20 | border-color: transparent; |
michael@0 | 21 | padding-bottom: 1px; |
michael@0 | 22 | -moz-appearance: none; |
michael@0 | 23 | margin: 0; |
michael@0 | 24 | border: none; |
michael@0 | 25 | } |
michael@0 | 26 | |
michael@0 | 27 | .sidebar-placesTreechildren::-moz-tree-separator { |
michael@0 | 28 | border-top: 1px solid #505d6d; |
michael@0 | 29 | margin: 0 10px; |
michael@0 | 30 | } |
michael@0 | 31 | |
michael@0 | 32 | .sidebar-placesTree { |
michael@0 | 33 | border-top: 1px solid #bebebe; |
michael@0 | 34 | } |
michael@0 | 35 | |
michael@0 | 36 | .sidebar-placesTreechildren::-moz-tree-row(selected) { |
michael@0 | 37 | background: @sidebarItemBackground@; |
michael@0 | 38 | border-top: @sidebarItemBorderTop@; |
michael@0 | 39 | } |
michael@0 | 40 | |
michael@0 | 41 | .sidebar-placesTreechildren::-moz-tree-row(selected,focus) { |
michael@0 | 42 | background: @sidebarItemFocusedBackground@; |
michael@0 | 43 | border-top: @sidebarItemFocusedBorderTop@; |
michael@0 | 44 | } |
michael@0 | 45 | |
michael@0 | 46 | .sidebar-placesTreechildren:-moz-system-metric(mac-graphite-theme)::-moz-tree-row(selected) { |
michael@0 | 47 | background: @sidebarItemGraphiteBackground@; |
michael@0 | 48 | border-top: @sidebarItemGraphiteBorderTop@; |
michael@0 | 49 | } |
michael@0 | 50 | |
michael@0 | 51 | .sidebar-placesTreechildren:-moz-system-metric(mac-graphite-theme)::-moz-tree-row(selected,focus) { |
michael@0 | 52 | background: @sidebarItemGraphiteFocusedBackground@; |
michael@0 | 53 | border-top: @sidebarItemGraphiteFocusedBorderTop@; |
michael@0 | 54 | } |
michael@0 | 55 | |
michael@0 | 56 | .sidebar-placesTreechildren::-moz-tree-cell-text(selected) { |
michael@0 | 57 | font-weight: bold !important; |
michael@0 | 58 | color: #ffffff !important; |
michael@0 | 59 | } |
michael@0 | 60 | |
michael@0 | 61 | #sidebar-search-label { |
michael@0 | 62 | display: none; |
michael@0 | 63 | } |
michael@0 | 64 | |
michael@0 | 65 | #viewButton { |
michael@0 | 66 | -moz-appearance: none; |
michael@0 | 67 | border: 1px solid #7F7F7F; |
michael@0 | 68 | border-radius: 10px; |
michael@0 | 69 | background: @toolbarbuttonBackground@; |
michael@0 | 70 | min-width: 0px; |
michael@0 | 71 | min-height: 0px; |
michael@0 | 72 | -moz-padding-start: 5px; |
michael@0 | 73 | -moz-padding-end: 0px; |
michael@0 | 74 | padding-top: 1px; |
michael@0 | 75 | padding-bottom: 1px; |
michael@0 | 76 | } |
michael@0 | 77 | |
michael@0 | 78 | #viewButton .button-menu-dropmarker { |
michael@0 | 79 | display: -moz-box; |
michael@0 | 80 | list-style-image: url("chrome://global/skin/icons/menulist-dropmarker.png"); |
michael@0 | 81 | } |
michael@0 | 82 | |
michael@0 | 83 | #viewButton:focus { |
michael@0 | 84 | outline: 2px solid #4A8BC7; |
michael@0 | 85 | outline-offset: -2px; |
michael@0 | 86 | -moz-outline-radius: 10px; |
michael@0 | 87 | } |
michael@0 | 88 | |
michael@0 | 89 | #sidebar-search-container { |
michael@0 | 90 | margin: 0 4px 6px; |
michael@0 | 91 | } |
michael@0 | 92 | |
michael@0 | 93 | /* Trees */ |
michael@0 | 94 | |
michael@0 | 95 | treechildren::-moz-tree-image(title) { |
michael@0 | 96 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
michael@0 | 97 | -moz-padding-end: 2px; |
michael@0 | 98 | margin: 0px 2px; |
michael@0 | 99 | width: 16px; |
michael@0 | 100 | height: 16px; |
michael@0 | 101 | } |
michael@0 | 102 | |
michael@0 | 103 | treechildren::-moz-tree-image(title, livemarkItem) { |
michael@0 | 104 | list-style-image: url("chrome://browser/skin/places/livemark-item.png"); |
michael@0 | 105 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
michael@0 | 106 | } |
michael@0 | 107 | |
michael@0 | 108 | treechildren::-moz-tree-image(title, livemarkItem, visited) { |
michael@0 | 109 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
michael@0 | 110 | } |
michael@0 | 111 | |
michael@0 | 112 | treechildren::-moz-tree-image(title, container), |
michael@0 | 113 | treechildren::-moz-tree-image(title, open) { |
michael@0 | 114 | list-style-image: url("chrome://global/skin/tree/folder.png"); |
michael@0 | 115 | -moz-image-region: rect(0, 16px, 16px, 0); |
michael@0 | 116 | } |
michael@0 | 117 | |
michael@0 | 118 | treechildren::-moz-tree-image(title, separator) { |
michael@0 | 119 | list-style-image: none; |
michael@0 | 120 | width: 0 !important; |
michael@0 | 121 | height: 0 !important; |
michael@0 | 122 | margin: 0; |
michael@0 | 123 | } |
michael@0 | 124 | |
michael@0 | 125 | treechildren::-moz-tree-image(container, OrganizerQuery_AllBookmarks) { |
michael@0 | 126 | list-style-image: url("chrome://browser/skin/places/allBookmarks.png"); |
michael@0 | 127 | } |
michael@0 | 128 | |
michael@0 | 129 | treechildren::-moz-tree-image(container, livemark) { |
michael@0 | 130 | list-style-image: url("chrome://browser/skin/page-livemarks.png"); |
michael@0 | 131 | } |
michael@0 | 132 | |
michael@0 | 133 | treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksToolbar) { |
michael@0 | 134 | list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png"); |
michael@0 | 135 | } |
michael@0 | 136 | |
michael@0 | 137 | treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksMenu) { |
michael@0 | 138 | list-style-image: url("chrome://browser/skin/places/bookmarksMenu.png"); |
michael@0 | 139 | } |
michael@0 | 140 | |
michael@0 | 141 | treechildren::-moz-tree-image(container, OrganizerQuery_UnfiledBookmarks) { |
michael@0 | 142 | list-style-image: url("chrome://browser/skin/places/unfiledBookmarks.png"); |
michael@0 | 143 | } |
michael@0 | 144 | |
michael@0 | 145 | /* query-nodes should be styled even if they're not expandable */ |
michael@0 | 146 | treechildren::-moz-tree-image(query) { |
michael@0 | 147 | list-style-image: url("chrome://browser/skin/places/query.png"); |
michael@0 | 148 | } |
michael@0 | 149 | |
michael@0 | 150 | treechildren::-moz-tree-image(query, OrganizerQuery_Downloads) { |
michael@0 | 151 | list-style-image: url("chrome://browser/skin/places/downloads.png"); |
michael@0 | 152 | } |
michael@0 | 153 | |
michael@0 | 154 | treechildren::-moz-tree-image(title, query, tagContainer), |
michael@0 | 155 | treechildren::-moz-tree-image(query, OrganizerQuery_Tags) { |
michael@0 | 156 | list-style-image: url("chrome://browser/skin/places/tag.png"); |
michael@0 | 157 | } |
michael@0 | 158 | |
michael@0 | 159 | /* calendar icon for folders grouping items by date */ |
michael@0 | 160 | treechildren::-moz-tree-image(title, query, dayContainer) { |
michael@0 | 161 | list-style-image: url("chrome://browser/skin/places/history.png"); |
michael@0 | 162 | } |
michael@0 | 163 | |
michael@0 | 164 | treechildren::-moz-tree-image(title, query, hostContainer) { |
michael@0 | 165 | list-style-image: url("chrome://global/skin/tree/folder.png"); |
michael@0 | 166 | } |
michael@0 | 167 | |
michael@0 | 168 | treechildren::-moz-tree-image(title, query, hostContainer, open) { |
michael@0 | 169 | list-style-image: url("chrome://global/skin/tree/folder.png"); |
michael@0 | 170 | } |
michael@0 | 171 | |
michael@0 | 172 | treechildren::-moz-tree-image(query, OrganizerQuery_History) { |
michael@0 | 173 | list-style-image: url("chrome://browser/skin/places/history.png"); |
michael@0 | 174 | } |
michael@0 | 175 | |
michael@0 | 176 | /* We want some queries to look like ordinary folders. This must come |
michael@0 | 177 | after the (title, query) selector, or it would get overridden. */ |
michael@0 | 178 | treechildren::-moz-tree-image(title, query, folder), |
michael@0 | 179 | treechildren::-moz-tree-image(title, query, folder, open) { |
michael@0 | 180 | list-style-image: url("chrome://global/skin/tree/folder.png"); |
michael@0 | 181 | -moz-image-region: rect(0, 16px, 16px, 0); |
michael@0 | 182 | } |
michael@0 | 183 | |
michael@0 | 184 | treechildren::-moz-tree-cell-text(title, separator) { |
michael@0 | 185 | color: ThreeDShadow; |
michael@0 | 186 | margin: 0px 5px; |
michael@0 | 187 | } |
michael@0 | 188 | |
michael@0 | 189 | treechildren::-moz-tree-cell-text(title, separator, selected, focus) { |
michael@0 | 190 | color: HighlightText; |
michael@0 | 191 | } |
michael@0 | 192 | |
michael@0 | 193 | treechildren::-moz-tree-twisty(title, separator) { |
michael@0 | 194 | -moz-appearance: none; |
michael@0 | 195 | padding: 0px; |
michael@0 | 196 | } |
michael@0 | 197 | |
michael@0 | 198 | treechildren::-moz-tree-image(cutting) { |
michael@0 | 199 | opacity: 0.5; |
michael@0 | 200 | } |
michael@0 | 201 | |
michael@0 | 202 | treechildren::-moz-tree-cell-text(cutting) { |
michael@0 | 203 | opacity: 0.7; |
michael@0 | 204 | } |