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