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