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