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