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