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