root/trunk/chrome/skin/manager/style.css

Revision 1754, 12.4 kB (checked in by MaierMan, 7 months ago)

New more "compatible" icons

Line 
1 @import 'chrome://dta/skin/common/style.css';
2 @import 'chrome://dta-platform/skin/manager.css';
3 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
4 @namespace html url("http://www.w3.org/1999/xhtml");
5
6  
7 /** :: Toolbar :: **/ 
8 toolbox {
9   border-width: 0px;
10 }
11
12 #tools {
13   -moz-appearance: none !important;
14   border-width: 0px;
15   padding: 0;
16   margin: 0;
17 }
18 #tools toolbarbutton {
19   list-style-image: url(chrome://dta/skin/manager/tools.png);
20   -moz-box-orient: vertical !important;
21   -moz-box-align: center !important;
22   border: 0;
23   margin-top: 3px;
24   margin-bottom: 2px;
25   text-align: center;
26 }
27 #tools[mode="icons"] toolbarbutton {
28   padding-top: 5px;
29   padding-bottom: 5px;
30 }
31 #tools[mode="full"] toolbarbutton {
32   min-width: 50px;
33 }
34
35 #tools .toolbarbutton-icon {
36   margin: 0 !important;
37 }
38
39 #tools .toolbarbutton-text {
40   margin: 0;
41   padding: 1px;
42   padding-left: 2px;
43   padding-right: 2px;
44   text-align: center;
45 }
46
47 #tools spacer {
48   min-width: 5px;
49 }
50 #tools spacer.visible {
51   background: url(chrome://dta/skin/common/toolbarspacer.png) no-repeat 50% 50%;
52   min-width: 13px;
53   padding: 0;
54   margin: 0;
55   height: 100%;
56 }
57
58 #tooladd {
59   -moz-image-region: rect(0px,52px,26px,26px);
60   margin-left: 1ex;
61 }
62 #tooladd:hover, #tooladd:active {
63   -moz-image-region: rect(0px,26px,26px,0px);
64 }
65 #tooladd[disabled="true"] {
66   -moz-image-region: rect(0px,78px,26px,52px);   
67 }
68
69
70 #toolcancel {
71   -moz-image-region: rect(26px,52px,52px,26px);
72 }
73 #toolcancel:hover, #toolcancel:active {
74   -moz-image-region: rect(26px,26px,52px,0px);
75 }
76 #toolcancel[disabled="true"] {
77   -moz-image-region: rect(26px,78px,52px,52px);   
78 }
79
80 #toolplay {
81   -moz-image-region: rect(52px,52px,78px,26px);
82 }
83 #toolplay:hover, #toolplay:active {
84   -moz-image-region: rect(52px,26px,78px,0px);
85 }
86 #toolplay[disabled="true"] {
87   -moz-image-region: rect(52px,78px,78px,52px);   
88 }
89
90
91 #toolpause {
92   -moz-image-region: rect(78px,52px,104px,26px);
93 }
94 #toolpause:hover, #toolpause:active {
95   -moz-image-region: rect(78px,26px,104px,0px);
96 }
97 #toolpause[disabled="true"] {
98   -moz-image-region: rect(78px,78px,104px,52px);   
99 }
100
101 #toolmovetop {
102   -moz-image-region: rect(104px,52px,130px,26px);
103 }
104 #toolmovetop:hover, #toolmovetop:active {
105   -moz-image-region: rect(104px,26px,130px,0px);
106 }
107 #toolmovetop[disabled="true"] {
108   -moz-image-region: rect(104px,78px,130px,52px);   
109 }
110
111 #toolmoveup {
112   -moz-image-region: rect(130px,52px,156px,26px);
113 }
114 #toolmoveup:hover, #toolmoveup:active {
115   -moz-image-region: rect(130px,26px,156px,0px);
116 }
117 #toolmoveup[disabled="true"] {
118   -moz-image-region: rect(130px,78px,156px,52px);   
119 }
120
121 #toolmovedown {
122   -moz-image-region: rect(156px,52px,182px,26px);
123 }
124 #toolmovedown:hover, #toolmovedown:active {
125   -moz-image-region: rect(156px,26px,182px,0px);
126 }
127 #toolmovedown[disabled="true"] {
128   -moz-image-region: rect(156px,78px,182px,52px);   
129 }
130
131 #toolmovebottom {
132   -moz-image-region: rect(182px,52px,208px,26px);
133 }
134 #toolmovebottom:hover, #toolmovebottom:active {
135   -moz-image-region: rect(182px,26px,208px,0px);
136 }
137 #toolmovebottom[disabled="true"] {
138   -moz-image-region: rect(182px,78px,208px,52px);   
139 }
140
141 #tooldonate {
142   list-style-image: url(chrome://dta/skin/manager/donate.png);
143   -moz-image-region: rect(51px,360px,102px,180px);
144   min-width: 180px !important;
145   cursor: pointer;
146 }
147 #tooldonate:hover {
148   -moz-image-region: rect(51px,180px,102px,0px);
149 }
150
151 #tools[mode="icons"] #tooldonate {
152   -moz-image-region: rect(58px,360px,94px,180px);
153 }
154 #tools[mode="icons"] #tooldonate:hover {
155   -moz-image-region: rect(58px,180px,94px,0px);
156 }
157
158 #tooldonate[chromedir="rtl"], #tooldonate:-moz-locale-dir(rtl) {
159   -moz-image-region: rect(0px,360px,51px,180px);
160 }
161 #tooldonate[chromedir="rtl"]:hover, #tooldonate:-moz-locale-dir(rtl):hover {
162   -moz-image-region: rect(0px,180px,51px,0px);
163 }
164 #tools[mode="icons"] #tooldonate[chromedir="rtl"], #tools[mode="icons"] #tooldonate:-moz-locale-dir(rtl):hover {
165   -moz-image-region: rect(7px,360px,43px,180px);
166 }
167 #tools[mode="icons"] #tooldonate[chromedir="rtl"]:hover, #tools[mode="icons"] #tooldonate:-moz-locale-dir(rtl):hover {
168   -moz-image-region: rect(7px,180px,43px,0px);
169 }
170
171 /** :: Tooltip :: **/
172 #tooltip{
173   width: 500px;
174   padding: 5pt;
175 }
176 #infoIcon {
177   margin: 1.6ex;
178   width: 32px !important;
179   height: 32px !important;
180   -moz-box-flex: 0 !important;
181 }
182 #tooltip grid {
183   -moz-box-flex: 1;
184 }
185 #infoGrid label {
186   margin-bottom: 0;
187   font-weight: bold;
188 }
189 #infoGrid label[crop] {
190   font-weight: normal;
191   max-width: 300px;
192 }
193 #canvasGrid label[id] {
194   font-weight: bold;
195 }
196 #infoPercent {
197   text-align: center;
198   margin: 0;
199   padding: 0;
200   font-size: 14px;
201   font-weight: bold;
202   background: transparent !important;
203   color: black !important;
204 }
205 stack > #infoPercent {
206   padding-top: 7px;
207   height: 40px;
208 }
209 #chunkAlt {
210   height: 32px;
211   margin-top: 1ex;
212   margin-bottom: 1ex;
213 } 
214 #chunkAlt > #infoPercent {
215   margin-top: auto;
216   margin-bottom: auto;
217   padding-top: 6px;
218   min-width: 4.2ex;
219 }
220 #infoDest {
221   font-weight: bold !important;
222   font-size: 105%;
223 }
224
225 /** :: Downloads :: **/
226
227 #downloads > treechildren::-moz-tree-progressmeter {
228   padding: 1px; /* songbird compat */
229   background-image: none !important; /* songbird compat */
230   margin-left: 0;
231 }
232 treechildren::-moz-tree-progressmeter(completed) {
233   color: #008F00 !important;
234 }
235
236 treechildren::-moz-tree-progressmeter(paused) {
237   color: #FFCC00 !important;
238 }
239 treechildren::-moz-tree-progressmeter(paused, pausedAutoretrying) {
240   color: #849FFF !important;
241 }
242 treechildren::-moz-tree-progressmeter(canceled) {
243   color: #B12801 !important;
244 }
245
246 treechildren::-moz-tree-progressmeter(queued) {
247   color: #BFDEFF !important;
248 }
249
250 treechildren::-moz-tree-progressmeter(inprogress) {
251   color: #AAE061 !important;
252 }
253
254 treechildren::-moz-tree-image(iconic) {
255   list-style-image: url(menu.png);
256   -moz-image-region: rect(16px,96px,32px,80px);
257 }
258 treechildren::-moz-tree-image(iconic,progress) {
259   list-style-image: url(menu.png);
260   -moz-image-region: rect(16px,96px,32px,80px);
261   padding-right: 0.2ex !important;
262 }
263 treechildren::-moz-tree-image(iconic,canceled) {
264   -moz-image-region: rect(0px,112px,16px,96px);
265 }
266 treechildren::-moz-tree-image(iconic,paused) {
267   -moz-image-region: rect(0px,96px,16px,80px);
268 }
269 treechildren::-moz-tree-image(iconic,paused,pausedAutoretrying) {
270   -moz-image-region: rect(32px,128px,48px,112px);
271 }
272 treechildren::-moz-tree-image(iconic,inprogress) {
273   -moz-image-region: rect(0px,80px,16px,64px);
274 }
275 treechildren::-moz-tree-image(iconic,completed) {
276   -moz-image-region: rect(32px,32px,48px,16px);
277 }
278 treechildren::-moz-tree-image(iconic,completed,verified) {
279   -moz-image-region: rect(32px,144px,48px,128px);
280 }
281
282 /** :: Menu :: **/
283
284 /* menu elements */
285 #speedLimit,
286 #popup .menu-iconic-icon {
287     display: list-item;
288     list-style-image: url(menu.png);
289 }
290
291 #advanced .menu-iconic-icon {
292   -moz-image-region: rect(32px,112px,48px,96px);
293 }
294 #advanced[disabled="true"] .menu-iconic-icon {
295   -moz-image-region: rect(48px,112px,64px,96px);
296 }
297
298 /* menuitem element (row 1) */
299 #info .menu-iconic-icon {
300   -moz-image-region: rect(0px,16px,16px,0px);
301 }
302 #info[disabled="true"] .menu-iconic-icon {
303   -moz-image-region: rect(16px,16px,32px,0px);
304 }
305
306 #launch .menu-iconic-icon {
307   -moz-image-region: rect(0px,32px,16px,16px);
308 }
309 #launch[disabled="true"] .menu-iconic-icon {
310   -moz-image-region: rect(16px,32px,32px,16px);
311 }
312
313 #delete .menu-iconic-icon {
314   -moz-image-region: rect(0px,48px,16px,32px);
315 }
316 #delete[disabled="true"] .menu-iconic-icon {
317   -moz-image-region: rect(16px,48px,32px,32px);
318 }
319
320 #folder .menu-iconic-icon {
321   -moz-image-region: rect(0px,64px,16px,48px);
322 }
323 #folder[disabled="true"] .menu-iconic-icon {
324   -moz-image-region: rect(16px,64px,32px,48px);
325 }
326
327 #play .menu-iconic-icon {
328   -moz-image-region: rect(0px,80px,16px,64px);
329 }
330 #play[disabled="true"] .menu-iconic-icon {
331   -moz-image-region: rect(16px,80px,32px,64px);
332 }
333
334 #pause .menu-iconic-icon {
335   -moz-image-region: rect(0px,96px,16px,80px);
336 }
337 #pause[disabled="true"] .menu-iconic-icon {
338   -moz-image-region: rect(16px,96px,32px,80px);
339 }
340
341 #cancel .menu-iconic-icon {
342   -moz-image-region: rect(0px,112px,16px,96px);
343 }
344 #cancel[disabled="true"] .menu-iconic-icon {
345   -moz-image-region: rect(16px,112px,32px,96px);
346 }
347
348 #speedLimit,
349 #perDownloadSpeedLimit .menu-iconic-icon {
350   -moz-image-region: rect(48px,144px,64px,128px);
351 }
352 #speedLimit[value="-1"],
353 #perDownloadSpeedLimit[value="-1"] .menu-iconic-icon {
354   -moz-image-region: rect(32px,160px,48px,144px);
355 }
356 #perDownloadSpeedLimit[disabled="true"] .menu-iconic-icon {
357   -moz-image-region: rect(48px,160px,64px,144px);
358 }
359 #import .menu-iconic-icon {
360   -moz-image-region: rect(0px,128px,16px,112px);
361 }
362 #import[disabled="true"] .menu-iconic-icon {
363   -moz-image-region: rect(16px,128px,32px,112px);
364 }
365
366 #export .menu-iconic-icon {
367   -moz-image-region: rect(0px,144px,16px,128px);
368 }
369 #export[disabled="true"] .menu-iconic-icon {
370   -moz-image-region: rect(16px,144px,32px,128px);
371 }
372
373 #force .menu-iconic-icon {
374   -moz-image-region: rect(0px,160px,16px,144px);
375 }
376 #force[disabled="true"] .menu-iconic-icon {
377   -moz-image-region: rect(16px,160px,32px,144px);
378 }
379
380 /* menuitem element (row 2) */
381 #remove .menu-iconic-icon {
382   -moz-image-region: rect(32px,16px,48px,0px);
383 }
384 #remove[disabled="true"] .menu-iconic-icon {
385   -moz-image-region: rect(48px,16px,64px,0px);
386 }
387
388 #removeCompleted .menu-iconic-icon {
389   -moz-image-region: rect(32px,32px,48px,16px);
390 }
391 #removeCompleted[disabled="true"] .menu-iconic-icon {
392   -moz-image-region: rect(48px,32px,64px,16px);
393 }
394
395 #cleangone .menu-iconic-icon {
396   -moz-image-region: rect(32px,48px,48px,32px);
397 }
398 #cleanegone[disabled="true"] .menu-iconic-icon {
399   -moz-image-region: rect(48px,48px,64px,32px);
400 }
401
402 /*
403 #doc .menu-iconic-icon {
404   -moz-image-region: rect(32px,64px,48px,48px);
405 }
406 #doc[disabled="true"] .menu-iconic-icon {
407   -moz-image-region: rect(48px,64px,64px,48px);
408 }*/
409
410 #addchunk .menu-iconic-icon {
411   -moz-image-region: rect(32px,80px,48px,64px);
412 }
413 #addchunk[disabled="true"] .menu-iconic-icon {
414   -moz-image-region: rect(48px,80px,64px,64px);
415 }
416
417 #removechunk .menu-iconic-icon {
418   -moz-image-region: rect(32px,96px,48px,80px);
419 }
420 #removechunk[disabled="true"] .menu-iconic-icon {
421   -moz-image-region: rect(48px,96px,64px,80px);
422 }
423
424 /* menuitem element (row 3) */
425 #movetop .menu-iconic-icon {
426   -moz-image-region: rect(64px,16px,80px,0px);
427 }
428 #movetop[disabled="true"] .menu-iconic-icon {
429   -moz-image-region: rect(80px,16px,96px,0px);
430 }
431
432 #moveup .menu-iconic-icon {
433   -moz-image-region: rect(64px,32px,80px,16px);
434 }
435 #moveup[disabled="true"] .menu-iconic-icon {
436   -moz-image-region: rect(80px,32px,96px,16px);
437 }
438
439 #movedown .menu-iconic-icon {
440   -moz-image-region: rect(64px,48px,80px,32px);
441 }
442 #movedown[disabled="true"] .menu-iconic-icon {
443   -moz-image-region: rect(80px,48px,96px,32px);
444 }
445
446 #movebottom .menu-iconic-icon {
447   -moz-image-region: rect(64px,64px,80px,48px);
448 }
449 #movebottom[disabled="true"] .menu-iconic-icon {
450   -moz-image-region: rect(80px,64px,96px,48px);
451 }
452
453 #mirrors .menu-iconic-icon {
454   -moz-image-region: rect(64px,80px,80px,64px);
455 }
456 #mirrors[disabled="true"] .menu-iconic-icon {
457   -moz-image-region: rect(80px,80px,96px,64px);
458 }
459
460 /* menuitem common */
461 #selectall .menu-iconic-icon {
462   list-style-image: url(chrome://dta/skin/common/selection.png);
463   -moz-image-region: rect(0px, 16px, 16px, 0px); 
464 }
465 #selectinv .menu-iconic-icon {
466   list-style-image: url(chrome://dta/skin/common/selection.png);
467   -moz-image-region: rect(0px, 48px, 16px, 32px); 
468 }
469 #prefs .menu-iconic-icon {
470   list-style-image: url("chrome://dta/skin/common/smalltools.png");
471   -moz-image-region: rect(0px, 64px, 16px, 48px);
472 }
473
474 /* menuitem dupes */
475
476 #removeDupes .menu-iconic-icon {
477   -moz-image-region: rect(64px,96px,80px,80px);
478 }
479 #removeDupes[disabled="true"] .menu-iconic-icon {
480   -moz-image-region: rect(80px,96px,96px,80px);
481 }
482
483 .menu-iconic-accel {
484   font-size: 75%;
485 }
486
487 /** :: Speedlist :: **/
488
489 #statusSpeeds {
490   text-align: right;
491 }
492
493 #listSpeeds .menulist-label,
494 #listSpeeds menuitem {
495   font-size: 85%;
496 }
497 #listSpeeds,
498 #listSpeeds  textbox {
499   padding: 0px !important;
500   margin: 0px !important;
501   cursor: default;
502 }
503 #listSpeeds menuitem,
504 #listSpeeds menuseparator {
505   padding-right: 4px;
506 }
507 #listSpeeds menuitem > .menu-iconic-left {
508   display: none;
509 }
510 #listSpeeds menuitem > .menu-iconic-text {
511   -moz-box-flex: 1;
512 }
513 #listSpeeds menuitem[selected="true"] {
514   font-weight: bold;
515 }
516
517 /** :: Misc :: **/
518
519 #downloads[offline] > treechildren  {
520   opacity: 0.7;
521 }
522
523 #loadingbox {
524   opacity: 0.6;
525   background-color: -moz-Field;
526 }
527
528 #loading {
529   -moz-appearance: none;
530   -moz-user-focus: ignore;
531   border: none !important;
532   min-width: 0;
533   background-color: transparent;
534   color: -moz-fieldText;
535
536   font-size: large;
537   font-weight: bold;
538 }
539
540 #loading label {
541   padding-left: 2ex;
542 }
543
544 textbox.plain {
545   background-color: transparent !important;
546 }
547
548 statusbarpanel#netstatus {
549   padding-left: 4px;
550   padding-right: 6px;
551 }
Note: See TracBrowser for help on using the browser.