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