Commit | Line | Data |
---|---|---|
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 | ||
706c344c RK |
38 | #addons-page { |
39 | background-color: #000000; | |
40 | margin: 20px; | |
e10e7add RK |
41 | } |
42 | ||
9162a092 RK |
43 | #view-port-container { |
44 | /* Needed to allow the radius to clip the inner content, see bug 595656 */ | |
45 | overflow: hidden; | |
706c344c | 46 | border: 1px solid #9C9CFF; |
569543b3 | 47 | border-radius: 5px; |
4c18c82c RK |
48 | } |
49 | ||
0de07750 RK |
50 | .nav-button { |
51 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); | |
52 | min-width: 0; | |
53 | -moz-margin-end: 0; | |
54 | } | |
55 | ||
56 | #back-btn:-moz-locale-dir(ltr), | |
57 | #forward-btn:-moz-locale-dir(rtl) { | |
58 | -moz-image-region: rect(42px 25px 63px 0px); | |
59 | } | |
60 | ||
61 | #back-btn[disabled="true"]:-moz-locale-dir(ltr), | |
62 | #forward-btn[disabled="true"]:-moz-locale-dir(rtl) { | |
63 | -moz-image-region: rect(42px 50px 63px 25px); | |
64 | } | |
65 | ||
66 | #back-btn:-moz-locale-dir(rtl), | |
67 | #forward-btn:-moz-locale-dir(ltr) { | |
68 | -moz-image-region: rect(63px 25px 84px 0px); | |
69 | } | |
70 | ||
71 | #back-btn[disabled="true"]:-moz-locale-dir(rtl), | |
72 | #forward-btn[disabled="true"]:-moz-locale-dir(ltr) { | |
73 | -moz-image-region: rect(63px 50px 84px 25px); | |
74 | } | |
75 | ||
569543b3 RK |
76 | /*** global warnings ***/ |
77 | ||
78 | .global-warning { | |
79 | -moz-box-align: center; | |
80 | padding: 0 8px; | |
81 | color: #000000; | |
82 | font-weight: bold; | |
83 | } | |
84 | ||
85 | #addons-page[warning] .global-warning-container { | |
86 | background-color: #FFCF00; | |
87 | } | |
88 | ||
89 | #detail-view .global-warning { | |
90 | padding: 4px 12px; | |
91 | border-bottom: 3px solid #000000; | |
92 | } | |
93 | ||
94 | /*** notification icons ***/ | |
95 | ||
96 | .warning-icon { | |
97 | list-style-image: url("chrome://global/skin/icons/warning-16.png"); | |
98 | width: 16px; | |
99 | height: 16px; | |
ae19a7b3 | 100 | margin: 1px 0; |
569543b3 RK |
101 | } |
102 | ||
103 | .error-icon { | |
104 | list-style-image: url("chrome://global/skin/icons/error-16.png"); | |
105 | width: 16px; | |
106 | height: 16px; | |
ae19a7b3 | 107 | margin: 1px 0; |
569543b3 RK |
108 | } |
109 | ||
110 | .pending-icon, | |
111 | .info-icon { | |
112 | list-style-image: url("chrome://global/skin/icons/information-16.png"); | |
113 | width: 16px; | |
114 | height: 16px; | |
ae19a7b3 | 115 | margin: 1px 0; |
569543b3 | 116 | } |
4c18c82c RK |
117 | |
118 | /*** category selector ***/ | |
119 | ||
120 | #categories { | |
26a52ec5 | 121 | -moz-appearance: none; |
4c18c82c | 122 | border: none; |
706c344c RK |
123 | -moz-margin-end: -1px; |
124 | background-color: transparent; | |
125 | position: relative; | |
e10e7add RK |
126 | } |
127 | ||
4c18c82c | 128 | .category { |
706c344c RK |
129 | border-width: 1px; |
130 | -moz-border-end-width: 0; | |
131 | border-style: solid; | |
132 | border-color: transparent; | |
4c18c82c RK |
133 | padding: 10px 4px; |
134 | -moz-box-align: center; | |
135 | overflow: hidden; | |
136 | min-height: 0px; | |
e10e7add RK |
137 | } |
138 | ||
706c344c | 139 | .category:-moz-locale-dir(ltr) { |
569543b3 RK |
140 | border-top-left-radius: 5px; |
141 | border-bottom-left-radius: 5px; | |
706c344c RK |
142 | } |
143 | ||
144 | .category:-moz-locale-dir(rtl) { | |
569543b3 RK |
145 | border-top-right-radius: 5px; |
146 | border-bottom-right-radius: 5px; | |
706c344c RK |
147 | } |
148 | ||
4c18c82c RK |
149 | .category[disabled] { |
150 | height: 0px; | |
151 | opacity: 0; | |
152 | -moz-transition-property: height, opacity; | |
153 | -moz-transition-duration: 1s, 0.8s; | |
e10e7add RK |
154 | } |
155 | ||
4c18c82c RK |
156 | .category:not([disabled]) { |
157 | height: 52px; | |
158 | -moz-transition-property: height, opacity; | |
159 | -moz-transition-duration: 1s, 0.8s; | |
e10e7add RK |
160 | } |
161 | ||
4c18c82c | 162 | .category[selected] { |
706c344c RK |
163 | color: FFCF00; |
164 | border-color: #9C9CFF; | |
1e140ad9 RK |
165 | } |
166 | ||
4c18c82c RK |
167 | .category-name { |
168 | font-size: 150%; | |
e10e7add RK |
169 | } |
170 | ||
4c18c82c RK |
171 | .category-badge { |
172 | background-color: #E7ADE7; | |
173 | padding: 2px 8px; | |
174 | margin: 6px 0px; | |
569543b3 | 175 | border-radius: 10000px; |
4c18c82c RK |
176 | color: #000000; |
177 | font-weight: bold; | |
178 | text-align: center; | |
e10e7add RK |
179 | } |
180 | ||
4c18c82c RK |
181 | .category-badge[value="0"] { |
182 | visibility: hidden; | |
e10e7add RK |
183 | } |
184 | ||
4c18c82c RK |
185 | .category-icon { |
186 | width: 32px; | |
187 | height: 32px; | |
188 | -moz-margin-start: 6px; | |
e10e7add RK |
189 | } |
190 | ||
4c18c82c RK |
191 | #category-search > .category-icon { |
192 | list-style-image: url("chrome://mozapps/skin/extensions/category-search.png"); | |
193 | } | |
194 | #category-discover > .category-icon { | |
195 | list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png"); | |
196 | } | |
197 | #category-languages > .category-icon { | |
198 | list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png"); | |
199 | } | |
200 | #category-searchengines > .category-icon { | |
201 | list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png"); | |
202 | } | |
203 | #category-extensions > .category-icon { | |
204 | list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png"); | |
205 | } | |
206 | #category-themes > .category-icon { | |
207 | list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png"); | |
208 | } | |
209 | #category-plugins > .category-icon { | |
210 | list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png"); | |
e10e7add | 211 | } |
0de07750 RK |
212 | #category-availableUpdates > .category-icon { |
213 | list-style-image: url("chrome://mozapps/skin/extensions/category-available.png"); | |
214 | } | |
215 | #category-recentUpdates > .category-icon { | |
216 | list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png"); | |
217 | } | |
e10e7add | 218 | |
4c18c82c RK |
219 | |
220 | /*** header ***/ | |
221 | ||
222 | #header { | |
706c344c RK |
223 | margin-bottom: 20px; |
224 | height: 2em; | |
e10e7add RK |
225 | } |
226 | ||
4c18c82c | 227 | #header-name, #header-link { |
e10e7add RK |
228 | color: #000000; |
229 | } | |
230 | ||
4c18c82c RK |
231 | #header-name { |
232 | font-size: 180%; | |
233 | } | |
234 | ||
235 | #header-link { | |
236 | -moz-appearance: none; | |
237 | border: none; | |
238 | background: transparent; | |
239 | font-size: 120%; | |
240 | cursor: pointer; | |
241 | list-style-image: url("chrome://mozapps/skin/extensions/go-back.png"); | |
242 | } | |
243 | ||
244 | #header-link .button-icon { | |
245 | -moz-margin-end: 6px; | |
246 | } | |
247 | ||
3327253e RK |
248 | #header-searching { |
249 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
250 | } | |
251 | ||
0de07750 RK |
252 | #header-utils-btn { |
253 | min-width: 4.5em; | |
254 | list-style-image: url("chrome://mozapps/skin/extensions/utilities.png"); | |
255 | } | |
256 | ||
ae19a7b3 RK |
257 | #header-utils-btn:hover, |
258 | #header-utils-btn:hover:active, | |
259 | #header-utils-btn[open="true"] { | |
260 | list-style-image: url("chrome://mozapps/skin/extensions/utilities-hover.png"); | |
261 | } | |
262 | ||
0de07750 RK |
263 | #header-utils-btn:-moz-focusring > .button-box { |
264 | border: none; | |
265 | } | |
266 | ||
ae19a7b3 RK |
267 | #header-utils-btn > .button-box > .button-menu-dropmarker { |
268 | border: none; | |
269 | background: transparent; | |
270 | } | |
271 | ||
272 | #header-utils-btn:hover > .button-box > .button-menu-dropmarker { | |
273 | list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); | |
274 | } | |
275 | ||
4c18c82c | 276 | .view-header { |
569543b3 | 277 | border-radius: 8px; |
ae19a7b3 | 278 | padding: 0px 1em; |
4c18c82c | 279 | margin: 3px; |
e10e7add RK |
280 | } |
281 | ||
4c18c82c RK |
282 | |
283 | /*** sorters ***/ | |
284 | ||
285 | .sort-controls { | |
286 | -moz-appearance: none; | |
ae19a7b3 | 287 | border-right: 3px solid #000000; |
4c18c82c RK |
288 | } |
289 | ||
290 | .sorter { | |
291 | -moz-appearance: none; | |
292 | border: none; | |
293 | border-left: 3px solid #000000; | |
4c18c82c | 294 | background-color: transparent; |
ae19a7b3 | 295 | color: #8050B0; |
569543b3 | 296 | border-radius: 0; |
4c18c82c | 297 | padding: 0px 6px; |
ae19a7b3 RK |
298 | -moz-padding-start: 6px; |
299 | -moz-padding-end: 3px; | |
300 | margin: 0px; | |
4c18c82c RK |
301 | min-width: 12px !important; |
302 | -moz-box-direction: reverse; | |
303 | } | |
ae19a7b3 RK |
304 | .sorter:hover { |
305 | background-color: #FFCF00; | |
306 | color: #000000; | |
307 | } | |
4c18c82c RK |
308 | |
309 | .sorter[checkState="1"], | |
310 | .sorter[checkState="2"] { | |
e10e7add RK |
311 | background-color: #008484; |
312 | color: #FFCF00; | |
313 | } | |
314 | ||
4c18c82c RK |
315 | .sorter[checkState="1"] { |
316 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); | |
e10e7add RK |
317 | } |
318 | ||
4c18c82c RK |
319 | .sorter[checkState="2"] { |
320 | list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); | |
e10e7add RK |
321 | } |
322 | ||
4c18c82c RK |
323 | .sorter .button-icon { |
324 | -moz-margin-start: 4px; | |
e10e7add RK |
325 | } |
326 | ||
4c18c82c RK |
327 | |
328 | /*** empty list notification ***/ | |
329 | ||
330 | .empty-list-notice { | |
331 | -moz-box-align: center; | |
e10e7add RK |
332 | } |
333 | ||
4c18c82c RK |
334 | .empty-list-notice > button { |
335 | margin: 20px; | |
336 | } | |
337 | ||
338 | ||
339 | /*** list ***/ | |
340 | ||
341 | .list { | |
4c18c82c RK |
342 | margin: 0px; |
343 | border: none; | |
706c344c | 344 | background-color: transparent; |
4c18c82c RK |
345 | } |
346 | ||
706c344c RK |
347 | .addon { |
348 | border-bottom: 1px solid #9C9CFF; | |
349 | padding: 5px; | |
e10e7add RK |
350 | } |
351 | ||
4c18c82c RK |
352 | .addon[status="installing"] { |
353 | -moz-box-align: center; | |
e10e7add RK |
354 | } |
355 | ||
706c344c | 356 | .details { |
4c18c82c | 357 | cursor: pointer; |
706c344c RK |
358 | margin: 0; |
359 | -moz-margin-start: 10px; | |
e10e7add RK |
360 | } |
361 | ||
706c344c RK |
362 | .icon-container { |
363 | width: 48px; | |
364 | height: 48px; | |
365 | margin: 7px; | |
e10e7add RK |
366 | } |
367 | ||
706c344c | 368 | .icon { |
d15f39a1 | 369 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); |
706c344c RK |
370 | max-width: 48px; |
371 | max-height: 48px; | |
e10e7add RK |
372 | } |
373 | ||
569543b3 | 374 | .addon-view[type="theme"] .icon { |
4c18c82c | 375 | list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); |
e10e7add RK |
376 | } |
377 | ||
569543b3 | 378 | .addon-view[type="locale"] .icon { |
d15f39a1 RK |
379 | list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); |
380 | } | |
381 | ||
569543b3 | 382 | .addon-view[type="plugin"] .icon { |
4c18c82c | 383 | list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); |
e10e7add RK |
384 | } |
385 | ||
569543b3 | 386 | .name-container { |
4c18c82c RK |
387 | font-size: 150%; |
388 | margin-bottom: 0px; | |
389 | } | |
390 | ||
706c344c | 391 | .description-container { |
4c18c82c | 392 | margin-top: 8px; |
e10e7add | 393 | -moz-margin-start: 6px; |
e10e7add RK |
394 | } |
395 | ||
706c344c RK |
396 | .description { |
397 | margin: 0; | |
398 | } | |
399 | ||
400 | .warning, .pending, .error, .info { | |
401 | -moz-margin-start: 48px; | |
402 | } | |
403 | ||
569543b3 | 404 | .addon-view:not([selected]) .warning { |
706c344c RK |
405 | color: #FFCF00; |
406 | } | |
407 | ||
569543b3 | 408 | .addon-view:not([selected]) .error { |
4c18c82c | 409 | color: #FF0000; |
706c344c RK |
410 | } |
411 | ||
569543b3 | 412 | .addon-view:not([selected]) .pending { |
706c344c | 413 | color: #008484; |
e10e7add RK |
414 | } |
415 | ||
569543b3 | 416 | .addon-view[notification="warning"] { |
706c344c RK |
417 | background-color : #FFCF00; |
418 | color: #000000; | |
419 | } | |
420 | ||
ae19a7b3 RK |
421 | .addon-view[notification="warning"] .warning { |
422 | color: #000000; | |
423 | } | |
424 | ||
569543b3 | 425 | .addon-view[notification="error"] { |
706c344c RK |
426 | background-color: #FF0000; |
427 | color: #000000; | |
428 | } | |
429 | ||
ae19a7b3 RK |
430 | .addon-view[notification="error"] .error { |
431 | color: #000000; | |
432 | } | |
433 | ||
569543b3 | 434 | .addon-view[notification="info"] { |
706c344c RK |
435 | background-color: #9C9CFF; |
436 | color: #000000; | |
437 | } | |
438 | ||
569543b3 RK |
439 | .addon-view[pending="enable"], |
440 | .addon-view[pending="upgrade"], | |
441 | .addon-view[pending="install"] { | |
706c344c | 442 | background-color: #008484; |
e10e7add RK |
443 | } |
444 | ||
ae19a7b3 RK |
445 | .addon-view[pending="enable"] .pending, |
446 | .addon-view[pending="upgrade"] .pending, | |
447 | .addon-view[pending="install"] .pending { | |
448 | color: #000000; | |
449 | } | |
450 | ||
569543b3 RK |
451 | .addon-view[pending="disable"], |
452 | .addon-view[pending="uninstall"] { | |
706c344c | 453 | color: #8050B0; |
e10e7add RK |
454 | } |
455 | ||
0de07750 RK |
456 | .addon .relnotes-container { |
457 | -moz-box-align: start; | |
458 | height: 0px; | |
459 | overflow: hidden; | |
460 | opacity: 0; | |
461 | -moz-transition-property: height, opacity; | |
462 | -moz-transition-duration: 0.5s, 0.5s; | |
463 | } | |
464 | ||
465 | .addon[show-relnotes] .relnotes-container { | |
466 | opacity: 1; | |
467 | -moz-transition-property: height, opacity; | |
468 | -moz-transition-duration: 0.5s, 0.5s; | |
469 | } | |
470 | ||
471 | .addon .relnotes-header { | |
472 | font-weight: bold; | |
473 | margin: 10px 0px; | |
474 | } | |
475 | ||
476 | .addon .relnotes-toggle { | |
477 | border: none; | |
478 | background: transparent; | |
479 | font-weight: bold; | |
480 | -moz-box-direction: reverse; | |
481 | cursor: pointer; | |
482 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); | |
483 | } | |
484 | ||
485 | .addon .relnotes-toggle > .button-box > .button-icon { | |
486 | -moz-padding-start: 4px; | |
487 | } | |
488 | ||
489 | .addon[show-relnotes] .relnotes-toggle { | |
490 | list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); | |
491 | } | |
492 | ||
493 | ||
4c18c82c RK |
494 | /*** item - uninstalled ***/ |
495 | ||
496 | .addon[status="uninstalled"] { | |
497 | border: none; | |
e10e7add RK |
498 | } |
499 | ||
4c18c82c RK |
500 | .addon[status="uninstalled"] > .container { |
501 | -moz-box-align: center; | |
502 | padding: 4px 20px; | |
503 | background-color: #8050B0; | |
569543b3 | 504 | border-radius: 8px; |
4c18c82c | 505 | font-size: 120%; |
e10e7add RK |
506 | } |
507 | ||
4c18c82c RK |
508 | .addon[status="uninstalled"][selected] { |
509 | background-color: transparent; | |
e10e7add RK |
510 | } |
511 | ||
4c18c82c | 512 | |
4c18c82c RK |
513 | /*** search view ***/ |
514 | ||
706c344c RK |
515 | #search-filter { |
516 | padding: 5px 20px; | |
4c18c82c RK |
517 | -moz-box-align: center; |
518 | background-color: #000000; | |
519 | font-size: 120%; | |
e10e7add RK |
520 | } |
521 | ||
706c344c RK |
522 | #search-filter-label { |
523 | font-weight: bold; | |
524 | color: #FFCF00; | |
525 | } | |
526 | ||
527 | .search-filter-radio { | |
528 | padding: 0px 6px; | |
529 | margin: 0px 3px; | |
569543b3 | 530 | border-radius: 10000px; |
706c344c RK |
531 | } |
532 | ||
533 | .search-filter-radio[selected] { | |
534 | background-color: #008484; | |
535 | color: #000000; | |
536 | } | |
537 | ||
538 | .search-filter-radio .radio-check-box1 { | |
539 | display: none; | |
540 | } | |
541 | ||
542 | .search-filter-radio .radio-icon { | |
543 | display: none; | |
544 | } | |
4c18c82c | 545 | |
0de07750 RK |
546 | #search-allresults-link { |
547 | margin-top: 1em; | |
548 | margin-bottom: 2em; | |
549 | } | |
550 | ||
4c18c82c RK |
551 | /*** detail view ***/ |
552 | ||
553 | #detail-view[active="false"] .fade { | |
554 | opacity: 0.5; | |
e10e7add RK |
555 | } |
556 | ||
569543b3 | 557 | #detail-view .loading { |
4c18c82c | 558 | opacity: 0; |
e10e7add RK |
559 | } |
560 | ||
569543b3 | 561 | #detail-view:not([loading]) .loading { |
4c18c82c | 562 | visibility: collapse; |
e10e7add RK |
563 | } |
564 | ||
569543b3 | 565 | #detail-view[loading-extended] .loading { |
4c18c82c RK |
566 | -moz-box-align: center; |
567 | -moz-box-pack: center; | |
568 | opacity: 1; | |
569 | -moz-transition-property: opacity; | |
570 | -moz-transition-duration: 1s; | |
e10e7add RK |
571 | } |
572 | ||
569543b3 | 573 | #detail-view .loading > image { |
4c18c82c | 574 | list-style-image: url("chrome://global/skin/icons/loading.gif"); |
e10e7add RK |
575 | } |
576 | ||
4c18c82c | 577 | .detail-view-container { |
569543b3 RK |
578 | padding: 2em; |
579 | font-size: 110%; | |
e10e7add RK |
580 | } |
581 | ||
569543b3 RK |
582 | #detail-notifications { |
583 | margin-bottom: 2em; | |
e10e7add RK |
584 | } |
585 | ||
569543b3 RK |
586 | #detail-notifications .warning, |
587 | #detail-notifications .pending, | |
588 | #detail-notifications .error, | |
589 | #detail-notifications .info { | |
590 | -moz-margin-start: 0; | |
e10e7add RK |
591 | } |
592 | ||
4c18c82c | 593 | #detail-icon { |
4c18c82c | 594 | -moz-margin-end: 10px; |
e10e7add RK |
595 | } |
596 | ||
569543b3 RK |
597 | #detail-summary { |
598 | margin-bottom: 2em; | |
e10e7add RK |
599 | } |
600 | ||
569543b3 RK |
601 | #detail-name-container { |
602 | font-size: 200%; | |
d15f39a1 RK |
603 | } |
604 | ||
569543b3 RK |
605 | #detail-screenshot { |
606 | -moz-margin-end: 2em; | |
18f5421a RK |
607 | } |
608 | ||
569543b3 RK |
609 | #detail-desc-container { |
610 | margin-bottom: 2em; | |
e10e7add RK |
611 | } |
612 | ||
569543b3 RK |
613 | #detail-desc { |
614 | -moz-margin-start: 6px; | |
615 | white-space: pre-wrap; | |
9162a092 RK |
616 | /* This is necessary to fix layout issues with multi-line descriptions, see |
617 | bug 592712*/ | |
618 | outline: solid transparent; | |
569543b3 RK |
619 | } |
620 | ||
621 | #detail-contributions { | |
622 | border-radius: 5px; | |
623 | border: 1px solid #9C9CFF; | |
624 | margin-bottom: 2em; | |
625 | padding: 1em; | |
626 | background: #FFCF00; | |
4c18c82c RK |
627 | } |
628 | ||
569543b3 RK |
629 | #detail-contrib-description { |
630 | font-style: italic; | |
631 | margin-bottom: 1em; | |
4c18c82c RK |
632 | } |
633 | ||
569543b3 RK |
634 | #detail-contrib-suggested { |
635 | color: grey; | |
4c18c82c RK |
636 | } |
637 | ||
569543b3 RK |
638 | #detail-contrib-button { |
639 | list-style-image: url("chrome://mozapps/skin/extensions/heart.png"); | |
640 | } | |
641 | ||
642 | #detail-contrib-button .button-icon { | |
643 | -moz-margin-end: 3px; | |
644 | } | |
645 | ||
646 | #detail-grid { | |
647 | margin-bottom: 2em; | |
648 | } | |
649 | ||
9162a092 RK |
650 | .detail-row[first-row="true"], |
651 | .detail-row-complex[first-row="true"] { | |
652 | border-top: none; | |
653 | } | |
654 | ||
569543b3 RK |
655 | .detail-row, |
656 | .detail-row-complex { | |
9162a092 | 657 | border-top: 1px solid #9C9CFF; |
4c18c82c | 658 | -moz-box-align: center; |
569543b3 RK |
659 | } |
660 | ||
661 | .detail-row-value { | |
662 | -moz-margin-start: 0; | |
e10e7add RK |
663 | } |
664 | ||
4c18c82c RK |
665 | |
666 | /*** creator ***/ | |
667 | ||
668 | .creator > label { | |
669 | -moz-margin-start: 0px; | |
670 | -moz-margin-end: 0px; | |
e10e7add RK |
671 | } |
672 | ||
4c18c82c RK |
673 | .creator > .text-link { |
674 | margin-top: 1px; | |
675 | margin-bottom: 1px; | |
e10e7add RK |
676 | } |
677 | ||
4c18c82c RK |
678 | |
679 | /*** rating ***/ | |
680 | ||
681 | .meta-rating { | |
682 | -moz-margin-start: 0px; | |
683 | -moz-margin-end: 0px; | |
684 | vertical-align: text-top; | |
e10e7add RK |
685 | } |
686 | ||
4c18c82c RK |
687 | .meta-rating[showrating="average"] > .star { |
688 | list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png"); | |
689 | padding: 0px 1px; | |
e10e7add RK |
690 | } |
691 | ||
4c18c82c RK |
692 | .meta-rating[showrating="user"] > .star { |
693 | list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png"); | |
694 | padding: 2px 3px; | |
e10e7add RK |
695 | } |
696 | ||
4c18c82c RK |
697 | .meta-rating > .star[on="true"], |
698 | .meta-rating[showrating="user"] > .star[hover] { | |
699 | list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png"); | |
700 | padding: 0px 1px; | |
e10e7add RK |
701 | } |
702 | ||
4c18c82c RK |
703 | |
704 | /*** download progress ***/ | |
705 | ||
706 | .download-progress { | |
707 | background-color: #000000; | |
569543b3 | 708 | border-radius: 10000px; |
4c18c82c RK |
709 | border: 1px solid #FF9F00; |
710 | width: 200px; | |
711 | height: 24px; | |
712 | margin: 0px 8px; | |
e10e7add RK |
713 | } |
714 | ||
4c18c82c RK |
715 | .download-progress .start-cap, |
716 | .download-progress[complete] .end-cap, | |
717 | .download-progress .progress .progress-bar { | |
718 | background-color: #008484; | |
e10e7add RK |
719 | } |
720 | ||
4c18c82c RK |
721 | .download-progress .progress { |
722 | background-color: transparent; | |
e10e7add RK |
723 | } |
724 | ||
4c18c82c RK |
725 | .download-progress .start-cap, .download-progress .end-cap { |
726 | width: 12px; | |
e10e7add RK |
727 | } |
728 | ||
941d657f RK |
729 | .download-progress .start-cap:-moz-locale-dir(ltr), |
730 | .download-progress .end-cap:-moz-locale-dir(rtl) { | |
569543b3 | 731 | border-radius: 10000px 0 0 10000px; |
e10e7add RK |
732 | } |
733 | ||
941d657f RK |
734 | .download-progress .end-cap:-moz-locale-dir(ltr), |
735 | .download-progress .start-cap:-moz-locale-dir(rtl) { | |
569543b3 | 736 | border-radius: 0 10000px 10000px 0; |
e10e7add RK |
737 | } |
738 | ||
4c18c82c RK |
739 | .download-progress .progress { |
740 | -moz-appearance: none; | |
741 | padding: 0px; | |
742 | margin: 0px; | |
743 | border: none; | |
e10e7add RK |
744 | } |
745 | ||
4c18c82c RK |
746 | .download-progress .pause, .download-progress .cancel { |
747 | -moz-appearance: none; | |
748 | background-color: #8050B0; | |
749 | border-width: 1px 0px 0px 1px; | |
941d657f | 750 | padding-right: 1px; |
4c18c82c | 751 | border-style: solid; |
569543b3 | 752 | border-radius: 10000px; |
4c18c82c RK |
753 | min-width: 16px; |
754 | width: 16px; | |
755 | height: 16px; | |
756 | margin: 3px; | |
e10e7add RK |
757 | } |
758 | ||
d15f39a1 RK |
759 | .download-progress .pause { |
760 | list-style-image: url('chrome://mozapps/skin/extensions/pause.png'); | |
761 | } | |
762 | ||
763 | .download-progress .cancel { | |
764 | list-style-image: url('chrome://mozapps/skin/extensions/cancel.png'); | |
765 | } | |
766 | ||
4c18c82c RK |
767 | .download-progress .status-container { |
768 | -moz-box-align: center; | |
769 | } | |
770 | ||
771 | ||
772 | /*** install status ***/ | |
773 | ||
774 | .install-status { | |
775 | -moz-box-align: center; | |
e10e7add RK |
776 | } |
777 | ||
4c18c82c RK |
778 | |
779 | /*** check for updates ***/ | |
780 | ||
781 | #updates-container { | |
782 | -moz-box-align: center; | |
e10e7add RK |
783 | } |
784 | ||
4c18c82c RK |
785 | #updates-installed, #updates-downloaded { |
786 | color: #008484; | |
787 | font-weight: bold; | |
e10e7add RK |
788 | } |
789 | ||
569543b3 RK |
790 | #update-selected { |
791 | margin: 12px; | |
e10e7add RK |
792 | } |
793 | ||
569543b3 | 794 | /*** buttons ***/ |
4c18c82c | 795 | |
0de07750 RK |
796 | .addon-control[disabled="true"] { |
797 | display: none; | |
798 | } | |
799 | ||
4c18c82c RK |
800 | .button-link { |
801 | background: transparent; | |
802 | border: none; | |
803 | text-decoration: underline; | |
804 | color: blue; | |
805 | cursor: pointer; | |
806 | min-width: 0; | |
706c344c | 807 | margin: 0 6px; |
e10e7add | 808 | } |