128000f4 |
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 | |
f6e0a33f |
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 | |
f840e302 |
46 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
47 | |
f6e0a33f |
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; |
f6e0a33f |
60 | border-bottom : 1px solid ThreeDFace; |
61 | } |
62 | |
63 | #browser |
64 | { |
65 | border-left : 1px solid ThreeDShadow; |
f6e0a33f |
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 | |
f6e0a33f |
92 | #forward-button |
93 | { |
94 | list-style-image : url("chrome://navigator/skin/forward.gif"); |
95 | } |
96 | |
97 | #forward-button[disabled="true"] |
98 | { |
99 | list-style-image : url("chrome://navigator/skin/forward-disabled.gif") !important; |
100 | } |
101 | |
f6e0a33f |
102 | #reload-button |
103 | { |
104 | list-style-image : url("chrome://navigator/skin/reload.gif"); |
105 | } |
106 | |
f6e0a33f |
107 | #reload-button[disabled="true"] |
108 | { |
109 | list-style-image : url("chrome://navigator/skin/reload-disabled.gif") !important; |
110 | } |
111 | |
112 | #stop-button |
113 | { |
114 | list-style-image : url("chrome://navigator/skin/stop.gif"); |
115 | } |
116 | |
117 | #stop-button[disabled="true"] |
118 | { |
119 | list-style-image : url("chrome://navigator/skin/stop-disabled.gif") !important; |
120 | } |
121 | |
f6e0a33f |
122 | #print-button |
123 | { |
124 | list-style-image : url("chrome://global/skin/print.gif"); |
125 | } |
126 | |
127 | #print-button[disabled="true"] { |
128 | list-style-image : url("chrome://global/skin/print-disabled.gif") !important; |
129 | } |
130 | |
f6e0a33f |
131 | /* Hides text below the above buttons */ |
132 | .toolbarbutton-1 > .toolbarbutton-menubutton-box > .toolbarbutton-menubutton-button > .toolbarbutton-box > .toolbarbutton-text, |
133 | .toolbarbutton-1 > .toolbarbutton-box > .toolbarbutton-text { |
134 | display: none; |
135 | } |
136 | |
f6e0a33f |
137 | /*all the urlbar stuff*/ |
2d09e496 |
138 | |
139 | #page-proxy-deck { |
140 | cursor : grab; |
c0983754 |
141 | margin : 1px; |
2d09e496 |
142 | width : 16px; |
143 | height : 16px; |
144 | } |
145 | |
f6e0a33f |
146 | #page-proxy-button |
147 | { |
148 | list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); |
c0983754 |
149 | padding-top : 2px; |
150 | padding-bottom : 2px; |
2d09e496 |
151 | width : 16px; |
152 | height : 16px; |
f6e0a33f |
153 | } |
154 | |
155 | /* |
156 | #page-proxy-button[pageproxystate="valid"]:hover |
157 | { |
158 | list-style-image : url("chrome://communicator/skin/bookmarks/location-hover.gif"); |
159 | } |
160 | |
161 | #page-proxy-button[pageproxystate="valid"]:hover:active |
162 | { |
163 | list-style-image : url("chrome://communicator/skin/bookmarks/location-clicked.gif"); |
164 | } |
165 | |
166 | #page-proxy-button[pageproxystate="invalid"] |
167 | { |
168 | cursor : default; |
169 | list-style-image : url("chrome://communicator/skin/bookmarks/location-disabled.gif"); |
170 | } |
171 | */ |
172 | |
2d09e496 |
173 | #page-proxy-favicon |
174 | { |
175 | list-style-image : none; |
c0983754 |
176 | padding : 0px; |
2d09e496 |
177 | width : 16px; |
178 | height : 16px; |
179 | } |
180 | |
f6e0a33f |
181 | #content-frame |
182 | { |
183 | min-width : 0px; |
184 | min-height : 0px; |
185 | } |
186 | |
187 | #nav-bar-inner { |
188 | padding-left : 0px; |
189 | min-width : 0px; |
190 | margin : 9px 4px; |
191 | } |
192 | |
193 | #urlbar .autocomplete-icon-box { |
194 | border : 1px inset #CCD0DD; |
195 | border-right : none; |
196 | } |
197 | |
198 | #urlbar .autocomplete-textbox-container { |
199 | border : 1px inset #CCD0DD; |
200 | border-left : none; |
201 | } |
202 | |
203 | #urlbar-group { |
204 | border : none; |
205 | margin : 0px 5px 0px 0px; |
206 | } |
207 | |
208 | #urlbar-container { |
209 | border : none; |
210 | } |
211 | |
212 | #search-button, |
213 | #go-button { |
214 | /* font : message-box; */ |
215 | font-weight : bold; |
216 | margin : 0px 3px 0px 0px; |
217 | background-color : #9999CC; |
218 | } |
219 | |
220 | #search-button > .button-box, |
221 | #go-button > .button-box { |
222 | border : 1px outset #9999CC; |
223 | } |
224 | |
225 | #search-button:hover:active > .button-box, |
226 | #go-button:hover:active > .button-box { |
227 | border : 1px inset #9999CC; |
228 | } |
229 | |
230 | #search-button |
231 | { |
232 | /* list-style-image : url("chrome://communicator/skin/search.gif"); */ |
233 | font-weight : bold; |
234 | } |
235 | |
f6e0a33f |
236 | .menuitem-iconic |
237 | { |
238 | padding : 1px; |
239 | } |
240 | |
241 | /* ::::: urlbar autocomplete widget ::::: */ |
242 | |
243 | .autocomplete-outlinerbody:-moz-outliner-cell-text(value) |
244 | { |
245 | padding-left : 13px; |
246 | } |
247 | |
248 | .autocomplete-outlinerbody:-moz-outliner-cell-text(comment) |
249 | { |
f840e302 |
250 | /* font-style : italic; */ |
f6e0a33f |
251 | } |
252 | |
253 | /* |
254 | .autocomplete-history-button |
255 | { |
256 | border : 1px outset -moz-Dialog; |
257 | } |
258 | |
259 | .autocomplete-history-button[open="true"] |
260 | { |
261 | border : 1px solid ThreeDShadow; |
262 | } |
263 | |
264 | .autocomplete-history-button-internal-box, |
265 | .autocomplete-history-button[open="true"] > .autocomplete-history-button-internal-box |
266 | { |
267 | border : none; |
268 | } |
269 | */ |
270 | |
271 | .autocomplete-search-box |
272 | { |
273 | border-top : 1px solid #9999CC; |
274 | background-color : #666699; |
275 | color : #000000; |
276 | } |
277 | |
278 | .autocomplete-result-popup[nomatch="true"] > .autocomplete-search-box |
279 | { |
280 | border-top : 1px solid #666699; |
281 | } |
282 | |
283 | .autocomplete-search-engine |
284 | { |
285 | padding : 2px; |
286 | } |
287 | |
288 | .autocomplete-search-engine[menuactive="true"] |
289 | { |
290 | background-color : #9999CC; |
291 | color : #000000; |
292 | } |
293 | |
294 | .autocomplete-search-engine-img |
295 | { |
296 | margin-right : 4px; |
297 | } |