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