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