CLOSED TREE: TraceMonkey merge head. (a=blockers)
[mozilla-central.git] / toolkit / mozapps / extensions / content / extensions.css
blob6a146824112825047d6110a86d9a27506ccbb41c
1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
12 * License.
14 * The Original Code is the Extension Manager UI.
16 * The Initial Developer of the Original Code is
17 * the Mozilla Foundation.
18 * Portions created by the Initial Developer are Copyright (C) 2010
19 * the Initial Developer. All Rights Reserved.
21 * Contributor(s):
22 * Blair McBride <bmcbride@mozilla.com>
24 * Alternatively, the contents of this file may be used under the terms of
25 * either the GNU General Public License Version 2 or later (the "GPL"), or
26 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL.
36 * ***** END LICENSE BLOCK ***** */
38 @namespace xhtml "http://www.w3.org/1999/xhtml";
40 /* HTML link elements do weird things to the layout if they are not hidden */
41 xhtml|link {
42 display: none;
45 #categories {
46 -moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#categories-list");
49 .category {
50 -moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#category");
53 .sort-controls {
54 -moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#sorters");
57 .addon[status="installed"] {
58 -moz-box-orient: vertical;
59 -moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#addon-generic");
62 .addon[status="installing"] {
63 -moz-box-orient: vertical;
64 -moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#addon-installing");
67 .addon[pending="uninstall"] {
68 -moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#addon-uninstalled");
71 .creator {
72 -moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#creator-link");
75 .meta-rating {
76 -moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#rating");
79 .download-progress, .download-progress[mode="undetermined"] {
80 -moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#download-progress");
83 .install-status {
84 -moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#install-status");
87 .detail-row {
88 -moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#detail-row");
91 #addonitem-popup > menuitem[disabled="true"] {
92 display: none;
95 #addonitem-popup[addontype="theme"] > #menuitem_enableItem,
96 #addonitem-popup[addontype="theme"] > #menuitem_disableItem,
97 #addonitem-popup:not([addontype="theme"]) > #menuitem_enableTheme,
98 #addonitem-popup:not([addontype="theme"]) > #menuitem_disableTheme {
99 display: none;
102 #header-searching:not([active]) {
103 visibility: hidden;
106 #search-list[local="false"] > .addon[remote="false"],
107 #search-list[remote="false"] > .addon[remote="true"] {
108 visibility: collapse;
111 #detail-view {
112 overflow: auto;
115 .addon:not([notification="warning"]) .warning,
116 .addon:not([notification="error"]) .error,
117 .addon:not([notification="info"]) .info,
118 .addon:not([pending]) .pending,
119 .addon:not([upgrade="true"]) .update-postfix,
120 .addon[active="true"] .disabled-postfix,
121 .addon[pending="install"] .update-postfix,
122 .addon[pending="install"] .disabled-postfix,
123 #detail-view:not([notification="warning"]) .warning,
124 #detail-view:not([notification="error"]) .error,
125 #detail-view:not([notification="info"]) .info,
126 #detail-view:not([pending]) .pending,
127 #detail-view:not([upgrade="true"]) .update-postfix,
128 #detail-view[active="true"] .disabled-postfix,
129 #detail-view[loading] .detail-view-container,
130 #detail-view:not([loading]) .alert-container,
131 .detail-row:not([value]),
132 #search-list[remote="false"] #search-allresults-link {
133 display: none;
136 #addons-page:not([warning]) #list-view > .global-warning-container {
137 display: none;
139 #addon-list .date-updated {
140 display: none;
143 .view-pane:not(#updates-view) .addon .relnotes-toggle,
144 .view-pane:not(#updates-view) .addon .include-update,
145 #updates-view:not([updatetype="available"]) .addon .include-update,
146 #updates-view[updatetype="available"] .addon .update-available-notice {
147 display: none;
150 #addons-page:not([warning]) .global-warning,
151 #addons-page:not([warning="safemode"]) .global-warning-safemode,
152 #addons-page:not([warning="checkcompatibility"]) .global-warning-checkcompatibility,
153 #addons-page:not([warning="updatesecurity"]) .global-warning-updatesecurity {
154 display: none;
157 /* Plugins aren't yet disabled by safemode (bug 342333),
158 so don't show that warning when viewing plugins. */
159 #addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning,
160 #addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning {
161 display: none;
164 .addon .relnotes {
165 -moz-user-select: text;
168 /* Make sure we're not animating hidden images. See bug 623739. */
169 #view-port:not([selectedIndex="0"]) #discover-view .loading,
170 #discover-view:not([selectedIndex="0"]) .loading {
171 display: none;
174 /* Elements in unselected richlistitems cannot be focused */
175 richlistitem:not([selected]) * {
176 -moz-user-focus: ignore;