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