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