start 2.9 cycle with most of the toolkit winstripe changes for both themes
[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
f777a4f1 93@media (max-width: 600px) {
72a6fd39
RK
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 253/* Maximize the size of the viewport when the window is small */
f777a4f1 254@media (max-width: 800px) {
72a6fd39
RK
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}
1e29db46
RK
301#category-dictionary > .category-icon {
302 list-style-image: url("chrome://mozapps/skin/extensions/category-dictionaries.png");
303}
0de07750
RK
304#category-availableUpdates > .category-icon {
305 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
306}
307#category-recentUpdates > .category-icon {
308 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
309}
e10e7add 310
4c18c82c
RK
311
312/*** header ***/
313
314#header {
72a6fd39 315 margin-bottom: 18px;
706c344c 316 height: 2em;
e10e7add
RK
317}
318
72a6fd39
RK
319#header-search {
320 color: #E7ADE7;
321 border: 1px solid #9C9CFF;
322 border-radius: 4px;
323 padding: 3px;
324 background-color: #000000;
325 margin: 0;
4c18c82c
RK
326}
327
72a6fd39
RK
328#header-search .textbox-input:-moz-placeholder {
329 color: #8050B0;
4c18c82c
RK
330}
331
c1f7cc84 332#header-search[focused] {
72a6fd39 333 border-color: #008484;
3327253e
RK
334}
335
0de07750 336#header-utils-btn {
0de07750 337 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
c1f7cc84 338 -moz-margin-end: 16px;
0de07750
RK
339}
340
ae19a7b3
RK
341#header-utils-btn:hover,
342#header-utils-btn:hover:active,
343#header-utils-btn[open="true"] {
344 list-style-image: url("chrome://mozapps/skin/extensions/utilities-hover.png");
345}
346
ae19a7b3
RK
347#header-utils-btn > .button-box > .button-menu-dropmarker {
348 border: none;
349 background: transparent;
350}
351
352#header-utils-btn:hover > .button-box > .button-menu-dropmarker {
353 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
354}
355
4c18c82c 356.view-header {
a67d7bb0
RK
357 background-color: #9C9CFF;
358 color: #000000;
569543b3 359 border-radius: 8px;
ae19a7b3 360 padding: 0px 1em;
4c18c82c 361 margin: 3px;
72a6fd39 362 min-height: 31px;
e10e7add
RK
363}
364
4c18c82c
RK
365
366/*** sorters ***/
367
368.sort-controls {
369 -moz-appearance: none;
ae19a7b3 370 border-right: 3px solid #000000;
4c18c82c
RK
371}
372
373.sorter {
374 -moz-appearance: none;
375 border: none;
376 border-left: 3px solid #000000;
4c18c82c 377 background-color: transparent;
ae19a7b3 378 color: #8050B0;
569543b3 379 border-radius: 0;
72a6fd39 380 padding: 0 6px;
ae19a7b3
RK
381 -moz-padding-start: 6px;
382 -moz-padding-end: 3px;
72a6fd39 383 margin: 0;
4c18c82c
RK
384 min-width: 12px !important;
385 -moz-box-direction: reverse;
386}
ae19a7b3
RK
387.sorter:hover {
388 background-color: #FFCF00;
389 color: #000000;
390}
4c18c82c 391
72a6fd39
RK
392.sorter .button-box {
393 padding-top: 0;
394 padding-bottom: 0;
395}
396
4c18c82c
RK
397.sorter[checkState="1"],
398.sorter[checkState="2"] {
e10e7add
RK
399 background-color: #008484;
400 color: #FFCF00;
401}
402
4c18c82c
RK
403.sorter[checkState="1"] {
404 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
e10e7add
RK
405}
406
4c18c82c
RK
407.sorter[checkState="2"] {
408 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
e10e7add
RK
409}
410
4c18c82c
RK
411.sorter .button-icon {
412 -moz-margin-start: 4px;
e10e7add
RK
413}
414
4c18c82c 415
1169dad4
RK
416/*** discover view ***/
417
418.discover-spacer-before,
419.discover-spacer-after {
420 -moz-box-flex: 1;
421}
422
423#discover-error .alert {
424 max-width: 45em;
425 -moz-box-flex: 1;
426}
427
428.discover-logo {
429 list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png");
430 -moz-margin-end: 15px;
431}
432
433.discover-title {
434 font-weight: bold;
435 font-size: 24px;
436 /* font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif; */
437 margin: 0 0 15px 0;
438}
439
440.discover-description {
441 text-align: justify;
442 margin: 0 0 15px 0;
443}
444
445.discover-footer {
446 text-align: justify;
447}
448
449
4c18c82c
RK
450/*** list ***/
451
452.list {
72a6fd39 453 margin: 0;
4c18c82c 454 border: none;
706c344c 455 background-color: transparent;
4c18c82c
RK
456}
457
706c344c
RK
458.addon {
459 border-bottom: 1px solid #9C9CFF;
460 padding: 5px;
72a6fd39 461 background-origin: border-box;
e10e7add
RK
462}
463
706c344c 464.details {
4c18c82c 465 cursor: pointer;
706c344c
RK
466 margin: 0;
467 -moz-margin-start: 10px;
e10e7add
RK
468}
469
706c344c
RK
470.icon-container {
471 width: 48px;
472 height: 48px;
a0885fa2 473 margin: 3px 7px;
38b75e2e
RK
474 -moz-box-align: center;
475 -moz-box-pack: center;
e10e7add
RK
476}
477
706c344c 478.icon {
d15f39a1 479 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
706c344c
RK
480 max-width: 48px;
481 max-height: 48px;
e10e7add
RK
482}
483
72a6fd39
RK
484.addon[active="false"] .icon {
485/* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */
486}
487
569543b3 488.addon-view[type="theme"] .icon {
4c18c82c 489 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
e10e7add
RK
490}
491
569543b3 492.addon-view[type="locale"] .icon {
d15f39a1
RK
493 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
494}
495
569543b3 496.addon-view[type="plugin"] .icon {
4c18c82c 497 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
e10e7add
RK
498}
499
1e29db46
RK
500.addon-view[type="dictionary"] .icon {
501 list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric.png");
502}
503
8a933f1e 504.name-container {
4c18c82c 505 font-size: 150%;
72a6fd39 506 font-weight: bold;
a67d7bb0 507 color: #9C9CFF;
72a6fd39 508 margin-bottom: 0;
38b75e2e 509 -moz-box-align: end;
c1f7cc84 510 -moz-box-flex: 1;
72a6fd39
RK
511}
512
513.creator {
514 font-weight: bold;
515}
516
517.creator .text-link {
518 /* color: #0066CC; */
4c18c82c
RK
519}
520
706c344c 521.description-container {
e10e7add 522 -moz-margin-start: 6px;
38b75e2e 523 -moz-box-align: center;
e10e7add
RK
524}
525
706c344c
RK
526.description {
527 margin: 0;
528}
529
72a6fd39
RK
530.warning,
531.pending,
532.error,
533.info {
706c344c 534 -moz-margin-start: 48px;
72a6fd39 535 font-weight: bold;
38b75e2e
RK
536 -moz-box-align: center;
537}
538
539.content-container,
540.basicinfo-container {
541 -moz-box-align: start;
542}
543
544.addon[status="installing"] > .content-container {
545 -moz-box-align: stretch;
546}
547
c1f7cc84 548.advancedinfo-container,
38b75e2e
RK
549.update-info-container {
550 -moz-box-align: center;
551}
552
38b75e2e
RK
553.update-available {
554 -moz-box-align: end;
555}
556
557.install-status-container {
558 -moz-box-pack: end;
559 -moz-box-align: end;
560}
561
562.name-outer-container {
563 -moz-box-pack: center;
564}
565
566.relnotes-toggle-container,
567.icon-outer-container {
568 -moz-box-pack: start;
569}
570
571.status-container,
572.control-container {
573 -moz-box-pack: end;
706c344c
RK
574}
575
72a6fd39 576.addon-view .warning {
706c344c
RK
577 color: #FFCF00;
578}
579
72a6fd39 580.addon-view .error {
4c18c82c 581 color: #FF0000;
706c344c
RK
582}
583
72a6fd39 584.addon-view .pending {
706c344c 585 color: #008484;
e10e7add
RK
586}
587
72a6fd39
RK
588.addon-view[pending="disable"] .pending,
589.addon-view[pending="uninstall"] .pending {
590 color: #FF9C00;
e10e7add
RK
591}
592
0de07750
RK
593.addon .relnotes-container {
594 -moz-box-align: start;
72a6fd39
RK
595 -moz-margin-start: 6px;
596 height: 0;
0de07750
RK
597 overflow: hidden;
598 opacity: 0;
599 -moz-transition-property: height, opacity;
600 -moz-transition-duration: 0.5s, 0.5s;
601}
602
603.addon[show-relnotes] .relnotes-container {
604 opacity: 1;
605 -moz-transition-property: height, opacity;
606 -moz-transition-duration: 0.5s, 0.5s;
607}
608
609.addon .relnotes-header {
610 font-weight: bold;
72a6fd39 611 margin: 10px 0;
0de07750
RK
612}
613
614.addon .relnotes-toggle {
615 border: none;
616 background: transparent;
617 font-weight: bold;
618 -moz-box-direction: reverse;
619 cursor: pointer;
620 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
621}
622
623.addon .relnotes-toggle > .button-box > .button-icon {
624 -moz-padding-start: 4px;
625}
626
627.addon[show-relnotes] .relnotes-toggle {
628 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
629}
630
72a6fd39
RK
631.addon[active="false"] {
632 /* background-color: rgba(135, 135, 135, 0.1); */
633}
634
635.addon-view[active="false"],
636.addon-view[active="false"] .name-container {
637 color: #E7ADE7;
638}
639
640.addon-view[notification="warning"] {
641 background-color : #FFCF00;
642 color: #000000;
643}
644
645.addon-view[notification="warning"] .warning {
646 color: #000000;
647}
648
a67d7bb0
RK
649.addon-view[notification="warning"] .name-container {
650 color: #000000;
651}
652
72a6fd39
RK
653.addon-view[notification="error"] {
654 background-color: #FF0000;
655 color: #000000;
656}
657
658.addon-view[notification="error"] .error {
659 color: #000000;
660}
661
662.addon-view[notification="info"] {
663 background-color: #9C9CFF;
664 color: #000000;
665}
666
667.addon-view[pending="enable"],
668.addon-view[pending="upgrade"],
669.addon-view[pending="install"] {
670 background-color: #008484;
671}
672
34aa92fd
RK
673.addon-view[pending="enable"] .pending,
674.addon-view[pending="upgrade"] .pending,
675.addon-view[pending="install"] .pending {
676 color: #000000;
677}
678
72a6fd39
RK
679.addon-view[pending="disable"],
680.addon-view[pending="uninstall"] {
681 color: #8050B0;
682}
683
0de07750 684
4c18c82c
RK
685/*** item - uninstalled ***/
686
687.addon[status="uninstalled"] {
688 border: none;
e10e7add
RK
689}
690
4c18c82c
RK
691.addon[status="uninstalled"] > .container {
692 -moz-box-align: center;
693 padding: 4px 20px;
694 background-color: #8050B0;
569543b3 695 border-radius: 8px;
4c18c82c 696 font-size: 120%;
e10e7add
RK
697}
698
4c18c82c
RK
699.addon[status="uninstalled"][selected] {
700 background-color: transparent;
e10e7add
RK
701}
702
72a6fd39
RK
703.addon[selected] {
704 background-color: #008484;
a67d7bb0 705 color: #FF9F00;
72a6fd39
RK
706}
707
708.addon[selected] .name-container {
a67d7bb0
RK
709 color: #FFCF00;
710}
711
712.addon[active="false"][selected] {
713 color: #E7ADE7;
72a6fd39
RK
714}
715
716.addon[active="false"][selected] .name-container {
a67d7bb0 717 color: #E7ADE7;
72a6fd39
RK
718}
719
4c18c82c 720
4c18c82c
RK
721/*** search view ***/
722
706c344c
RK
723#search-filter {
724 padding: 5px 20px;
4c18c82c
RK
725 -moz-box-align: center;
726 background-color: #000000;
727 font-size: 120%;
72a6fd39
RK
728 border-bottom: 1px solid #9C9CFF;
729 overflow-x: hidden;
e10e7add
RK
730}
731
706c344c
RK
732#search-filter-label {
733 font-weight: bold;
734 color: #FFCF00;
735}
736
737.search-filter-radio {
72a6fd39
RK
738 padding: 0 6px;
739 margin: 0 3px;
569543b3 740 border-radius: 10000px;
706c344c
RK
741}
742
743.search-filter-radio[selected] {
744 background-color: #008484;
745 color: #000000;
746}
747
748.search-filter-radio .radio-check-box1 {
749 display: none;
750}
751
752.search-filter-radio .radio-icon {
753 display: none;
754}
4c18c82c 755
0de07750
RK
756#search-allresults-link {
757 margin-top: 1em;
758 margin-bottom: 2em;
759}
760
4c18c82c
RK
761/*** detail view ***/
762
569543b3 763#detail-view .loading {
4c18c82c 764 opacity: 0;
e10e7add
RK
765}
766
569543b3 767#detail-view[loading-extended] .loading {
4c18c82c
RK
768 opacity: 1;
769 -moz-transition-property: opacity;
770 -moz-transition-duration: 1s;
e10e7add
RK
771}
772
4c18c82c 773.detail-view-container {
72a6fd39 774 padding: 0 2em 2em 2em;
569543b3 775 font-size: 110%;
e10e7add
RK
776}
777
569543b3 778#detail-notifications {
72a6fd39 779 margin-top: 1em;
569543b3 780 margin-bottom: 2em;
e10e7add
RK
781}
782
569543b3
RK
783#detail-notifications .warning,
784#detail-notifications .pending,
72a6fd39 785#detail-notifications .error {
569543b3 786 -moz-margin-start: 0;
e10e7add
RK
787}
788
f777a4f1
RK
789#detail-icon-container {
790 width: 64px;
4c18c82c 791 -moz-margin-end: 10px;
72a6fd39 792 margin-top: 6px;
f777a4f1
RK
793}
794
795#detail-icon {
72a6fd39
RK
796 max-width: 64px;
797 max-height: 64px;
e10e7add
RK
798}
799
569543b3
RK
800#detail-summary {
801 margin-bottom: 2em;
e10e7add
RK
802}
803
569543b3
RK
804#detail-name-container {
805 font-size: 200%;
d15f39a1
RK
806}
807
569543b3
RK
808#detail-screenshot {
809 -moz-margin-end: 2em;
6831f2a0
RK
810 max-width: 300px;
811 max-height: 300px;
18f5421a
RK
812}
813
904e5040
RK
814#detail-screenshot[loading] {
815 background-image: url("chrome://communicator/skin/brand/throbber-anim.gif");
816 background-position: 50% 50%;
817 background-repeat: no-repeat;
818}
819
820#detail-screenshot[loading="error"] {
821 background-image: url("chrome://global/skin/icons/alert-error.gif");
822}
823
569543b3
RK
824#detail-desc-container {
825 margin-bottom: 2em;
e10e7add
RK
826}
827
8a933f1e 828#detail-desc, #detail-fulldesc {
569543b3
RK
829 -moz-margin-start: 6px;
830 white-space: pre-wrap;
9162a092
RK
831 /* This is necessary to fix layout issues with multi-line descriptions, see
832 bug 592712*/
833 outline: solid transparent;
72a6fd39 834 min-width: 8em;
569543b3
RK
835}
836
8a933f1e
RK
837#detail-fulldesc {
838 margin-top: 1em;
839}
840
569543b3
RK
841#detail-contributions {
842 border-radius: 5px;
843 border: 1px solid #9C9CFF;
844 margin-bottom: 2em;
845 padding: 1em;
72a6fd39 846 background-color: #FFCF00;
4c18c82c
RK
847}
848
569543b3
RK
849#detail-contrib-description {
850 font-style: italic;
851 margin-bottom: 1em;
72a6fd39 852 color: #000000;
4c18c82c
RK
853}
854
569543b3 855#detail-contrib-suggested {
72a6fd39
RK
856 color: #8050B0;
857 font-weight: bold;
4c18c82c
RK
858}
859
72a6fd39 860#detail-contrib-btn {
569543b3
RK
861 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
862}
863
72a6fd39 864#detail-contrib-btn .button-icon {
569543b3
RK
865 -moz-margin-end: 3px;
866}
867
868#detail-grid {
f777a4f1 869 min-width: 15em;
569543b3
RK
870 margin-bottom: 2em;
871}
872
f620f94d
RK
873#detail-grid > columns > column:first-child {
874 max-width: 25em;
875}
876
9162a092 877.detail-row[first-row="true"],
f620f94d
RK
878.detail-row-complex[first-row="true"],
879setting[first-row="true"] {
9162a092
RK
880 border-top: none;
881}
882
569543b3 883.detail-row,
f620f94d
RK
884.detail-row-complex,
885setting {
9162a092 886 border-top: 1px solid #9C9CFF;
4c18c82c 887 -moz-box-align: center;
f620f94d 888 min-height: 30px;
e10e7add
RK
889}
890
72a6fd39
RK
891#detail-controls {
892 margin-bottom: 1em;
893}
894
895#detail-view[active="false"]:not([pending]):not([notification]) {
896 /* background-color: foo; */
897}
4c18c82c 898
f620f94d
RK
899setting[first-row="true"] {
900 margin-top: 2em;
901}
902
903.preferences-description {
904 font-size: 90.9%;
905 color: #808080;
906 margin-top: -2px;
907 -moz-margin-start: 2em;
908}
909
910setting[type="string"] > .setting-input > textbox {
911 -moz-box-flex: 1;
912}
913
154ee8b3
RK
914setting[type="radio"] > radiogroup {
915 -moz-box-orient: horizontal;
916}
917
f620f94d
RK
918menulist { /* Fixes some styling inconsistencies */
919 margin: 1px 5px 2px 5px;
920}
921
4c18c82c
RK
922/*** creator ***/
923
924.creator > label {
72a6fd39 925 -moz-margin-end: 0;
e10e7add
RK
926}
927
4c18c82c
RK
928.creator > .text-link {
929 margin-top: 1px;
930 margin-bottom: 1px;
e10e7add
RK
931}
932
4c18c82c
RK
933
934/*** rating ***/
935
936.meta-rating {
72a6fd39
RK
937 -moz-margin-end: 0;
938 padding-top: 2px;
e10e7add
RK
939}
940
72a6fd39 941.meta-rating > .star {
4c18c82c 942 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
72a6fd39 943 padding: 0 1px;
e10e7add
RK
944}
945
72a6fd39 946.meta-rating > .star[on="true"] {
4c18c82c 947 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
e10e7add
RK
948}
949
4c18c82c
RK
950
951/*** download progress ***/
952
953.download-progress {
954 background-color: #000000;
569543b3 955 border-radius: 10000px;
4c18c82c
RK
956 border: 1px solid #FF9F00;
957 width: 200px;
72a6fd39
RK
958 height: 21px;
959 margin: 0 8px;
e10e7add
RK
960}
961
e1313d59
RK
962.download-progress[mode="undetermined"] .status-container {
963 padding: 0 2px;
964}
965
4c18c82c
RK
966.download-progress .start-cap,
967.download-progress[complete] .end-cap,
e1313d59 968.download-progress[mode="undetermined"] .end-cap,
4c18c82c
RK
969.download-progress .progress .progress-bar {
970 background-color: #008484;
e10e7add
RK
971}
972
e1313d59
RK
973.download-progress .progress .progress-bar {
974 border-left-width: 0;
975 border-right-width: 0;
976 min-height: 21px;
977}
978
4c18c82c
RK
979.download-progress .progress {
980 background-color: transparent;
72a6fd39
RK
981 padding: 0;
982 margin: 0;
983 border: none;
e10e7add
RK
984}
985
4c18c82c
RK
986.download-progress .start-cap, .download-progress .end-cap {
987 width: 12px;
e10e7add
RK
988}
989
941d657f
RK
990.download-progress .start-cap:-moz-locale-dir(ltr),
991.download-progress .end-cap:-moz-locale-dir(rtl) {
72a6fd39 992 border-radius: 3px 0 0 3px;
e10e7add
RK
993}
994
941d657f
RK
995.download-progress .end-cap:-moz-locale-dir(ltr),
996.download-progress .start-cap:-moz-locale-dir(rtl) {
72a6fd39 997 border-radius: 0 3px 3px 0;
e10e7add
RK
998}
999
72a6fd39 1000.download-progress .cancel {
4c18c82c 1001 -moz-appearance: none;
72a6fd39
RK
1002 background-color: #8050B0;
1003 border: 1px solid #9C9CFF;
1004 padding: 3px;
1005 border-radius: 3px;
1006 min-width: 0;
1007 margin: 3px;
1008}
1009
72a6fd39
RK
1010.download-progress .cancel .button-box {
1011 padding: 0;
4c18c82c 1012 border: none;
e10e7add
RK
1013}
1014
72a6fd39
RK
1015.download-progress .cancel .button-text {
1016 display: none;
1017}
1018
72a6fd39
RK
1019.download-progress .cancel .button-icon {
1020 -moz-margin-start: 0;
e10e7add
RK
1021}
1022
d15f39a1
RK
1023.download-progress .cancel {
1024 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
1025}
1026
4c18c82c
RK
1027.download-progress .status-container {
1028 -moz-box-align: center;
1029}
1030
72a6fd39
RK
1031.download-progress .status {
1032/* text-shadow: #FFF 0 0 2px; */
1033}
4c18c82c
RK
1034
1035/*** install status ***/
1036
1037.install-status {
1038 -moz-box-align: center;
e10e7add
RK
1039}
1040
4c18c82c
RK
1041
1042/*** check for updates ***/
1043
1044#updates-container {
1045 -moz-box-align: center;
e10e7add
RK
1046}
1047
72a6fd39
RK
1048#updates-container .button-link {
1049 font-weight: bold;
1050}
1051
1052#updates-installed,
1053#updates-downloaded {
4c18c82c
RK
1054 color: #008484;
1055 font-weight: bold;
e10e7add
RK
1056}
1057
569543b3
RK
1058#update-selected {
1059 margin: 12px;
e10e7add
RK
1060}
1061
569543b3 1062/*** buttons ***/
4c18c82c 1063
0de07750
RK
1064.addon-control[disabled="true"] {
1065 display: none;
1066}
1067
154ee8b3 1068button.button-link {
4c18c82c
RK
1069 background: transparent;
1070 border: none;
1071 text-decoration: underline;
1072 color: blue;
1073 cursor: pointer;
1074 min-width: 0;
706c344c 1075 margin: 0 6px;
e10e7add 1076}
154ee8b3
RK
1077
1078/* Needed to override normal button style from inContent.css */
1079button.button-link:not([disabled="true"]):active:hover {
1080}