Commit | Line | Data |
---|---|---|
4c18c82c RK |
1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | |
3 | * | |
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/ | |
8 | * | |
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. | |
13 | * | |
14 | * The Original Code is the Extension Manager UI. | |
15 | * | |
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. | |
20 | * | |
21 | * Contributor(s): | |
22 | * Blair McBride <bmcbride@mozilla.com> | |
23 | * | |
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. | |
35 | * | |
36 | * ***** END LICENSE BLOCK ***** */ | |
37 | ||
f620f94d | 38 | @import url("chrome://global/skin/inContentUI.css"); |
c1f7cc84 | 39 | |
f620f94d | 40 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
4c18c82c | 41 | |
0de07750 RK |
42 | .nav-button { |
43 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); | |
72a6fd39 RK |
44 | } |
45 | ||
46 | #forward-btn { | |
47 | -moz-border-start: none; | |
0de07750 RK |
48 | } |
49 | ||
50 | #back-btn:-moz-locale-dir(ltr), | |
51 | #forward-btn:-moz-locale-dir(rtl) { | |
52 | -moz-image-region: rect(42px 25px 63px 0px); | |
53 | } | |
54 | ||
55 | #back-btn[disabled="true"]:-moz-locale-dir(ltr), | |
56 | #forward-btn[disabled="true"]:-moz-locale-dir(rtl) { | |
57 | -moz-image-region: rect(42px 50px 63px 25px); | |
58 | } | |
59 | ||
60 | #back-btn:-moz-locale-dir(rtl), | |
61 | #forward-btn:-moz-locale-dir(ltr) { | |
62 | -moz-image-region: rect(63px 25px 84px 0px); | |
63 | } | |
64 | ||
65 | #back-btn[disabled="true"]:-moz-locale-dir(rtl), | |
66 | #forward-btn[disabled="true"]:-moz-locale-dir(ltr) { | |
67 | -moz-image-region: rect(63px 50px 84px 25px); | |
68 | } | |
69 | ||
38b75e2e | 70 | |
569543b3 | 71 | /*** global warnings ***/ |
a67d7bb0 | 72 | |
72a6fd39 RK |
73 | .global-warning-container { |
74 | overflow-x: hidden; | |
75 | } | |
76 | ||
569543b3 RK |
77 | .global-warning { |
78 | -moz-box-align: center; | |
79 | padding: 0 8px; | |
80 | color: #000000; | |
81 | font-weight: bold; | |
82 | } | |
83 | ||
84 | #addons-page[warning] .global-warning-container { | |
85 | background-color: #FFCF00; | |
86 | } | |
87 | ||
88 | #detail-view .global-warning { | |
89 | padding: 4px 12px; | |
f993773d | 90 | border-bottom: 3px solid #000000; |
569543b3 RK |
91 | } |
92 | ||
f777a4f1 | 93 | @media (max-width: 600px) { |
72a6fd39 RK |
94 | .global-warning-text { |
95 | display: none; | |
96 | } | |
97 | ||
98 | .global-warning .warning-icon { | |
99 | /* background-color: #FFF; | |
100 | box-shadow: 0px 0px 2px 5px #FFF; | |
101 | border-radius: 10px; */ | |
102 | } | |
103 | } | |
104 | ||
f993773d RK |
105 | /*** global informations ***/ |
106 | #addons-page .global-info-container { | |
107 | background-color: #9C9CFF; | |
108 | border-top-right-radius: 5px; | |
109 | border-top-left-radius: 5px; | |
110 | } | |
111 | ||
e1313d59 RK |
112 | /* Plugins aren't yet disabled by safemode (bug 342333), |
113 | so don't show that warning when viewing plugins. */ | |
114 | #addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container, | |
115 | #addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning-container { | |
116 | background-color: inherit; | |
117 | background-image: none; | |
118 | } | |
119 | ||
120 | ||
569543b3 RK |
121 | /*** notification icons ***/ |
122 | ||
123 | .warning-icon { | |
124 | list-style-image: url("chrome://global/skin/icons/warning-16.png"); | |
125 | width: 16px; | |
126 | height: 16px; | |
ae19a7b3 | 127 | margin: 1px 0; |
569543b3 RK |
128 | } |
129 | ||
130 | .error-icon { | |
131 | list-style-image: url("chrome://global/skin/icons/error-16.png"); | |
132 | width: 16px; | |
133 | height: 16px; | |
ae19a7b3 | 134 | margin: 1px 0; |
569543b3 RK |
135 | } |
136 | ||
137 | .pending-icon, | |
138 | .info-icon { | |
139 | list-style-image: url("chrome://global/skin/icons/information-16.png"); | |
140 | width: 16px; | |
141 | height: 16px; | |
ae19a7b3 | 142 | margin: 1px 0; |
569543b3 | 143 | } |
4c18c82c | 144 | |
72a6fd39 RK |
145 | .addon-view[pending="disable"] .pending-icon, |
146 | .addon-view[pending="uninstall"] .pending-icon { | |
147 | list-style-image: url("chrome://global/skin/icons/warning-16.png"); | |
148 | width: 16px; | |
149 | height: 15px; | |
150 | margin: 3px 0; | |
151 | } | |
152 | ||
153 | ||
154 | /*** view alert boxes ***/ | |
155 | ||
156 | .alert-container { | |
157 | -moz-box-align: center; | |
158 | } | |
159 | ||
160 | .alert-spacer-before { | |
161 | -moz-box-flex: 1; | |
162 | } | |
163 | ||
164 | .alert-spacer-after { | |
165 | -moz-box-flex: 3; | |
166 | } | |
167 | ||
168 | .alert { | |
169 | -moz-box-align: center; | |
170 | padding: 10px; | |
171 | color: #FF9F00; | |
172 | border: 1px solid #9C9CFF; | |
173 | border-radius: 8px; | |
174 | background-color: #000000; | |
38b75e2e | 175 | background-clip: padding-box; |
72a6fd39 RK |
176 | } |
177 | ||
178 | .alert .alert-title { | |
179 | font-weight: bold; | |
180 | font-size: 200%; | |
181 | margin-bottom: 15px; | |
182 | } | |
183 | ||
154ee8b3 | 184 | .alert button { |
72a6fd39 RK |
185 | margin: 1em 2em; |
186 | } | |
187 | ||
188 | .loading { | |
189 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
190 | padding-left: 20px; | |
191 | padding-right: 20px; | |
192 | } | |
193 | ||
194 | ||
4c18c82c RK |
195 | /*** category selector ***/ |
196 | ||
197 | #categories { | |
26a52ec5 | 198 | -moz-appearance: none; |
4c18c82c | 199 | border: none; |
706c344c RK |
200 | -moz-margin-end: -1px; |
201 | background-color: transparent; | |
202 | position: relative; | |
72a6fd39 | 203 | margin-top: 31px; |
e10e7add RK |
204 | } |
205 | ||
4c18c82c | 206 | .category { |
72a6fd39 | 207 | background-color: transparent; |
a67d7bb0 | 208 | color: #FF9F00; |
72a6fd39 RK |
209 | min-height: 0; |
210 | padding: 10px 4px; | |
706c344c | 211 | border-width: 1px; |
706c344c RK |
212 | border-style: solid; |
213 | border-color: transparent; | |
4c18c82c RK |
214 | -moz-box-align: center; |
215 | overflow: hidden; | |
e10e7add RK |
216 | } |
217 | ||
706c344c | 218 | .category:-moz-locale-dir(ltr) { |
569543b3 RK |
219 | border-top-left-radius: 5px; |
220 | border-bottom-left-radius: 5px; | |
706c344c RK |
221 | } |
222 | ||
223 | .category:-moz-locale-dir(rtl) { | |
569543b3 RK |
224 | border-top-right-radius: 5px; |
225 | border-bottom-right-radius: 5px; | |
706c344c RK |
226 | } |
227 | ||
4c18c82c | 228 | .category[disabled] { |
a0885fa2 RK |
229 | border-top: 0; |
230 | border-bottom: 0; | |
72a6fd39 | 231 | height: 0; |
4c18c82c RK |
232 | opacity: 0; |
233 | -moz-transition-property: height, opacity; | |
234 | -moz-transition-duration: 1s, 0.8s; | |
e10e7add RK |
235 | } |
236 | ||
4c18c82c RK |
237 | .category:not([disabled]) { |
238 | height: 52px; | |
239 | -moz-transition-property: height, opacity; | |
240 | -moz-transition-duration: 1s, 0.8s; | |
e10e7add RK |
241 | } |
242 | ||
4c18c82c | 243 | .category[selected] { |
a67d7bb0 RK |
244 | background-color: #008484; |
245 | color: #FFCF00; | |
706c344c | 246 | border-color: #9C9CFF; |
1e140ad9 RK |
247 | } |
248 | ||
4c18c82c RK |
249 | .category-name { |
250 | font-size: 150%; | |
e10e7add RK |
251 | } |
252 | ||
72a6fd39 | 253 | /* Maximize the size of the viewport when the window is small */ |
f777a4f1 | 254 | @media (max-width: 800px) { |
72a6fd39 RK |
255 | .category-name { |
256 | display: none; | |
257 | } | |
258 | } | |
259 | ||
4c18c82c RK |
260 | .category-badge { |
261 | background-color: #E7ADE7; | |
262 | padding: 2px 8px; | |
72a6fd39 | 263 | margin: 6px 0; |
569543b3 | 264 | border-radius: 10000px; |
4c18c82c RK |
265 | color: #000000; |
266 | font-weight: bold; | |
267 | text-align: center; | |
e10e7add RK |
268 | } |
269 | ||
4c18c82c RK |
270 | .category-badge[value="0"] { |
271 | visibility: hidden; | |
e10e7add RK |
272 | } |
273 | ||
4c18c82c RK |
274 | .category-icon { |
275 | width: 32px; | |
276 | height: 32px; | |
277 | -moz-margin-start: 6px; | |
e10e7add RK |
278 | } |
279 | ||
4c18c82c RK |
280 | #category-search > .category-icon { |
281 | list-style-image: url("chrome://mozapps/skin/extensions/category-search.png"); | |
282 | } | |
283 | #category-discover > .category-icon { | |
284 | list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png"); | |
285 | } | |
f993773d | 286 | #category-locale > .category-icon { |
4c18c82c RK |
287 | list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png"); |
288 | } | |
f993773d | 289 | #category-searchengine > .category-icon { |
4c18c82c RK |
290 | list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png"); |
291 | } | |
f993773d | 292 | #category-extension > .category-icon { |
4c18c82c RK |
293 | list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png"); |
294 | } | |
f993773d | 295 | #category-theme > .category-icon { |
4c18c82c RK |
296 | list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png"); |
297 | } | |
f993773d | 298 | #category-plugin > .category-icon { |
4c18c82c | 299 | list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png"); |
e10e7add | 300 | } |
1e29db46 RK |
301 | #category-dictionary > .category-icon { |
302 | list-style-image: url("chrome://mozapps/skin/extensions/category-dictionaries.png"); | |
303 | } | |
0de07750 RK |
304 | #category-availableUpdates > .category-icon { |
305 | list-style-image: url("chrome://mozapps/skin/extensions/category-available.png"); | |
306 | } | |
307 | #category-recentUpdates > .category-icon { | |
308 | list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png"); | |
309 | } | |
e10e7add | 310 | |
4c18c82c RK |
311 | |
312 | /*** header ***/ | |
313 | ||
314 | #header { | |
72a6fd39 | 315 | margin-bottom: 18px; |
706c344c | 316 | height: 2em; |
e10e7add RK |
317 | } |
318 | ||
72a6fd39 RK |
319 | #header-search { |
320 | color: #E7ADE7; | |
321 | border: 1px solid #9C9CFF; | |
322 | border-radius: 4px; | |
323 | padding: 3px; | |
324 | background-color: #000000; | |
325 | margin: 0; | |
4c18c82c RK |
326 | } |
327 | ||
72a6fd39 RK |
328 | #header-search .textbox-input:-moz-placeholder { |
329 | color: #8050B0; | |
4c18c82c RK |
330 | } |
331 | ||
c1f7cc84 | 332 | #header-search[focused] { |
72a6fd39 | 333 | border-color: #008484; |
3327253e RK |
334 | } |
335 | ||
0de07750 | 336 | #header-utils-btn { |
0de07750 | 337 | list-style-image: url("chrome://mozapps/skin/extensions/utilities.png"); |
c1f7cc84 | 338 | -moz-margin-end: 16px; |
0de07750 RK |
339 | } |
340 | ||
ae19a7b3 RK |
341 | #header-utils-btn:hover, |
342 | #header-utils-btn:hover:active, | |
343 | #header-utils-btn[open="true"] { | |
344 | list-style-image: url("chrome://mozapps/skin/extensions/utilities-hover.png"); | |
345 | } | |
346 | ||
ae19a7b3 RK |
347 | #header-utils-btn > .button-box > .button-menu-dropmarker { |
348 | border: none; | |
349 | background: transparent; | |
350 | } | |
351 | ||
352 | #header-utils-btn:hover > .button-box > .button-menu-dropmarker { | |
353 | list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); | |
354 | } | |
355 | ||
4c18c82c | 356 | .view-header { |
a67d7bb0 RK |
357 | background-color: #9C9CFF; |
358 | color: #000000; | |
569543b3 | 359 | border-radius: 8px; |
ae19a7b3 | 360 | padding: 0px 1em; |
4c18c82c | 361 | margin: 3px; |
72a6fd39 | 362 | min-height: 31px; |
e10e7add RK |
363 | } |
364 | ||
4c18c82c RK |
365 | |
366 | /*** sorters ***/ | |
367 | ||
368 | .sort-controls { | |
369 | -moz-appearance: none; | |
ae19a7b3 | 370 | border-right: 3px solid #000000; |
4c18c82c RK |
371 | } |
372 | ||
373 | .sorter { | |
374 | -moz-appearance: none; | |
375 | border: none; | |
376 | border-left: 3px solid #000000; | |
4c18c82c | 377 | background-color: transparent; |
ae19a7b3 | 378 | color: #8050B0; |
569543b3 | 379 | border-radius: 0; |
72a6fd39 | 380 | padding: 0 6px; |
ae19a7b3 RK |
381 | -moz-padding-start: 6px; |
382 | -moz-padding-end: 3px; | |
72a6fd39 | 383 | margin: 0; |
4c18c82c RK |
384 | min-width: 12px !important; |
385 | -moz-box-direction: reverse; | |
386 | } | |
ae19a7b3 RK |
387 | .sorter:hover { |
388 | background-color: #FFCF00; | |
389 | color: #000000; | |
390 | } | |
4c18c82c | 391 | |
72a6fd39 RK |
392 | .sorter .button-box { |
393 | padding-top: 0; | |
394 | padding-bottom: 0; | |
395 | } | |
396 | ||
4c18c82c RK |
397 | .sorter[checkState="1"], |
398 | .sorter[checkState="2"] { | |
e10e7add RK |
399 | background-color: #008484; |
400 | color: #FFCF00; | |
401 | } | |
402 | ||
4c18c82c RK |
403 | .sorter[checkState="1"] { |
404 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); | |
e10e7add RK |
405 | } |
406 | ||
4c18c82c RK |
407 | .sorter[checkState="2"] { |
408 | list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); | |
e10e7add RK |
409 | } |
410 | ||
4c18c82c RK |
411 | .sorter .button-icon { |
412 | -moz-margin-start: 4px; | |
e10e7add RK |
413 | } |
414 | ||
4c18c82c | 415 | |
1169dad4 RK |
416 | /*** discover view ***/ |
417 | ||
418 | .discover-spacer-before, | |
419 | .discover-spacer-after { | |
420 | -moz-box-flex: 1; | |
421 | } | |
422 | ||
423 | #discover-error .alert { | |
424 | max-width: 45em; | |
425 | -moz-box-flex: 1; | |
426 | } | |
427 | ||
428 | .discover-logo { | |
429 | list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png"); | |
430 | -moz-margin-end: 15px; | |
431 | } | |
432 | ||
433 | .discover-title { | |
434 | font-weight: bold; | |
435 | font-size: 24px; | |
436 | /* font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif; */ | |
437 | margin: 0 0 15px 0; | |
438 | } | |
439 | ||
440 | .discover-description { | |
441 | text-align: justify; | |
442 | margin: 0 0 15px 0; | |
443 | } | |
444 | ||
445 | .discover-footer { | |
446 | text-align: justify; | |
447 | } | |
448 | ||
449 | ||
4c18c82c RK |
450 | /*** list ***/ |
451 | ||
452 | .list { | |
72a6fd39 | 453 | margin: 0; |
4c18c82c | 454 | border: none; |
706c344c | 455 | background-color: transparent; |
4c18c82c RK |
456 | } |
457 | ||
706c344c RK |
458 | .addon { |
459 | border-bottom: 1px solid #9C9CFF; | |
460 | padding: 5px; | |
72a6fd39 | 461 | background-origin: border-box; |
e10e7add RK |
462 | } |
463 | ||
706c344c | 464 | .details { |
4c18c82c | 465 | cursor: pointer; |
706c344c RK |
466 | margin: 0; |
467 | -moz-margin-start: 10px; | |
e10e7add RK |
468 | } |
469 | ||
706c344c RK |
470 | .icon-container { |
471 | width: 48px; | |
472 | height: 48px; | |
a0885fa2 | 473 | margin: 3px 7px; |
38b75e2e RK |
474 | -moz-box-align: center; |
475 | -moz-box-pack: center; | |
e10e7add RK |
476 | } |
477 | ||
706c344c | 478 | .icon { |
d15f39a1 | 479 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); |
706c344c RK |
480 | max-width: 48px; |
481 | max-height: 48px; | |
e10e7add RK |
482 | } |
483 | ||
72a6fd39 | 484 | .addon[active="false"] .icon { |
938117ba | 485 | filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); |
72a6fd39 RK |
486 | } |
487 | ||
569543b3 | 488 | .addon-view[type="theme"] .icon { |
4c18c82c | 489 | list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); |
e10e7add RK |
490 | } |
491 | ||
569543b3 | 492 | .addon-view[type="locale"] .icon { |
d15f39a1 RK |
493 | list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); |
494 | } | |
495 | ||
569543b3 | 496 | .addon-view[type="plugin"] .icon { |
4c18c82c | 497 | list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); |
e10e7add RK |
498 | } |
499 | ||
1e29db46 RK |
500 | .addon-view[type="dictionary"] .icon { |
501 | list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric.png"); | |
502 | } | |
503 | ||
8a933f1e | 504 | .name-container { |
4c18c82c | 505 | font-size: 150%; |
72a6fd39 | 506 | font-weight: bold; |
a67d7bb0 | 507 | color: #9C9CFF; |
72a6fd39 | 508 | margin-bottom: 0; |
38b75e2e | 509 | -moz-box-align: end; |
c1f7cc84 | 510 | -moz-box-flex: 1; |
72a6fd39 RK |
511 | } |
512 | ||
513 | .creator { | |
514 | font-weight: bold; | |
515 | } | |
516 | ||
517 | .creator .text-link { | |
518 | /* color: #0066CC; */ | |
4c18c82c RK |
519 | } |
520 | ||
706c344c | 521 | .description-container { |
e10e7add | 522 | -moz-margin-start: 6px; |
38b75e2e | 523 | -moz-box-align: center; |
e10e7add RK |
524 | } |
525 | ||
706c344c RK |
526 | .description { |
527 | margin: 0; | |
528 | } | |
529 | ||
72a6fd39 RK |
530 | .warning, |
531 | .pending, | |
532 | .error, | |
533 | .info { | |
706c344c | 534 | -moz-margin-start: 48px; |
72a6fd39 | 535 | font-weight: bold; |
38b75e2e RK |
536 | -moz-box-align: center; |
537 | } | |
538 | ||
539 | .content-container, | |
540 | .basicinfo-container { | |
541 | -moz-box-align: start; | |
542 | } | |
543 | ||
544 | .addon[status="installing"] > .content-container { | |
545 | -moz-box-align: stretch; | |
546 | } | |
547 | ||
c1f7cc84 | 548 | .advancedinfo-container, |
38b75e2e RK |
549 | .update-info-container { |
550 | -moz-box-align: center; | |
551 | } | |
552 | ||
38b75e2e RK |
553 | .update-available { |
554 | -moz-box-align: end; | |
555 | } | |
556 | ||
557 | .install-status-container { | |
558 | -moz-box-pack: end; | |
559 | -moz-box-align: end; | |
560 | } | |
561 | ||
562 | .name-outer-container { | |
563 | -moz-box-pack: center; | |
564 | } | |
565 | ||
566 | .relnotes-toggle-container, | |
567 | .icon-outer-container { | |
568 | -moz-box-pack: start; | |
569 | } | |
570 | ||
571 | .status-container, | |
572 | .control-container { | |
573 | -moz-box-pack: end; | |
706c344c RK |
574 | } |
575 | ||
72a6fd39 | 576 | .addon-view .warning { |
706c344c RK |
577 | color: #FFCF00; |
578 | } | |
579 | ||
72a6fd39 | 580 | .addon-view .error { |
4c18c82c | 581 | color: #FF0000; |
706c344c RK |
582 | } |
583 | ||
72a6fd39 | 584 | .addon-view .pending { |
706c344c | 585 | color: #008484; |
e10e7add RK |
586 | } |
587 | ||
72a6fd39 RK |
588 | .addon-view[pending="disable"] .pending, |
589 | .addon-view[pending="uninstall"] .pending { | |
590 | color: #FF9C00; | |
e10e7add RK |
591 | } |
592 | ||
0de07750 RK |
593 | .addon .relnotes-container { |
594 | -moz-box-align: start; | |
72a6fd39 RK |
595 | -moz-margin-start: 6px; |
596 | height: 0; | |
0de07750 RK |
597 | overflow: hidden; |
598 | opacity: 0; | |
599 | -moz-transition-property: height, opacity; | |
600 | -moz-transition-duration: 0.5s, 0.5s; | |
601 | } | |
602 | ||
603 | .addon[show-relnotes] .relnotes-container { | |
604 | opacity: 1; | |
605 | -moz-transition-property: height, opacity; | |
606 | -moz-transition-duration: 0.5s, 0.5s; | |
607 | } | |
608 | ||
609 | .addon .relnotes-header { | |
610 | font-weight: bold; | |
72a6fd39 | 611 | margin: 10px 0; |
0de07750 RK |
612 | } |
613 | ||
614 | .addon .relnotes-toggle { | |
615 | border: none; | |
616 | background: transparent; | |
617 | font-weight: bold; | |
618 | -moz-box-direction: reverse; | |
619 | cursor: pointer; | |
620 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); | |
621 | } | |
622 | ||
623 | .addon .relnotes-toggle > .button-box > .button-icon { | |
624 | -moz-padding-start: 4px; | |
625 | } | |
626 | ||
627 | .addon[show-relnotes] .relnotes-toggle { | |
628 | list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); | |
629 | } | |
630 | ||
72a6fd39 | 631 | .addon[active="false"] { |
938117ba RK |
632 | background-color: #8050B0; |
633 | color: #E7ADE7; | |
72a6fd39 RK |
634 | } |
635 | ||
72a6fd39 RK |
636 | .addon-view[active="false"] .name-container { |
637 | color: #E7ADE7; | |
938117ba | 638 | color: #000000; |
72a6fd39 RK |
639 | } |
640 | ||
641 | .addon-view[notification="warning"] { | |
642 | background-color : #FFCF00; | |
643 | color: #000000; | |
644 | } | |
645 | ||
646 | .addon-view[notification="warning"] .warning { | |
647 | color: #000000; | |
648 | } | |
649 | ||
a67d7bb0 RK |
650 | .addon-view[notification="warning"] .name-container { |
651 | color: #000000; | |
652 | } | |
653 | ||
72a6fd39 RK |
654 | .addon-view[notification="error"] { |
655 | background-color: #FF0000; | |
656 | color: #000000; | |
657 | } | |
658 | ||
659 | .addon-view[notification="error"] .error { | |
660 | color: #000000; | |
661 | } | |
662 | ||
663 | .addon-view[notification="info"] { | |
664 | background-color: #9C9CFF; | |
665 | color: #000000; | |
666 | } | |
667 | ||
668 | .addon-view[pending="enable"], | |
669 | .addon-view[pending="upgrade"], | |
670 | .addon-view[pending="install"] { | |
671 | background-color: #008484; | |
672 | } | |
673 | ||
34aa92fd RK |
674 | .addon-view[pending="enable"] .pending, |
675 | .addon-view[pending="upgrade"] .pending, | |
676 | .addon-view[pending="install"] .pending { | |
677 | color: #000000; | |
678 | } | |
679 | ||
72a6fd39 RK |
680 | .addon-view[pending="disable"], |
681 | .addon-view[pending="uninstall"] { | |
682 | color: #8050B0; | |
683 | } | |
684 | ||
0de07750 | 685 | |
4c18c82c RK |
686 | /*** item - uninstalled ***/ |
687 | ||
688 | .addon[status="uninstalled"] { | |
689 | border: none; | |
e10e7add RK |
690 | } |
691 | ||
4c18c82c RK |
692 | .addon[status="uninstalled"] > .container { |
693 | -moz-box-align: center; | |
694 | padding: 4px 20px; | |
695 | background-color: #8050B0; | |
569543b3 | 696 | border-radius: 8px; |
4c18c82c | 697 | font-size: 120%; |
e10e7add RK |
698 | } |
699 | ||
4c18c82c RK |
700 | .addon[status="uninstalled"][selected] { |
701 | background-color: transparent; | |
e10e7add RK |
702 | } |
703 | ||
72a6fd39 RK |
704 | .addon[selected] { |
705 | background-color: #008484; | |
a67d7bb0 | 706 | color: #FF9F00; |
72a6fd39 RK |
707 | } |
708 | ||
709 | .addon[selected] .name-container { | |
a67d7bb0 RK |
710 | color: #FFCF00; |
711 | } | |
712 | ||
713 | .addon[active="false"][selected] { | |
714 | color: #E7ADE7; | |
72a6fd39 RK |
715 | } |
716 | ||
717 | .addon[active="false"][selected] .name-container { | |
a67d7bb0 | 718 | color: #E7ADE7; |
72a6fd39 RK |
719 | } |
720 | ||
4c18c82c | 721 | |
4c18c82c RK |
722 | /*** search view ***/ |
723 | ||
706c344c RK |
724 | #search-filter { |
725 | padding: 5px 20px; | |
4c18c82c RK |
726 | -moz-box-align: center; |
727 | background-color: #000000; | |
728 | font-size: 120%; | |
72a6fd39 RK |
729 | border-bottom: 1px solid #9C9CFF; |
730 | overflow-x: hidden; | |
e10e7add RK |
731 | } |
732 | ||
706c344c RK |
733 | #search-filter-label { |
734 | font-weight: bold; | |
735 | color: #FFCF00; | |
736 | } | |
737 | ||
738 | .search-filter-radio { | |
72a6fd39 RK |
739 | padding: 0 6px; |
740 | margin: 0 3px; | |
569543b3 | 741 | border-radius: 10000px; |
706c344c RK |
742 | } |
743 | ||
744 | .search-filter-radio[selected] { | |
745 | background-color: #008484; | |
746 | color: #000000; | |
747 | } | |
748 | ||
749 | .search-filter-radio .radio-check-box1 { | |
750 | display: none; | |
751 | } | |
752 | ||
753 | .search-filter-radio .radio-icon { | |
754 | display: none; | |
755 | } | |
4c18c82c | 756 | |
0de07750 RK |
757 | #search-allresults-link { |
758 | margin-top: 1em; | |
759 | margin-bottom: 2em; | |
760 | } | |
761 | ||
4c18c82c RK |
762 | /*** detail view ***/ |
763 | ||
569543b3 | 764 | #detail-view .loading { |
4c18c82c | 765 | opacity: 0; |
e10e7add RK |
766 | } |
767 | ||
569543b3 | 768 | #detail-view[loading-extended] .loading { |
4c18c82c RK |
769 | opacity: 1; |
770 | -moz-transition-property: opacity; | |
771 | -moz-transition-duration: 1s; | |
e10e7add RK |
772 | } |
773 | ||
4c18c82c | 774 | .detail-view-container { |
72a6fd39 | 775 | padding: 0 2em 2em 2em; |
569543b3 | 776 | font-size: 110%; |
e10e7add RK |
777 | } |
778 | ||
569543b3 | 779 | #detail-notifications { |
72a6fd39 | 780 | margin-top: 1em; |
569543b3 | 781 | margin-bottom: 2em; |
e10e7add RK |
782 | } |
783 | ||
569543b3 RK |
784 | #detail-notifications .warning, |
785 | #detail-notifications .pending, | |
72a6fd39 | 786 | #detail-notifications .error { |
569543b3 | 787 | -moz-margin-start: 0; |
e10e7add RK |
788 | } |
789 | ||
f777a4f1 RK |
790 | #detail-icon-container { |
791 | width: 64px; | |
4c18c82c | 792 | -moz-margin-end: 10px; |
72a6fd39 | 793 | margin-top: 6px; |
f777a4f1 RK |
794 | } |
795 | ||
796 | #detail-icon { | |
72a6fd39 RK |
797 | max-width: 64px; |
798 | max-height: 64px; | |
e10e7add RK |
799 | } |
800 | ||
569543b3 RK |
801 | #detail-summary { |
802 | margin-bottom: 2em; | |
e10e7add RK |
803 | } |
804 | ||
569543b3 RK |
805 | #detail-name-container { |
806 | font-size: 200%; | |
d15f39a1 RK |
807 | } |
808 | ||
569543b3 RK |
809 | #detail-screenshot { |
810 | -moz-margin-end: 2em; | |
6831f2a0 RK |
811 | max-width: 300px; |
812 | max-height: 300px; | |
18f5421a RK |
813 | } |
814 | ||
904e5040 RK |
815 | #detail-screenshot[loading] { |
816 | background-image: url("chrome://communicator/skin/brand/throbber-anim.gif"); | |
817 | background-position: 50% 50%; | |
818 | background-repeat: no-repeat; | |
819 | } | |
820 | ||
821 | #detail-screenshot[loading="error"] { | |
822 | background-image: url("chrome://global/skin/icons/alert-error.gif"); | |
823 | } | |
824 | ||
569543b3 RK |
825 | #detail-desc-container { |
826 | margin-bottom: 2em; | |
e10e7add RK |
827 | } |
828 | ||
8a933f1e | 829 | #detail-desc, #detail-fulldesc { |
569543b3 RK |
830 | -moz-margin-start: 6px; |
831 | white-space: pre-wrap; | |
9162a092 RK |
832 | /* This is necessary to fix layout issues with multi-line descriptions, see |
833 | bug 592712*/ | |
834 | outline: solid transparent; | |
72a6fd39 | 835 | min-width: 8em; |
569543b3 RK |
836 | } |
837 | ||
8a933f1e RK |
838 | #detail-fulldesc { |
839 | margin-top: 1em; | |
840 | } | |
841 | ||
569543b3 RK |
842 | #detail-contributions { |
843 | border-radius: 5px; | |
844 | border: 1px solid #9C9CFF; | |
845 | margin-bottom: 2em; | |
846 | padding: 1em; | |
72a6fd39 | 847 | background-color: #FFCF00; |
4c18c82c RK |
848 | } |
849 | ||
569543b3 RK |
850 | #detail-contrib-description { |
851 | font-style: italic; | |
852 | margin-bottom: 1em; | |
72a6fd39 | 853 | color: #000000; |
4c18c82c RK |
854 | } |
855 | ||
569543b3 | 856 | #detail-contrib-suggested { |
72a6fd39 RK |
857 | color: #8050B0; |
858 | font-weight: bold; | |
4c18c82c RK |
859 | } |
860 | ||
72a6fd39 | 861 | #detail-contrib-btn { |
569543b3 RK |
862 | list-style-image: url("chrome://mozapps/skin/extensions/heart.png"); |
863 | } | |
864 | ||
72a6fd39 | 865 | #detail-contrib-btn .button-icon { |
569543b3 RK |
866 | -moz-margin-end: 3px; |
867 | } | |
868 | ||
869 | #detail-grid { | |
f777a4f1 | 870 | min-width: 15em; |
569543b3 RK |
871 | margin-bottom: 2em; |
872 | } | |
873 | ||
f620f94d RK |
874 | #detail-grid > columns > column:first-child { |
875 | max-width: 25em; | |
876 | } | |
877 | ||
9162a092 | 878 | .detail-row[first-row="true"], |
f620f94d RK |
879 | .detail-row-complex[first-row="true"], |
880 | setting[first-row="true"] { | |
9162a092 RK |
881 | border-top: none; |
882 | } | |
883 | ||
569543b3 | 884 | .detail-row, |
f620f94d RK |
885 | .detail-row-complex, |
886 | setting { | |
9162a092 | 887 | border-top: 1px solid #9C9CFF; |
4c18c82c | 888 | -moz-box-align: center; |
f620f94d | 889 | min-height: 30px; |
e10e7add RK |
890 | } |
891 | ||
72a6fd39 RK |
892 | #detail-controls { |
893 | margin-bottom: 1em; | |
894 | } | |
895 | ||
896 | #detail-view[active="false"]:not([pending]):not([notification]) { | |
897 | /* background-color: foo; */ | |
898 | } | |
4c18c82c | 899 | |
f620f94d RK |
900 | setting[first-row="true"] { |
901 | margin-top: 2em; | |
902 | } | |
903 | ||
a62af8a9 RK |
904 | setting { |
905 | -moz-box-align: start; | |
906 | } | |
907 | ||
908 | .preferences-alignment { | |
909 | min-height: 30px; | |
910 | -moz-box-align: center; | |
911 | } | |
912 | ||
f620f94d RK |
913 | .preferences-description { |
914 | font-size: 90.9%; | |
915 | color: #808080; | |
916 | margin-top: -2px; | |
917 | -moz-margin-start: 2em; | |
a62af8a9 | 918 | white-space: pre-wrap; |
f620f94d RK |
919 | } |
920 | ||
a62af8a9 RK |
921 | .preferences-description:empty { |
922 | display: none; | |
f620f94d RK |
923 | } |
924 | ||
154ee8b3 RK |
925 | setting[type="radio"] > radiogroup { |
926 | -moz-box-orient: horizontal; | |
927 | } | |
928 | ||
f620f94d RK |
929 | menulist { /* Fixes some styling inconsistencies */ |
930 | margin: 1px 5px 2px 5px; | |
931 | } | |
932 | ||
4c18c82c RK |
933 | /*** creator ***/ |
934 | ||
935 | .creator > label { | |
72a6fd39 | 936 | -moz-margin-end: 0; |
e10e7add RK |
937 | } |
938 | ||
4c18c82c RK |
939 | .creator > .text-link { |
940 | margin-top: 1px; | |
941 | margin-bottom: 1px; | |
e10e7add RK |
942 | } |
943 | ||
4c18c82c RK |
944 | |
945 | /*** rating ***/ | |
946 | ||
947 | .meta-rating { | |
72a6fd39 RK |
948 | -moz-margin-end: 0; |
949 | padding-top: 2px; | |
e10e7add RK |
950 | } |
951 | ||
72a6fd39 | 952 | .meta-rating > .star { |
4c18c82c | 953 | list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png"); |
72a6fd39 | 954 | padding: 0 1px; |
e10e7add RK |
955 | } |
956 | ||
72a6fd39 | 957 | .meta-rating > .star[on="true"] { |
4c18c82c | 958 | list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png"); |
e10e7add RK |
959 | } |
960 | ||
4c18c82c RK |
961 | |
962 | /*** download progress ***/ | |
963 | ||
964 | .download-progress { | |
965 | background-color: #000000; | |
569543b3 | 966 | border-radius: 10000px; |
4c18c82c RK |
967 | border: 1px solid #FF9F00; |
968 | width: 200px; | |
72a6fd39 RK |
969 | height: 21px; |
970 | margin: 0 8px; | |
e10e7add RK |
971 | } |
972 | ||
e1313d59 RK |
973 | .download-progress[mode="undetermined"] .status-container { |
974 | padding: 0 2px; | |
975 | } | |
976 | ||
4c18c82c RK |
977 | .download-progress .start-cap, |
978 | .download-progress[complete] .end-cap, | |
e1313d59 | 979 | .download-progress[mode="undetermined"] .end-cap, |
4c18c82c RK |
980 | .download-progress .progress .progress-bar { |
981 | background-color: #008484; | |
e10e7add RK |
982 | } |
983 | ||
e1313d59 RK |
984 | .download-progress .progress .progress-bar { |
985 | border-left-width: 0; | |
986 | border-right-width: 0; | |
987 | min-height: 21px; | |
988 | } | |
989 | ||
4c18c82c RK |
990 | .download-progress .progress { |
991 | background-color: transparent; | |
72a6fd39 RK |
992 | padding: 0; |
993 | margin: 0; | |
994 | border: none; | |
e10e7add RK |
995 | } |
996 | ||
4c18c82c RK |
997 | .download-progress .start-cap, .download-progress .end-cap { |
998 | width: 12px; | |
e10e7add RK |
999 | } |
1000 | ||
941d657f RK |
1001 | .download-progress .start-cap:-moz-locale-dir(ltr), |
1002 | .download-progress .end-cap:-moz-locale-dir(rtl) { | |
72a6fd39 | 1003 | border-radius: 3px 0 0 3px; |
e10e7add RK |
1004 | } |
1005 | ||
941d657f RK |
1006 | .download-progress .end-cap:-moz-locale-dir(ltr), |
1007 | .download-progress .start-cap:-moz-locale-dir(rtl) { | |
72a6fd39 | 1008 | border-radius: 0 3px 3px 0; |
e10e7add RK |
1009 | } |
1010 | ||
72a6fd39 | 1011 | .download-progress .cancel { |
4c18c82c | 1012 | -moz-appearance: none; |
72a6fd39 RK |
1013 | background-color: #8050B0; |
1014 | border: 1px solid #9C9CFF; | |
1015 | padding: 3px; | |
1016 | border-radius: 3px; | |
1017 | min-width: 0; | |
1018 | margin: 3px; | |
1019 | } | |
1020 | ||
72a6fd39 RK |
1021 | .download-progress .cancel .button-box { |
1022 | padding: 0; | |
4c18c82c | 1023 | border: none; |
e10e7add RK |
1024 | } |
1025 | ||
72a6fd39 RK |
1026 | .download-progress .cancel .button-text { |
1027 | display: none; | |
1028 | } | |
1029 | ||
72a6fd39 RK |
1030 | .download-progress .cancel .button-icon { |
1031 | -moz-margin-start: 0; | |
e10e7add RK |
1032 | } |
1033 | ||
d15f39a1 RK |
1034 | .download-progress .cancel { |
1035 | list-style-image: url('chrome://mozapps/skin/extensions/cancel.png'); | |
1036 | } | |
1037 | ||
4c18c82c RK |
1038 | .download-progress .status-container { |
1039 | -moz-box-align: center; | |
1040 | } | |
1041 | ||
72a6fd39 RK |
1042 | .download-progress .status { |
1043 | /* text-shadow: #FFF 0 0 2px; */ | |
1044 | } | |
4c18c82c RK |
1045 | |
1046 | /*** install status ***/ | |
1047 | ||
1048 | .install-status { | |
1049 | -moz-box-align: center; | |
e10e7add RK |
1050 | } |
1051 | ||
4c18c82c RK |
1052 | |
1053 | /*** check for updates ***/ | |
1054 | ||
1055 | #updates-container { | |
1056 | -moz-box-align: center; | |
e10e7add RK |
1057 | } |
1058 | ||
72a6fd39 RK |
1059 | #updates-container .button-link { |
1060 | font-weight: bold; | |
1061 | } | |
1062 | ||
1063 | #updates-installed, | |
1064 | #updates-downloaded { | |
4c18c82c RK |
1065 | color: #008484; |
1066 | font-weight: bold; | |
e10e7add RK |
1067 | } |
1068 | ||
569543b3 RK |
1069 | #update-selected { |
1070 | margin: 12px; | |
e10e7add RK |
1071 | } |
1072 | ||
569543b3 | 1073 | /*** buttons ***/ |
4c18c82c | 1074 | |
0de07750 RK |
1075 | .addon-control[disabled="true"] { |
1076 | display: none; | |
1077 | } | |
1078 | ||
154ee8b3 | 1079 | button.button-link { |
4c18c82c RK |
1080 | background: transparent; |
1081 | border: none; | |
1082 | text-decoration: underline; | |
1083 | color: blue; | |
1084 | cursor: pointer; | |
1085 | min-width: 0; | |
706c344c | 1086 | margin: 0 6px; |
e10e7add | 1087 | } |
154ee8b3 RK |
1088 | |
1089 | /* Needed to override normal button style from inContent.css */ | |
1090 | button.button-link:not([disabled="true"]):active:hover { | |
1091 | } |