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