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