b200f773 |
1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
3 | * |
4 | * The contents of this file are subject to the Mozilla Public License Version |
5 | * 1.1 (the "License"); you may not use this file except in compliance with |
6 | * the License. You may obtain a copy of the License at |
7 | * http://www.mozilla.org/MPL/ |
8 | * |
9 | * Software distributed under the License is distributed on an "AS IS" basis, |
10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
11 | * for the specific language governing rights and limitations under the |
12 | * License. |
13 | * |
14 | * The Original Code is "Classic" theme of mozilla.org code. |
15 | * |
16 | * The Initial Developer of the Original Code is |
17 | * the Mozilla Organization. |
18 | * Portions created by the Initial Developer are Copyright (C) 1998-2001 |
19 | * the Initial Developer. All Rights Reserved. |
20 | * |
21 | * Contributor(s): |
22 | * Robert Kaiser <KaiRo@KaiRo.at> |
23 | * |
24 | * Alternatively, the contents of this file may be used under the terms of |
25 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
27 | * in which case the provisions of the GPL or the LGPL are applicable instead |
28 | * of those above. If you wish to allow use of your version of this file only |
29 | * under the terms of either the GPL or the LGPL, and not to allow others to |
30 | * use your version of this file under the terms of the MPL, indicate your |
31 | * decision by deleting the provisions above and replace them with the notice |
32 | * and other provisions required by the GPL or the LGPL. If you do not delete |
33 | * the provisions above, a recipient may use your version of this file under |
34 | * the terms of any one of the MPL, the GPL or the LGPL. |
35 | * |
36 | * ***** END LICENSE BLOCK ***** */ |
37 | |
38 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
3c30e09e |
39 | |
40 | /********* XP Scrollbar *********/ |
41 | |
42 | scrollbar |
43 | { |
44 | -moz-binding : url("chrome://global/skin/scrollbarBindings.xml#scrollbar"); |
45 | cursor : default; |
46 | background-color : black; |
47 | } |
48 | |
49 | /********* XP Scrollbar *********/ |
50 | |
51 | thumb |
52 | { |
53 | -moz-binding : url("chrome://global/skin/scrollbarBindings.xml#thumbh"); |
54 | background-color : #9C9CFF; |
55 | padding : 1px; |
56 | list-style-image : url("chrome://global/skin/scroll-thumb-horiz.gif"); |
57 | -moz-box-pack : center; |
58 | -moz-box-align : center; |
59 | } |
60 | |
61 | thumb[disabled="true"] { |
62 | list-style-image : url("chrome://global/skin/scroll-thumb-horiz-disabled.gif"); |
63 | } |
64 | |
65 | scrollbar[orient="vertical"] > slider > thumb { |
66 | -moz-binding : url("chrome://global/skin/scrollbarBindings.xml#thumbv"); |
67 | list-style-image : url("chrome://global/skin/scroll-thumb-vert.gif") |
68 | } |
69 | |
70 | scrollbar[orient="vertical"] > slider > thumb[disabled="true"] { |
71 | list-style-image : url("chrome://global/skin/scroll-thumb-vert-disabled.gif") |
72 | } |
73 | |
74 | thumb:active, |
75 | thumb:hover:active { |
76 | background-color: #008484; |
77 | } |
78 | |
79 | thumb:hover { |
80 | background-color: #FFCF00; |
81 | } |
82 | |
83 | /** |
84 | * Scrollbar button |
85 | **/ |
86 | scrollbarbutton |
87 | { |
88 | -moz-binding : url("chrome://global/skin/scrollbarBindings.xml#scrollbarbutton"); |
89 | /* border : 1px outset white; |
90 | background-color : #CCCCCC; */ |
91 | } |
92 | |
93 | .scrollbarbutton-box |
94 | { |
95 | padding : 1px; |
96 | } |
97 | |
98 | scrollbarbutton:hover:active |
99 | { |
100 | /* border-style : inset; */ |
101 | } |
102 | |
103 | scrollbarbutton:hover:active > .scrollbarbutton-box |
104 | { |
105 | padding : 2px 0px 0px 2px; |
106 | } |
107 | |
108 | scrollbarbutton[type="decrement"] |
109 | { |
110 | list-style-image : url("chrome://global/skin/scroll-left-hover.gif"); |
111 | background-image : url("chrome://global/skin/scrollbtn-left.gif"); |
112 | margin : 0px; |
113 | margin-right : 3px; |
114 | } |
115 | |
116 | scrollbarbutton[type="decrement"][disabled="true"] |
117 | { |
118 | list-style-image : url("chrome://global/skin/scroll-left-disabled.gif") ; |
119 | } |
120 | |
121 | scrollbarbutton[type="increment"] |
122 | { |
123 | list-style-image : url("chrome://global/skin/scroll-right-hover.gif"); |
124 | background-image : url("chrome://global/skin/scrollbtn-right.gif"); |
125 | margin : 0px; |
126 | margin-left : 3px; |
127 | } |
128 | |
129 | |
130 | scrollbarbutton[type="increment"][disabled="true"] |
131 | { |
132 | list-style-image : url("chrome://global/skin/scroll-right-disabled.gif"); |
133 | } |
134 | |
135 | |
136 | scrollbarbutton[type="decrement"][sborient="vertical"] |
137 | { |
138 | list-style-image : url("chrome://global/skin/scroll-up-hover.gif"); |
139 | background-image : url("chrome://global/skin/scrollbtn-up.gif"); |
140 | margin : 0px; |
141 | margin-bottom : 3px; |
142 | } |
143 | |
144 | scrollbarbutton[type="decrement"][disabled="true"][sborient="vertical"] |
145 | { |
146 | list-style-image : url("chrome://global/skin/scroll-up-disabled.gif") ; |
147 | } |
148 | |
149 | scrollbarbutton[type="increment"][sborient="vertical"] |
150 | { |
151 | list-style-image : url("chrome://global/skin/scroll-down-hover.gif"); |
152 | background-image : url("chrome://global/skin/scrollbtn-down.gif"); |
153 | margin : 0px; |
154 | margin-top : 3px; |
155 | } |
156 | |
157 | scrollbarbutton[type="increment"][disabled="true"][sborient="vertical"] |
158 | { |
159 | list-style-image : url("chrome://global/skin/scroll-down-disabled.gif") ; |
160 | } |
161 | |
162 | slider |
163 | { |
164 | background-color : #000000; |
165 | } |