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