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