Commit | Line | Data |
---|---|---|
49037d9b RK |
1 | #extensionsBox { |
2 | margin: 10px 10px 0px 10px; | |
6daee013 | 3 | min-width: 1px; |
49037d9b RK |
4 | } |
5 | ||
ecb2fda9 | 6 | #extensionsView { |
3bcb0be1 | 7 | -moz-appearance: none; |
49037d9b RK |
8 | border: 1px inset #CCD0DD; |
9 | margin: 0; | |
570c53ea | 10 | min-width: 245px; |
49037d9b RK |
11 | } |
12 | ||
49037d9b | 13 | #resizerBox { |
ecb2fda9 RK |
14 | margin-top: -12px; |
15 | visibility: hidden; | |
49037d9b RK |
16 | } |
17 | ||
ecb2fda9 | 18 | #resizerBox > resizer { |
49037d9b RK |
19 | height: 10px; |
20 | max-height: 10px; | |
ecb2fda9 | 21 | visibility: visible; |
49037d9b RK |
22 | } |
23 | ||
24 | .notification-inner { | |
25 | border: none; | |
26 | border-bottom: 1px solid #9999CC; | |
27 | } | |
28 | ||
29 | /* Command Bar */ | |
30 | #commandBarBottom { | |
4d12b027 | 31 | margin: 5px 5px 10px 10px; |
49037d9b RK |
32 | min-width: 1px; |
33 | } | |
34 | ||
35 | #commandBarBottom button { | |
36 | margin: 0; | |
49037d9b RK |
37 | -moz-margin-end: 5px; |
38 | } | |
39 | ||
49037d9b RK |
40 | /* List Items */ |
41 | richlistitem { | |
42 | padding-top: 6px; | |
43 | padding-bottom: 6px; | |
44 | -moz-padding-start: 7px; | |
45 | -moz-padding-end: 7px; | |
46 | min-height: 25px; | |
47 | border-bottom: 1px dotted #666699; | |
48 | } | |
49 | ||
50 | richlistitem[isDisabled="true"] .addonIcon { | |
51 | opacity: 0.3; | |
52 | } | |
53 | ||
54 | richlistitem[isDisabled="true"] { | |
55 | color: #808080; | |
56 | } | |
57 | ||
d0ff98fe RK |
58 | richlistitem[newAddon="true"] { |
59 | background-color: #FFFFCC; | |
60 | color: #000000; | |
61 | } | |
62 | ||
49037d9b RK |
63 | richlistitem[selected="true"] { |
64 | background-color: #CCD0DD; | |
65 | color: #000000; | |
66 | } | |
67 | ||
d0ff98fe RK |
68 | richlistitem[selected="true"] .text-link { |
69 | color: inherit; | |
70 | } | |
71 | ||
ecb2fda9 | 72 | #extensionsView:focus > richlistitem[selected="true"] { |
49037d9b RK |
73 | background-color: #336699; |
74 | color: #FFFFFF; | |
75 | } | |
76 | ||
ecb2fda9 | 77 | #extensionsView:focus > richlistitem[selected="true"][isDisabled="true"] { |
49037d9b RK |
78 | background-color: #666699; |
79 | color: #FFFFFF; | |
80 | } | |
81 | ||
82 | .descriptionWrap { | |
83 | margin-bottom: 2px; | |
84 | } | |
85 | ||
56029caf | 86 | richlistitem[selected="true"]:not([opType]) .descriptionCrop { |
49037d9b RK |
87 | display: none; |
88 | } | |
89 | ||
90 | .addonName { | |
91 | font-weight: bold; | |
92 | } | |
93 | ||
49037d9b RK |
94 | .previewText { |
95 | font-size: larger; | |
96 | font-weight: bold; | |
97 | color: #000000; | |
98 | text-align: center; | |
99 | } | |
100 | ||
101 | #themePreviewArea { | |
102 | border: 1px inset #CCD0DD; | |
103 | background-color: #FFFFFF; | |
104 | color: #000000; | |
570c53ea | 105 | min-width: 65px; |
49037d9b | 106 | overflow: auto; |
570c53ea RK |
107 | } |
108 | ||
109 | #previewImageDeck { | |
110 | min-width: 220px; | |
49037d9b RK |
111 | } |
112 | ||
113 | #themeSplitter { | |
114 | border-width: 0; | |
115 | } | |
116 | ||
117 | .addonIcon { | |
ecb2fda9 | 118 | -moz-margin-end: 2px; |
49037d9b | 119 | width: 32px; |
49037d9b | 120 | height: 32px; |
d0ff98fe RK |
121 | } |
122 | ||
123 | .addonIcon > image { | |
124 | max-width: 32px; | |
49037d9b RK |
125 | max-height: 32px; |
126 | } | |
127 | ||
ecb2fda9 RK |
128 | .updateBadge, |
129 | .notifyBadge { | |
49037d9b RK |
130 | width: 16px; |
131 | height: 16px; | |
49037d9b | 132 | margin-bottom: -3px; |
ecb2fda9 | 133 | list-style-image: url("chrome://mozapps/skin/extensions/notifyBadges.png"); |
49037d9b RK |
134 | } |
135 | ||
136 | richlistitem .updateBadge { | |
137 | -moz-margin-end: -2px; | |
138 | } | |
139 | ||
140 | richlistitem .notifyBadge { | |
141 | -moz-margin-start: -2px; | |
142 | } | |
143 | ||
56029caf RK |
144 | .updateBadge, |
145 | .updateAvailableBox, | |
49037d9b RK |
146 | .notifyBadge { |
147 | display: none; | |
148 | } | |
149 | ||
ecb2fda9 | 150 | richlistitem[availableUpdateURL][updateable="true"] .updateBadge, |
56029caf | 151 | richlistitem[availableUpdateURL][updateable="true"] .updateAvailableBox, |
49037d9b | 152 | richlistitem[compatible="false"] .notifyBadge, |
ecb2fda9 | 153 | richlistitem[providesUpdatesSecurely="false"] .notifyBadge, |
49037d9b | 154 | richlistitem[blocklisted="true"] .notifyBadge, |
3bcb0be1 | 155 | richlistitem[blocklistedsoft="true"] .notifyBadge, |
49037d9b RK |
156 | richlistitem[satisfiesDependencies="false"] .notifyBadge { |
157 | display: -moz-box; | |
158 | } | |
159 | ||
160 | ||
ecb2fda9 RK |
161 | /* Selected Add-on buttons |
162 | See content/extensions.css to hide / display buttons */ | |
49037d9b RK |
163 | .selectedButtons { |
164 | margin-top: 4px; | |
165 | min-height: 2.1em; | |
166 | } | |
167 | ||
ecb2fda9 | 168 | .selectedButtons > button { |
49037d9b RK |
169 | margin-top: 0; |
170 | margin-bottom: 0; | |
171 | } | |
172 | ||
ecb2fda9 RK |
173 | .enableButton, |
174 | .disableButton, | |
175 | .optionsButton, | |
176 | .useThemeButton { | |
49037d9b RK |
177 | -moz-margin-end: 0; |
178 | } | |
179 | ||
ecb2fda9 | 180 | .enableButton, .disableButton, |
49037d9b RK |
181 | .uninstallButton, .cancelUninstallButton { |
182 | -moz-margin-start: 5px; | |
183 | } | |
184 | ||
49037d9b RK |
185 | /* Selected Add-on status messages and images */ |
186 | richlistitem[compatible="true"] .incompatibleBox, | |
ecb2fda9 | 187 | richlistitem[providesUpdatesSecurely="true"] .insecureUpdateBox, |
49037d9b | 188 | richlistitem[satisfiesDependencies="true"] .needsDependenciesBox, |
3bcb0be1 RK |
189 | richlistitem:not([blocklisted="true"]):not([blocklistedsoft="true"]) .blocklistedBox, |
190 | richlistitem[blocklistedsoft="false"]:not([selected="true"]) .blocklistedBox, | |
191 | richlistitem[blocklisted="false"] .blocklistedLabel, | |
192 | richlistitem[blocklistedsoft="false"] .softBlocklistedLabel, | |
49037d9b RK |
193 | richlistitem[opType="needs-uninstall"] .blocklistedBox, |
194 | richlistitem[opType="needs-uninstall"] .incompatibleBox, | |
195 | richlistitem[opType="needs-uninstall"] .needsDependenciesBox, | |
196 | richlistitem[opType="needs-uninstall"] .blocklistedBox { | |
197 | display: none; | |
198 | } | |
199 | ||
49037d9b RK |
200 | richlistitem[loading="true"] .updateBadge { |
201 | display: -moz-box; | |
202 | width: 16px; | |
203 | height: 16px; | |
204 | margin-bottom: -3px; | |
205 | -moz-margin-end: -2px; | |
206 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
207 | -moz-image-region: auto; | |
208 | } | |
209 | ||
210 | .addonThrobber { | |
211 | -moz-margin-start: 5px; | |
212 | width: 16px; | |
213 | height: 16px; | |
214 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
215 | } | |
216 | ||
ecb2fda9 | 217 | .selectedStatusMsgs > hbox { |
49037d9b RK |
218 | margin-top: 2px; |
219 | margin-bottom: 2px; | |
220 | } | |
221 | ||
222 | .selectedStatusMsgs label { | |
223 | font-weight: bold; | |
224 | } | |
225 | ||
226 | .selectedStatusMsgs label.text-link { | |
227 | font-weight: normal; | |
228 | border: none; | |
229 | } | |
230 | ||
49037d9b RK |
231 | richlistitem[opType="needs-uninstall"] .notifyBadge { |
232 | display: none; | |
233 | } | |
234 | ||
559908da RK |
235 | .addon-search-details { |
236 | margin-top: 5px; | |
237 | margin-bottom: 5px; | |
238 | -moz-margin-start: 6px; | |
239 | -moz-margin-end: 0; | |
240 | } | |
241 | ||
242 | .addonThumbnailContainer { | |
243 | background-color: #CCD0DD; | |
244 | padding: 5px; | |
245 | border: 1px solid #9999CC; | |
246 | width: 135px; | |
247 | min-height: 104px; | |
248 | -moz-margin-end: 5px; | |
249 | } | |
250 | ||
251 | .addonMissingThumbnail { | |
252 | color: GrayText; | |
d0ff98fe RK |
253 | font-size: larger; |
254 | font-weight: bold; | |
559908da RK |
255 | } |
256 | ||
257 | .addonFailure { | |
258 | width: 16px; | |
259 | height: 16px; | |
260 | list-style-image: url("chrome://mozapps/skin/extensions/notifyBadges.png"); | |
261 | } | |
262 | ||
263 | .addonRating { | |
264 | display: none; | |
265 | } | |
266 | ||
267 | .addonLearnMore { | |
268 | margin-top: 4px; | |
269 | margin-bottom: 4px; | |
270 | } | |
271 | ||
272 | .addonRating[rating] { | |
273 | display: -moz-box; | |
274 | width: 68px; | |
275 | height: 12px; | |
276 | list-style-image: url("chrome://mozapps/skin/extensions/ratings.png"); | |
277 | } | |
278 | ||
279 | .addonRating[rating="0"] { | |
280 | -moz-image-region: rect(0px 68px 12px 0px); | |
281 | } | |
282 | ||
d0ff98fe | 283 | .addonRating[rating="1"] { |
559908da RK |
284 | -moz-image-region: rect(12px 68px 24px 0px); |
285 | } | |
286 | ||
d0ff98fe | 287 | .addonRating[rating="2"] { |
559908da RK |
288 | -moz-image-region: rect(24px 68px 36px 0px); |
289 | } | |
290 | ||
d0ff98fe | 291 | .addonRating[rating="3"] { |
559908da RK |
292 | -moz-image-region: rect(36px 68px 48px 0px); |
293 | } | |
294 | ||
d0ff98fe | 295 | .addonRating[rating="4"] { |
559908da RK |
296 | -moz-image-region: rect(48px 68px 60px 0px); |
297 | } | |
298 | ||
d0ff98fe | 299 | .addonRating[rating="5"] { |
559908da RK |
300 | -moz-image-region: rect(60px 68px 72px 0px); |
301 | } | |
302 | ||
303 | .addonType image { | |
304 | -moz-margin-start: 6px; | |
305 | list-style-image: url("chrome://mozapps/skin/extensions/extensionIcons.png"); | |
306 | width: 16px; | |
307 | height: 16px; | |
308 | } | |
309 | ||
310 | .addonTypeExtension image { | |
311 | -moz-image-region: rect(0px 16px 16px 0px); | |
312 | } | |
313 | ||
314 | .addonTypeTheme image { | |
315 | -moz-image-region: rect(0px 32px 16px 16px); | |
316 | } | |
317 | ||
318 | vbox[typeName="status"][type="search-failure"], | |
319 | vbox[typeName="status"][type="recommended-failure"], | |
320 | vbox[typeName="status"][type="message-norecommended"], | |
321 | vbox[typeName="status"][type="message-nosearchresults"], | |
322 | vbox[typeName="status"][type="retrieve-search"], | |
323 | vbox[typeName="status"][type="retrieve-recommended"] { | |
324 | margin-top: 2em; | |
325 | } | |
326 | ||
327 | vbox[typeName="status"][type="footer-recommended"], | |
328 | vbox[typeName="status"][type="footer-search"] { | |
329 | margin-top: 1em; | |
330 | } | |
331 | ||
332 | vbox[typeName="status"][type="header-recommended"] { | |
333 | font-size: 150%; | |
334 | background: #CCD0DD; | |
335 | } | |
336 | ||
337 | #searchbox { | |
559908da RK |
338 | padding: 0; |
339 | } | |
340 | ||
49037d9b RK |
341 | #progressBox { |
342 | padding: 5px 5px 5px 5px; | |
343 | } | |
344 | ||
345 | #progressBox > hbox { | |
346 | -moz-box-align: center; | |
347 | } | |
348 | ||
349 | /* View buttons */ | |
350 | .viewSelector { | |
351 | border-bottom: 1px solid #9999CC; | |
352 | margin: 0px; | |
353 | -moz-padding-start: 10px; | |
354 | background-color: #CCD0DD; | |
355 | color: #000000; | |
356 | } | |
357 | ||
358 | #viewGroup radio { | |
559908da RK |
359 | margin: 0px; |
360 | padding: 1px 3px; | |
49037d9b RK |
361 | min-width: 4.5em; |
362 | list-style-image: url("chrome://mozapps/skin/extensions/viewButtons.png"); | |
363 | border: 1px solid transparent; | |
364 | } | |
365 | ||
366 | #viewGroup radio:hover { | |
367 | border: 1px outset #CCD0DD; | |
368 | } | |
369 | ||
370 | #viewGroup radio[selected="true"] { | |
371 | border: 1px inset #CCD0DD; | |
559908da | 372 | background-color: #DDDDDD; |
49037d9b RK |
373 | } |
374 | ||
375 | .viewButtonIcon { | |
376 | width: 32px; | |
377 | height: 32px; | |
378 | } | |
379 | ||
380 | radio#extensions-view { | |
381 | -moz-image-region: rect(0px, 32px, 32px, 0px) | |
382 | } | |
383 | ||
384 | radio#themes-view { | |
385 | -moz-image-region: rect(0px, 64px, 32px, 32px) | |
386 | } | |
387 | ||
388 | radio#locales-view { | |
389 | -moz-image-region: rect(0px, 96px, 32px, 64px) | |
390 | } | |
391 | ||
392 | radio#plugins-view { | |
393 | -moz-image-region: rect(0px, 128px, 32px, 96px) | |
394 | } | |
395 | ||
396 | radio#updates-view { | |
397 | -moz-image-region: rect(0px, 160px, 32px, 128px) | |
398 | } | |
399 | ||
400 | radio#installs-view { | |
401 | -moz-image-region: rect(0px, 192px, 32px, 160px) | |
402 | } | |
403 | ||
559908da RK |
404 | radio#search-view { |
405 | -moz-image-region: rect(0px, 224px, 32px, 192px) | |
406 | } | |
407 | ||
49037d9b RK |
408 | /* Update view checkbox */ |
409 | .includeUpdate { | |
410 | -moz-user-focus: none; | |
411 | } | |
412 | ||
413 | richlistitem[selected="true"] .includeUpdate { | |
414 | -moz-user-focus: normal; | |
415 | } | |
ecb2fda9 RK |
416 | |
417 | #infoDisplay { | |
418 | overflow-y: auto; | |
419 | } | |
420 | ||
421 | #infoDisplay body { | |
422 | padding: 5px; | |
423 | } | |
424 | ||
425 | #infoDisplay h1, | |
426 | #infoDisplay h2, | |
427 | #infoDisplay h3 { | |
428 | text-align: left; | |
429 | font-weight: bold; | |
430 | margin: 0 0 0.7em 0; | |
431 | } | |
432 | ||
433 | #infoDisplay h1 { | |
434 | font-size: 150%; | |
435 | } | |
436 | ||
437 | #infoDisplay h2 { | |
438 | font-size: 125%; | |
439 | } | |
440 | ||
441 | #infoDisplay h3 { | |
442 | font-size: 100%; | |
443 | } | |
444 | ||
445 | #infoDisplay ol, | |
446 | #infoDisplay ul { | |
447 | margin: 0 0 0.7em 0; | |
448 | } | |
449 | ||
450 | #infoDisplay li { | |
451 | text-align: left; | |
452 | } | |
453 | ||
454 | #infoDisplay p { | |
455 | text-align: justify; | |
456 | margin: 0 0 0.7em 0; | |
457 | } |