1d798428 |
1 | @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); /* set default namespace to XUL */ |
2 | |
3 | /********* XP Scrollbar *********/ |
4 | |
5 | scrollbar { |
6 | -moz-binding: url("chrome://global/content/xulBindings.xml#scrollbar"); |
7 | background-color: black; |
8 | } |
9 | |
10 | /********* XP Scrollbar *********/ |
11 | |
12 | thumb { |
13 | -moz-binding: url(chrome://global/content/xulBindings.xml#thumb); |
14 | background-color: #9C9CFF; |
15 | padding: 1px; |
16 | list-style-image: url("chrome://global/skin/scroll-thumb-horiz.gif"); |
bd0fcaa8 |
17 | text-align: center; |
18 | vertical-align: middle; |
1d798428 |
19 | } |
20 | |
21 | thumb[disabled="true"] { |
22 | list-style-image: url("chrome://global/skin/scroll-thumb-horiz-disabled.gif"); |
23 | } |
24 | |
bd0fcaa8 |
25 | scrollbar[align="vertical"] > slider > thumb { |
26 | -moz-binding: url(chrome://global/skin/workaround.xml#thumbv); |
1d798428 |
27 | list-style-image: url("chrome://global/skin/scroll-thumb-vert.gif"); |
28 | } |
29 | |
bd0fcaa8 |
30 | scrollbar[align="vertical"] > slider > thumb[disabled="true"] { |
31 | list-style-image: url("chrome://global/skin/scroll-thumb-vert-disabled.gif") |
32 | } |
33 | |
1d798428 |
34 | scrollbarbutton { |
35 | vertical-align: bottom; |
36 | cursor: default; |
37 | |
38 | /* border: 1px outset white; */ |
39 | color:black; |
40 | |
41 | padding: 1px; |
42 | } |
43 | |
44 | scrollbarbutton:active { |
45 | /* border-style: inset; */ |
46 | |
47 | padding-left: 2px; |
48 | padding-right: 0px; |
49 | padding-top: 2px; |
50 | padding-bottom: 0px; |
51 | } |
52 | |
53 | scrollbarbutton[type="decrement"] { |
54 | list-style-image: url("chrome://global/skin/scroll-left-hover.gif"); |
55 | background-image: url("chrome://global/skin/scrollbtn-left.gif"); |
56 | margin: 0px; |
57 | margin-right: 3px; |
58 | } |
59 | |
60 | scrollbarbutton[type="decrement"][disabled="true"] { |
61 | list-style-image: url("chrome://global/skin/scroll-left-disabled.gif") ; |
62 | } |
63 | |
64 | scrollbarbutton[type="increment"] { |
65 | list-style-image: url("chrome://global/skin/scroll-right-hover.gif"); |
66 | background-image: url("chrome://global/skin/scrollbtn-right.gif"); |
67 | margin: 0px; |
68 | margin-left: 3px; |
69 | } |
70 | |
71 | |
72 | scrollbarbutton[type="increment"][disabled="true"] { |
73 | list-style-image: url("chrome://global/skin/scroll-right-disabled.gif") ; |
74 | } |
75 | |
76 | |
bd0fcaa8 |
77 | scrollbar[align="vertical"] > scrollbarbutton[type="decrement"] { |
1d798428 |
78 | list-style-image: url("chrome://global/skin/scroll-up-hover.gif"); |
79 | background-image: url("chrome://global/skin/scrollbtn-up.gif"); |
80 | margin: 0px; |
81 | margin-bottom: 3px; |
82 | } |
83 | |
bd0fcaa8 |
84 | scrollbar[align="vertical"] > scrollbarbutton[type="decrement"][disabled="true"] { |
1d798428 |
85 | list-style-image: url("chrome://global/skin/scroll-up-disabled.gif"); |
86 | } |
87 | |
bd0fcaa8 |
88 | scrollbar[align="vertical"] > scrollbarbutton[type="increment"] { |
1d798428 |
89 | list-style-image: url("chrome://global/skin/scroll-down-hover.gif"); |
90 | background-image: url("chrome://global/skin/scrollbtn-down.gif"); |
91 | margin: 0px; |
92 | margin-top: 3px; |
93 | } |
94 | |
bd0fcaa8 |
95 | scrollbar[align="vertical"] > scrollbarbutton[type="increment"][disabled="true"] { |
1d798428 |
96 | list-style-image: url("chrome://global/skin/scroll-down-disabled.gif"); |
97 | } |
98 | |
bd0fcaa8 |
99 | thumb:active { |
100 | background-color: #008484; |
101 | } |
102 | |
103 | thumb:hover { |
1d798428 |
104 | background-color: #FFCF00; |
105 | } |
106 | |
107 | slider { |
108 | background-color: #000000; |
109 | } |
110 | |
111 | |
bd0fcaa8 |
112 | |