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; |
141 | margin : 1px 1px 1px 2px; |
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"); |
2d09e496 |
149 | width : 16px; |
150 | height : 16px; |
f6e0a33f |
151 | } |
152 | |
153 | /* |
154 | #page-proxy-button[pageproxystate="valid"]:hover |
155 | { |
156 | list-style-image : url("chrome://communicator/skin/bookmarks/location-hover.gif"); |
157 | } |
158 | |
159 | #page-proxy-button[pageproxystate="valid"]:hover:active |
160 | { |
161 | list-style-image : url("chrome://communicator/skin/bookmarks/location-clicked.gif"); |
162 | } |
163 | |
164 | #page-proxy-button[pageproxystate="invalid"] |
165 | { |
166 | cursor : default; |
167 | list-style-image : url("chrome://communicator/skin/bookmarks/location-disabled.gif"); |
168 | } |
169 | */ |
170 | |
2d09e496 |
171 | #page-proxy-favicon |
172 | { |
173 | list-style-image : none; |
174 | width : 16px; |
175 | height : 16px; |
176 | } |
177 | |
f6e0a33f |
178 | #content-frame |
179 | { |
180 | min-width : 0px; |
181 | min-height : 0px; |
182 | } |
183 | |
184 | #nav-bar-inner { |
185 | padding-left : 0px; |
186 | min-width : 0px; |
187 | margin : 9px 4px; |
188 | } |
189 | |
190 | #urlbar .autocomplete-icon-box { |
191 | border : 1px inset #CCD0DD; |
192 | border-right : none; |
193 | } |
194 | |
195 | #urlbar .autocomplete-textbox-container { |
196 | border : 1px inset #CCD0DD; |
197 | border-left : none; |
198 | } |
199 | |
200 | #urlbar-group { |
201 | border : none; |
202 | margin : 0px 5px 0px 0px; |
203 | } |
204 | |
205 | #urlbar-container { |
206 | border : none; |
207 | } |
208 | |
209 | #search-button, |
210 | #go-button { |
211 | /* font : message-box; */ |
212 | font-weight : bold; |
213 | margin : 0px 3px 0px 0px; |
214 | background-color : #9999CC; |
215 | } |
216 | |
217 | #search-button > .button-box, |
218 | #go-button > .button-box { |
219 | border : 1px outset #9999CC; |
220 | } |
221 | |
222 | #search-button:hover:active > .button-box, |
223 | #go-button:hover:active > .button-box { |
224 | border : 1px inset #9999CC; |
225 | } |
226 | |
227 | #search-button |
228 | { |
229 | /* list-style-image : url("chrome://communicator/skin/search.gif"); */ |
230 | font-weight : bold; |
231 | } |
232 | |
f6e0a33f |
233 | .menuitem-iconic |
234 | { |
235 | padding : 1px; |
236 | } |
237 | |
238 | /* ::::: urlbar autocomplete widget ::::: */ |
239 | |
240 | .autocomplete-outlinerbody:-moz-outliner-cell-text(value) |
241 | { |
242 | padding-left : 13px; |
243 | } |
244 | |
245 | .autocomplete-outlinerbody:-moz-outliner-cell-text(comment) |
246 | { |
f840e302 |
247 | /* font-style : italic; */ |
f6e0a33f |
248 | } |
249 | |
250 | /* |
251 | .autocomplete-history-button |
252 | { |
253 | border : 1px outset -moz-Dialog; |
254 | } |
255 | |
256 | .autocomplete-history-button[open="true"] |
257 | { |
258 | border : 1px solid ThreeDShadow; |
259 | } |
260 | |
261 | .autocomplete-history-button-internal-box, |
262 | .autocomplete-history-button[open="true"] > .autocomplete-history-button-internal-box |
263 | { |
264 | border : none; |
265 | } |
266 | */ |
267 | |
268 | .autocomplete-search-box |
269 | { |
270 | border-top : 1px solid #9999CC; |
271 | background-color : #666699; |
272 | color : #000000; |
273 | } |
274 | |
275 | .autocomplete-result-popup[nomatch="true"] > .autocomplete-search-box |
276 | { |
277 | border-top : 1px solid #666699; |
278 | } |
279 | |
280 | .autocomplete-search-engine |
281 | { |
282 | padding : 2px; |
283 | } |
284 | |
285 | .autocomplete-search-engine[menuactive="true"] |
286 | { |
287 | background-color : #9999CC; |
288 | color : #000000; |
289 | } |
290 | |
291 | .autocomplete-search-engine-img |
292 | { |
293 | margin-right : 4px; |
294 | } |