update mozapps in both themes to withstand a manual diff check
[themes.git] / EarlyBlue / mozapps / extensions / extensions.css
... / ...
CommitLineData
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
38#addons-page {
39 background-color: #CCD0DD;
40 margin: 20px;
41}
42
43#view-port {
44 background-color: #FFFFFF;
45 border: 1px solid #666699;
46}
47
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
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}
115
116/*** category selector ***/
117
118#categories {
119 -moz-appearance: none;
120 border: none;
121 -moz-margin-end: -1px;
122 background-color: transparent;
123 position: relative;
124}
125
126.category {
127 border-width: 1px;
128 -moz-border-end-width: 0;
129 border-style: solid;
130 border-color: transparent;
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] {
151 background-color: #FFFFFF;
152 color: #000000;
153 border-color: #666699;
154}
155
156.category-name {
157 font-size: 150%;
158}
159
160.category-badge {
161 background-color: #666699;
162 padding: 2px 8px;
163 margin: 6px 0px;
164 border: 1px outset #666699;
165 color: #FFFFFF;
166 font-weight: bold;
167 text-align: center;
168}
169
170.category-badge[value="0"] {
171 visibility: hidden;
172}
173
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}
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}
207
208
209/*** header ***/
210
211#header {
212 margin-bottom: 20px;
213 height: 2em;
214}
215
216#header-name, #header-link {
217 color: #FFFFFF;
218}
219
220#header-name {
221 font-size: 180%;
222}
223
224#header-link {
225 -moz-appearance: none;
226 border: none;
227 background: transparent;
228 font-size: 120%;
229 cursor: pointer;
230 list-style-image: url("chrome://mozapps/skin/extensions/go-back.png");
231}
232
233#header-link .button-icon {
234 -moz-margin-end: 6px;
235}
236
237#header-searching {
238 list-style-image: url("chrome://global/skin/icons/loading.gif");
239}
240
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
250.view-header {
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;
261}
262
263.sorter {
264 -moz-appearance: none;
265 border: none;
266 background-color: transparent;
267 padding: 0px 6px;
268 margin: 0px 6px;
269 min-width: 12px !important;
270 -moz-box-direction: reverse;
271}
272
273.sorter[checkState="1"],
274.sorter[checkState="2"] {
275 background-color: #666699;
276}
277
278.sorter[checkState="1"] {
279 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
280}
281
282.sorter[checkState="2"] {
283 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
284}
285
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;
295}
296
297.empty-list-notice > button {
298 margin: 20px;
299}
300
301
302/*** list ***/
303
304.list {
305 margin: 0px;
306 border: none;
307 background-color: transparent;
308}
309
310.addon {
311 border-bottom: 1px solid #9999CC;
312 padding: 5px;
313}
314
315.addon[status="installing"] {
316 -moz-box-align: center;
317}
318
319.details {
320 cursor: pointer;
321 margin: 0;
322 -moz-margin-start: 10px;
323}
324
325.icon-container {
326 width: 48px;
327 height: 48px;
328 margin: 7px;
329}
330
331.icon {
332 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
333 max-width: 48px;
334 max-height: 48px;
335}
336
337.addon-view[type="theme"] .icon {
338 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
339}
340
341.addon-view[type="locale"] .icon {
342 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
343}
344
345.addon-view[type="plugin"] .icon {
346 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
347}
348
349.name-container {
350 font-size: 150%;
351 margin-bottom: 0px;
352}
353
354.description-container {
355 margin-top: 8px;
356 -moz-margin-start: 6px;
357}
358
359.description {
360 margin: 0;
361}
362
363.warning, .pending, .error, .info {
364 -moz-margin-start: 48px;
365}
366
367.addon-view:not([selected]) .warning {
368 color: #808000;
369}
370
371.addon-view:not([selected]) .error {
372 color: #FF0000;
373}
374
375.addon-view:not([selected]) .pending {
376 color: #33FF33;
377}
378
379.addon-view[notification="warning"] {
380 background-color : #FFFFCC;
381}
382
383.addon-view[notification="error"] {
384 background-color: #FFD0DD;
385}
386
387.addon-view[notification="info"] {
388 background-color: #9999CC;
389}
390
391.addon-view[pending="enable"],
392.addon-view[pending="upgrade"],
393.addon-view[pending="install"] {
394 background-color: #CCFFDD;
395}
396
397.addon-view[pending="disable"],
398.addon-view[pending="uninstall"] {
399 background-color: #808080;
400}
401
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
439/*** item - uninstalled ***/
440
441.addon[status="uninstalled"] {
442 border: none;
443}
444
445.addon[status="uninstalled"] > .container {
446 -moz-box-align: center;
447 padding: 4px 20px;
448 background-color: #808080;
449 border-radius: 8px;
450 font-size: 120%;
451}
452
453.addon[status="uninstalled"][selected] {
454 background-color: transparent;
455}
456
457
458/*** search view ***/
459
460#search-filter {
461 padding: 5px 20px;
462 -moz-box-align: center;
463 background-color: #FFFFFF;
464 font-size: 120%;
465}
466
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;
476 border-radius: 10000px;
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}
491
492#search-allresults-link {
493 margin-top: 1em;
494 margin-bottom: 2em;
495}
496
497/*** detail view ***/
498
499#detail-view[active="false"] .fade {
500 opacity: 0.5;
501}
502
503#detail-view .loading {
504 opacity: 0;
505}
506
507#detail-view:not([loading]) .loading {
508 visibility: collapse;
509}
510
511#detail-view[loading-extended] .loading {
512 -moz-box-align: center;
513 -moz-box-pack: center;
514 opacity: 1;
515 -moz-transition-property: opacity;
516 -moz-transition-duration: 1s;
517}
518
519#detail-view .loading > image {
520 list-style-image: url("chrome://global/skin/icons/loading.gif");
521}
522
523.detail-view-container {
524 overflow: auto;
525 padding: 2em;
526 font-size: 110%;
527}
528
529#detail-notifications {
530 margin-bottom: 2em;
531}
532
533#detail-notifications .warning,
534#detail-notifications .pending,
535#detail-notifications .error,
536#detail-notifications .info {
537 -moz-margin-start: 0;
538}
539
540#detail-icon {
541 -moz-margin-end: 10px;
542}
543
544#detail-summary {
545 margin-bottom: 2em;
546}
547
548#detail-name-container {
549 font-size: 200%;
550}
551
552#detail-screenshot {
553 -moz-margin-end: 2em;
554}
555
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;
561}
562
563#detail-desc {
564 -moz-margin-start: 6px;
565 white-space: pre-wrap;
566}
567
568#detail-contributions {
569 border-radius: 5px;
570 border: 1px solid #666699;
571 margin-bottom: 2em;
572 padding: 1em;
573 background: #FFFFCC;
574}
575
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;
591}
592
593#detail-grid {
594 margin-bottom: 2em;
595}
596
597.detail-row,
598.detail-row-complex {
599 border-bottom: 1px solid #808080;
600 -moz-box-align: center;
601}
602
603.detail-row-value {
604 -moz-margin-start: 0;
605}
606
607
608/*** creator ***/
609
610.creator > label {
611 -moz-margin-start: 0px;
612 -moz-margin-end: 0px;
613}
614
615.creator > .text-link {
616 margin-top: 1px;
617 margin-bottom: 1px;
618}
619
620
621/*** rating ***/
622
623.meta-rating {
624 -moz-margin-start: 0px;
625 -moz-margin-end: 0px;
626 vertical-align: text-top;
627}
628
629.meta-rating[showrating="average"] > .star {
630 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
631 padding: 0px 1px;
632}
633
634.meta-rating[showrating="user"] > .star {
635 list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png");
636 padding: 2px 3px;
637}
638
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;
643}
644
645
646/*** download progress ***/
647
648.download-progress {
649 background-color: #CCD0DD;
650 border: 1px solid #808080;
651 width: 200px;
652 height: 24px;
653 margin: 0px 8px;
654}
655
656.download-progress .start-cap,
657.download-progress[complete] .end-cap,
658.download-progress .progress .progress-bar {
659 background-color: #336699;
660}
661
662.download-progress .progress {
663 background-color: transparent;
664}
665
666.download-progress .start-cap, .download-progress .end-cap {
667 width: 12px;
668}
669
670.download-progress .start-cap:-moz-locale-dir(ltr),
671.download-progress .end-cap:-moz-locale-dir(rtl) {
672 border-radius: 10000px 0 0 10000px;
673}
674
675.download-progress .end-cap:-moz-locale-dir(ltr),
676.download-progress .start-cap:-moz-locale-dir(rtl) {
677 border-radius: 0 10000px 10000px 0;
678}
679
680.download-progress .progress {
681 -moz-appearance: none;
682 padding: 0px;
683 margin: 0px;
684 border: none;
685}
686
687.download-progress .pause, .download-progress .cancel {
688 -moz-appearance: none;
689 background-color: #CCD0DD;
690 border-width: 1px 0px 0px 1px;
691 padding-right: 1px;
692 border-style: solid;
693 -moz-border-top-colors: #FFFFFF;
694 -moz-border-left-colors: #FFFFFF;
695 min-width: 16px;
696 width: 16px;
697 height: 16px;
698 margin: 3px;
699}
700
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
709.download-progress .status-container {
710 -moz-box-align: center;
711}
712
713
714/*** install status ***/
715
716.install-status {
717 -moz-box-align: center;
718}
719
720
721/*** check for updates ***/
722
723#updates-container {
724 -moz-box-align: center;
725}
726
727#updates-installed, #updates-downloaded {
728 color: #00CC00;
729 font-weight: bold;
730}
731
732#update-selected {
733 margin: 12px;
734}
735
736/*** buttons ***/
737
738.addon-control[disabled="true"] {
739 display: none;
740}
741
742.button-link {
743 background: transparent;
744 border: none;
745 text-decoration: underline;
746 color: #CCCCFF;
747 cursor: pointer;
748 min-width: 0;
749 margin: 0 6px;
750}