back out change that would make bookmarks bar look strange
[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}
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
4c18c82c 789#detail-icon {
4c18c82c 790 -moz-margin-end: 10px;
72a6fd39
RK
791 margin-top: 6px;
792 max-width: 64px;
793 max-height: 64px;
e10e7add
RK
794}
795
569543b3
RK
796#detail-summary {
797 margin-bottom: 2em;
e10e7add
RK
798}
799
569543b3
RK
800#detail-name-container {
801 font-size: 200%;
d15f39a1
RK
802}
803
569543b3
RK
804#detail-screenshot {
805 -moz-margin-end: 2em;
6831f2a0
RK
806 max-width: 300px;
807 max-height: 300px;
18f5421a
RK
808}
809
904e5040
RK
810#detail-screenshot[loading] {
811 background-image: url("chrome://communicator/skin/brand/throbber-anim.gif");
812 background-position: 50% 50%;
813 background-repeat: no-repeat;
814}
815
816#detail-screenshot[loading="error"] {
817 background-image: url("chrome://global/skin/icons/alert-error.gif");
818}
819
569543b3
RK
820#detail-desc-container {
821 margin-bottom: 2em;
e10e7add
RK
822}
823
8a933f1e 824#detail-desc, #detail-fulldesc {
569543b3
RK
825 -moz-margin-start: 6px;
826 white-space: pre-wrap;
9162a092
RK
827 /* This is necessary to fix layout issues with multi-line descriptions, see
828 bug 592712*/
829 outline: solid transparent;
72a6fd39 830 min-width: 8em;
569543b3
RK
831}
832
8a933f1e
RK
833#detail-fulldesc {
834 margin-top: 1em;
835}
836
569543b3
RK
837#detail-contributions {
838 border-radius: 5px;
839 border: 1px solid #9C9CFF;
840 margin-bottom: 2em;
841 padding: 1em;
72a6fd39 842 background-color: #FFCF00;
4c18c82c
RK
843}
844
569543b3
RK
845#detail-contrib-description {
846 font-style: italic;
847 margin-bottom: 1em;
72a6fd39 848 color: #000000;
4c18c82c
RK
849}
850
569543b3 851#detail-contrib-suggested {
72a6fd39
RK
852 color: #8050B0;
853 font-weight: bold;
4c18c82c
RK
854}
855
72a6fd39 856#detail-contrib-btn {
569543b3
RK
857 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
858}
859
72a6fd39 860#detail-contrib-btn .button-icon {
569543b3
RK
861 -moz-margin-end: 3px;
862}
863
864#detail-grid {
865 margin-bottom: 2em;
866}
867
f620f94d
RK
868#detail-grid > columns > column:first-child {
869 max-width: 25em;
870}
871
9162a092 872.detail-row[first-row="true"],
f620f94d
RK
873.detail-row-complex[first-row="true"],
874setting[first-row="true"] {
9162a092
RK
875 border-top: none;
876}
877
569543b3 878.detail-row,
f620f94d
RK
879.detail-row-complex,
880setting {
9162a092 881 border-top: 1px solid #9C9CFF;
4c18c82c 882 -moz-box-align: center;
f620f94d 883 min-height: 30px;
e10e7add
RK
884}
885
72a6fd39
RK
886#detail-controls {
887 margin-bottom: 1em;
888}
889
890#detail-view[active="false"]:not([pending]):not([notification]) {
891 /* background-color: foo; */
892}
4c18c82c 893
f620f94d
RK
894setting[first-row="true"] {
895 margin-top: 2em;
896}
897
898.preferences-description {
899 font-size: 90.9%;
900 color: #808080;
901 margin-top: -2px;
902 -moz-margin-start: 2em;
903}
904
905setting[type="string"] > .setting-input > textbox {
906 -moz-box-flex: 1;
907}
908
154ee8b3
RK
909setting[type="radio"] > radiogroup {
910 -moz-box-orient: horizontal;
911}
912
f620f94d
RK
913menulist { /* Fixes some styling inconsistencies */
914 margin: 1px 5px 2px 5px;
915}
916
4c18c82c
RK
917/*** creator ***/
918
919.creator > label {
72a6fd39 920 -moz-margin-end: 0;
e10e7add
RK
921}
922
4c18c82c
RK
923.creator > .text-link {
924 margin-top: 1px;
925 margin-bottom: 1px;
e10e7add
RK
926}
927
4c18c82c
RK
928
929/*** rating ***/
930
931.meta-rating {
72a6fd39
RK
932 -moz-margin-end: 0;
933 padding-top: 2px;
e10e7add
RK
934}
935
72a6fd39 936.meta-rating > .star {
4c18c82c 937 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
72a6fd39 938 padding: 0 1px;
e10e7add
RK
939}
940
72a6fd39 941.meta-rating > .star[on="true"] {
4c18c82c 942 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
e10e7add
RK
943}
944
4c18c82c
RK
945
946/*** download progress ***/
947
948.download-progress {
949 background-color: #000000;
569543b3 950 border-radius: 10000px;
4c18c82c
RK
951 border: 1px solid #FF9F00;
952 width: 200px;
72a6fd39
RK
953 height: 21px;
954 margin: 0 8px;
e10e7add
RK
955}
956
e1313d59
RK
957.download-progress[mode="undetermined"] .status-container {
958 padding: 0 2px;
959}
960
4c18c82c
RK
961.download-progress .start-cap,
962.download-progress[complete] .end-cap,
e1313d59 963.download-progress[mode="undetermined"] .end-cap,
4c18c82c
RK
964.download-progress .progress .progress-bar {
965 background-color: #008484;
e10e7add
RK
966}
967
e1313d59
RK
968.download-progress .progress .progress-bar {
969 border-left-width: 0;
970 border-right-width: 0;
971 min-height: 21px;
972}
973
4c18c82c
RK
974.download-progress .progress {
975 background-color: transparent;
72a6fd39
RK
976 padding: 0;
977 margin: 0;
978 border: none;
e10e7add
RK
979}
980
4c18c82c
RK
981.download-progress .start-cap, .download-progress .end-cap {
982 width: 12px;
e10e7add
RK
983}
984
941d657f
RK
985.download-progress .start-cap:-moz-locale-dir(ltr),
986.download-progress .end-cap:-moz-locale-dir(rtl) {
72a6fd39 987 border-radius: 3px 0 0 3px;
e10e7add
RK
988}
989
941d657f
RK
990.download-progress .end-cap:-moz-locale-dir(ltr),
991.download-progress .start-cap:-moz-locale-dir(rtl) {
72a6fd39 992 border-radius: 0 3px 3px 0;
e10e7add
RK
993}
994
72a6fd39 995.download-progress .cancel {
4c18c82c 996 -moz-appearance: none;
72a6fd39
RK
997 background-color: #8050B0;
998 border: 1px solid #9C9CFF;
999 padding: 3px;
1000 border-radius: 3px;
1001 min-width: 0;
1002 margin: 3px;
1003}
1004
72a6fd39
RK
1005.download-progress .cancel .button-box {
1006 padding: 0;
4c18c82c 1007 border: none;
e10e7add
RK
1008}
1009
72a6fd39
RK
1010.download-progress .cancel .button-text {
1011 display: none;
1012}
1013
72a6fd39
RK
1014.download-progress .cancel .button-icon {
1015 -moz-margin-start: 0;
e10e7add
RK
1016}
1017
d15f39a1
RK
1018.download-progress .cancel {
1019 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
1020}
1021
4c18c82c
RK
1022.download-progress .status-container {
1023 -moz-box-align: center;
1024}
1025
72a6fd39
RK
1026.download-progress .status {
1027/* text-shadow: #FFF 0 0 2px; */
1028}
4c18c82c
RK
1029
1030/*** install status ***/
1031
1032.install-status {
1033 -moz-box-align: center;
e10e7add
RK
1034}
1035
4c18c82c
RK
1036
1037/*** check for updates ***/
1038
1039#updates-container {
1040 -moz-box-align: center;
e10e7add
RK
1041}
1042
72a6fd39
RK
1043#updates-container .button-link {
1044 font-weight: bold;
1045}
1046
1047#updates-installed,
1048#updates-downloaded {
4c18c82c
RK
1049 color: #008484;
1050 font-weight: bold;
e10e7add
RK
1051}
1052
569543b3
RK
1053#update-selected {
1054 margin: 12px;
e10e7add
RK
1055}
1056
569543b3 1057/*** buttons ***/
4c18c82c 1058
0de07750
RK
1059.addon-control[disabled="true"] {
1060 display: none;
1061}
1062
154ee8b3 1063button.button-link {
4c18c82c
RK
1064 background: transparent;
1065 border: none;
1066 text-decoration: underline;
1067 color: blue;
1068 cursor: pointer;
1069 min-width: 0;
706c344c 1070 margin: 0 6px;
e10e7add 1071}
154ee8b3
RK
1072
1073/* Needed to override normal button style from inContent.css */
1074button.button-link:not([disabled="true"]):active:hover {
1075}