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 | @namespace xhtml "http://www.w3.org/1999/xhtml"; |
michael@0 | 6 | |
michael@0 | 7 | /* HTML link elements do weird things to the layout if they are not hidden */ |
michael@0 | 8 | xhtml|link { |
michael@0 | 9 | display: none; |
michael@0 | 10 | } |
michael@0 | 11 | |
michael@0 | 12 | #categories { |
michael@0 | 13 | -moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#categories-list"); |
michael@0 | 14 | } |
michael@0 | 15 | |
michael@0 | 16 | .category { |
michael@0 | 17 | -moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#category"); |
michael@0 | 18 | } |
michael@0 | 19 | |
michael@0 | 20 | .sort-controls { |
michael@0 | 21 | -moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#sorters"); |
michael@0 | 22 | } |
michael@0 | 23 | |
michael@0 | 24 | .addon[status="installed"] { |
michael@0 | 25 | -moz-box-orient: vertical; |
michael@0 | 26 | -moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#addon-generic"); |
michael@0 | 27 | } |
michael@0 | 28 | |
michael@0 | 29 | .addon[status="installing"] { |
michael@0 | 30 | -moz-box-orient: vertical; |
michael@0 | 31 | -moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#addon-installing"); |
michael@0 | 32 | } |
michael@0 | 33 | |
michael@0 | 34 | .addon[pending="uninstall"] { |
michael@0 | 35 | -moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#addon-uninstalled"); |
michael@0 | 36 | } |
michael@0 | 37 | |
michael@0 | 38 | .creator { |
michael@0 | 39 | -moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#creator-link"); |
michael@0 | 40 | } |
michael@0 | 41 | |
michael@0 | 42 | .meta-rating { |
michael@0 | 43 | -moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#rating"); |
michael@0 | 44 | } |
michael@0 | 45 | |
michael@0 | 46 | .download-progress, .download-progress[mode="undetermined"] { |
michael@0 | 47 | -moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#download-progress"); |
michael@0 | 48 | } |
michael@0 | 49 | |
michael@0 | 50 | .install-status { |
michael@0 | 51 | -moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#install-status"); |
michael@0 | 52 | } |
michael@0 | 53 | |
michael@0 | 54 | .detail-row { |
michael@0 | 55 | -moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#detail-row"); |
michael@0 | 56 | } |
michael@0 | 57 | |
michael@0 | 58 | .text-list { |
michael@0 | 59 | white-space: pre-line; |
michael@0 | 60 | -moz-user-select: element; |
michael@0 | 61 | } |
michael@0 | 62 | |
michael@0 | 63 | setting, row[unsupported="true"] { |
michael@0 | 64 | display: none; |
michael@0 | 65 | } |
michael@0 | 66 | |
michael@0 | 67 | setting[type="bool"] { |
michael@0 | 68 | display: -moz-grid-line; |
michael@0 | 69 | -moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-bool"); |
michael@0 | 70 | } |
michael@0 | 71 | |
michael@0 | 72 | setting[type="bool"][localized="true"] { |
michael@0 | 73 | display: -moz-grid-line; |
michael@0 | 74 | -moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-localized-bool"); |
michael@0 | 75 | } |
michael@0 | 76 | |
michael@0 | 77 | setting[type="boolint"] { |
michael@0 | 78 | display: -moz-grid-line; |
michael@0 | 79 | -moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-boolint"); |
michael@0 | 80 | } |
michael@0 | 81 | |
michael@0 | 82 | setting[type="integer"] { |
michael@0 | 83 | display: -moz-grid-line; |
michael@0 | 84 | -moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-integer"); |
michael@0 | 85 | } |
michael@0 | 86 | |
michael@0 | 87 | setting[type="integer"]:not([size]) textbox { |
michael@0 | 88 | -moz-box-flex: 1; |
michael@0 | 89 | } |
michael@0 | 90 | |
michael@0 | 91 | setting[type="control"] { |
michael@0 | 92 | display: -moz-grid-line; |
michael@0 | 93 | -moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-control"); |
michael@0 | 94 | } |
michael@0 | 95 | |
michael@0 | 96 | setting[type="string"] { |
michael@0 | 97 | display: -moz-grid-line; |
michael@0 | 98 | -moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-string"); |
michael@0 | 99 | } |
michael@0 | 100 | |
michael@0 | 101 | setting[type="color"] { |
michael@0 | 102 | display: -moz-grid-line; |
michael@0 | 103 | -moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-color"); |
michael@0 | 104 | } |
michael@0 | 105 | |
michael@0 | 106 | setting[type="file"], |
michael@0 | 107 | setting[type="directory"] { |
michael@0 | 108 | display: -moz-grid-line; |
michael@0 | 109 | -moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-path"); |
michael@0 | 110 | } |
michael@0 | 111 | |
michael@0 | 112 | setting[type="radio"], |
michael@0 | 113 | setting[type="menulist"] { |
michael@0 | 114 | display: -moz-grid-line; |
michael@0 | 115 | -moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-multi"); |
michael@0 | 116 | } |
michael@0 | 117 | |
michael@0 | 118 | #addonitem-popup > menuitem[disabled="true"] { |
michael@0 | 119 | display: none; |
michael@0 | 120 | } |
michael@0 | 121 | |
michael@0 | 122 | #addonitem-popup[addontype="theme"] > #menuitem_enableItem, |
michael@0 | 123 | #addonitem-popup[addontype="theme"] > #menuitem_disableItem, |
michael@0 | 124 | #addonitem-popup:not([addontype="theme"]) > #menuitem_enableTheme, |
michael@0 | 125 | #addonitem-popup:not([addontype="theme"]) > #menuitem_disableTheme { |
michael@0 | 126 | display: none; |
michael@0 | 127 | } |
michael@0 | 128 | |
michael@0 | 129 | #header-searching:not([active]) { |
michael@0 | 130 | visibility: hidden; |
michael@0 | 131 | } |
michael@0 | 132 | |
michael@0 | 133 | #search-list[local="false"] > .addon[remote="false"], |
michael@0 | 134 | #search-list[remote="false"] > .addon[remote="true"] { |
michael@0 | 135 | visibility: collapse; |
michael@0 | 136 | } |
michael@0 | 137 | |
michael@0 | 138 | #detail-view { |
michael@0 | 139 | overflow: auto; |
michael@0 | 140 | } |
michael@0 | 141 | |
michael@0 | 142 | .addon:not([notification="warning"]) .warning, |
michael@0 | 143 | .addon:not([notification="error"]) .error, |
michael@0 | 144 | .addon:not([notification="info"]) .info, |
michael@0 | 145 | .addon:not([pending]) .pending, |
michael@0 | 146 | .addon:not([upgrade="true"]) .update-postfix, |
michael@0 | 147 | .addon[active="true"] .disabled-postfix, |
michael@0 | 148 | .addon[pending="install"] .update-postfix, |
michael@0 | 149 | .addon[pending="install"] .disabled-postfix, |
michael@0 | 150 | #detail-view:not([notification="warning"]) .warning, |
michael@0 | 151 | #detail-view:not([notification="error"]) .error, |
michael@0 | 152 | #detail-view:not([notification="info"]) .info, |
michael@0 | 153 | #detail-view:not([pending]) .pending, |
michael@0 | 154 | #detail-view:not([upgrade="true"]) .update-postfix, |
michael@0 | 155 | #detail-view[active="true"] .disabled-postfix, |
michael@0 | 156 | #detail-view[loading] .detail-view-container, |
michael@0 | 157 | #detail-view:not([loading]) .alert-container, |
michael@0 | 158 | .detail-row:not([value]), |
michael@0 | 159 | #search-list[remote="false"] #search-allresults-link { |
michael@0 | 160 | display: none; |
michael@0 | 161 | } |
michael@0 | 162 | |
michael@0 | 163 | #addons-page:not([warning]) #list-view > .global-warning-container { |
michael@0 | 164 | display: none; |
michael@0 | 165 | } |
michael@0 | 166 | #addon-list .date-updated { |
michael@0 | 167 | display: none; |
michael@0 | 168 | } |
michael@0 | 169 | |
michael@0 | 170 | .view-pane:not(#updates-view) .addon .relnotes-toggle, |
michael@0 | 171 | .view-pane:not(#updates-view) .addon .include-update, |
michael@0 | 172 | #updates-view:not([updatetype="available"]) .addon .include-update, |
michael@0 | 173 | #updates-view[updatetype="available"] .addon .update-available-notice { |
michael@0 | 174 | display: none; |
michael@0 | 175 | } |
michael@0 | 176 | |
michael@0 | 177 | #addons-page:not([warning]) .global-warning, |
michael@0 | 178 | #addons-page:not([warning="safemode"]) .global-warning-safemode, |
michael@0 | 179 | #addons-page:not([warning="checkcompatibility"]) .global-warning-checkcompatibility, |
michael@0 | 180 | #addons-page:not([warning="updatesecurity"]) .global-warning-updatesecurity { |
michael@0 | 181 | display: none; |
michael@0 | 182 | } |
michael@0 | 183 | |
michael@0 | 184 | /* Plugins aren't yet disabled by safemode (bug 342333), |
michael@0 | 185 | so don't show that warning when viewing plugins. */ |
michael@0 | 186 | #addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container, |
michael@0 | 187 | #addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning { |
michael@0 | 188 | display: none; |
michael@0 | 189 | } |
michael@0 | 190 | |
michael@0 | 191 | #addons-page .view-pane:not([type="plugin"]) .plugin-info-container { |
michael@0 | 192 | display: none; |
michael@0 | 193 | } |
michael@0 | 194 | |
michael@0 | 195 | #addons-page .view-pane:not([type="experiment"]) .experiment-info-container { |
michael@0 | 196 | display: none; |
michael@0 | 197 | } |
michael@0 | 198 | |
michael@0 | 199 | .addon .relnotes { |
michael@0 | 200 | -moz-user-select: text; |
michael@0 | 201 | } |
michael@0 | 202 | #detail-name, #detail-desc, #detail-fulldesc { |
michael@0 | 203 | -moz-user-select: text; |
michael@0 | 204 | } |
michael@0 | 205 | |
michael@0 | 206 | /* Make sure we're not animating hidden images. See bug 623739. */ |
michael@0 | 207 | #view-port:not([selectedIndex="0"]) #discover-view .loading, |
michael@0 | 208 | #discover-view:not([selectedIndex="0"]) .loading { |
michael@0 | 209 | display: none; |
michael@0 | 210 | } |
michael@0 | 211 | |
michael@0 | 212 | /* Elements in unselected richlistitems cannot be focused */ |
michael@0 | 213 | richlistitem:not([selected]) * { |
michael@0 | 214 | -moz-user-focus: ignore; |
michael@0 | 215 | } |
michael@0 | 216 | |
michael@0 | 217 | #header-search { |
michael@0 | 218 | width: 22em; |
michael@0 | 219 | } |
michael@0 | 220 | |
michael@0 | 221 | #header-utils-btn { |
michael@0 | 222 | -moz-user-focus: normal; |
michael@0 | 223 | } |
michael@0 | 224 | |
michael@0 | 225 | .discover-button[disabled="true"] { |
michael@0 | 226 | display: none; |
michael@0 | 227 | } |
michael@0 | 228 | |
michael@0 | 229 | #experiments-learn-more[disabled="true"] { |
michael@0 | 230 | display: none; |
michael@0 | 231 | } |
michael@0 | 232 | |
michael@0 | 233 | #experiments-change-telemetry[disabled="true"] { |
michael@0 | 234 | display: none; |
michael@0 | 235 | } |
michael@0 | 236 | |
michael@0 | 237 | .view-pane[type="experiment"] .error, |
michael@0 | 238 | .view-pane[type="experiment"] .warning, |
michael@0 | 239 | .view-pane[type="experiment"] .addon:not([pending="uninstall"]) .pending, |
michael@0 | 240 | .view-pane[type="experiment"] .disabled-postfix, |
michael@0 | 241 | .view-pane[type="experiment"] .update-postfix, |
michael@0 | 242 | .view-pane[type="experiment"] .version, |
michael@0 | 243 | #detail-view[type="experiment"] .alert-container, |
michael@0 | 244 | #detail-view[type="experiment"] #detail-version, |
michael@0 | 245 | #detail-view[type="experiment"] #detail-creator { |
michael@0 | 246 | display: none; |
michael@0 | 247 | } |
michael@0 | 248 | |
michael@0 | 249 | .view-pane:not([type="experiment"]) .experiment-container, |
michael@0 | 250 | .view-pane:not([type="experiment"]) #detail-experiment-container { |
michael@0 | 251 | display: none; |
michael@0 | 252 | } |
michael@0 | 253 | |
michael@0 | 254 | .addon[type="experiment"][status="installing"] .experiment-time, |
michael@0 | 255 | .addon[type="experiment"][status="installing"] .experiment-state { |
michael@0 | 256 | display: none; |
michael@0 | 257 | } |