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