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