update both themes for changes in toolkit winstripe for Mozilla 9 platform
[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
f620f94d 38@import url("chrome://global/skin/inContentUI.css");
c1f7cc84 39
f620f94d 40@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
4c18c82c 41
0de07750
RK
42.nav-button {
43 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
72a6fd39
RK
44}
45
46#forward-btn {
47 -moz-border-start: none;
0de07750
RK
48}
49
50#back-btn:-moz-locale-dir(ltr),
51#forward-btn:-moz-locale-dir(rtl) {
52 -moz-image-region: rect(42px 25px 63px 0px);
53}
54
55#back-btn[disabled="true"]:-moz-locale-dir(ltr),
56#forward-btn[disabled="true"]:-moz-locale-dir(rtl) {
57 -moz-image-region: rect(42px 50px 63px 25px);
58}
59
60#back-btn:-moz-locale-dir(rtl),
61#forward-btn:-moz-locale-dir(ltr) {
62 -moz-image-region: rect(63px 25px 84px 0px);
63}
64
65#back-btn[disabled="true"]:-moz-locale-dir(rtl),
66#forward-btn[disabled="true"]:-moz-locale-dir(ltr) {
67 -moz-image-region: rect(63px 50px 84px 25px);
68}
69
38b75e2e 70
569543b3 71/*** global warnings ***/
a67d7bb0 72
72a6fd39
RK
73.global-warning-container {
74 overflow-x: hidden;
75}
76
569543b3
RK
77.global-warning {
78 -moz-box-align: center;
79 padding: 0 8px;
80 color: #000000;
81 font-weight: bold;
82}
83
84#addons-page[warning] .global-warning-container {
85 background-color: #FFCF00;
86}
87
88#detail-view .global-warning {
89 padding: 4px 12px;
f993773d 90 border-bottom: 3px solid #000000;
569543b3
RK
91}
92
72a6fd39
RK
93@media all and (max-width: 600px) {
94 .global-warning-text {
95 display: none;
96 }
97
98 .global-warning .warning-icon {
99 /* background-color: #FFF;
100 box-shadow: 0px 0px 2px 5px #FFF;
101 border-radius: 10px; */
102 }
103}
104
f993773d
RK
105/*** global informations ***/
106#addons-page .global-info-container {
107 background-color: #9C9CFF;
108 border-top-right-radius: 5px;
109 border-top-left-radius: 5px;
110}
111
e1313d59
RK
112/* Plugins aren't yet disabled by safemode (bug 342333),
113 so don't show that warning when viewing plugins. */
114#addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container,
115#addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning-container {
116 background-color: inherit;
117 background-image: none;
118}
119
120
569543b3
RK
121/*** notification icons ***/
122
123.warning-icon {
124 list-style-image: url("chrome://global/skin/icons/warning-16.png");
125 width: 16px;
126 height: 16px;
ae19a7b3 127 margin: 1px 0;
569543b3
RK
128}
129
130.error-icon {
131 list-style-image: url("chrome://global/skin/icons/error-16.png");
132 width: 16px;
133 height: 16px;
ae19a7b3 134 margin: 1px 0;
569543b3
RK
135}
136
137.pending-icon,
138.info-icon {
139 list-style-image: url("chrome://global/skin/icons/information-16.png");
140 width: 16px;
141 height: 16px;
ae19a7b3 142 margin: 1px 0;
569543b3 143}
4c18c82c 144
72a6fd39
RK
145.addon-view[pending="disable"] .pending-icon,
146.addon-view[pending="uninstall"] .pending-icon {
147 list-style-image: url("chrome://global/skin/icons/warning-16.png");
148 width: 16px;
149 height: 15px;
150 margin: 3px 0;
151}
152
153
154/*** view alert boxes ***/
155
156.alert-container {
157 -moz-box-align: center;
158}
159
160.alert-spacer-before {
161 -moz-box-flex: 1;
162}
163
164.alert-spacer-after {
165 -moz-box-flex: 3;
166}
167
168.alert {
169 -moz-box-align: center;
170 padding: 10px;
171 color: #FF9F00;
172 border: 1px solid #9C9CFF;
173 border-radius: 8px;
174 background-color: #000000;
38b75e2e 175 background-clip: padding-box;
72a6fd39
RK
176}
177
178.alert .alert-title {
179 font-weight: bold;
180 font-size: 200%;
181 margin-bottom: 15px;
182}
183
154ee8b3 184.alert button {
72a6fd39
RK
185 margin: 1em 2em;
186}
187
188.loading {
189 list-style-image: url("chrome://global/skin/icons/loading.gif");
190 padding-left: 20px;
191 padding-right: 20px;
192}
193
194
4c18c82c
RK
195/*** category selector ***/
196
197#categories {
26a52ec5 198 -moz-appearance: none;
4c18c82c 199 border: none;
706c344c
RK
200 -moz-margin-end: -1px;
201 background-color: transparent;
202 position: relative;
72a6fd39 203 margin-top: 31px;
e10e7add
RK
204}
205
4c18c82c 206.category {
72a6fd39 207 background-color: transparent;
a67d7bb0 208 color: #FF9F00;
72a6fd39
RK
209 min-height: 0;
210 padding: 10px 4px;
706c344c 211 border-width: 1px;
706c344c
RK
212 border-style: solid;
213 border-color: transparent;
4c18c82c
RK
214 -moz-box-align: center;
215 overflow: hidden;
e10e7add
RK
216}
217
706c344c 218.category:-moz-locale-dir(ltr) {
569543b3
RK
219 border-top-left-radius: 5px;
220 border-bottom-left-radius: 5px;
706c344c
RK
221}
222
223.category:-moz-locale-dir(rtl) {
569543b3
RK
224 border-top-right-radius: 5px;
225 border-bottom-right-radius: 5px;
706c344c
RK
226}
227
4c18c82c 228.category[disabled] {
a0885fa2
RK
229 border-top: 0;
230 border-bottom: 0;
72a6fd39 231 height: 0;
4c18c82c
RK
232 opacity: 0;
233 -moz-transition-property: height, opacity;
234 -moz-transition-duration: 1s, 0.8s;
e10e7add
RK
235}
236
4c18c82c
RK
237.category:not([disabled]) {
238 height: 52px;
239 -moz-transition-property: height, opacity;
240 -moz-transition-duration: 1s, 0.8s;
e10e7add
RK
241}
242
4c18c82c 243.category[selected] {
a67d7bb0
RK
244 background-color: #008484;
245 color: #FFCF00;
706c344c 246 border-color: #9C9CFF;
1e140ad9
RK
247}
248
4c18c82c
RK
249.category-name {
250 font-size: 150%;
e10e7add
RK
251}
252
72a6fd39
RK
253/* Maximize the size of the viewport when the window is small */
254@media all and (max-width: 800px) {
255 .category-name {
256 display: none;
257 }
258}
259
4c18c82c
RK
260.category-badge {
261 background-color: #E7ADE7;
262 padding: 2px 8px;
72a6fd39 263 margin: 6px 0;
569543b3 264 border-radius: 10000px;
4c18c82c
RK
265 color: #000000;
266 font-weight: bold;
267 text-align: center;
e10e7add
RK
268}
269
4c18c82c
RK
270.category-badge[value="0"] {
271 visibility: hidden;
e10e7add
RK
272}
273
4c18c82c
RK
274.category-icon {
275 width: 32px;
276 height: 32px;
277 -moz-margin-start: 6px;
e10e7add
RK
278}
279
4c18c82c
RK
280#category-search > .category-icon {
281 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
282}
283#category-discover > .category-icon {
284 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
285}
f993773d 286#category-locale > .category-icon {
4c18c82c
RK
287 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
288}
f993773d 289#category-searchengine > .category-icon {
4c18c82c
RK
290 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
291}
f993773d 292#category-extension > .category-icon {
4c18c82c
RK
293 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
294}
f993773d 295#category-theme > .category-icon {
4c18c82c
RK
296 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
297}
f993773d 298#category-plugin > .category-icon {
4c18c82c 299 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
e10e7add 300}
0de07750
RK
301#category-availableUpdates > .category-icon {
302 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
303}
304#category-recentUpdates > .category-icon {
305 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
306}
e10e7add 307
4c18c82c
RK
308
309/*** header ***/
310
311#header {
72a6fd39 312 margin-bottom: 18px;
706c344c 313 height: 2em;
e10e7add
RK
314}
315
72a6fd39
RK
316#header-search {
317 color: #E7ADE7;
318 border: 1px solid #9C9CFF;
319 border-radius: 4px;
320 padding: 3px;
321 background-color: #000000;
322 margin: 0;
4c18c82c
RK
323}
324
72a6fd39
RK
325#header-search .textbox-input:-moz-placeholder {
326 color: #8050B0;
4c18c82c
RK
327}
328
c1f7cc84 329#header-search[focused] {
72a6fd39 330 border-color: #008484;
3327253e
RK
331}
332
0de07750 333#header-utils-btn {
0de07750 334 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
c1f7cc84 335 -moz-margin-end: 16px;
0de07750
RK
336}
337
ae19a7b3
RK
338#header-utils-btn:hover,
339#header-utils-btn:hover:active,
340#header-utils-btn[open="true"] {
341 list-style-image: url("chrome://mozapps/skin/extensions/utilities-hover.png");
342}
343
ae19a7b3
RK
344#header-utils-btn > .button-box > .button-menu-dropmarker {
345 border: none;
346 background: transparent;
347}
348
349#header-utils-btn:hover > .button-box > .button-menu-dropmarker {
350 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
351}
352
4c18c82c 353.view-header {
a67d7bb0
RK
354 background-color: #9C9CFF;
355 color: #000000;
569543b3 356 border-radius: 8px;
ae19a7b3 357 padding: 0px 1em;
4c18c82c 358 margin: 3px;
72a6fd39 359 min-height: 31px;
e10e7add
RK
360}
361
4c18c82c
RK
362
363/*** sorters ***/
364
365.sort-controls {
366 -moz-appearance: none;
ae19a7b3 367 border-right: 3px solid #000000;
4c18c82c
RK
368}
369
370.sorter {
371 -moz-appearance: none;
372 border: none;
373 border-left: 3px solid #000000;
4c18c82c 374 background-color: transparent;
ae19a7b3 375 color: #8050B0;
569543b3 376 border-radius: 0;
72a6fd39 377 padding: 0 6px;
ae19a7b3
RK
378 -moz-padding-start: 6px;
379 -moz-padding-end: 3px;
72a6fd39 380 margin: 0;
4c18c82c
RK
381 min-width: 12px !important;
382 -moz-box-direction: reverse;
383}
ae19a7b3
RK
384.sorter:hover {
385 background-color: #FFCF00;
386 color: #000000;
387}
4c18c82c 388
72a6fd39
RK
389.sorter .button-box {
390 padding-top: 0;
391 padding-bottom: 0;
392}
393
4c18c82c
RK
394.sorter[checkState="1"],
395.sorter[checkState="2"] {
e10e7add
RK
396 background-color: #008484;
397 color: #FFCF00;
398}
399
4c18c82c
RK
400.sorter[checkState="1"] {
401 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
e10e7add
RK
402}
403
4c18c82c
RK
404.sorter[checkState="2"] {
405 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
e10e7add
RK
406}
407
4c18c82c
RK
408.sorter .button-icon {
409 -moz-margin-start: 4px;
e10e7add
RK
410}
411
4c18c82c 412
1169dad4
RK
413/*** discover view ***/
414
415.discover-spacer-before,
416.discover-spacer-after {
417 -moz-box-flex: 1;
418}
419
420#discover-error .alert {
421 max-width: 45em;
422 -moz-box-flex: 1;
423}
424
425.discover-logo {
426 list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png");
427 -moz-margin-end: 15px;
428}
429
430.discover-title {
431 font-weight: bold;
432 font-size: 24px;
433 /* font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif; */
434 margin: 0 0 15px 0;
435}
436
437.discover-description {
438 text-align: justify;
439 margin: 0 0 15px 0;
440}
441
442.discover-footer {
443 text-align: justify;
444}
445
446
4c18c82c
RK
447/*** list ***/
448
449.list {
72a6fd39 450 margin: 0;
4c18c82c 451 border: none;
706c344c 452 background-color: transparent;
4c18c82c
RK
453}
454
706c344c
RK
455.addon {
456 border-bottom: 1px solid #9C9CFF;
457 padding: 5px;
72a6fd39 458 background-origin: border-box;
e10e7add
RK
459}
460
706c344c 461.details {
4c18c82c 462 cursor: pointer;
706c344c
RK
463 margin: 0;
464 -moz-margin-start: 10px;
e10e7add
RK
465}
466
706c344c
RK
467.icon-container {
468 width: 48px;
469 height: 48px;
a0885fa2 470 margin: 3px 7px;
38b75e2e
RK
471 -moz-box-align: center;
472 -moz-box-pack: center;
e10e7add
RK
473}
474
706c344c 475.icon {
d15f39a1 476 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
706c344c
RK
477 max-width: 48px;
478 max-height: 48px;
e10e7add
RK
479}
480
72a6fd39
RK
481.addon[active="false"] .icon {
482/* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */
483}
484
569543b3 485.addon-view[type="theme"] .icon {
4c18c82c 486 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
e10e7add
RK
487}
488
569543b3 489.addon-view[type="locale"] .icon {
d15f39a1
RK
490 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
491}
492
569543b3 493.addon-view[type="plugin"] .icon {
4c18c82c 494 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
e10e7add
RK
495}
496
8a933f1e 497.name-container {
4c18c82c 498 font-size: 150%;
72a6fd39 499 font-weight: bold;
a67d7bb0 500 color: #9C9CFF;
72a6fd39 501 margin-bottom: 0;
38b75e2e 502 -moz-box-align: end;
c1f7cc84 503 -moz-box-flex: 1;
72a6fd39
RK
504}
505
506.creator {
507 font-weight: bold;
508}
509
510.creator .text-link {
511 /* color: #0066CC; */
4c18c82c
RK
512}
513
706c344c 514.description-container {
e10e7add 515 -moz-margin-start: 6px;
38b75e2e 516 -moz-box-align: center;
e10e7add
RK
517}
518
706c344c
RK
519.description {
520 margin: 0;
521}
522
72a6fd39
RK
523.warning,
524.pending,
525.error,
526.info {
706c344c 527 -moz-margin-start: 48px;
72a6fd39 528 font-weight: bold;
38b75e2e
RK
529 -moz-box-align: center;
530}
531
532.content-container,
533.basicinfo-container {
534 -moz-box-align: start;
535}
536
537.addon[status="installing"] > .content-container {
538 -moz-box-align: stretch;
539}
540
c1f7cc84 541.advancedinfo-container,
38b75e2e
RK
542.update-info-container {
543 -moz-box-align: center;
544}
545
38b75e2e
RK
546.update-available {
547 -moz-box-align: end;
548}
549
550.install-status-container {
551 -moz-box-pack: end;
552 -moz-box-align: end;
553}
554
555.name-outer-container {
556 -moz-box-pack: center;
557}
558
559.relnotes-toggle-container,
560.icon-outer-container {
561 -moz-box-pack: start;
562}
563
564.status-container,
565.control-container {
566 -moz-box-pack: end;
706c344c
RK
567}
568
72a6fd39 569.addon-view .warning {
706c344c
RK
570 color: #FFCF00;
571}
572
72a6fd39 573.addon-view .error {
4c18c82c 574 color: #FF0000;
706c344c
RK
575}
576
72a6fd39 577.addon-view .pending {
706c344c 578 color: #008484;
e10e7add
RK
579}
580
72a6fd39
RK
581.addon-view[pending="disable"] .pending,
582.addon-view[pending="uninstall"] .pending {
583 color: #FF9C00;
e10e7add
RK
584}
585
0de07750
RK
586.addon .relnotes-container {
587 -moz-box-align: start;
72a6fd39
RK
588 -moz-margin-start: 6px;
589 height: 0;
0de07750
RK
590 overflow: hidden;
591 opacity: 0;
592 -moz-transition-property: height, opacity;
593 -moz-transition-duration: 0.5s, 0.5s;
594}
595
596.addon[show-relnotes] .relnotes-container {
597 opacity: 1;
598 -moz-transition-property: height, opacity;
599 -moz-transition-duration: 0.5s, 0.5s;
600}
601
602.addon .relnotes-header {
603 font-weight: bold;
72a6fd39 604 margin: 10px 0;
0de07750
RK
605}
606
607.addon .relnotes-toggle {
608 border: none;
609 background: transparent;
610 font-weight: bold;
611 -moz-box-direction: reverse;
612 cursor: pointer;
613 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
614}
615
616.addon .relnotes-toggle > .button-box > .button-icon {
617 -moz-padding-start: 4px;
618}
619
620.addon[show-relnotes] .relnotes-toggle {
621 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
622}
623
72a6fd39
RK
624.addon[active="false"] {
625 /* background-color: rgba(135, 135, 135, 0.1); */
626}
627
628.addon-view[active="false"],
629.addon-view[active="false"] .name-container {
630 color: #E7ADE7;
631}
632
633.addon-view[notification="warning"] {
634 background-color : #FFCF00;
635 color: #000000;
636}
637
638.addon-view[notification="warning"] .warning {
639 color: #000000;
640}
641
a67d7bb0
RK
642.addon-view[notification="warning"] .name-container {
643 color: #000000;
644}
645
72a6fd39
RK
646.addon-view[notification="error"] {
647 background-color: #FF0000;
648 color: #000000;
649}
650
651.addon-view[notification="error"] .error {
652 color: #000000;
653}
654
655.addon-view[notification="info"] {
656 background-color: #9C9CFF;
657 color: #000000;
658}
659
660.addon-view[pending="enable"],
661.addon-view[pending="upgrade"],
662.addon-view[pending="install"] {
663 background-color: #008484;
664}
665
34aa92fd
RK
666.addon-view[pending="enable"] .pending,
667.addon-view[pending="upgrade"] .pending,
668.addon-view[pending="install"] .pending {
669 color: #000000;
670}
671
72a6fd39
RK
672.addon-view[pending="disable"],
673.addon-view[pending="uninstall"] {
674 color: #8050B0;
675}
676
0de07750 677
4c18c82c
RK
678/*** item - uninstalled ***/
679
680.addon[status="uninstalled"] {
681 border: none;
e10e7add
RK
682}
683
4c18c82c
RK
684.addon[status="uninstalled"] > .container {
685 -moz-box-align: center;
686 padding: 4px 20px;
687 background-color: #8050B0;
569543b3 688 border-radius: 8px;
4c18c82c 689 font-size: 120%;
e10e7add
RK
690}
691
4c18c82c
RK
692.addon[status="uninstalled"][selected] {
693 background-color: transparent;
e10e7add
RK
694}
695
72a6fd39
RK
696.addon[selected] {
697 background-color: #008484;
a67d7bb0 698 color: #FF9F00;
72a6fd39
RK
699}
700
701.addon[selected] .name-container {
a67d7bb0
RK
702 color: #FFCF00;
703}
704
705.addon[active="false"][selected] {
706 color: #E7ADE7;
72a6fd39
RK
707}
708
709.addon[active="false"][selected] .name-container {
a67d7bb0 710 color: #E7ADE7;
72a6fd39
RK
711}
712
4c18c82c 713
4c18c82c
RK
714/*** search view ***/
715
706c344c
RK
716#search-filter {
717 padding: 5px 20px;
4c18c82c
RK
718 -moz-box-align: center;
719 background-color: #000000;
720 font-size: 120%;
72a6fd39
RK
721 border-bottom: 1px solid #9C9CFF;
722 overflow-x: hidden;
e10e7add
RK
723}
724
706c344c
RK
725#search-filter-label {
726 font-weight: bold;
727 color: #FFCF00;
728}
729
730.search-filter-radio {
72a6fd39
RK
731 padding: 0 6px;
732 margin: 0 3px;
569543b3 733 border-radius: 10000px;
706c344c
RK
734}
735
736.search-filter-radio[selected] {
737 background-color: #008484;
738 color: #000000;
739}
740
741.search-filter-radio .radio-check-box1 {
742 display: none;
743}
744
745.search-filter-radio .radio-icon {
746 display: none;
747}
4c18c82c 748
0de07750
RK
749#search-allresults-link {
750 margin-top: 1em;
751 margin-bottom: 2em;
752}
753
4c18c82c
RK
754/*** detail view ***/
755
569543b3 756#detail-view .loading {
4c18c82c 757 opacity: 0;
e10e7add
RK
758}
759
569543b3 760#detail-view[loading-extended] .loading {
4c18c82c
RK
761 opacity: 1;
762 -moz-transition-property: opacity;
763 -moz-transition-duration: 1s;
e10e7add
RK
764}
765
4c18c82c 766.detail-view-container {
72a6fd39 767 padding: 0 2em 2em 2em;
569543b3 768 font-size: 110%;
e10e7add
RK
769}
770
569543b3 771#detail-notifications {
72a6fd39 772 margin-top: 1em;
569543b3 773 margin-bottom: 2em;
e10e7add
RK
774}
775
569543b3
RK
776#detail-notifications .warning,
777#detail-notifications .pending,
72a6fd39 778#detail-notifications .error {
569543b3 779 -moz-margin-start: 0;
e10e7add
RK
780}
781
4c18c82c 782#detail-icon {
4c18c82c 783 -moz-margin-end: 10px;
72a6fd39
RK
784 margin-top: 6px;
785 max-width: 64px;
786 max-height: 64px;
e10e7add
RK
787}
788
569543b3
RK
789#detail-summary {
790 margin-bottom: 2em;
e10e7add
RK
791}
792
569543b3
RK
793#detail-name-container {
794 font-size: 200%;
d15f39a1
RK
795}
796
569543b3
RK
797#detail-screenshot {
798 -moz-margin-end: 2em;
6831f2a0
RK
799 max-width: 300px;
800 max-height: 300px;
18f5421a
RK
801}
802
904e5040
RK
803#detail-screenshot[loading] {
804 background-image: url("chrome://communicator/skin/brand/throbber-anim.gif");
805 background-position: 50% 50%;
806 background-repeat: no-repeat;
807}
808
809#detail-screenshot[loading="error"] {
810 background-image: url("chrome://global/skin/icons/alert-error.gif");
811}
812
569543b3
RK
813#detail-desc-container {
814 margin-bottom: 2em;
e10e7add
RK
815}
816
8a933f1e 817#detail-desc, #detail-fulldesc {
569543b3
RK
818 -moz-margin-start: 6px;
819 white-space: pre-wrap;
9162a092
RK
820 /* This is necessary to fix layout issues with multi-line descriptions, see
821 bug 592712*/
822 outline: solid transparent;
72a6fd39 823 min-width: 8em;
569543b3
RK
824}
825
8a933f1e
RK
826#detail-fulldesc {
827 margin-top: 1em;
828}
829
569543b3
RK
830#detail-contributions {
831 border-radius: 5px;
832 border: 1px solid #9C9CFF;
833 margin-bottom: 2em;
834 padding: 1em;
72a6fd39 835 background-color: #FFCF00;
4c18c82c
RK
836}
837
569543b3
RK
838#detail-contrib-description {
839 font-style: italic;
840 margin-bottom: 1em;
72a6fd39 841 color: #000000;
4c18c82c
RK
842}
843
569543b3 844#detail-contrib-suggested {
72a6fd39
RK
845 color: #8050B0;
846 font-weight: bold;
4c18c82c
RK
847}
848
72a6fd39 849#detail-contrib-btn {
569543b3
RK
850 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
851}
852
72a6fd39 853#detail-contrib-btn .button-icon {
569543b3
RK
854 -moz-margin-end: 3px;
855}
856
857#detail-grid {
858 margin-bottom: 2em;
859}
860
f620f94d
RK
861#detail-grid > columns > column:first-child {
862 max-width: 25em;
863}
864
9162a092 865.detail-row[first-row="true"],
f620f94d
RK
866.detail-row-complex[first-row="true"],
867setting[first-row="true"] {
9162a092
RK
868 border-top: none;
869}
870
569543b3 871.detail-row,
f620f94d
RK
872.detail-row-complex,
873setting {
9162a092 874 border-top: 1px solid #9C9CFF;
4c18c82c 875 -moz-box-align: center;
f620f94d 876 min-height: 30px;
e10e7add
RK
877}
878
72a6fd39
RK
879#detail-controls {
880 margin-bottom: 1em;
881}
882
883#detail-view[active="false"]:not([pending]):not([notification]) {
884 /* background-color: foo; */
885}
4c18c82c 886
f620f94d
RK
887setting[first-row="true"] {
888 margin-top: 2em;
889}
890
891.preferences-description {
892 font-size: 90.9%;
893 color: #808080;
894 margin-top: -2px;
895 -moz-margin-start: 2em;
896}
897
898setting[type="string"] > .setting-input > textbox {
899 -moz-box-flex: 1;
900}
901
154ee8b3
RK
902setting[type="radio"] > radiogroup {
903 -moz-box-orient: horizontal;
904}
905
f620f94d
RK
906menulist { /* Fixes some styling inconsistencies */
907 margin: 1px 5px 2px 5px;
908}
909
4c18c82c
RK
910/*** creator ***/
911
912.creator > label {
72a6fd39 913 -moz-margin-end: 0;
e10e7add
RK
914}
915
4c18c82c
RK
916.creator > .text-link {
917 margin-top: 1px;
918 margin-bottom: 1px;
e10e7add
RK
919}
920
4c18c82c
RK
921
922/*** rating ***/
923
924.meta-rating {
72a6fd39
RK
925 -moz-margin-end: 0;
926 padding-top: 2px;
e10e7add
RK
927}
928
72a6fd39 929.meta-rating > .star {
4c18c82c 930 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
72a6fd39 931 padding: 0 1px;
e10e7add
RK
932}
933
72a6fd39 934.meta-rating > .star[on="true"] {
4c18c82c 935 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
e10e7add
RK
936}
937
4c18c82c
RK
938
939/*** download progress ***/
940
941.download-progress {
942 background-color: #000000;
569543b3 943 border-radius: 10000px;
4c18c82c
RK
944 border: 1px solid #FF9F00;
945 width: 200px;
72a6fd39
RK
946 height: 21px;
947 margin: 0 8px;
e10e7add
RK
948}
949
e1313d59
RK
950.download-progress[mode="undetermined"] .status-container {
951 padding: 0 2px;
952}
953
4c18c82c
RK
954.download-progress .start-cap,
955.download-progress[complete] .end-cap,
e1313d59 956.download-progress[mode="undetermined"] .end-cap,
4c18c82c
RK
957.download-progress .progress .progress-bar {
958 background-color: #008484;
e10e7add
RK
959}
960
e1313d59
RK
961.download-progress .progress .progress-bar {
962 border-left-width: 0;
963 border-right-width: 0;
964 min-height: 21px;
965}
966
4c18c82c
RK
967.download-progress .progress {
968 background-color: transparent;
72a6fd39
RK
969 padding: 0;
970 margin: 0;
971 border: none;
e10e7add
RK
972}
973
4c18c82c
RK
974.download-progress .start-cap, .download-progress .end-cap {
975 width: 12px;
e10e7add
RK
976}
977
941d657f
RK
978.download-progress .start-cap:-moz-locale-dir(ltr),
979.download-progress .end-cap:-moz-locale-dir(rtl) {
72a6fd39 980 border-radius: 3px 0 0 3px;
e10e7add
RK
981}
982
941d657f
RK
983.download-progress .end-cap:-moz-locale-dir(ltr),
984.download-progress .start-cap:-moz-locale-dir(rtl) {
72a6fd39 985 border-radius: 0 3px 3px 0;
e10e7add
RK
986}
987
72a6fd39 988.download-progress .cancel {
4c18c82c 989 -moz-appearance: none;
72a6fd39
RK
990 background-color: #8050B0;
991 border: 1px solid #9C9CFF;
992 padding: 3px;
993 border-radius: 3px;
994 min-width: 0;
995 margin: 3px;
996}
997
72a6fd39
RK
998.download-progress .cancel .button-box {
999 padding: 0;
4c18c82c 1000 border: none;
e10e7add
RK
1001}
1002
72a6fd39
RK
1003.download-progress .cancel .button-text {
1004 display: none;
1005}
1006
72a6fd39
RK
1007.download-progress .cancel .button-icon {
1008 -moz-margin-start: 0;
e10e7add
RK
1009}
1010
d15f39a1
RK
1011.download-progress .cancel {
1012 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
1013}
1014
4c18c82c
RK
1015.download-progress .status-container {
1016 -moz-box-align: center;
1017}
1018
72a6fd39
RK
1019.download-progress .status {
1020/* text-shadow: #FFF 0 0 2px; */
1021}
4c18c82c
RK
1022
1023/*** install status ***/
1024
1025.install-status {
1026 -moz-box-align: center;
e10e7add
RK
1027}
1028
4c18c82c
RK
1029
1030/*** check for updates ***/
1031
1032#updates-container {
1033 -moz-box-align: center;
e10e7add
RK
1034}
1035
72a6fd39
RK
1036#updates-container .button-link {
1037 font-weight: bold;
1038}
1039
1040#updates-installed,
1041#updates-downloaded {
4c18c82c
RK
1042 color: #008484;
1043 font-weight: bold;
e10e7add
RK
1044}
1045
569543b3
RK
1046#update-selected {
1047 margin: 12px;
e10e7add
RK
1048}
1049
569543b3 1050/*** buttons ***/
4c18c82c 1051
0de07750
RK
1052.addon-control[disabled="true"] {
1053 display: none;
1054}
1055
154ee8b3 1056button.button-link {
4c18c82c
RK
1057 background: transparent;
1058 border: none;
1059 text-decoration: underline;
1060 color: blue;
1061 cursor: pointer;
1062 min-width: 0;
706c344c 1063 margin: 0 6px;
e10e7add 1064}
154ee8b3
RK
1065
1066/* Needed to override normal button style from inContent.css */
1067button.button-link:not([disabled="true"]):active:hover {
1068}