update mozapps in both themes to withstand a manual diff check
[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
569543b3 383.addon-view[notification="error"] {
706c344c
RK
384 background-color: #FFD0DD;
385}
386
569543b3 387.addon-view[notification="info"] {
706c344c 388 background-color: #9999CC;
49037d9b
RK
389}
390
569543b3
RK
391.addon-view[pending="enable"],
392.addon-view[pending="upgrade"],
393.addon-view[pending="install"] {
706c344c 394 background-color: #CCFFDD;
49037d9b
RK
395}
396
569543b3
RK
397.addon-view[pending="disable"],
398.addon-view[pending="uninstall"] {
706c344c
RK
399 background-color: #808080;
400}
401
0de07750
RK
402.addon .relnotes-container {
403 -moz-box-align: start;
404 height: 0px;
405 overflow: hidden;
406 opacity: 0;
407 -moz-transition-property: height, opacity;
408 -moz-transition-duration: 0.5s, 0.5s;
409}
410
411.addon[show-relnotes] .relnotes-container {
412 opacity: 1;
413 -moz-transition-property: height, opacity;
414 -moz-transition-duration: 0.5s, 0.5s;
415}
416
417.addon .relnotes-header {
418 font-weight: bold;
419 margin: 10px 0px;
420}
421
422.addon .relnotes-toggle {
423 border: none;
424 background: transparent;
425 font-weight: bold;
426 -moz-box-direction: reverse;
427 cursor: pointer;
428 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
429}
430
431.addon .relnotes-toggle > .button-box > .button-icon {
432 -moz-padding-start: 4px;
433}
434
435.addon[show-relnotes] .relnotes-toggle {
436 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
437}
438
600bfec4
RK
439/*** item - uninstalled ***/
440
441.addon[status="uninstalled"] {
49037d9b
RK
442 border: none;
443}
444
600bfec4
RK
445.addon[status="uninstalled"] > .container {
446 -moz-box-align: center;
447 padding: 4px 20px;
448 background-color: #808080;
569543b3 449 border-radius: 8px;
600bfec4 450 font-size: 120%;
559908da
RK
451}
452
600bfec4
RK
453.addon[status="uninstalled"][selected] {
454 background-color: transparent;
559908da
RK
455}
456
559908da 457
600bfec4
RK
458/*** search view ***/
459
706c344c
RK
460#search-filter {
461 padding: 5px 20px;
600bfec4
RK
462 -moz-box-align: center;
463 background-color: #FFFFFF;
464 font-size: 120%;
559908da
RK
465}
466
706c344c
RK
467#search-filter-label {
468 font-weight: bold;
469 color: #808080;
470}
471
472.search-filter-radio {
473 -moz-appearance: none;
474 padding: 0px 6px;
475 margin: 0px 3px;
569543b3 476 border-radius: 10000px;
706c344c
RK
477}
478
479.search-filter-radio[selected] {
480 background-color: #3366699;
481 color: #000000;
482}
483
484.search-filter-radio .radio-check-box1 {
485 display: none;
486}
487
488.search-filter-radio .radio-icon {
489 display: none;
490}
600bfec4 491
0de07750
RK
492#search-allresults-link {
493 margin-top: 1em;
494 margin-bottom: 2em;
495}
496
600bfec4
RK
497/*** detail view ***/
498
499#detail-view[active="false"] .fade {
500 opacity: 0.5;
559908da
RK
501}
502
569543b3 503#detail-view .loading {
600bfec4 504 opacity: 0;
559908da
RK
505}
506
569543b3 507#detail-view:not([loading]) .loading {
600bfec4 508 visibility: collapse;
559908da
RK
509}
510
569543b3 511#detail-view[loading-extended] .loading {
600bfec4
RK
512 -moz-box-align: center;
513 -moz-box-pack: center;
514 opacity: 1;
515 -moz-transition-property: opacity;
516 -moz-transition-duration: 1s;
559908da
RK
517}
518
569543b3 519#detail-view .loading > image {
600bfec4 520 list-style-image: url("chrome://global/skin/icons/loading.gif");
559908da
RK
521}
522
600bfec4
RK
523.detail-view-container {
524 overflow: auto;
569543b3
RK
525 padding: 2em;
526 font-size: 110%;
559908da
RK
527}
528
569543b3
RK
529#detail-notifications {
530 margin-bottom: 2em;
559908da
RK
531}
532
569543b3
RK
533#detail-notifications .warning,
534#detail-notifications .pending,
535#detail-notifications .error,
536#detail-notifications .info {
537 -moz-margin-start: 0;
559908da
RK
538}
539
600bfec4 540#detail-icon {
600bfec4 541 -moz-margin-end: 10px;
559908da
RK
542}
543
569543b3
RK
544#detail-summary {
545 margin-bottom: 2em;
559908da
RK
546}
547
569543b3
RK
548#detail-name-container {
549 font-size: 200%;
d15f39a1
RK
550}
551
569543b3
RK
552#detail-screenshot {
553 -moz-margin-end: 2em;
559908da
RK
554}
555
569543b3
RK
556#detail-desc-container {
557 margin-bottom: 2em;
558 /* This is necessary to fix layout issues with multi-line descriptions, see
559 bug 592712*/
560 outline: solid transparent;
559908da
RK
561}
562
569543b3
RK
563#detail-desc {
564 -moz-margin-start: 6px;
565 white-space: pre-wrap;
559908da
RK
566}
567
569543b3
RK
568#detail-contributions {
569 border-radius: 5px;
570 border: 1px solid #666699;
571 margin-bottom: 2em;
572 padding: 1em;
573 background: #FFFFCC;
559908da
RK
574}
575
569543b3
RK
576#detail-contrib-description {
577 font-style: italic;
578 margin-bottom: 1em;
579}
580
581#detail-contrib-suggested {
582 color: grey;
583}
584
585#detail-contrib-button {
586 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
587}
588
589#detail-contrib-button .button-icon {
590 -moz-margin-end: 3px;
49037d9b
RK
591}
592
569543b3
RK
593#detail-grid {
594 margin-bottom: 2em;
595}
596
597.detail-row,
598.detail-row-complex {
599 border-bottom: 1px solid #808080;
49037d9b 600 -moz-box-align: center;
569543b3
RK
601}
602
603.detail-row-value {
604 -moz-margin-start: 0;
49037d9b
RK
605}
606
600bfec4
RK
607
608/*** creator ***/
609
610.creator > label {
611 -moz-margin-start: 0px;
612 -moz-margin-end: 0px;
49037d9b
RK
613}
614
600bfec4
RK
615.creator > .text-link {
616 margin-top: 1px;
617 margin-bottom: 1px;
18f5421a
RK
618}
619
600bfec4
RK
620
621/*** rating ***/
622
623.meta-rating {
624 -moz-margin-start: 0px;
625 -moz-margin-end: 0px;
626 vertical-align: text-top;
49037d9b
RK
627}
628
600bfec4
RK
629.meta-rating[showrating="average"] > .star {
630 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
631 padding: 0px 1px;
49037d9b
RK
632}
633
600bfec4
RK
634.meta-rating[showrating="user"] > .star {
635 list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png");
636 padding: 2px 3px;
49037d9b
RK
637}
638
600bfec4
RK
639.meta-rating > .star[on="true"],
640.meta-rating[showrating="user"] > .star[hover] {
641 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
642 padding: 0px 1px;
49037d9b
RK
643}
644
600bfec4
RK
645
646/*** download progress ***/
647
648.download-progress {
649 background-color: #CCD0DD;
600bfec4
RK
650 border: 1px solid #808080;
651 width: 200px;
652 height: 24px;
653 margin: 0px 8px;
49037d9b
RK
654}
655
600bfec4
RK
656.download-progress .start-cap,
657.download-progress[complete] .end-cap,
658.download-progress .progress .progress-bar {
659 background-color: #336699;
49037d9b
RK
660}
661
600bfec4
RK
662.download-progress .progress {
663 background-color: transparent;
49037d9b
RK
664}
665
600bfec4
RK
666.download-progress .start-cap, .download-progress .end-cap {
667 width: 12px;
49037d9b
RK
668}
669
941d657f
RK
670.download-progress .start-cap:-moz-locale-dir(ltr),
671.download-progress .end-cap:-moz-locale-dir(rtl) {
569543b3 672 border-radius: 10000px 0 0 10000px;
49037d9b
RK
673}
674
941d657f
RK
675.download-progress .end-cap:-moz-locale-dir(ltr),
676.download-progress .start-cap:-moz-locale-dir(rtl) {
569543b3 677 border-radius: 0 10000px 10000px 0;
49037d9b
RK
678}
679
600bfec4
RK
680.download-progress .progress {
681 -moz-appearance: none;
682 padding: 0px;
683 margin: 0px;
684 border: none;
559908da
RK
685}
686
600bfec4
RK
687.download-progress .pause, .download-progress .cancel {
688 -moz-appearance: none;
689 background-color: #CCD0DD;
690 border-width: 1px 0px 0px 1px;
941d657f 691 padding-right: 1px;
600bfec4 692 border-style: solid;
4c18c82c
RK
693 -moz-border-top-colors: #FFFFFF;
694 -moz-border-left-colors: #FFFFFF;
600bfec4
RK
695 min-width: 16px;
696 width: 16px;
697 height: 16px;
698 margin: 3px;
49037d9b
RK
699}
700
d15f39a1
RK
701.download-progress .pause {
702 list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
703}
704
705.download-progress .cancel {
706 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
707}
708
600bfec4
RK
709.download-progress .status-container {
710 -moz-box-align: center;
49037d9b 711}
ecb2fda9 712
600bfec4
RK
713
714/*** install status ***/
715
716.install-status {
717 -moz-box-align: center;
ecb2fda9
RK
718}
719
600bfec4
RK
720
721/*** check for updates ***/
722
723#updates-container {
724 -moz-box-align: center;
ecb2fda9
RK
725}
726
600bfec4
RK
727#updates-installed, #updates-downloaded {
728 color: #00CC00;
ecb2fda9 729 font-weight: bold;
ecb2fda9
RK
730}
731
569543b3
RK
732#update-selected {
733 margin: 12px;
ecb2fda9
RK
734}
735
569543b3 736/*** buttons ***/
ecb2fda9 737
0de07750
RK
738.addon-control[disabled="true"] {
739 display: none;
740}
741
600bfec4
RK
742.button-link {
743 background: transparent;
744 border: none;
745 text-decoration: underline;
7966b7cf 746 color: #CCCCFF;
600bfec4
RK
747 cursor: pointer;
748 min-width: 0;
706c344c 749 margin: 0 6px;
ecb2fda9 750}