1d798428 |
1 | /** this should only contain XUL dialog and document window widget defaults. Defaults for widgets of |
2 | a particular application should be in that application's style sheet. |
3 | For example style definitions for navigator can be found in navigator.css |
4 | |
5 | THIS FILE IS LOCKED DOWN. YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR |
6 | CHANGES REVIEWED BY hyatt@netscape.com. |
7 | **/ |
8 | |
9 | /* import the widget style sheets */ |
10 | |
11 | /* all localizable skin settings shall live here */ |
12 | @import url(chrome://global/locale/intl.css); |
13 | |
14 | @import url(chrome://global/skin/box.css); |
15 | @import url(chrome://global/skin/button.css); |
16 | @import url(chrome://global/skin/checkbox.css); |
17 | @import url(chrome://global/skin/radio.css); |
18 | @import url(chrome://global/skin/tree.css); |
c9990331 |
19 | @import url(chrome://global/skin/outliner.css); |
1d798428 |
20 | @import url(chrome://global/skin/splitter.css); |
21 | @import url(chrome://global/skin/radio.css); |
22 | @import url(chrome://global/skin/menubutton.css); |
23 | @import url(chrome://global/skin/menulist.css); |
24 | @import url(chrome://global/skin/menu.css); |
25 | @import url(chrome://global/skin/formatting.css); |
26 | @import url(chrome://global/skin/textfield.css); |
27 | @import url(chrome://global/skin/tabcontrol.css); |
c9990331 |
28 | @import url(chrome://global/skin/toolbar.css); |
29 | @import url(chrome://global/skin/colorpicker.css); |
1d798428 |
30 | |
31 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
32 | @namespace html url("http://www.w3.org/1999/xhtml"); |
33 | |
34 | /** |
35 | * XXX-DEBUG: HTML namespace/titledbutton striping. |
36 | **/ |
c9990331 |
37 | |
38 | /* |
1d798428 |
39 | html|* |
40 | { |
41 | border : 1px solid green !important; |
42 | } |
43 | |
44 | html|form |
45 | { |
46 | border : none !important; |
47 | } |
48 | |
49 | titledbutton |
50 | { |
51 | border : 1px solid purple !important; |
52 | } |
c9990331 |
53 | */ |
1d798428 |
54 | |
55 | /** |
56 | * XUL <window> element |
57 | **/ |
58 | window |
59 | { |
60 | background-color : #000000; |
61 | /* font : 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */ |
62 | font : 3mm helvetica,arial,tahoma,sans-serif; |
63 | color : #FF9F00; |
64 | padding : 3px; |
c9990331 |
65 | -moz-user-focus : ignore; |
1d798428 |
66 | } |
67 | |
68 | window[wait-cursor] |
69 | { |
70 | cursor : wait !important; |
71 | } |
72 | |
73 | window.dialog |
74 | { |
75 | background-color : #000000; |
76 | padding : 7px 5px 5px 5px; |
77 | } |
78 | |
79 | /** |
80 | * XUL <box> debugging |
81 | **/ |
82 | :-moz-horizontal-box-debug |
83 | { |
84 | border : 2px solid blue; |
85 | border-top-width : 10px; |
86 | padding : 2px; |
87 | margin : 2px; |
88 | color : white; |
89 | } |
90 | |
91 | :-moz-vertical-box-debug |
92 | { |
93 | border : 2px solid red; |
94 | border-left-width : 10px; |
95 | padding : 2px; |
96 | margin : 2px; |
97 | color : white; |
98 | } |
99 | |
100 | /** |
101 | * Utility icons (used for alert dialogs, etc) |
102 | **/ |
103 | .message-icon |
104 | { |
105 | list-style-image : url("chrome://global/skin/message-icon.gif"); |
106 | } |
107 | |
108 | .alert-icon |
109 | { |
110 | list-style-image : url("chrome://global/skin/alert-icon.gif"); |
111 | } |
112 | |
113 | .error-icon |
114 | { |
115 | list-style-image : url("chrome://global/skin/error-icon.gif"); |
116 | } |
117 | |
118 | .question-icon |
119 | { |
120 | list-style-image : url("chrome://global/skin/question-icon.gif"); |
121 | } |
122 | |
1d798428 |
123 | /** |
124 | * status-bar |
125 | */ |
126 | #status-bar |
127 | { |
128 | border-top : 1px solid #9999CC; |
129 | background-color : #000000; |
130 | -moz-user-focus : ignore; |
131 | overflow : hidden |
132 | } |
133 | |
134 | .statusbar-left |
135 | { |
136 | width : 8px; |
137 | list-style-image : url("chrome://global/skin/gray-bottomleft.gif"); |
138 | background-position : bottom left; |
139 | } |
140 | |
141 | .statusbar-right |
142 | { |
143 | width : 8px; |
144 | list-style-image : url("chrome://global/skin/gray-bottomright.gif"); |
145 | background-position : bottom right; |
146 | } |
147 | |
c9990331 |
148 | statusbarpanel |
149 | { |
150 | padding : 0px 1px 0px 1px; |
151 | vertical-align : middle; |
152 | } |
153 | |
154 | .statusbar-panel-icon |
155 | { |
156 | margin : 0px 2px 0px 0px; |
157 | } |
158 | |
159 | |
1d798428 |
160 | /** |
161 | * html|iframe default sizing |
162 | **/ |
163 | html|iframe |
164 | { |
165 | min-width : 10px; |
166 | min-height : 10px; |
167 | width : 100px; |
168 | height : 100px; |
169 | border : none; |
170 | } |
171 | |
172 | /** |
173 | * XUL <progressmeter> |
174 | **/ |
175 | progressmeter[mode="undetermined"] > .progressmeter-internal-box |
176 | { |
177 | background-image : url(chrome://global/skin/progressmeter-busy.gif); |
178 | } |
179 | |
180 | progressmeter[mode="undetermined"] > .progressmeter-internal-box > .progressmeter-stack > .progressmeter-progressbar { |
181 | visibility: collapse; |
182 | } |
183 | |
184 | .progress-text |
185 | { |
186 | font-weight : normal !important; |
187 | } |
188 | |
189 | progressmeter |
190 | { |
191 | min-width : 100px; |
192 | margin : 0px 4px 0px 4px; |
193 | border : 1px solid #FF9F00; |
194 | } |
195 | |
196 | progressmeter > .progressmeter-internal-box |
197 | { |
198 | border : none; |
199 | padding : 1px; |
200 | /* border : 1px solid #000000; */ |
201 | } |
202 | |
203 | /* progress indicators */ |
204 | .progress-bar |
205 | { |
206 | background-color : #FFCF00; |
207 | } |
208 | |
209 | .progress-remainder |
210 | { |
211 | background-color : #000000; |
212 | } |
213 | |
214 | .progressmeter-statusbar |
215 | { |
216 | border : 1px solid #FF9F00; |
217 | margin : 1px 4px 1px 4px; |
218 | } |
219 | |
220 | .progressmeter-statusbar > .progressmeter-internal-box |
221 | { |
222 | border : none; |
223 | padding : 1px; |
224 | } |
225 | |
226 | .progressmeter-progressbar[statusbar="true"] > .progress-bar |
227 | { |
228 | background-color : #FFCF00; |
229 | border-right : none; |
230 | } |
231 | |
232 | .progressmeter-progressbar[statusbar="true"] > .progress-remainder |
233 | { |
234 | background-color : #000000; |
235 | } |
236 | |
237 | /** XUL <scrollbar> element **/ |
238 | scrollbar |
239 | { |
240 | -moz-user-focus : ignore; |
241 | } |
242 | |