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