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