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 | |
3d6dd546 |
38 | /** Contains style definitions for the navigator application |
351107c9 |
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, |
242fc635 |
57 | #back-button:hover:active, |
b1eaa419 |
58 | #back-button[open="true"] { |
59 | list-style-image: url("chrome://navigator/skin/icons/back-hover.gif"); |
60 | } |
61 | |
62 | #back-button[disabled="true"] { |
63 | list-style-image: url("chrome://navigator/skin/icons/back-disabled.gif") !important; |
64 | } |
65 | |
66 | #forward-button { |
67 | list-style-image: url("chrome://navigator/skin/icons/forward.gif"); |
68 | } |
351107c9 |
69 | |
70 | #forward-button:hover, |
242fc635 |
71 | #forward-button:hover:active, |
b1eaa419 |
72 | #forward-button[open="true"] { |
73 | list-style-image: url("chrome://navigator/skin/icons/forward-hover.gif"); |
74 | } |
351107c9 |
75 | |
b1eaa419 |
76 | #forward-button[disabled="true"] { |
77 | list-style-image: url("chrome://navigator/skin/icons/forward-disabled.gif") !important; |
78 | } |
79 | |
80 | #reload-button { |
81 | list-style-image: url("chrome://navigator/skin/icons/reload.gif"); |
82 | } |
351107c9 |
83 | |
84 | #reload-button:hover, |
b1eaa419 |
85 | #reload-button:hover:active { |
86 | list-style-image: url("chrome://navigator/skin/icons/reload-hover.gif"); |
87 | } |
88 | |
89 | #reload-button[disabled="true"] { |
90 | list-style-image: url("chrome://navigator/skin/icons/reload-disabled.gif") !important; |
91 | } |
92 | |
93 | #stop-button { |
94 | list-style-image: url("chrome://global/skin/icons/stop.gif"); |
95 | } |
351107c9 |
96 | |
97 | #stop-button:hover, |
b1eaa419 |
98 | #stop-button:hover:active { |
99 | list-style-image: url("chrome://global/skin/icons/stop-hover.gif"); |
3d6dd546 |
100 | } |
351107c9 |
101 | |
b1eaa419 |
102 | #stop-button[disabled="true"] { |
103 | list-style-image: url("chrome://global/skin/icons/stop-disabled.gif") !important; |
3d6dd546 |
104 | } |
b1eaa419 |
105 | |
106 | #print-button { |
107 | list-style-image: url("chrome://global/skin/icons/print.gif"); |
108 | } |
351107c9 |
109 | |
110 | #print-button:hover, |
242fc635 |
111 | #print-button:hover:active, |
b1eaa419 |
112 | #print-button[open="true"] { |
113 | list-style-image: url("chrome://global/skin/icons/print-hover.gif"); |
114 | } |
115 | |
116 | #print-button[disabled="true"] { |
117 | list-style-image: url("chrome://global/skin/icons/print-disabled.gif") !important; |
118 | } |
351107c9 |
119 | |
b1e5c9b1 |
120 | #clear-button { |
121 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
122 | } |
123 | |
61290d60 |
124 | #clear-button:hover { |
125 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
126 | } |
127 | |
351107c9 |
128 | /* Hides text below the above buttons */ |
dc8e1207 |
129 | /* |
b1eaa419 |
130 | .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text, |
131 | .toolbarbutton-1 > .toolbarbutton-text { |
351107c9 |
132 | display: none; |
133 | } |
dc8e1207 |
134 | */ |
351107c9 |
135 | |
b1eaa419 |
136 | #fullscreen-exit-button { |
137 | list-style-image: none; |
138 | } |
139 | |
140 | #fullscreen-exit-button > .toolbarbutton-text { |
3d6dd546 |
141 | /* display: normal; */ |
b1eaa419 |
142 | } |
143 | |
80916bc4 |
144 | /* ::::: small primary toolbar buttons ::::: */ |
145 | |
dc8e1207 |
146 | .toolbarbutton-text[toolbarmode="small"] { |
147 | display: none; |
80916bc4 |
148 | } |
149 | |
dc8e1207 |
150 | .toolbarbutton-icon[toolbarmode="small"] { |
151 | display: inline; |
80916bc4 |
152 | } |
153 | |
dc8e1207 |
154 | #nav-bar[buttonstyle="text"] > #nav-bar-inner, |
155 | #nav-bar[buttonstyle="pictures"] > #nav-bar-inner, |
80916bc4 |
156 | #nav-bar[toolbarmode="small"] > #nav-bar-inner { |
e20d243c |
157 | margin: 2px 0px 2px 6px; |
80916bc4 |
158 | } |
159 | |
e20d243c |
160 | toolbar[toolbarmode="small"] > toolbargrippy { |
161 | /* display: none; */ |
80916bc4 |
162 | } |
163 | |
164 | /* ::::: fullscreen window controls ::::: */ |
165 | |
166 | #window-controls { |
167 | -moz-box-align: center; |
e20d243c |
168 | padding: 0 3px 0 1px; |
169 | border-left: 3px solid #000000; |
170 | } |
171 | |
172 | #window-controls > toolbarbutton { |
173 | padding: 2px 0px 2px 2px; |
80916bc4 |
174 | } |
175 | |
176 | #minimize-button { |
177 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); |
178 | } |
179 | |
e20d243c |
180 | #minimize-button:hover { |
181 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); |
182 | } |
183 | |
80916bc4 |
184 | #restore-button { |
185 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); |
186 | } |
187 | |
e20d243c |
188 | #restore-button:hover { |
189 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); |
190 | } |
191 | |
80916bc4 |
192 | #close-button { |
193 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); |
194 | } |
195 | |
e20d243c |
196 | #close-button:hover { |
197 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); |
198 | } |
199 | |
b1eaa419 |
200 | /* ::::: nav-bar-inner ::::: */ |
201 | |
202 | #nav-bar-inner { |
203 | padding-left: 0px; |
204 | min-width: 0px; |
3d6dd546 |
205 | margin: 6px 4px 7px 4px; |
b1eaa419 |
206 | } |
207 | |
208 | #urlbar { |
61290d60 |
209 | -moz-border-top-colors: transparent #9C9CFF; |
210 | -moz-border-right-colors: transparent #9C9CFF; |
211 | -moz-border-bottom-colors: transparent #9C9CFF; |
212 | -moz-border-left-colors: transparent #9C9CFF; |
b1eaa419 |
213 | background-color: #000000; |
214 | margin: 0px 7px 0px 0px; |
215 | } |
216 | |
217 | /* ::::: page proxy icon ::::: */ |
3d6dd546 |
218 | |
b1eaa419 |
219 | #page-proxy-deck, |
220 | #page-proxy-favicon, |
221 | #page-proxy-button { |
222 | width: 16px; |
223 | height: 16px; |
224 | } |
351107c9 |
225 | |
226 | #page-proxy-deck { |
d2f0d128 |
227 | cursor: -moz-grab; |
b1eaa419 |
228 | margin: 1px 1px 1px 2px; |
3d6dd546 |
229 | } |
351107c9 |
230 | |
b1eaa419 |
231 | #page-proxy-button { |
3d6dd546 |
232 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); |
b1eaa419 |
233 | padding-top: 2px; |
234 | padding-bottom: 2px; |
3d6dd546 |
235 | } |
236 | |
b1eaa419 |
237 | #page-proxy-favicon { |
238 | list-style-image: none; |
3d6dd546 |
239 | } |
351107c9 |
240 | |
b1eaa419 |
241 | /* ::::: autocomplete ::::: */ |
242 | |
01fc5c11 |
243 | .autocomplete-treebody::-moz-tree-cell-text(value) { |
b1eaa419 |
244 | padding-left: 13px; |
245 | } |
246 | |
01fc5c11 |
247 | .autocomplete-treebody::-moz-tree-cell-text(comment) { |
b1eaa419 |
248 | color: #E7ADE7; |
249 | /* font-style: italic; */ |
351107c9 |
250 | } |
251 | |
b1eaa419 |
252 | .autocomplete-search-box { |
253 | border-top: 1px solid #FF9F00; |
254 | background-color: #9C9CFF; |
255 | color: #000000; |
3d6dd546 |
256 | } |
351107c9 |
257 | |
b1eaa419 |
258 | .autocomplete-result-popup[nomatch] > .autocomplete-search-box { |
259 | border-top: 1px solid #9C9CFF; |
351107c9 |
260 | } |
351107c9 |
261 | |
b1eaa419 |
262 | .autocomplete-search-engine { |
263 | padding: 2px; |
3d6dd546 |
264 | } |
351107c9 |
265 | |
b1eaa419 |
266 | .autocomplete-search-engine[menuactive="true"] { |
267 | background-color: #008484; |
268 | color: #FFCF00; |
3d6dd546 |
269 | } |
351107c9 |
270 | |
b1eaa419 |
271 | .autocomplete-search-engine-img { |
272 | margin-right: 4px; |
273 | } |
274 | |
275 | /* ::::: go and searchbuttons ::::: */ |
276 | |
3d6dd546 |
277 | #search-button, |
351107c9 |
278 | #go-button { |
61290d60 |
279 | margin: 1px 3px 1px 0px; |
b1eaa419 |
280 | /* min-height: 25px; */ |
281 | font-weight: bold; |
282 | background-color: #000000; |
351107c9 |
283 | } |
284 | |
3d6dd546 |
285 | #search-button:hover, |
351107c9 |
286 | #go-button:hover { |
b1eaa419 |
287 | background-color: #FFCF00; |
351107c9 |
288 | } |
289 | |
b1eaa419 |
290 | #search-button { |
291 | /* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */ |
292 | font-weight: bold; |
293 | } |
351107c9 |
294 | |
dc8e1207 |
295 | /* ::::: security button ::::: */ |
351107c9 |
296 | |
dc8e1207 |
297 | #security-button { |
298 | list-style-image:url("chrome://communicator/skin/icons/lock-insecure.gif"); |
299 | margin-left: 2px; |
b1eaa419 |
300 | } |
351107c9 |
301 | |
dc8e1207 |
302 | #security-button[level="high"] { |
303 | list-style-image:url("chrome://communicator/skin/icons/lock-secure.gif"); |
b1eaa419 |
304 | } |
351107c9 |
305 | |
dc8e1207 |
306 | #security-button[level="low"] { |
307 | list-style-image:url("chrome://communicator/skin/icons/lock-secure.gif"); |
308 | } |
309 | |
310 | #security-button[level="broken"] { |
311 | list-style-image:url("chrome://communicator/skin/icons/lock-broken.gif"); |
b1eaa419 |
312 | } |
351107c9 |
313 | |
3d6dd546 |
314 | #privacy-button { |
315 | list-style-image: url("chrome://communicator/skin/cookie/taskbar-cookie.gif"); |
316 | } |
317 | |
a3b3d4d6 |
318 | #popupIcon { |
319 | list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif"); |
320 | } |
321 | |
ac1cdf20 |
322 | #popupImage { |
323 | list-style-image: url("chrome://navigator/skin/icons/about-popups.gif"); |
324 | margin: 6px 0px; |
325 | } |
326 | |
dc8e1207 |
327 | /* ::::: personal toolbar ::::: */ |
351107c9 |
328 | |
dc8e1207 |
329 | #bookmarks-button { |
330 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); |
b1eaa419 |
331 | } |
351107c9 |
332 | |
dc8e1207 |
333 | #bookmarks-button[open="true"] { |
334 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); |
b1eaa419 |
335 | } |
351107c9 |
336 | |
dc8e1207 |
337 | #home-button { |
338 | list-style-image: url("chrome://communicator/skin/bookmarks/home.gif"); |
b1eaa419 |
339 | } |
ac1cdf20 |
340 | |
341 | toolbarbutton.chevron { |
342 | list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; |
343 | margin-right: 2px; |
344 | } |
345 | |
346 | toolbarbutton.chevron:hover, |
347 | toolbarbutton.chevron[open="true"] { |
348 | list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important; |
349 | } |
350 | |
351 | toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { |
352 | display: none; |
353 | } |