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