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