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 | |
4c18c82c RK |
415 | /*** list ***/ |
416 | ||
417 | .list { | |
72a6fd39 | 418 | margin: 0; |
4c18c82c | 419 | border: none; |
706c344c | 420 | background-color: transparent; |
4c18c82c RK |
421 | } |
422 | ||
706c344c RK |
423 | .addon { |
424 | border-bottom: 1px solid #9C9CFF; | |
425 | padding: 5px; | |
72a6fd39 | 426 | background-origin: border-box; |
e10e7add RK |
427 | } |
428 | ||
706c344c | 429 | .details { |
4c18c82c | 430 | cursor: pointer; |
706c344c RK |
431 | margin: 0; |
432 | -moz-margin-start: 10px; | |
e10e7add RK |
433 | } |
434 | ||
706c344c RK |
435 | .icon-container { |
436 | width: 48px; | |
437 | height: 48px; | |
a0885fa2 | 438 | margin: 3px 7px; |
e10e7add RK |
439 | } |
440 | ||
706c344c | 441 | .icon { |
d15f39a1 | 442 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); |
706c344c RK |
443 | max-width: 48px; |
444 | max-height: 48px; | |
e10e7add RK |
445 | } |
446 | ||
72a6fd39 RK |
447 | .addon[active="false"] .icon { |
448 | /* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */ | |
449 | } | |
450 | ||
569543b3 | 451 | .addon-view[type="theme"] .icon { |
4c18c82c | 452 | list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); |
e10e7add RK |
453 | } |
454 | ||
569543b3 | 455 | .addon-view[type="locale"] .icon { |
d15f39a1 RK |
456 | list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); |
457 | } | |
458 | ||
569543b3 | 459 | .addon-view[type="plugin"] .icon { |
4c18c82c | 460 | list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); |
e10e7add RK |
461 | } |
462 | ||
8a933f1e | 463 | .name-container { |
4c18c82c | 464 | font-size: 150%; |
72a6fd39 | 465 | font-weight: bold; |
a67d7bb0 | 466 | color: #9C9CFF; |
72a6fd39 RK |
467 | margin-bottom: 0; |
468 | } | |
469 | ||
470 | .creator { | |
471 | font-weight: bold; | |
472 | } | |
473 | ||
474 | .creator .text-link { | |
475 | /* color: #0066CC; */ | |
4c18c82c RK |
476 | } |
477 | ||
706c344c | 478 | .description-container { |
4c18c82c | 479 | margin-top: 8px; |
e10e7add | 480 | -moz-margin-start: 6px; |
e10e7add RK |
481 | } |
482 | ||
706c344c RK |
483 | .description { |
484 | margin: 0; | |
485 | } | |
486 | ||
72a6fd39 RK |
487 | .warning, |
488 | .pending, | |
489 | .error, | |
490 | .info { | |
706c344c | 491 | -moz-margin-start: 48px; |
72a6fd39 | 492 | font-weight: bold; |
706c344c RK |
493 | } |
494 | ||
72a6fd39 | 495 | .addon-view .warning { |
706c344c RK |
496 | color: #FFCF00; |
497 | } | |
498 | ||
72a6fd39 | 499 | .addon-view .error { |
4c18c82c | 500 | color: #FF0000; |
706c344c RK |
501 | } |
502 | ||
72a6fd39 | 503 | .addon-view .pending { |
706c344c | 504 | color: #008484; |
e10e7add RK |
505 | } |
506 | ||
72a6fd39 RK |
507 | .addon-view[pending="disable"] .pending, |
508 | .addon-view[pending="uninstall"] .pending { | |
509 | color: #FF9C00; | |
e10e7add RK |
510 | } |
511 | ||
0de07750 RK |
512 | .addon .relnotes-container { |
513 | -moz-box-align: start; | |
72a6fd39 RK |
514 | -moz-margin-start: 6px; |
515 | height: 0; | |
0de07750 RK |
516 | overflow: hidden; |
517 | opacity: 0; | |
518 | -moz-transition-property: height, opacity; | |
519 | -moz-transition-duration: 0.5s, 0.5s; | |
520 | } | |
521 | ||
522 | .addon[show-relnotes] .relnotes-container { | |
523 | opacity: 1; | |
524 | -moz-transition-property: height, opacity; | |
525 | -moz-transition-duration: 0.5s, 0.5s; | |
526 | } | |
527 | ||
528 | .addon .relnotes-header { | |
529 | font-weight: bold; | |
72a6fd39 | 530 | margin: 10px 0; |
0de07750 RK |
531 | } |
532 | ||
533 | .addon .relnotes-toggle { | |
534 | border: none; | |
535 | background: transparent; | |
536 | font-weight: bold; | |
537 | -moz-box-direction: reverse; | |
538 | cursor: pointer; | |
539 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); | |
540 | } | |
541 | ||
542 | .addon .relnotes-toggle > .button-box > .button-icon { | |
543 | -moz-padding-start: 4px; | |
544 | } | |
545 | ||
546 | .addon[show-relnotes] .relnotes-toggle { | |
547 | list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); | |
548 | } | |
549 | ||
72a6fd39 RK |
550 | .addon[active="false"] { |
551 | /* background-color: rgba(135, 135, 135, 0.1); */ | |
552 | } | |
553 | ||
554 | .addon-view[active="false"], | |
555 | .addon-view[active="false"] .name-container { | |
556 | color: #E7ADE7; | |
557 | } | |
558 | ||
559 | .addon-view[notification="warning"] { | |
560 | background-color : #FFCF00; | |
561 | color: #000000; | |
562 | } | |
563 | ||
564 | .addon-view[notification="warning"] .warning { | |
565 | color: #000000; | |
566 | } | |
567 | ||
a67d7bb0 RK |
568 | .addon-view[notification="warning"] .name-container { |
569 | color: #000000; | |
570 | } | |
571 | ||
72a6fd39 RK |
572 | .addon-view[notification="error"] { |
573 | background-color: #FF0000; | |
574 | color: #000000; | |
575 | } | |
576 | ||
577 | .addon-view[notification="error"] .error { | |
578 | color: #000000; | |
579 | } | |
580 | ||
581 | .addon-view[notification="info"] { | |
582 | background-color: #9C9CFF; | |
583 | color: #000000; | |
584 | } | |
585 | ||
586 | .addon-view[pending="enable"], | |
587 | .addon-view[pending="upgrade"], | |
588 | .addon-view[pending="install"] { | |
589 | background-color: #008484; | |
590 | } | |
591 | ||
592 | .addon-view[pending="disable"], | |
593 | .addon-view[pending="uninstall"] { | |
594 | color: #8050B0; | |
595 | } | |
596 | ||
0de07750 | 597 | |
4c18c82c RK |
598 | /*** item - uninstalled ***/ |
599 | ||
600 | .addon[status="uninstalled"] { | |
601 | border: none; | |
e10e7add RK |
602 | } |
603 | ||
4c18c82c RK |
604 | .addon[status="uninstalled"] > .container { |
605 | -moz-box-align: center; | |
606 | padding: 4px 20px; | |
607 | background-color: #8050B0; | |
569543b3 | 608 | border-radius: 8px; |
4c18c82c | 609 | font-size: 120%; |
e10e7add RK |
610 | } |
611 | ||
4c18c82c RK |
612 | .addon[status="uninstalled"][selected] { |
613 | background-color: transparent; | |
e10e7add RK |
614 | } |
615 | ||
72a6fd39 RK |
616 | .addon[selected] { |
617 | background-color: #008484; | |
a67d7bb0 | 618 | color: #FF9F00; |
72a6fd39 RK |
619 | } |
620 | ||
621 | .addon[selected] .name-container { | |
a67d7bb0 RK |
622 | color: #FFCF00; |
623 | } | |
624 | ||
625 | .addon[active="false"][selected] { | |
626 | color: #E7ADE7; | |
72a6fd39 RK |
627 | } |
628 | ||
629 | .addon[active="false"][selected] .name-container { | |
a67d7bb0 | 630 | color: #E7ADE7; |
72a6fd39 RK |
631 | } |
632 | ||
4c18c82c | 633 | |
4c18c82c RK |
634 | /*** search view ***/ |
635 | ||
706c344c RK |
636 | #search-filter { |
637 | padding: 5px 20px; | |
4c18c82c RK |
638 | -moz-box-align: center; |
639 | background-color: #000000; | |
640 | font-size: 120%; | |
72a6fd39 RK |
641 | border-bottom: 1px solid #9C9CFF; |
642 | overflow-x: hidden; | |
e10e7add RK |
643 | } |
644 | ||
706c344c RK |
645 | #search-filter-label { |
646 | font-weight: bold; | |
647 | color: #FFCF00; | |
648 | } | |
649 | ||
650 | .search-filter-radio { | |
72a6fd39 RK |
651 | padding: 0 6px; |
652 | margin: 0 3px; | |
569543b3 | 653 | border-radius: 10000px; |
706c344c RK |
654 | } |
655 | ||
656 | .search-filter-radio[selected] { | |
657 | background-color: #008484; | |
658 | color: #000000; | |
659 | } | |
660 | ||
661 | .search-filter-radio .radio-check-box1 { | |
662 | display: none; | |
663 | } | |
664 | ||
665 | .search-filter-radio .radio-icon { | |
666 | display: none; | |
667 | } | |
4c18c82c | 668 | |
0de07750 RK |
669 | #search-allresults-link { |
670 | margin-top: 1em; | |
671 | margin-bottom: 2em; | |
672 | } | |
673 | ||
4c18c82c RK |
674 | /*** detail view ***/ |
675 | ||
569543b3 | 676 | #detail-view .loading { |
4c18c82c | 677 | opacity: 0; |
e10e7add RK |
678 | } |
679 | ||
569543b3 | 680 | #detail-view[loading-extended] .loading { |
4c18c82c RK |
681 | opacity: 1; |
682 | -moz-transition-property: opacity; | |
683 | -moz-transition-duration: 1s; | |
e10e7add RK |
684 | } |
685 | ||
4c18c82c | 686 | .detail-view-container { |
72a6fd39 | 687 | padding: 0 2em 2em 2em; |
569543b3 | 688 | font-size: 110%; |
e10e7add RK |
689 | } |
690 | ||
569543b3 | 691 | #detail-notifications { |
72a6fd39 | 692 | margin-top: 1em; |
569543b3 | 693 | margin-bottom: 2em; |
e10e7add RK |
694 | } |
695 | ||
569543b3 RK |
696 | #detail-notifications .warning, |
697 | #detail-notifications .pending, | |
72a6fd39 | 698 | #detail-notifications .error { |
569543b3 | 699 | -moz-margin-start: 0; |
e10e7add RK |
700 | } |
701 | ||
4c18c82c | 702 | #detail-icon { |
4c18c82c | 703 | -moz-margin-end: 10px; |
72a6fd39 RK |
704 | margin-top: 6px; |
705 | max-width: 64px; | |
706 | max-height: 64px; | |
e10e7add RK |
707 | } |
708 | ||
569543b3 RK |
709 | #detail-summary { |
710 | margin-bottom: 2em; | |
e10e7add RK |
711 | } |
712 | ||
569543b3 RK |
713 | #detail-name-container { |
714 | font-size: 200%; | |
d15f39a1 RK |
715 | } |
716 | ||
569543b3 RK |
717 | #detail-screenshot { |
718 | -moz-margin-end: 2em; | |
6831f2a0 RK |
719 | max-width: 300px; |
720 | max-height: 300px; | |
18f5421a RK |
721 | } |
722 | ||
569543b3 RK |
723 | #detail-desc-container { |
724 | margin-bottom: 2em; | |
e10e7add RK |
725 | } |
726 | ||
8a933f1e | 727 | #detail-desc, #detail-fulldesc { |
569543b3 RK |
728 | -moz-margin-start: 6px; |
729 | white-space: pre-wrap; | |
9162a092 RK |
730 | /* This is necessary to fix layout issues with multi-line descriptions, see |
731 | bug 592712*/ | |
732 | outline: solid transparent; | |
72a6fd39 | 733 | min-width: 8em; |
569543b3 RK |
734 | } |
735 | ||
8a933f1e RK |
736 | #detail-fulldesc { |
737 | margin-top: 1em; | |
738 | } | |
739 | ||
569543b3 RK |
740 | #detail-contributions { |
741 | border-radius: 5px; | |
742 | border: 1px solid #9C9CFF; | |
743 | margin-bottom: 2em; | |
744 | padding: 1em; | |
72a6fd39 | 745 | background-color: #FFCF00; |
4c18c82c RK |
746 | } |
747 | ||
569543b3 RK |
748 | #detail-contrib-description { |
749 | font-style: italic; | |
750 | margin-bottom: 1em; | |
72a6fd39 | 751 | color: #000000; |
4c18c82c RK |
752 | } |
753 | ||
569543b3 | 754 | #detail-contrib-suggested { |
72a6fd39 RK |
755 | color: #8050B0; |
756 | font-weight: bold; | |
4c18c82c RK |
757 | } |
758 | ||
72a6fd39 | 759 | #detail-contrib-btn { |
569543b3 RK |
760 | list-style-image: url("chrome://mozapps/skin/extensions/heart.png"); |
761 | } | |
762 | ||
72a6fd39 | 763 | #detail-contrib-btn .button-icon { |
569543b3 RK |
764 | -moz-margin-end: 3px; |
765 | } | |
766 | ||
767 | #detail-grid { | |
768 | margin-bottom: 2em; | |
769 | } | |
770 | ||
9162a092 RK |
771 | .detail-row[first-row="true"], |
772 | .detail-row-complex[first-row="true"] { | |
773 | border-top: none; | |
774 | } | |
775 | ||
569543b3 RK |
776 | .detail-row, |
777 | .detail-row-complex { | |
9162a092 | 778 | border-top: 1px solid #9C9CFF; |
4c18c82c | 779 | -moz-box-align: center; |
569543b3 RK |
780 | } |
781 | ||
782 | .detail-row-value { | |
783 | -moz-margin-start: 0; | |
e10e7add RK |
784 | } |
785 | ||
72a6fd39 RK |
786 | #detail-controls { |
787 | margin-bottom: 1em; | |
788 | } | |
789 | ||
790 | #detail-view[active="false"]:not([pending]):not([notification]) { | |
791 | /* background-color: foo; */ | |
792 | } | |
4c18c82c RK |
793 | |
794 | /*** creator ***/ | |
795 | ||
796 | .creator > label { | |
72a6fd39 | 797 | -moz-margin-end: 0; |
e10e7add RK |
798 | } |
799 | ||
4c18c82c RK |
800 | .creator > .text-link { |
801 | margin-top: 1px; | |
802 | margin-bottom: 1px; | |
e10e7add RK |
803 | } |
804 | ||
4c18c82c RK |
805 | |
806 | /*** rating ***/ | |
807 | ||
808 | .meta-rating { | |
72a6fd39 RK |
809 | -moz-margin-start: 0; |
810 | -moz-margin-end: 0; | |
811 | padding-top: 2px; | |
e10e7add RK |
812 | } |
813 | ||
72a6fd39 | 814 | .meta-rating > .star { |
4c18c82c | 815 | list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png"); |
72a6fd39 | 816 | padding: 0 1px; |
e10e7add RK |
817 | } |
818 | ||
72a6fd39 | 819 | .meta-rating > .star[on="true"] { |
4c18c82c | 820 | list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png"); |
e10e7add RK |
821 | } |
822 | ||
4c18c82c RK |
823 | |
824 | /*** download progress ***/ | |
825 | ||
826 | .download-progress { | |
827 | background-color: #000000; | |
569543b3 | 828 | border-radius: 10000px; |
4c18c82c RK |
829 | border: 1px solid #FF9F00; |
830 | width: 200px; | |
72a6fd39 RK |
831 | height: 21px; |
832 | margin: 0 8px; | |
e10e7add RK |
833 | } |
834 | ||
e1313d59 RK |
835 | .download-progress[mode="undetermined"] .status-container { |
836 | padding: 0 2px; | |
837 | } | |
838 | ||
4c18c82c RK |
839 | .download-progress .start-cap, |
840 | .download-progress[complete] .end-cap, | |
e1313d59 | 841 | .download-progress[mode="undetermined"] .end-cap, |
4c18c82c RK |
842 | .download-progress .progress .progress-bar { |
843 | background-color: #008484; | |
e10e7add RK |
844 | } |
845 | ||
e1313d59 RK |
846 | .download-progress .progress .progress-bar { |
847 | border-left-width: 0; | |
848 | border-right-width: 0; | |
849 | min-height: 21px; | |
850 | } | |
851 | ||
4c18c82c RK |
852 | .download-progress .progress { |
853 | background-color: transparent; | |
72a6fd39 RK |
854 | padding: 0; |
855 | margin: 0; | |
856 | border: none; | |
e10e7add RK |
857 | } |
858 | ||
4c18c82c RK |
859 | .download-progress .start-cap, .download-progress .end-cap { |
860 | width: 12px; | |
e10e7add RK |
861 | } |
862 | ||
941d657f RK |
863 | .download-progress .start-cap:-moz-locale-dir(ltr), |
864 | .download-progress .end-cap:-moz-locale-dir(rtl) { | |
72a6fd39 | 865 | border-radius: 3px 0 0 3px; |
e10e7add RK |
866 | } |
867 | ||
941d657f RK |
868 | .download-progress .end-cap:-moz-locale-dir(ltr), |
869 | .download-progress .start-cap:-moz-locale-dir(rtl) { | |
72a6fd39 | 870 | border-radius: 0 3px 3px 0; |
e10e7add RK |
871 | } |
872 | ||
72a6fd39 | 873 | .download-progress .cancel { |
4c18c82c | 874 | -moz-appearance: none; |
72a6fd39 RK |
875 | background-color: #8050B0; |
876 | border: 1px solid #9C9CFF; | |
877 | padding: 3px; | |
878 | border-radius: 3px; | |
879 | min-width: 0; | |
880 | margin: 3px; | |
881 | } | |
882 | ||
72a6fd39 RK |
883 | .download-progress .cancel .button-box { |
884 | padding: 0; | |
4c18c82c | 885 | border: none; |
e10e7add RK |
886 | } |
887 | ||
72a6fd39 RK |
888 | .download-progress .cancel .button-text { |
889 | display: none; | |
890 | } | |
891 | ||
72a6fd39 RK |
892 | .download-progress .cancel .button-icon { |
893 | -moz-margin-start: 0; | |
e10e7add RK |
894 | } |
895 | ||
d15f39a1 RK |
896 | .download-progress .cancel { |
897 | list-style-image: url('chrome://mozapps/skin/extensions/cancel.png'); | |
898 | } | |
899 | ||
4c18c82c RK |
900 | .download-progress .status-container { |
901 | -moz-box-align: center; | |
902 | } | |
903 | ||
72a6fd39 RK |
904 | .download-progress .status { |
905 | /* text-shadow: #FFF 0 0 2px; */ | |
906 | } | |
4c18c82c RK |
907 | |
908 | /*** install status ***/ | |
909 | ||
910 | .install-status { | |
911 | -moz-box-align: center; | |
e10e7add RK |
912 | } |
913 | ||
4c18c82c RK |
914 | |
915 | /*** check for updates ***/ | |
916 | ||
917 | #updates-container { | |
918 | -moz-box-align: center; | |
e10e7add RK |
919 | } |
920 | ||
72a6fd39 RK |
921 | #updates-container .button-link { |
922 | font-weight: bold; | |
923 | } | |
924 | ||
925 | #updates-installed, | |
926 | #updates-downloaded { | |
4c18c82c RK |
927 | color: #008484; |
928 | font-weight: bold; | |
e10e7add RK |
929 | } |
930 | ||
569543b3 RK |
931 | #update-selected { |
932 | margin: 12px; | |
e10e7add RK |
933 | } |
934 | ||
569543b3 | 935 | /*** buttons ***/ |
4c18c82c | 936 | |
0de07750 RK |
937 | .addon-control[disabled="true"] { |
938 | display: none; | |
939 | } | |
940 | ||
4c18c82c RK |
941 | .button-link { |
942 | background: transparent; | |
943 | border: none; | |
944 | text-decoration: underline; | |
945 | color: blue; | |
946 | cursor: pointer; | |
947 | min-width: 0; | |
706c344c | 948 | margin: 0 6px; |
e10e7add | 949 | } |