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