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