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 | |
b1e5c9b1 |
123 | #clear-button { |
124 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
125 | } |
126 | |
351107c9 |
127 | /* Hides text below the above buttons */ |
b1eaa419 |
128 | .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text, |
129 | .toolbarbutton-1 > .toolbarbutton-text { |
351107c9 |
130 | display: none; |
131 | } |
132 | |
b1eaa419 |
133 | #fullscreen-exit-button { |
134 | list-style-image: none; |
135 | } |
136 | |
137 | #fullscreen-exit-button > .toolbarbutton-text { |
138 | display: normal; |
139 | } |
140 | |
80916bc4 |
141 | /* ::::: small primary toolbar buttons ::::: */ |
142 | |
e20d243c |
143 | .toolbarbutton-1[toolbarmode="small"], |
144 | .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button { |
145 | min-width: 0px; |
146 | min-height: 0px; |
80916bc4 |
147 | } |
148 | |
e20d243c |
149 | .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-dropmarker { |
150 | padding: 0px 1px 13px 1px; |
151 | } |
152 | |
153 | .toolbarbutton-1[toolbarmode="small"][type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, |
154 | .toolbarbutton-1[toolbarmode="small"][type="menu-button"][buttondown="true"] > .toolbarbutton-menubutton-dropmarker, |
155 | .toolbarbutton-1[toolbarmode="small"][type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { |
156 | padding: 1px 0px 12px 2px; |
157 | } |
158 | |
159 | .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] { |
160 | padding: 0px 1px 13px 1px !important; |
80916bc4 |
161 | } |
162 | |
e20d243c |
163 | .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button > .toolbarbutton-text, |
164 | .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-text { |
80916bc4 |
165 | display: none; |
166 | } |
167 | |
168 | #nav-bar[toolbarmode="small"] > #nav-bar-inner { |
e20d243c |
169 | margin: 2px 0px 2px 6px; |
80916bc4 |
170 | } |
171 | |
e20d243c |
172 | toolbar[toolbarmode="small"] > toolbargrippy { |
173 | /* display: none; */ |
80916bc4 |
174 | } |
175 | |
176 | /* ::::: fullscreen window controls ::::: */ |
177 | |
178 | #window-controls { |
179 | -moz-box-align: center; |
e20d243c |
180 | padding: 0 3px 0 1px; |
181 | border-left: 3px solid #000000; |
182 | } |
183 | |
184 | #window-controls > toolbarbutton { |
185 | padding: 2px 0px 2px 2px; |
80916bc4 |
186 | } |
187 | |
188 | #minimize-button { |
189 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); |
190 | } |
191 | |
e20d243c |
192 | #minimize-button:hover { |
193 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); |
194 | } |
195 | |
80916bc4 |
196 | #restore-button { |
197 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); |
198 | } |
199 | |
e20d243c |
200 | #restore-button:hover { |
201 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); |
202 | } |
203 | |
80916bc4 |
204 | #close-button { |
205 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); |
206 | } |
207 | |
e20d243c |
208 | #close-button:hover { |
209 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); |
210 | } |
211 | |
b1eaa419 |
212 | /* ::::: nav-bar-inner ::::: */ |
213 | |
214 | #nav-bar-inner { |
215 | padding-left: 0px; |
216 | min-width: 0px; |
217 | margin: 7px 4px 8px 4px; |
218 | } |
219 | |
220 | #urlbar { |
37b7d7d4 |
221 | -moz-border-radius: 3px; |
b1e5c9b1 |
222 | border: 1px solid; |
223 | -moz-border-top-colors: #9C9CFF; |
224 | -moz-border-right-colors: #9C9CFF; |
225 | -moz-border-bottom-colors: #9C9CFF; |
226 | -moz-border-left-colors: #9C9CFF; |
b1eaa419 |
227 | background-color: #000000; |
228 | margin: 0px 7px 0px 0px; |
229 | } |
230 | |
231 | /* ::::: page proxy icon ::::: */ |
232 | |
233 | #page-proxy-deck, |
234 | #page-proxy-favicon, |
235 | #page-proxy-button { |
236 | width: 16px; |
237 | height: 16px; |
238 | } |
351107c9 |
239 | |
240 | #page-proxy-deck { |
b1eaa419 |
241 | cursor: grab; |
242 | margin: 1px 1px 1px 2px; |
351107c9 |
243 | } |
244 | |
b1eaa419 |
245 | #page-proxy-button { |
246 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); |
247 | padding-top: 2px; |
248 | padding-bottom: 2px; |
249 | } |
250 | |
251 | #page-proxy-favicon { |
252 | list-style-image: none; |
253 | } |
351107c9 |
254 | |
b1eaa419 |
255 | /* ::::: autocomplete ::::: */ |
256 | |
7aa65558 |
257 | .autocomplete-treebody:-moz-tree-cell-text(value) { |
b1eaa419 |
258 | padding-left: 13px; |
259 | } |
260 | |
7aa65558 |
261 | .autocomplete-treebody:-moz-tree-cell-text(comment) { |
b1eaa419 |
262 | color: #E7ADE7; |
263 | /* font-style: italic; */ |
351107c9 |
264 | } |
265 | |
b1eaa419 |
266 | .autocomplete-search-box { |
267 | border-top: 1px solid #FF9F00; |
268 | background-color: #9C9CFF; |
269 | color: #000000; |
351107c9 |
270 | } |
271 | |
b1eaa419 |
272 | .autocomplete-result-popup[nomatch] > .autocomplete-search-box { |
273 | border-top: 1px solid #9C9CFF; |
351107c9 |
274 | } |
351107c9 |
275 | |
b1eaa419 |
276 | .autocomplete-search-engine { |
277 | padding: 2px; |
351107c9 |
278 | } |
279 | |
b1eaa419 |
280 | .autocomplete-search-engine[menuactive="true"] { |
281 | background-color: #008484; |
282 | color: #FFCF00; |
351107c9 |
283 | } |
284 | |
b1eaa419 |
285 | .autocomplete-search-engine-img { |
286 | margin-right: 4px; |
287 | } |
288 | |
289 | /* ::::: go and searchbuttons ::::: */ |
290 | |
351107c9 |
291 | #search-button, |
292 | #go-button { |
b1eaa419 |
293 | margin: 0px 3px 0px 0px; |
294 | /* min-height: 25px; */ |
295 | font-weight: bold; |
296 | background-color: #000000; |
351107c9 |
297 | } |
298 | |
299 | #search-button:hover, |
300 | #go-button:hover { |
b1eaa419 |
301 | background-color: #FFCF00; |
351107c9 |
302 | } |
303 | |
b1eaa419 |
304 | #search-button { |
305 | /* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */ |
306 | font-weight: bold; |
307 | } |
351107c9 |
308 | |
b1eaa419 |
309 | /* ::::: personal toolbar ::::: */ |
351107c9 |
310 | |
b1eaa419 |
311 | #bookmarks-button { |
312 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); |
313 | } |
351107c9 |
314 | |
b1eaa419 |
315 | #bookmarks-button[open="true"] { |
316 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); |
317 | } |
351107c9 |
318 | |
b1eaa419 |
319 | #home-button { |
320 | list-style-image: url("chrome://communicator/skin/bookmarks/home.gif"); |
321 | } |
351107c9 |
322 | |
b1eaa419 |
323 | /* ::::: sidebar splitter ::::: */ |
351107c9 |
324 | |
325 | /* |
b1eaa419 |
326 | #sidebar-splitter { |
327 | border-left: none; |
328 | border-right: none; |
329 | min-width: 5px; |
330 | } |
351107c9 |
331 | */ |
332 | |
b1eaa419 |
333 | /* |
334 | #content { |
335 | border-top: 1px solid ThreeDDarkShadow; |
336 | border-bottom: 1px solid ThreeDLightShadow; |
337 | border-left: 2px solid; |
338 | -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow; |
339 | } |
351107c9 |
340 | |
b1eaa419 |
341 | #status-bar { |
342 | border-top: none; |
343 | } |
b1e5c9b1 |
344 | */ |