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; | |
7729765c | 10 | padding-bottom: 0; |
0de07750 RK |
11 | } |
12 | ||
f0a62060 RK |
13 | #nav-header { |
14 | min-height: 39px; | |
15 | background-color: #9999CC; | |
0de07750 RK |
16 | } |
17 | ||
f0a62060 RK |
18 | .view-pane > .list > scrollbox { |
19 | -moz-padding-end: 48px; | |
0de07750 RK |
20 | } |
21 | ||
569543b3 | 22 | /*** global warnings ***/ |
a67d7bb0 | 23 | |
72a6fd39 RK |
24 | .global-warning-container { |
25 | overflow-x: hidden; | |
26 | } | |
27 | ||
569543b3 RK |
28 | .global-warning { |
29 | -moz-box-align: center; | |
30 | padding: 0 8px; | |
31 | color: #000000; | |
32 | font-weight: bold; | |
33 | } | |
34 | ||
35 | #addons-page[warning] .global-warning-container { | |
36 | background-color: #FFFFCC; | |
37 | } | |
38 | ||
39 | #detail-view .global-warning { | |
40 | padding: 4px 12px; | |
a67d7bb0 | 41 | border-bottom: 1px solid #9999CC; |
569543b3 RK |
42 | } |
43 | ||
f777a4f1 | 44 | @media (max-width: 600px) { |
72a6fd39 RK |
45 | .global-warning-text { |
46 | display: none; | |
47 | } | |
48 | ||
49 | .global-warning .warning-icon { | |
50 | /* background-color: #FFF; | |
51 | box-shadow: 0px 0px 2px 5px #FFF; | |
52 | border-radius: 10px; */ | |
53 | } | |
54 | } | |
55 | ||
f993773d | 56 | /*** global informations ***/ |
f993773d | 57 | |
e1313d59 RK |
58 | /* Plugins aren't yet disabled by safemode (bug 342333), |
59 | so don't show that warning when viewing plugins. */ | |
60 | #addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container, | |
61 | #addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning-container { | |
62 | background-color: inherit; | |
63 | background-image: none; | |
64 | } | |
65 | ||
66 | ||
569543b3 RK |
67 | /*** notification icons ***/ |
68 | ||
f0a62060 RK |
69 | .warning-icon, |
70 | .error-icon, | |
71 | .pending-icon, | |
72 | .info-icon { | |
569543b3 RK |
73 | width: 16px; |
74 | height: 16px; | |
f0a62060 RK |
75 | margin: 1px 0; |
76 | } | |
77 | ||
78 | .warning-icon { | |
7729765c | 79 | list-style-image: url("chrome://mozapps/skin/extensions/alerticon-warning.svg"); |
569543b3 RK |
80 | } |
81 | ||
82 | .error-icon { | |
7729765c | 83 | list-style-image: url("chrome://mozapps/skin/extensions/alerticon-error.svg"); |
569543b3 RK |
84 | } |
85 | ||
86 | .pending-icon, | |
87 | .info-icon { | |
7729765c | 88 | list-style-image: url("chrome://mozapps/skin/extensions/alerticon-info-positive.svg"); |
569543b3 | 89 | } |
600bfec4 | 90 | |
72a6fd39 RK |
91 | .addon-view[pending="disable"] .pending-icon, |
92 | .addon-view[pending="uninstall"] .pending-icon { | |
7729765c | 93 | list-style-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.svg"); |
72a6fd39 RK |
94 | } |
95 | ||
72a6fd39 RK |
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 | ||
7729765c RK |
137 | button.warning { |
138 | list-style-image: url("chrome://mozapps/skin/extensions/alerticon-warning.svg"); | |
139 | } | |
72a6fd39 | 140 | |
600bfec4 RK |
141 | /*** category selector ***/ |
142 | ||
143 | #categories { | |
f0a62060 | 144 | padding-top: 0; |
600bfec4 RK |
145 | } |
146 | ||
147 | .category[disabled] { | |
f0a62060 | 148 | overflow: hidden; |
72a6fd39 | 149 | height: 0; |
f0a62060 | 150 | min-height: 0; |
600bfec4 | 151 | opacity: 0; |
f0a62060 | 152 | transition-property: min-height, opacity; |
71a617ff | 153 | transition-duration: 1s, 0.8s; |
600bfec4 RK |
154 | } |
155 | ||
156 | .category:not([disabled]) { | |
f0a62060 RK |
157 | min-height: 40px; |
158 | transition-property: min-height, opacity; | |
71a617ff | 159 | transition-duration: 1s, 0.8s; |
600bfec4 RK |
160 | } |
161 | ||
72a6fd39 | 162 | /* Maximize the size of the viewport when the window is small */ |
f777a4f1 | 163 | @media (max-width: 800px) { |
72a6fd39 RK |
164 | .category-name { |
165 | display: none; | |
166 | } | |
167 | } | |
168 | ||
600bfec4 RK |
169 | .category-badge { |
170 | background-color: #666699; | |
171 | padding: 2px 8px; | |
72a6fd39 | 172 | margin: 6px 0; |
f0a62060 RK |
173 | -moz-margin-start: 6px; |
174 | border-radius: 100%; | |
600bfec4 RK |
175 | color: #FFFFFF; |
176 | font-weight: bold; | |
177 | text-align: center; | |
178 | } | |
179 | ||
180 | .category-badge[value="0"] { | |
f0a62060 | 181 | display: none; |
600bfec4 RK |
182 | } |
183 | ||
184 | #category-search > .category-icon { | |
185 | list-style-image: url("chrome://mozapps/skin/extensions/category-search.png"); | |
186 | } | |
187 | #category-discover > .category-icon { | |
188 | list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png"); | |
189 | } | |
f993773d | 190 | #category-locale > .category-icon { |
600bfec4 RK |
191 | list-style-image: url("chrome://mozapps/skin/extensions/category-languages.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 { |
7729765c | 408 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.svg"); |
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 { |
7729765c | 442 | font-size: 1.3rem; |
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; |
7729765c | 455 | font-size: 1.25rem; |
49037d9b RK |
456 | } |
457 | ||
706c344c RK |
458 | .description { |
459 | margin: 0; | |
460 | } | |
461 | ||
72a6fd39 RK |
462 | .warning, |
463 | .pending, | |
f0a62060 | 464 | .error { |
706c344c | 465 | -moz-margin-start: 48px; |
72a6fd39 | 466 | font-weight: bold; |
38b75e2e RK |
467 | -moz-box-align: center; |
468 | } | |
469 | ||
470 | .content-container, | |
471 | .basicinfo-container { | |
472 | -moz-box-align: start; | |
473 | } | |
474 | ||
475 | .addon[status="installing"] > .content-container { | |
476 | -moz-box-align: stretch; | |
477 | } | |
478 | ||
479 | .update-info-container { | |
480 | -moz-box-align: center; | |
481 | } | |
482 | ||
38b75e2e RK |
483 | .update-available { |
484 | -moz-box-align: end; | |
485 | } | |
486 | ||
487 | .install-status-container { | |
488 | -moz-box-pack: end; | |
489 | -moz-box-align: end; | |
490 | } | |
491 | ||
492 | .name-outer-container { | |
493 | -moz-box-pack: center; | |
494 | } | |
495 | ||
496 | .relnotes-toggle-container, | |
497 | .icon-outer-container { | |
498 | -moz-box-pack: start; | |
499 | } | |
500 | ||
501 | .status-container, | |
502 | .control-container { | |
503 | -moz-box-pack: end; | |
706c344c RK |
504 | } |
505 | ||
72a6fd39 | 506 | .addon-view .warning { |
706c344c RK |
507 | color: #808000; |
508 | } | |
509 | ||
72a6fd39 | 510 | .addon-view .error { |
600bfec4 | 511 | color: #FF0000; |
706c344c RK |
512 | } |
513 | ||
72a6fd39 | 514 | .addon-view .pending { |
706c344c | 515 | color: #33FF33; |
49037d9b RK |
516 | } |
517 | ||
72a6fd39 RK |
518 | .addon-view[pending="disable"] .pending, |
519 | .addon-view[pending="uninstall"] .pending { | |
520 | color: #000000; | |
521 | } | |
522 | ||
523 | .addon .relnotes-container { | |
524 | -moz-box-align: start; | |
525 | -moz-margin-start: 6px; | |
526 | height: 0; | |
527 | overflow: hidden; | |
528 | opacity: 0; | |
71a617ff RK |
529 | transition-property: height, opacity; |
530 | transition-duration: 0.5s, 0.5s; | |
72a6fd39 RK |
531 | } |
532 | ||
533 | .addon[show-relnotes] .relnotes-container { | |
534 | opacity: 1; | |
71a617ff RK |
535 | transition-property: height, opacity; |
536 | transition-duration: 0.5s, 0.5s; | |
72a6fd39 RK |
537 | } |
538 | ||
539 | .addon .relnotes-header { | |
540 | font-weight: bold; | |
541 | margin: 10px 0; | |
542 | } | |
543 | ||
544 | .addon .relnotes-toggle { | |
545 | border: none; | |
546 | background: transparent; | |
547 | font-weight: bold; | |
548 | -moz-box-direction: reverse; | |
549 | cursor: pointer; | |
550 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); | |
551 | } | |
552 | ||
553 | .addon .relnotes-toggle > .button-box > .button-icon { | |
554 | -moz-padding-start: 4px; | |
555 | } | |
556 | ||
557 | .addon[show-relnotes] .relnotes-toggle { | |
558 | list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); | |
559 | } | |
560 | ||
7729765c RK |
561 | .addon-view[notification], |
562 | .addon-view[pending] { | |
563 | --view-highlight-color: transparent; | |
564 | /* | |
565 | background-image: radial-gradient(at 50% 0%, | |
566 | var(--view-highlight-color) 0%, | |
567 | transparent 75%); | |
568 | */ | |
569 | background-color: var(--view-highlight-color); | |
570 | } | |
571 | ||
569543b3 | 572 | .addon-view[notification="warning"] { |
7729765c | 573 | --view-highlight-color: #FFFFCC; |
ae19a7b3 RK |
574 | } |
575 | ||
569543b3 | 576 | .addon-view[notification="error"] { |
7729765c | 577 | --view-highlight-color: #FFD0DD; |
706c344c RK |
578 | } |
579 | ||
569543b3 | 580 | .addon-view[notification="info"] { |
7729765c | 581 | --view-highlight-color: #9999CC; |
49037d9b RK |
582 | } |
583 | ||
569543b3 RK |
584 | .addon-view[pending="enable"], |
585 | .addon-view[pending="upgrade"], | |
586 | .addon-view[pending="install"] { | |
706c344c | 587 | background-color: #CCFFDD; |
49037d9b RK |
588 | } |
589 | ||
ae19a7b3 RK |
590 | .addon-view[pending="enable"] .pending, |
591 | .addon-view[pending="upgrade"] .pending, | |
592 | .addon-view[pending="install"] .pending { | |
593 | color: #008000; | |
594 | } | |
595 | ||
569543b3 RK |
596 | .addon-view[pending="disable"], |
597 | .addon-view[pending="uninstall"] { | |
7729765c | 598 | --view-highlight-color: #808080; |
706c344c RK |
599 | } |
600 | ||
72a6fd39 RK |
601 | .addon[selected] { |
602 | background-color: #336699; | |
a67d7bb0 | 603 | color: #FFFFFF; |
0de07750 RK |
604 | } |
605 | ||
72a6fd39 | 606 | .addon[selected] .name-container { |
a67d7bb0 RK |
607 | color: #FFFFFF; |
608 | } | |
609 | ||
f0a62060 RK |
610 | .addon[active="false"] > .content-container > .content-inner-container { |
611 | color: #666699; | |
0de07750 RK |
612 | } |
613 | ||
f0a62060 RK |
614 | .addon[active="false"][selected] > .content-container > .content-inner-container { |
615 | color: #AAAAAA; | |
0de07750 RK |
616 | } |
617 | ||
0de07750 | 618 | |
600bfec4 RK |
619 | /*** item - uninstalled ***/ |
620 | ||
621 | .addon[status="uninstalled"] { | |
49037d9b RK |
622 | border: none; |
623 | } | |
624 | ||
600bfec4 RK |
625 | .addon[status="uninstalled"] > .container { |
626 | -moz-box-align: center; | |
627 | padding: 4px 20px; | |
628 | background-color: #808080; | |
569543b3 | 629 | border-radius: 8px; |
600bfec4 | 630 | font-size: 120%; |
559908da RK |
631 | } |
632 | ||
600bfec4 RK |
633 | .addon[status="uninstalled"][selected] { |
634 | background-color: transparent; | |
559908da RK |
635 | } |
636 | ||
559908da | 637 | |
600bfec4 RK |
638 | /*** search view ***/ |
639 | ||
706c344c RK |
640 | #search-filter { |
641 | padding: 5px 20px; | |
f0a62060 | 642 | -moz-margin-end: 48px; |
600bfec4 | 643 | font-size: 120%; |
72a6fd39 RK |
644 | border-bottom: 1px solid #666699; |
645 | overflow-x: hidden; | |
559908da RK |
646 | } |
647 | ||
706c344c RK |
648 | #search-filter-label { |
649 | font-weight: bold; | |
650 | color: #808080; | |
f0a62060 | 651 | -moz-margin-end: 10px; |
706c344c | 652 | } |
600bfec4 | 653 | |
0de07750 RK |
654 | #search-allresults-link { |
655 | margin-top: 1em; | |
656 | margin-bottom: 2em; | |
657 | } | |
658 | ||
f0a62060 | 659 | |
600bfec4 RK |
660 | /*** detail view ***/ |
661 | ||
f0a62060 RK |
662 | #detail-view { |
663 | -moz-margin-end: 48px; | |
664 | } | |
665 | ||
569543b3 | 666 | #detail-view .loading { |
600bfec4 | 667 | opacity: 0; |
559908da RK |
668 | } |
669 | ||
569543b3 | 670 | #detail-view[loading-extended] .loading { |
600bfec4 | 671 | opacity: 1; |
71a617ff RK |
672 | transition-property: opacity; |
673 | transition-duration: 1s; | |
559908da RK |
674 | } |
675 | ||
600bfec4 | 676 | .detail-view-container { |
f0a62060 RK |
677 | -moz-padding-end: 2em; |
678 | padding-bottom: 2em; | |
7729765c | 679 | font-size: 1.25rem; |
f0a62060 | 680 | color: #000000; |
559908da RK |
681 | } |
682 | ||
569543b3 | 683 | #detail-notifications { |
72a6fd39 | 684 | margin-top: 1em; |
569543b3 | 685 | margin-bottom: 2em; |
559908da RK |
686 | } |
687 | ||
569543b3 RK |
688 | #detail-notifications .warning, |
689 | #detail-notifications .pending, | |
72a6fd39 | 690 | #detail-notifications .error { |
569543b3 | 691 | -moz-margin-start: 0; |
559908da RK |
692 | } |
693 | ||
f777a4f1 RK |
694 | #detail-icon-container { |
695 | width: 64px; | |
600bfec4 | 696 | -moz-margin-end: 10px; |
72a6fd39 | 697 | margin-top: 6px; |
f777a4f1 RK |
698 | } |
699 | ||
700 | #detail-icon { | |
72a6fd39 RK |
701 | max-width: 64px; |
702 | max-height: 64px; | |
559908da RK |
703 | } |
704 | ||
569543b3 RK |
705 | #detail-summary { |
706 | margin-bottom: 2em; | |
559908da RK |
707 | } |
708 | ||
569543b3 | 709 | #detail-name-container { |
7729765c RK |
710 | font-size: 2.5rem; |
711 | font-weight: normal; | |
d15f39a1 RK |
712 | } |
713 | ||
f0a62060 | 714 | #detail-screenshot-box { |
569543b3 | 715 | -moz-margin-end: 2em; |
f0a62060 RK |
716 | } |
717 | ||
718 | #detail-screenshot { | |
6831f2a0 RK |
719 | max-width: 300px; |
720 | max-height: 300px; | |
f0a62060 | 721 | background-color: #FFFFFF; |
559908da RK |
722 | } |
723 | ||
904e5040 RK |
724 | #detail-screenshot[loading] { |
725 | background-image: url("chrome://communicator/skin/brand/throbber-anim.gif"); | |
726 | background-position: 50% 50%; | |
727 | background-repeat: no-repeat; | |
728 | } | |
729 | ||
730 | #detail-screenshot[loading="error"] { | |
731 | background-image: url("chrome://global/skin/icons/alert-error.gif"); | |
732 | } | |
733 | ||
569543b3 RK |
734 | #detail-desc-container { |
735 | margin-bottom: 2em; | |
559908da RK |
736 | } |
737 | ||
8a933f1e | 738 | #detail-desc, #detail-fulldesc { |
569543b3 RK |
739 | -moz-margin-start: 6px; |
740 | white-space: pre-wrap; | |
9162a092 RK |
741 | /* This is necessary to fix layout issues with multi-line descriptions, see |
742 | bug 592712*/ | |
743 | outline: solid transparent; | |
72a6fd39 | 744 | min-width: 8em; |
559908da RK |
745 | } |
746 | ||
8a933f1e RK |
747 | #detail-fulldesc { |
748 | margin-top: 1em; | |
749 | } | |
750 | ||
569543b3 RK |
751 | #detail-contributions { |
752 | border-radius: 5px; | |
753 | border: 1px solid #666699; | |
754 | margin-bottom: 2em; | |
755 | padding: 1em; | |
72a6fd39 | 756 | background-color: #FFFFCC; |
559908da RK |
757 | } |
758 | ||
569543b3 RK |
759 | #detail-contrib-description { |
760 | font-style: italic; | |
761 | margin-bottom: 1em; | |
72a6fd39 | 762 | color: #000000; |
569543b3 RK |
763 | } |
764 | ||
765 | #detail-contrib-suggested { | |
72a6fd39 RK |
766 | color: #808080; |
767 | font-weight: bold; | |
569543b3 RK |
768 | } |
769 | ||
72a6fd39 | 770 | #detail-contrib-btn { |
569543b3 RK |
771 | list-style-image: url("chrome://mozapps/skin/extensions/heart.png"); |
772 | } | |
773 | ||
72a6fd39 | 774 | #detail-contrib-btn .button-icon { |
569543b3 | 775 | -moz-margin-end: 3px; |
49037d9b RK |
776 | } |
777 | ||
569543b3 RK |
778 | #detail-grid { |
779 | margin-bottom: 2em; | |
780 | } | |
781 | ||
f620f94d | 782 | #detail-grid > columns > column:first-child { |
f777a4f1 | 783 | min-width: 15em; |
f620f94d RK |
784 | max-width: 25em; |
785 | } | |
786 | ||
9162a092 | 787 | .detail-row[first-row="true"], |
f620f94d RK |
788 | .detail-row-complex[first-row="true"], |
789 | setting[first-row="true"] { | |
9162a092 RK |
790 | border-top: none; |
791 | } | |
792 | ||
569543b3 | 793 | .detail-row, |
f620f94d RK |
794 | .detail-row-complex, |
795 | setting { | |
9162a092 | 796 | border-top: 1px solid #808080; |
49037d9b | 797 | -moz-box-align: center; |
f620f94d | 798 | min-height: 30px; |
49037d9b RK |
799 | } |
800 | ||
72a6fd39 RK |
801 | #detail-controls { |
802 | margin-bottom: 1em; | |
803 | } | |
804 | ||
805 | #detail-view[active="false"]:not([pending]):not([notification]) { | |
806 | /* background-color: foo; */ | |
807 | } | |
600bfec4 | 808 | |
7729765c | 809 | .inline-options-browser, |
f620f94d RK |
810 | setting[first-row="true"] { |
811 | margin-top: 2em; | |
812 | } | |
813 | ||
a62af8a9 RK |
814 | setting { |
815 | -moz-box-align: start; | |
816 | } | |
817 | ||
818 | .preferences-alignment { | |
819 | min-height: 30px; | |
820 | -moz-box-align: center; | |
821 | } | |
822 | ||
f620f94d RK |
823 | .preferences-description { |
824 | font-size: 90.9%; | |
825 | color: #808080; | |
826 | margin-top: -2px; | |
827 | -moz-margin-start: 2em; | |
a62af8a9 | 828 | white-space: pre-wrap; |
f620f94d RK |
829 | } |
830 | ||
a62af8a9 RK |
831 | .preferences-description:empty { |
832 | display: none; | |
f620f94d RK |
833 | } |
834 | ||
154ee8b3 RK |
835 | setting[type="radio"] > radiogroup { |
836 | -moz-box-orient: horizontal; | |
837 | } | |
838 | ||
f620f94d | 839 | |
600bfec4 RK |
840 | /*** creator ***/ |
841 | ||
842 | .creator > label { | |
72a6fd39 RK |
843 | -moz-margin-start: 0; |
844 | -moz-margin-end: 0; | |
49037d9b RK |
845 | } |
846 | ||
600bfec4 RK |
847 | .creator > .text-link { |
848 | margin-top: 1px; | |
849 | margin-bottom: 1px; | |
18f5421a RK |
850 | } |
851 | ||
600bfec4 RK |
852 | |
853 | /*** rating ***/ | |
854 | ||
855 | .meta-rating { | |
72a6fd39 RK |
856 | -moz-margin-end: 0; |
857 | padding-top: 2px; | |
49037d9b RK |
858 | } |
859 | ||
72a6fd39 | 860 | .meta-rating > .star { |
600bfec4 | 861 | list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png"); |
72a6fd39 | 862 | padding: 0 1px; |
49037d9b RK |
863 | } |
864 | ||
72a6fd39 | 865 | .meta-rating > .star[on="true"] { |
600bfec4 | 866 | list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png"); |
49037d9b RK |
867 | } |
868 | ||
600bfec4 RK |
869 | |
870 | /*** download progress ***/ | |
871 | ||
872 | .download-progress { | |
600bfec4 | 873 | border: 1px solid #808080; |
f0a62060 RK |
874 | border-radius: 2px; |
875 | background-color: #CCD0DD; | |
600bfec4 | 876 | width: 200px; |
72a6fd39 RK |
877 | height: 21px; |
878 | margin: 0 8px; | |
49037d9b RK |
879 | } |
880 | ||
f0a62060 RK |
881 | .download-progress[mode="undetermined"] { |
882 | border-color: #666699; | |
e1313d59 RK |
883 | } |
884 | ||
600bfec4 RK |
885 | .download-progress .start-cap, |
886 | .download-progress[complete] .end-cap, | |
e1313d59 | 887 | .download-progress[mode="undetermined"] .end-cap, |
600bfec4 RK |
888 | .download-progress .progress .progress-bar { |
889 | background-color: #336699; | |
49037d9b RK |
890 | } |
891 | ||
e1313d59 | 892 | .download-progress .progress .progress-bar { |
e1313d59 RK |
893 | min-height: 21px; |
894 | } | |
895 | ||
600bfec4 RK |
896 | .download-progress .progress { |
897 | background-color: transparent; | |
72a6fd39 RK |
898 | padding: 0; |
899 | margin: 0; | |
900 | border: none; | |
49037d9b RK |
901 | } |
902 | ||
f0a62060 RK |
903 | .download-progress .start-cap, |
904 | .download-progress .end-cap { | |
905 | width: 4px; | |
49037d9b RK |
906 | } |
907 | ||
941d657f RK |
908 | .download-progress .start-cap:-moz-locale-dir(ltr), |
909 | .download-progress .end-cap:-moz-locale-dir(rtl) { | |
f0a62060 | 910 | border-radius: 1px 0 0 1px; |
49037d9b RK |
911 | } |
912 | ||
941d657f RK |
913 | .download-progress .end-cap:-moz-locale-dir(ltr), |
914 | .download-progress .start-cap:-moz-locale-dir(rtl) { | |
f0a62060 | 915 | border-radius: 0 1px 1px 0; |
49037d9b RK |
916 | } |
917 | ||
72a6fd39 | 918 | .download-progress .cancel { |
600bfec4 | 919 | -moz-appearance: none; |
72a6fd39 RK |
920 | padding: 3px; |
921 | min-width: 0; | |
f0a62060 RK |
922 | width: 20px; |
923 | height: 20px; | |
72a6fd39 RK |
924 | margin: 3px; |
925 | } | |
926 | ||
72a6fd39 RK |
927 | .download-progress .cancel .button-box { |
928 | padding: 0; | |
600bfec4 | 929 | border: none; |
559908da RK |
930 | } |
931 | ||
72a6fd39 RK |
932 | .download-progress .cancel .button-text { |
933 | display: none; | |
934 | } | |
935 | ||
72a6fd39 RK |
936 | .download-progress .cancel .button-icon { |
937 | -moz-margin-start: 0; | |
49037d9b RK |
938 | } |
939 | ||
d15f39a1 RK |
940 | .download-progress .cancel { |
941 | list-style-image: url('chrome://mozapps/skin/extensions/cancel.png'); | |
942 | } | |
943 | ||
600bfec4 RK |
944 | .download-progress .status-container { |
945 | -moz-box-align: center; | |
49037d9b | 946 | } |
ecb2fda9 | 947 | |
72a6fd39 RK |
948 | .download-progress .status { |
949 | /* text-shadow: #FFF 0 0 2px; */ | |
950 | } | |
600bfec4 RK |
951 | |
952 | /*** install status ***/ | |
953 | ||
954 | .install-status { | |
955 | -moz-box-align: center; | |
ecb2fda9 RK |
956 | } |
957 | ||
600bfec4 RK |
958 | |
959 | /*** check for updates ***/ | |
960 | ||
961 | #updates-container { | |
962 | -moz-box-align: center; | |
ecb2fda9 RK |
963 | } |
964 | ||
72a6fd39 RK |
965 | #updates-container .button-link { |
966 | font-weight: bold; | |
967 | } | |
968 | ||
969 | #updates-installed, | |
970 | #updates-downloaded { | |
600bfec4 | 971 | color: #00CC00; |
ecb2fda9 | 972 | font-weight: bold; |
ecb2fda9 RK |
973 | } |
974 | ||
569543b3 RK |
975 | #update-selected { |
976 | margin: 12px; | |
ecb2fda9 RK |
977 | } |
978 | ||
f0a62060 | 979 | |
569543b3 | 980 | /*** buttons ***/ |
ecb2fda9 | 981 | |
702d3d61 | 982 | .addon-control[disabled="true"]:not(.no-auto-hide) { |
0de07750 RK |
983 | display: none; |
984 | } | |
985 | ||
702d3d61 RK |
986 | .no-auto-hide .addon-control { |
987 | display: block !important; | |
988 | } | |
989 | ||
154ee8b3 | 990 | button.button-link { |
600bfec4 RK |
991 | background: transparent; |
992 | border: none; | |
f0a62060 | 993 | box-shadow: none; |
ae19a7b3 | 994 | color: #0000FF; |
600bfec4 RK |
995 | cursor: pointer; |
996 | min-width: 0; | |
d471380e | 997 | min-height: 20px; |
706c344c | 998 | margin: 0 6px; |
ecb2fda9 | 999 | } |
154ee8b3 | 1000 | |
f0a62060 RK |
1001 | button.button-link:not(:-moz-focusring) > .button-box { |
1002 | border-width: 0; | |
1003 | margin: 1px; | |
1004 | } | |
1005 | ||
1006 | button.button-link:hover { | |
1007 | background-color: transparent; | |
1008 | color: #336699; | |
1009 | text-decoration: underline; | |
1010 | } | |
1011 | ||
154ee8b3 RK |
1012 | /* Needed to override normal button style from inContent.css */ |
1013 | button.button-link:not([disabled="true"]):active:hover { | |
1014 | } | |
2e88f3cc RK |
1015 | |
1016 | /*** telemetry experiments ***/ | |
1017 | ||
1018 | #detail-experiment-container { | |
1019 | font-size: 80%; | |
1020 | margin-bottom: 1em; | |
1021 | } | |
1022 | ||
1023 | #detail-experiment-bullet-container, | |
1024 | #detail-experiment-state, | |
1025 | #detail-experiment-time, | |
1026 | .experiment-bullet-container, | |
1027 | .experiment-state, | |
1028 | .experiment-time { | |
1029 | vertical-align: middle; | |
1030 | display: inline-block; | |
1031 | } | |
1032 | ||
1033 | .addon .experiment-bullet, | |
1034 | #detail-experiment-bullet { | |
1035 | fill: #808080; | |
1036 | } | |
1037 | ||
1038 | .addon[active="true"] .experiment-bullet, | |
1039 | #detail-view[active="true"] #detail-experiment-bullet { | |
1040 | fill: #336699; | |
1041 | } | |
f0a62060 RK |
1042 | |
1043 | /*** info UI for add-ons that have been disabled for being unsigned ***/ | |
1044 | ||
1045 | #show-disabled-unsigned-extensions:not(:hover) { | |
1046 | background-color: #FFFFCC; | |
1047 | } | |
1048 | ||
1049 | #disabled-unsigned-addons-info { | |
1050 | margin-bottom: 2em; | |
1051 | -moz-margin-end: 48px; | |
1052 | } | |
1053 | ||
1054 | #disabled-unsigned-addons-heading { | |
1055 | font-size: 1.4em; | |
1056 | font-weight: bold; | |
1057 | margin-bottom: .5em; | |
1058 | } | |
1059 | ||
1060 | #signing-dev-info { | |
1061 | font-style: italic; | |
1062 | } | |
1063 | ||
1064 | #detail-findUpdates-btn[hidden] { | |
1065 | display: -moz-box; | |
1066 | visibility: hidden; | |
1067 | } |