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