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