make about:support look even nicer
[themes.git] / LCARStrek / mozapps / extensions / extensions.css
CommitLineData
4c18c82c
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: #000000;
40 margin: 20px;
e10e7add
RK
41}
42
706c344c
RK
43#view-port {
44 border: 1px solid #9C9CFF;
569543b3 45 border-radius: 5px;
4c18c82c
RK
46}
47
569543b3
RK
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}
4c18c82c
RK
89
90/*** category selector ***/
91
92#categories {
26a52ec5 93 -moz-appearance: none;
4c18c82c 94 border: none;
706c344c
RK
95 -moz-margin-end: -1px;
96 background-color: transparent;
97 position: relative;
e10e7add
RK
98}
99
4c18c82c 100.category {
706c344c
RK
101 border-width: 1px;
102 -moz-border-end-width: 0;
103 border-style: solid;
104 border-color: transparent;
4c18c82c
RK
105 padding: 10px 4px;
106 -moz-box-align: center;
107 overflow: hidden;
108 min-height: 0px;
e10e7add
RK
109}
110
706c344c 111.category:-moz-locale-dir(ltr) {
569543b3
RK
112 border-top-left-radius: 5px;
113 border-bottom-left-radius: 5px;
706c344c
RK
114}
115
116.category:-moz-locale-dir(rtl) {
569543b3
RK
117 border-top-right-radius: 5px;
118 border-bottom-right-radius: 5px;
706c344c
RK
119}
120
4c18c82c
RK
121.category[disabled] {
122 height: 0px;
123 opacity: 0;
124 -moz-transition-property: height, opacity;
125 -moz-transition-duration: 1s, 0.8s;
e10e7add
RK
126}
127
4c18c82c
RK
128.category:not([disabled]) {
129 height: 52px;
130 -moz-transition-property: height, opacity;
131 -moz-transition-duration: 1s, 0.8s;
e10e7add
RK
132}
133
4c18c82c 134.category[selected] {
706c344c
RK
135 color: FFCF00;
136 border-color: #9C9CFF;
1e140ad9
RK
137}
138
4c18c82c
RK
139.category-name {
140 font-size: 150%;
e10e7add
RK
141}
142
4c18c82c
RK
143.category-badge {
144 background-color: #E7ADE7;
145 padding: 2px 8px;
146 margin: 6px 0px;
569543b3 147 border-radius: 10000px;
4c18c82c
RK
148 color: #000000;
149 font-weight: bold;
150 text-align: center;
e10e7add
RK
151}
152
4c18c82c
RK
153.category-badge[value="0"] {
154 visibility: hidden;
e10e7add
RK
155}
156
4c18c82c
RK
157.category-icon {
158 width: 32px;
159 height: 32px;
160 -moz-margin-start: 6px;
e10e7add
RK
161}
162
4c18c82c
RK
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");
e10e7add
RK
183}
184
4c18c82c
RK
185
186/*** header ***/
187
188#header {
706c344c
RK
189 margin-bottom: 20px;
190 height: 2em;
e10e7add
RK
191}
192
4c18c82c 193#header-name, #header-link {
e10e7add
RK
194 color: #000000;
195}
196
4c18c82c
RK
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
3327253e
RK
214#header-searching {
215 list-style-image: url("chrome://global/skin/icons/loading.gif");
216}
217
4c18c82c 218.view-header {
569543b3 219 border-radius: 8px;
4c18c82c
RK
220 padding: 0px 4em;
221 margin: 3px;
e10e7add
RK
222}
223
4c18c82c
RK
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;
569543b3 237 border-radius: 0;
4c18c82c
RK
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"] {
e10e7add
RK
247 background-color: #008484;
248 color: #FFCF00;
249}
250
4c18c82c
RK
251.sorter[checkState="1"] {
252 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
e10e7add
RK
253}
254
4c18c82c
RK
255.sorter[checkState="2"] {
256 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
e10e7add
RK
257}
258
4c18c82c
RK
259.sorter .button-icon {
260 -moz-margin-start: 4px;
e10e7add
RK
261}
262
4c18c82c
RK
263
264/*** empty list notification ***/
265
266.empty-list-notice {
267 -moz-box-align: center;
e10e7add
RK
268}
269
4c18c82c
RK
270.empty-list-notice > button {
271 margin: 20px;
272}
273
274
275/*** list ***/
276
277.list {
4c18c82c
RK
278 margin: 0px;
279 border: none;
706c344c 280 background-color: transparent;
4c18c82c
RK
281}
282
706c344c
RK
283.addon {
284 border-bottom: 1px solid #9C9CFF;
285 padding: 5px;
e10e7add
RK
286}
287
4c18c82c
RK
288.addon[status="installing"] {
289 -moz-box-align: center;
e10e7add
RK
290}
291
706c344c 292.details {
4c18c82c 293 cursor: pointer;
706c344c
RK
294 margin: 0;
295 -moz-margin-start: 10px;
e10e7add
RK
296}
297
706c344c
RK
298.icon-container {
299 width: 48px;
300 height: 48px;
301 margin: 7px;
e10e7add
RK
302}
303
706c344c 304.icon {
d15f39a1 305 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
706c344c
RK
306 max-width: 48px;
307 max-height: 48px;
e10e7add
RK
308}
309
569543b3 310.addon-view[type="theme"] .icon {
4c18c82c 311 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
e10e7add
RK
312}
313
569543b3 314.addon-view[type="locale"] .icon {
d15f39a1
RK
315 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
316}
317
569543b3 318.addon-view[type="plugin"] .icon {
4c18c82c 319 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
e10e7add
RK
320}
321
569543b3 322.name-container {
4c18c82c
RK
323 font-size: 150%;
324 margin-bottom: 0px;
325}
326
706c344c 327.description-container {
4c18c82c 328 margin-top: 8px;
e10e7add 329 -moz-margin-start: 6px;
e10e7add
RK
330}
331
706c344c
RK
332.description {
333 margin: 0;
334}
335
336.warning, .pending, .error, .info {
337 -moz-margin-start: 48px;
338}
339
569543b3 340.addon-view:not([selected]) .warning {
706c344c
RK
341 color: #FFCF00;
342}
343
569543b3 344.addon-view:not([selected]) .error {
4c18c82c 345 color: #FF0000;
706c344c
RK
346}
347
569543b3 348.addon-view:not([selected]) .pending {
706c344c 349 color: #008484;
e10e7add
RK
350}
351
569543b3 352.addon-view[notification="warning"] {
706c344c
RK
353 background-color : #FFCF00;
354 color: #000000;
355}
356
569543b3 357.addon-view[notification="error"] {
706c344c
RK
358 background-color: #FF0000;
359 color: #000000;
360}
361
569543b3 362.addon-view[notification="info"] {
706c344c
RK
363 background-color: #9C9CFF;
364 color: #000000;
365}
366
569543b3
RK
367.addon-view[pending="enable"],
368.addon-view[pending="upgrade"],
369.addon-view[pending="install"] {
706c344c 370 background-color: #008484;
e10e7add
RK
371}
372
569543b3
RK
373.addon-view[pending="disable"],
374.addon-view[pending="uninstall"] {
706c344c 375 color: #8050B0;
e10e7add
RK
376}
377
4c18c82c
RK
378/*** item - uninstalled ***/
379
380.addon[status="uninstalled"] {
381 border: none;
e10e7add
RK
382}
383
4c18c82c
RK
384.addon[status="uninstalled"] > .container {
385 -moz-box-align: center;
386 padding: 4px 20px;
387 background-color: #8050B0;
569543b3 388 border-radius: 8px;
4c18c82c 389 font-size: 120%;
e10e7add
RK
390}
391
4c18c82c
RK
392.addon[status="uninstalled"][selected] {
393 background-color: transparent;
e10e7add
RK
394}
395
4c18c82c 396
4c18c82c
RK
397/*** search view ***/
398
706c344c
RK
399#search-filter {
400 padding: 5px 20px;
4c18c82c
RK
401 -moz-box-align: center;
402 background-color: #000000;
403 font-size: 120%;
e10e7add
RK
404}
405
706c344c
RK
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;
569543b3 414 border-radius: 10000px;
706c344c
RK
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}
4c18c82c
RK
429
430/*** detail view ***/
431
432#detail-view[active="false"] .fade {
433 opacity: 0.5;
e10e7add
RK
434}
435
569543b3 436#detail-view .loading {
4c18c82c 437 opacity: 0;
e10e7add
RK
438}
439
569543b3 440#detail-view:not([loading]) .loading {
4c18c82c 441 visibility: collapse;
e10e7add
RK
442}
443
569543b3 444#detail-view[loading-extended] .loading {
4c18c82c
RK
445 -moz-box-align: center;
446 -moz-box-pack: center;
447 opacity: 1;
448 -moz-transition-property: opacity;
449 -moz-transition-duration: 1s;
e10e7add
RK
450}
451
569543b3 452#detail-view .loading > image {
4c18c82c 453 list-style-image: url("chrome://global/skin/icons/loading.gif");
e10e7add
RK
454}
455
4c18c82c
RK
456.detail-view-container {
457 overflow: auto;
569543b3
RK
458 padding: 2em;
459 font-size: 110%;
e10e7add
RK
460}
461
569543b3
RK
462#detail-notifications {
463 margin-bottom: 2em;
e10e7add
RK
464}
465
569543b3
RK
466#detail-notifications .warning,
467#detail-notifications .pending,
468#detail-notifications .error,
469#detail-notifications .info {
470 -moz-margin-start: 0;
e10e7add
RK
471}
472
4c18c82c 473#detail-icon {
4c18c82c 474 -moz-margin-end: 10px;
e10e7add
RK
475}
476
569543b3
RK
477#detail-summary {
478 margin-bottom: 2em;
e10e7add
RK
479}
480
569543b3
RK
481#detail-name-container {
482 font-size: 200%;
d15f39a1
RK
483}
484
569543b3
RK
485#detail-screenshot {
486 -moz-margin-end: 2em;
18f5421a
RK
487}
488
569543b3
RK
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;
e10e7add
RK
494}
495
569543b3
RK
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;
4c18c82c
RK
507}
508
569543b3
RK
509#detail-contrib-description {
510 font-style: italic;
511 margin-bottom: 1em;
4c18c82c
RK
512}
513
569543b3
RK
514#detail-contrib-suggested {
515 color: grey;
4c18c82c
RK
516}
517
569543b3
RK
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;
4c18c82c 533 -moz-box-align: center;
569543b3
RK
534}
535
536.detail-row-value {
537 -moz-margin-start: 0;
e10e7add
RK
538}
539
4c18c82c
RK
540
541/*** creator ***/
542
543.creator > label {
544 -moz-margin-start: 0px;
545 -moz-margin-end: 0px;
e10e7add
RK
546}
547
4c18c82c
RK
548.creator > .text-link {
549 margin-top: 1px;
550 margin-bottom: 1px;
e10e7add
RK
551}
552
4c18c82c
RK
553
554/*** rating ***/
555
556.meta-rating {
557 -moz-margin-start: 0px;
558 -moz-margin-end: 0px;
559 vertical-align: text-top;
e10e7add
RK
560}
561
4c18c82c
RK
562.meta-rating[showrating="average"] > .star {
563 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
564 padding: 0px 1px;
e10e7add
RK
565}
566
4c18c82c
RK
567.meta-rating[showrating="user"] > .star {
568 list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png");
569 padding: 2px 3px;
e10e7add
RK
570}
571
4c18c82c
RK
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;
e10e7add
RK
576}
577
4c18c82c
RK
578
579/*** download progress ***/
580
581.download-progress {
582 background-color: #000000;
569543b3 583 border-radius: 10000px;
4c18c82c
RK
584 border: 1px solid #FF9F00;
585 width: 200px;
586 height: 24px;
587 margin: 0px 8px;
e10e7add
RK
588}
589
4c18c82c
RK
590.download-progress .start-cap,
591.download-progress[complete] .end-cap,
592.download-progress .progress .progress-bar {
593 background-color: #008484;
e10e7add
RK
594}
595
4c18c82c
RK
596.download-progress .progress {
597 background-color: transparent;
e10e7add
RK
598}
599
4c18c82c
RK
600.download-progress .start-cap, .download-progress .end-cap {
601 width: 12px;
e10e7add
RK
602}
603
941d657f
RK
604.download-progress .start-cap:-moz-locale-dir(ltr),
605.download-progress .end-cap:-moz-locale-dir(rtl) {
569543b3 606 border-radius: 10000px 0 0 10000px;
e10e7add
RK
607}
608
941d657f
RK
609.download-progress .end-cap:-moz-locale-dir(ltr),
610.download-progress .start-cap:-moz-locale-dir(rtl) {
569543b3 611 border-radius: 0 10000px 10000px 0;
e10e7add
RK
612}
613
4c18c82c
RK
614.download-progress .progress {
615 -moz-appearance: none;
616 padding: 0px;
617 margin: 0px;
618 border: none;
e10e7add
RK
619}
620
4c18c82c
RK
621.download-progress .pause, .download-progress .cancel {
622 -moz-appearance: none;
623 background-color: #8050B0;
624 border-width: 1px 0px 0px 1px;
941d657f 625 padding-right: 1px;
4c18c82c 626 border-style: solid;
569543b3 627 border-radius: 10000px;
4c18c82c
RK
628 min-width: 16px;
629 width: 16px;
630 height: 16px;
631 margin: 3px;
e10e7add
RK
632}
633
d15f39a1
RK
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
4c18c82c
RK
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;
e10e7add
RK
651}
652
4c18c82c
RK
653
654/*** check for updates ***/
655
656#updates-container {
657 -moz-box-align: center;
e10e7add
RK
658}
659
4c18c82c
RK
660#updates-installed, #updates-downloaded {
661 color: #008484;
662 font-weight: bold;
e10e7add
RK
663}
664
569543b3
RK
665#update-selected {
666 margin: 12px;
e10e7add
RK
667}
668
569543b3 669/*** buttons ***/
4c18c82c
RK
670
671.button-link {
672 background: transparent;
673 border: none;
674 text-decoration: underline;
675 color: blue;
676 cursor: pointer;
677 min-width: 0;
706c344c 678 margin: 0 6px;
e10e7add 679}