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