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