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 | |
3c30e09e |
38 | /** Contains style definitions for the navigator application |
39 | **/ |
40 | |
41 | @import url(chrome://navigator/content/navigator.css); |
42 | @import url(chrome://communicator/skin/); |
43 | @import url(chrome://navigator/skin/personalToolbar.css); |
44 | @import url(chrome://communicator/skin/sidebar/sidebar.css); |
45 | |
4d40617b |
46 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
47 | |
3c30e09e |
48 | /********** resource bundle binding **********/ |
49 | |
50 | #resource_bundle_navigator |
51 | { |
52 | -moz-binding : url('chrome://navigator/skin/resources.xml#resource_bundle_navigator') |
53 | } |
54 | |
55 | /* |
56 | #content |
57 | { |
58 | border-left : 1px solid ThreeDDarkShadow; |
59 | border-top : 1px solid ThreeDDarkShadow; |
3c30e09e |
60 | border-bottom : 1px solid ThreeDFace; |
61 | } |
62 | |
63 | #browser |
64 | { |
65 | border-left : 1px solid ThreeDShadow; |
3c30e09e |
66 | } |
67 | */ |
68 | |
69 | #bookmarks-button |
70 | { |
71 | list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); |
72 | } |
73 | |
74 | #bookmarks-button[open="true"] |
75 | { |
76 | list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); |
77 | } |
78 | |
79 | /* |
80 | * Images for the main buttons |
81 | */ |
82 | #back-button |
83 | { |
84 | list-style-image : url("chrome://navigator/skin/back.gif"); |
85 | } |
86 | |
87 | #back-button[disabled="true"] |
88 | { |
89 | list-style-image : url("chrome://navigator/skin/back-disabled.gif") !important; |
90 | } |
91 | |
92 | #back-button:hover, |
93 | #back-button[buttonover="true"], |
94 | #back-button[buttondown="true"], |
95 | #back-button[open="true"] |
96 | { |
97 | list-style-image : url("chrome://navigator/skin/back-hover.gif"); |
98 | } |
99 | #forward-button |
100 | { |
101 | list-style-image : url("chrome://navigator/skin/forward.gif"); |
102 | } |
103 | |
104 | #forward-button[disabled="true"] |
105 | { |
106 | list-style-image : url("chrome://navigator/skin/forward-disabled.gif") !important; |
107 | } |
108 | |
109 | #forward-button:hover, |
110 | #forward-button[buttonover="true"], |
111 | #forward-button[buttondown="true"], |
112 | #forward-button[open="true"] |
113 | { |
114 | list-style-image : url("chrome://navigator/skin/forward-hover.gif"); |
115 | } |
116 | |
117 | #reload-button |
118 | { |
119 | list-style-image : url("chrome://navigator/skin/reload.gif"); |
120 | } |
121 | |
122 | #reload-button:hover, |
123 | #reload-button:hover:active |
124 | { |
125 | list-style-image : url("chrome://navigator/skin/reload-hover.gif"); |
126 | } |
127 | |
128 | { |
129 | list-style-image : url("chrome://navigator/skin/reload-hover-active.gif"); |
130 | } |
131 | |
132 | #reload-button[disabled="true"] |
133 | { |
134 | list-style-image : url("chrome://navigator/skin/reload-disabled.gif") !important; |
135 | } |
136 | |
137 | #stop-button |
138 | { |
139 | list-style-image : url("chrome://navigator/skin/stop.gif"); |
140 | } |
141 | |
142 | #stop-button[disabled="true"] |
143 | { |
144 | list-style-image : url("chrome://navigator/skin/stop-disabled.gif") !important; |
145 | } |
146 | |
147 | #stop-button:hover, |
148 | #stop-button:hover:active |
149 | { |
150 | list-style-image : url("chrome://navigator/skin/stop-hover.gif"); |
151 | } |
152 | |
153 | #print-button |
154 | { |
155 | list-style-image : url("chrome://global/skin/print.gif"); |
156 | } |
157 | |
158 | #print-button[disabled="true"] { |
159 | list-style-image : url("chrome://global/skin/print-disabled.gif") !important; |
160 | } |
161 | |
162 | #print-button:hover, |
163 | #print-button[buttonover="true"], |
164 | #print-button[buttondown="true"], |
165 | #print-button[open="true"] |
166 | { |
167 | list-style-image : url("chrome://global/skin/print-hover.gif"); |
168 | } |
169 | |
170 | /* Hides text below the above buttons */ |
171 | .toolbarbutton-1 > .toolbarbutton-menubutton-box > .toolbarbutton-menubutton-button > .toolbarbutton-box > .toolbarbutton-text, |
172 | .toolbarbutton-1 > .toolbarbutton-box > .toolbarbutton-text { |
173 | display: none; |
174 | } |
175 | |
b200f773 |
176 | #page-proxy-deck { |
177 | cursor : grab; |
178 | margin : 2px 4px 2px 2px; |
179 | width : 16px; |
180 | height : 16px; |
181 | } |
3c30e09e |
182 | |
183 | /*all the urlbar stuff*/ |
184 | #page-proxy-button |
185 | { |
186 | list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); |
b200f773 |
187 | width : 16px; |
188 | height : 16px; |
3c30e09e |
189 | } |
190 | |
191 | /* |
192 | #page-proxy-button[pageproxystate="valid"]:hover |
193 | { |
194 | list-style-image : url("chrome://communicator/skin/bookmarks/location-hover.gif"); |
195 | } |
196 | |
197 | #page-proxy-button[pageproxystate="valid"]:hover:active |
198 | { |
199 | list-style-image : url("chrome://communicator/skin/bookmarks/location-clicked.gif"); |
200 | } |
201 | |
202 | #page-proxy-button[pageproxystate="invalid"] |
203 | { |
204 | cursor : default; |
205 | list-style-image : url("chrome://communicator/skin/bookmarks/location-disabled.gif"); |
206 | } |
207 | */ |
208 | |
b200f773 |
209 | #page-proxy-favicon |
210 | { |
211 | list-style-image : none; |
212 | width : 16px; |
213 | height : 16px; |
214 | } |
215 | |
3c30e09e |
216 | #content-frame |
217 | { |
218 | min-width : 0px; |
219 | min-height : 0px; |
220 | } |
221 | |
222 | #nav-bar-inner { |
223 | padding-left : 0px; |
224 | min-width : 0px; |
225 | margin : 9px 4px; |
226 | } |
227 | |
228 | /* |
229 | #urlbar .autocomplete-icon-box { |
230 | border : 1px inset #CCD0DD; |
231 | border-right : none; |
232 | } |
233 | |
234 | #urlbar .autocomplete-textbox-container { |
235 | border : 1px inset #CCD0DD; |
236 | border-left : none; |
237 | } |
238 | */ |
239 | |
240 | #urlbar-group { |
241 | border : none; |
242 | margin : 0px 5px 0px 0px; |
243 | } |
244 | |
245 | #urlbar-container { |
246 | -moz-border-radius : 5px; |
247 | border : 1px solid #9C9CFF; |
248 | background-color : #000000; |
249 | padding : 0px; |
250 | } |
251 | |
252 | #search-button, |
253 | #go-button { |
254 | font-weight : bold; |
255 | margin : 0px 3px 0px 0px; |
256 | background-color : #000000; |
257 | } |
258 | |
259 | #search-button:hover, |
260 | #go-button:hover { |
261 | font-weight : bold; |
262 | margin : 0px 3px 0px 0px; |
263 | background-color : #FFCF00; |
264 | } |
265 | |
266 | #search-button |
267 | { |
268 | /* list-style-image : url("chrome://communicator/skin/search.gif"); */ |
269 | } |
270 | |
271 | /* |
272 | #search-button:hover |
273 | { |
274 | list-style-image : url("chrome://communicator/skin/search-hover.gif"); |
275 | } |
276 | |
277 | #search-button:hover:active |
278 | { |
279 | list-style-image : url("chrome://communicator/skin/search-active.gif"); |
280 | } |
281 | */ |
282 | |
283 | .menuitem-iconic |
284 | { |
285 | padding : 1px; |
286 | } |
287 | |
288 | /* ::::: urlbar autocomplete widget ::::: */ |
289 | |
290 | .autocomplete-outlinerbody:-moz-outliner-cell-text(value) |
291 | { |
292 | padding-left : 13px; |
293 | } |
294 | |
295 | .autocomplete-outlinerbody:-moz-outliner-cell-text(comment) |
296 | { |
4d40617b |
297 | /* font-style : italic; */ |
3c30e09e |
298 | } |
299 | |
300 | .autocomplete-history-button:hover |
301 | { |
302 | background-color : #FFCF00; |
303 | } |
304 | |
b200f773 |
305 | .autocomplete-history-button-internal-box:hover |
306 | { |
307 | background-color : #FFCF00; |
308 | } |
309 | |
3c30e09e |
310 | /* |
311 | .autocomplete-history-button |
312 | { |
313 | border : 1px outset -moz-Dialog; |
314 | } |
315 | |
316 | .autocomplete-history-button[open="true"] |
317 | { |
318 | border : 1px solid ThreeDShadow; |
319 | } |
320 | |
321 | .autocomplete-history-button-internal-box, |
322 | .autocomplete-history-button[open="true"] > .autocomplete-history-button-internal-box |
323 | { |
324 | border : none; |
325 | } |
326 | */ |
327 | |
328 | .autocomplete-search-box |
329 | { |
330 | border-top : 1px solid #FF9F00; |
331 | background-color : #9C9CFF; |
332 | color : #000000; |
333 | } |
334 | |
335 | .autocomplete-result-popup[nomatch="true"] > .autocomplete-search-box |
336 | { |
337 | border-top : 1px solid #9C9CFF; |
338 | } |
339 | |
340 | .autocomplete-search-engine |
341 | { |
342 | padding : 2px; |
343 | } |
344 | |
345 | .autocomplete-search-engine[menuactive="true"] |
346 | { |
347 | background-color : #008484; |
348 | color : #FFCF00; |
349 | } |
350 | |
351 | .autocomplete-search-engine-img |
352 | { |
353 | margin-right : 4px; |
354 | } |