update both themes to state of toolkit winstripe trunk of 2010-11-14
[themes.git] / EarlyBlue / mozapps / extensions / extensions.css
CommitLineData
600bfec4
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
706c344c
RK
38#addons-page {
39 background-color: #CCD0DD;
40 margin: 20px;
49037d9b
RK
41}
42
9162a092
RK
43#view-port-container {
44 /* Needed to allow the radius to clip the inner content, see bug 595656 */
45 overflow: hidden;
600bfec4 46 background-color: #FFFFFF;
706c344c 47 border: 1px solid #666699;
600bfec4
RK
48}
49
0de07750
RK
50.nav-button {
51 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
52 min-width: 0;
53 -moz-margin-end: 0;
54}
55
56#back-btn:-moz-locale-dir(ltr),
57#forward-btn:-moz-locale-dir(rtl) {
58 -moz-image-region: rect(42px 25px 63px 0px);
59}
60
61#back-btn[disabled="true"]:-moz-locale-dir(ltr),
62#forward-btn[disabled="true"]:-moz-locale-dir(rtl) {
63 -moz-image-region: rect(42px 50px 63px 25px);
64}
65
66#back-btn:-moz-locale-dir(rtl),
67#forward-btn:-moz-locale-dir(ltr) {
68 -moz-image-region: rect(63px 25px 84px 0px);
69}
70
71#back-btn[disabled="true"]:-moz-locale-dir(rtl),
72#forward-btn[disabled="true"]:-moz-locale-dir(ltr) {
73 -moz-image-region: rect(63px 50px 84px 25px);
74}
75
569543b3
RK
76/*** global warnings ***/
77
78.global-warning {
79 -moz-box-align: center;
80 padding: 0 8px;
81 color: #000000;
82 font-weight: bold;
83}
84
85#addons-page[warning] .global-warning-container {
86 background-color: #FFFFCC;
87}
88
89#detail-view .global-warning {
90 padding: 4px 12px;
91 border-bottom: 1px solid #9999CC;
92}
93
94/*** notification icons ***/
95
96.warning-icon {
97 list-style-image: url("chrome://global/skin/icons/warning-16.png");
98 width: 16px;
99 height: 16px;
100 margin: 3px 0;
101}
102
103.error-icon {
104 list-style-image: url("chrome://global/skin/icons/error-16.png");
105 width: 16px;
106 height: 16px;
107 margin: 3px 0;
108}
109
110.pending-icon,
111.info-icon {
112 list-style-image: url("chrome://global/skin/icons/information-16.png");
113 width: 16px;
114 height: 16px;
115 margin: 3px 0;
116}
600bfec4
RK
117
118/*** category selector ***/
119
120#categories {
121 -moz-appearance: none;
122 border: none;
706c344c
RK
123 -moz-margin-end: -1px;
124 background-color: transparent;
125 position: relative;
600bfec4
RK
126}
127
128.category {
706c344c
RK
129 border-width: 1px;
130 -moz-border-end-width: 0;
131 border-style: solid;
132 border-color: transparent;
600bfec4
RK
133 padding: 10px 4px;
134 -moz-box-align: center;
135 overflow: hidden;
136 min-height: 0px;
137}
138
139.category[disabled] {
140 height: 0px;
141 opacity: 0;
142 -moz-transition-property: height, opacity;
143 -moz-transition-duration: 1s, 0.8s;
144}
145
146.category:not([disabled]) {
147 height: 52px;
148 -moz-transition-property: height, opacity;
149 -moz-transition-duration: 1s, 0.8s;
150}
151
152.category[selected] {
706c344c 153 background-color: #FFFFFF;
600bfec4 154 color: #000000;
706c344c 155 border-color: #666699;
600bfec4
RK
156}
157
158.category-name {
159 font-size: 150%;
49037d9b
RK
160}
161
600bfec4
RK
162.category-badge {
163 background-color: #666699;
164 padding: 2px 8px;
165 margin: 6px 0px;
166 border: 1px outset #666699;
600bfec4
RK
167 color: #FFFFFF;
168 font-weight: bold;
169 text-align: center;
170}
171
172.category-badge[value="0"] {
ecb2fda9 173 visibility: hidden;
49037d9b
RK
174}
175
600bfec4
RK
176.category-icon {
177 width: 32px;
178 height: 32px;
179 -moz-margin-start: 6px;
180}
181
182#category-search > .category-icon {
183 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
184}
185#category-discover > .category-icon {
186 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
187}
188#category-languages > .category-icon {
189 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
190}
191#category-searchengines > .category-icon {
192 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
193}
194#category-extensions > .category-icon {
195 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
196}
197#category-themes > .category-icon {
198 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
199}
200#category-plugins > .category-icon {
201 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
202}
0de07750
RK
203#category-availableUpdates > .category-icon {
204 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
205}
206#category-recentUpdates > .category-icon {
207 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
208}
600bfec4
RK
209
210
211/*** header ***/
212
213#header {
706c344c
RK
214 margin-bottom: 20px;
215 height: 2em;
600bfec4
RK
216}
217
218#header-name, #header-link {
219 color: #FFFFFF;
220}
221
222#header-name {
223 font-size: 180%;
49037d9b
RK
224}
225
600bfec4
RK
226#header-link {
227 -moz-appearance: none;
49037d9b 228 border: none;
600bfec4
RK
229 background: transparent;
230 font-size: 120%;
231 cursor: pointer;
232 list-style-image: url("chrome://mozapps/skin/extensions/go-back.png");
49037d9b
RK
233}
234
600bfec4
RK
235#header-link .button-icon {
236 -moz-margin-end: 6px;
1e140ad9
RK
237}
238
3327253e
RK
239#header-searching {
240 list-style-image: url("chrome://global/skin/icons/loading.gif");
241}
242
0de07750
RK
243#header-utils-btn {
244 min-width: 4.5em;
245 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
246}
247
248#header-utils-btn:-moz-focusring > .button-box {
249 border: none;
250}
251
600bfec4 252.view-header {
600bfec4
RK
253 padding: 4px;
254 margin: 0px;
255 border-bottom: 1px solid #666699;
256}
257
258
259/*** sorters ***/
260
261.sort-controls {
262 -moz-appearance: none;
49037d9b
RK
263}
264
600bfec4
RK
265.sorter {
266 -moz-appearance: none;
267 border: none;
268 background-color: transparent;
600bfec4
RK
269 padding: 0px 6px;
270 margin: 0px 6px;
271 min-width: 12px !important;
272 -moz-box-direction: reverse;
49037d9b
RK
273}
274
600bfec4
RK
275.sorter[checkState="1"],
276.sorter[checkState="2"] {
277 background-color: #666699;
49037d9b
RK
278}
279
600bfec4
RK
280.sorter[checkState="1"] {
281 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
49037d9b
RK
282}
283
600bfec4
RK
284.sorter[checkState="2"] {
285 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
49037d9b
RK
286}
287
600bfec4
RK
288.sorter .button-icon {
289 -moz-margin-start: 4px;
290}
291
292
293/*** empty list notification ***/
294
295.empty-list-notice {
296 -moz-box-align: center;
d0ff98fe
RK
297}
298
600bfec4
RK
299.empty-list-notice > button {
300 margin: 20px;
301}
302
303
304/*** list ***/
305
306.list {
600bfec4
RK
307 margin: 0px;
308 border: none;
706c344c 309 background-color: transparent;
600bfec4
RK
310}
311
706c344c
RK
312.addon {
313 border-bottom: 1px solid #9999CC;
314 padding: 5px;
49037d9b
RK
315}
316
600bfec4
RK
317.addon[status="installing"] {
318 -moz-box-align: center;
49037d9b
RK
319}
320
706c344c 321.details {
600bfec4 322 cursor: pointer;
706c344c
RK
323 margin: 0;
324 -moz-margin-start: 10px;
570c53ea
RK
325}
326
706c344c
RK
327.icon-container {
328 width: 48px;
329 height: 48px;
330 margin: 7px;
600bfec4
RK
331}
332
706c344c 333.icon {
d15f39a1 334 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
706c344c
RK
335 max-width: 48px;
336 max-height: 48px;
3b1530c2
RK
337}
338
569543b3 339.addon-view[type="theme"] .icon {
3b1530c2
RK
340 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
341}
342
569543b3 343.addon-view[type="locale"] .icon {
d15f39a1
RK
344 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
345}
346
569543b3 347.addon-view[type="plugin"] .icon {
600bfec4 348 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
49037d9b
RK
349}
350
569543b3 351.name-container {
600bfec4
RK
352 font-size: 150%;
353 margin-bottom: 0px;
49037d9b
RK
354}
355
706c344c 356.description-container {
600bfec4
RK
357 margin-top: 8px;
358 -moz-margin-start: 6px;
49037d9b
RK
359}
360
706c344c
RK
361.description {
362 margin: 0;
363}
364
365.warning, .pending, .error, .info {
366 -moz-margin-start: 48px;
367}
368
569543b3 369.addon-view:not([selected]) .warning {
706c344c
RK
370 color: #808000;
371}
372
569543b3 373.addon-view:not([selected]) .error {
600bfec4 374 color: #FF0000;
706c344c
RK
375}
376
569543b3 377.addon-view:not([selected]) .pending {
706c344c 378 color: #33FF33;
49037d9b
RK
379}
380
569543b3 381.addon-view[notification="warning"] {
706c344c
RK
382 background-color : #FFFFCC;
383}
384
ae19a7b3
RK
385richlistbox:focus > .addon-view[notification="warning"][selected="true"] {
386 color: #336699;
387}
388
569543b3 389.addon-view[notification="error"] {
706c344c
RK
390 background-color: #FFD0DD;
391}
392
569543b3 393.addon-view[notification="info"] {
706c344c 394 background-color: #9999CC;
49037d9b
RK
395}
396
569543b3
RK
397.addon-view[pending="enable"],
398.addon-view[pending="upgrade"],
399.addon-view[pending="install"] {
706c344c 400 background-color: #CCFFDD;
49037d9b
RK
401}
402
ae19a7b3
RK
403.addon-view[pending="enable"] .pending,
404.addon-view[pending="upgrade"] .pending,
405.addon-view[pending="install"] .pending {
406 color: #008000;
407}
408
569543b3
RK
409.addon-view[pending="disable"],
410.addon-view[pending="uninstall"] {
706c344c
RK
411 background-color: #808080;
412}
413
0de07750
RK
414.addon .relnotes-container {
415 -moz-box-align: start;
416 height: 0px;
417 overflow: hidden;
418 opacity: 0;
419 -moz-transition-property: height, opacity;
420 -moz-transition-duration: 0.5s, 0.5s;
421}
422
423.addon[show-relnotes] .relnotes-container {
424 opacity: 1;
425 -moz-transition-property: height, opacity;
426 -moz-transition-duration: 0.5s, 0.5s;
427}
428
429.addon .relnotes-header {
430 font-weight: bold;
431 margin: 10px 0px;
432}
433
434.addon .relnotes-toggle {
435 border: none;
436 background: transparent;
437 font-weight: bold;
438 -moz-box-direction: reverse;
439 cursor: pointer;
440 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
441}
442
443.addon .relnotes-toggle > .button-box > .button-icon {
444 -moz-padding-start: 4px;
445}
446
447.addon[show-relnotes] .relnotes-toggle {
448 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
449}
450
600bfec4
RK
451/*** item - uninstalled ***/
452
453.addon[status="uninstalled"] {
49037d9b
RK
454 border: none;
455}
456
600bfec4
RK
457.addon[status="uninstalled"] > .container {
458 -moz-box-align: center;
459 padding: 4px 20px;
460 background-color: #808080;
569543b3 461 border-radius: 8px;
600bfec4 462 font-size: 120%;
559908da
RK
463}
464
600bfec4
RK
465.addon[status="uninstalled"][selected] {
466 background-color: transparent;
559908da
RK
467}
468
559908da 469
600bfec4
RK
470/*** search view ***/
471
706c344c
RK
472#search-filter {
473 padding: 5px 20px;
600bfec4
RK
474 -moz-box-align: center;
475 background-color: #FFFFFF;
476 font-size: 120%;
559908da
RK
477}
478
706c344c
RK
479#search-filter-label {
480 font-weight: bold;
481 color: #808080;
482}
483
484.search-filter-radio {
485 -moz-appearance: none;
486 padding: 0px 6px;
487 margin: 0px 3px;
569543b3 488 border-radius: 10000px;
706c344c
RK
489}
490
491.search-filter-radio[selected] {
492 background-color: #3366699;
493 color: #000000;
494}
495
496.search-filter-radio .radio-check-box1 {
497 display: none;
498}
499
500.search-filter-radio .radio-icon {
501 display: none;
502}
600bfec4 503
0de07750
RK
504#search-allresults-link {
505 margin-top: 1em;
506 margin-bottom: 2em;
507}
508
600bfec4
RK
509/*** detail view ***/
510
511#detail-view[active="false"] .fade {
512 opacity: 0.5;
559908da
RK
513}
514
569543b3 515#detail-view .loading {
600bfec4 516 opacity: 0;
559908da
RK
517}
518
569543b3 519#detail-view:not([loading]) .loading {
600bfec4 520 visibility: collapse;
559908da
RK
521}
522
569543b3 523#detail-view[loading-extended] .loading {
600bfec4
RK
524 -moz-box-align: center;
525 -moz-box-pack: center;
526 opacity: 1;
527 -moz-transition-property: opacity;
528 -moz-transition-duration: 1s;
559908da
RK
529}
530
569543b3 531#detail-view .loading > image {
600bfec4 532 list-style-image: url("chrome://global/skin/icons/loading.gif");
559908da
RK
533}
534
600bfec4 535.detail-view-container {
569543b3
RK
536 padding: 2em;
537 font-size: 110%;
559908da
RK
538}
539
569543b3
RK
540#detail-notifications {
541 margin-bottom: 2em;
559908da
RK
542}
543
569543b3
RK
544#detail-notifications .warning,
545#detail-notifications .pending,
546#detail-notifications .error,
547#detail-notifications .info {
548 -moz-margin-start: 0;
559908da
RK
549}
550
600bfec4 551#detail-icon {
600bfec4 552 -moz-margin-end: 10px;
559908da
RK
553}
554
569543b3
RK
555#detail-summary {
556 margin-bottom: 2em;
559908da
RK
557}
558
569543b3
RK
559#detail-name-container {
560 font-size: 200%;
d15f39a1
RK
561}
562
569543b3
RK
563#detail-screenshot {
564 -moz-margin-end: 2em;
559908da
RK
565}
566
569543b3
RK
567#detail-desc-container {
568 margin-bottom: 2em;
559908da
RK
569}
570
569543b3
RK
571#detail-desc {
572 -moz-margin-start: 6px;
573 white-space: pre-wrap;
9162a092
RK
574 /* This is necessary to fix layout issues with multi-line descriptions, see
575 bug 592712*/
576 outline: solid transparent;
559908da
RK
577}
578
569543b3
RK
579#detail-contributions {
580 border-radius: 5px;
581 border: 1px solid #666699;
582 margin-bottom: 2em;
583 padding: 1em;
584 background: #FFFFCC;
559908da
RK
585}
586
569543b3
RK
587#detail-contrib-description {
588 font-style: italic;
589 margin-bottom: 1em;
590}
591
592#detail-contrib-suggested {
593 color: grey;
594}
595
596#detail-contrib-button {
597 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
598}
599
600#detail-contrib-button .button-icon {
601 -moz-margin-end: 3px;
49037d9b
RK
602}
603
569543b3
RK
604#detail-grid {
605 margin-bottom: 2em;
606}
607
9162a092
RK
608.detail-row[first-row="true"],
609.detail-row-complex[first-row="true"] {
610 border-top: none;
611}
612
569543b3
RK
613.detail-row,
614.detail-row-complex {
9162a092 615 border-top: 1px solid #808080;
49037d9b 616 -moz-box-align: center;
569543b3
RK
617}
618
619.detail-row-value {
620 -moz-margin-start: 0;
49037d9b
RK
621}
622
600bfec4
RK
623
624/*** creator ***/
625
626.creator > label {
627 -moz-margin-start: 0px;
628 -moz-margin-end: 0px;
49037d9b
RK
629}
630
600bfec4
RK
631.creator > .text-link {
632 margin-top: 1px;
633 margin-bottom: 1px;
18f5421a
RK
634}
635
600bfec4
RK
636
637/*** rating ***/
638
639.meta-rating {
640 -moz-margin-start: 0px;
641 -moz-margin-end: 0px;
642 vertical-align: text-top;
49037d9b
RK
643}
644
600bfec4
RK
645.meta-rating[showrating="average"] > .star {
646 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
647 padding: 0px 1px;
49037d9b
RK
648}
649
600bfec4
RK
650.meta-rating[showrating="user"] > .star {
651 list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png");
652 padding: 2px 3px;
49037d9b
RK
653}
654
600bfec4
RK
655.meta-rating > .star[on="true"],
656.meta-rating[showrating="user"] > .star[hover] {
657 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
658 padding: 0px 1px;
49037d9b
RK
659}
660
600bfec4
RK
661
662/*** download progress ***/
663
664.download-progress {
665 background-color: #CCD0DD;
600bfec4
RK
666 border: 1px solid #808080;
667 width: 200px;
668 height: 24px;
669 margin: 0px 8px;
49037d9b
RK
670}
671
600bfec4
RK
672.download-progress .start-cap,
673.download-progress[complete] .end-cap,
674.download-progress .progress .progress-bar {
675 background-color: #336699;
49037d9b
RK
676}
677
600bfec4
RK
678.download-progress .progress {
679 background-color: transparent;
49037d9b
RK
680}
681
600bfec4
RK
682.download-progress .start-cap, .download-progress .end-cap {
683 width: 12px;
49037d9b
RK
684}
685
941d657f
RK
686.download-progress .start-cap:-moz-locale-dir(ltr),
687.download-progress .end-cap:-moz-locale-dir(rtl) {
569543b3 688 border-radius: 10000px 0 0 10000px;
49037d9b
RK
689}
690
941d657f
RK
691.download-progress .end-cap:-moz-locale-dir(ltr),
692.download-progress .start-cap:-moz-locale-dir(rtl) {
569543b3 693 border-radius: 0 10000px 10000px 0;
49037d9b
RK
694}
695
600bfec4
RK
696.download-progress .progress {
697 -moz-appearance: none;
698 padding: 0px;
699 margin: 0px;
700 border: none;
559908da
RK
701}
702
600bfec4
RK
703.download-progress .pause, .download-progress .cancel {
704 -moz-appearance: none;
705 background-color: #CCD0DD;
706 border-width: 1px 0px 0px 1px;
941d657f 707 padding-right: 1px;
600bfec4 708 border-style: solid;
4c18c82c
RK
709 -moz-border-top-colors: #FFFFFF;
710 -moz-border-left-colors: #FFFFFF;
600bfec4
RK
711 min-width: 16px;
712 width: 16px;
713 height: 16px;
714 margin: 3px;
49037d9b
RK
715}
716
d15f39a1
RK
717.download-progress .pause {
718 list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
719}
720
721.download-progress .cancel {
722 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
723}
724
600bfec4
RK
725.download-progress .status-container {
726 -moz-box-align: center;
49037d9b 727}
ecb2fda9 728
600bfec4
RK
729
730/*** install status ***/
731
732.install-status {
733 -moz-box-align: center;
ecb2fda9
RK
734}
735
600bfec4
RK
736
737/*** check for updates ***/
738
739#updates-container {
740 -moz-box-align: center;
ecb2fda9
RK
741}
742
600bfec4
RK
743#updates-installed, #updates-downloaded {
744 color: #00CC00;
ecb2fda9 745 font-weight: bold;
ecb2fda9
RK
746}
747
569543b3
RK
748#update-selected {
749 margin: 12px;
ecb2fda9
RK
750}
751
569543b3 752/*** buttons ***/
ecb2fda9 753
0de07750
RK
754.addon-control[disabled="true"] {
755 display: none;
756}
757
600bfec4
RK
758.button-link {
759 background: transparent;
760 border: none;
761 text-decoration: underline;
ae19a7b3 762 color: #0000FF;
600bfec4
RK
763 cursor: pointer;
764 min-width: 0;
706c344c 765 margin: 0 6px;
ecb2fda9 766}