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