1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
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/
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
14 * The Original Code is "Classic" theme of mozilla.org code.
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.
22 * Robert Kaiser <KaiRo@KaiRo.at>
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.
36 * ***** END LICENSE BLOCK ***** */
38 /** Contains style definitions for the navigator application
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);
46 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
48 /********** resource bundle binding **********/
50 #resource_bundle_navigator
52 -moz-binding : url('chrome://navigator/skin/resources.xml#resource_bundle_navigator')
58 border-left : 1px solid ThreeDDarkShadow;
59 border-top : 1px solid ThreeDDarkShadow;
60 border-bottom : 1px solid ThreeDFace;
65 border-left : 1px solid ThreeDShadow;
71 list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
74 #bookmarks-button[open="true"]
76 list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
80 * Images for the main buttons
84 list-style-image : url("chrome://navigator/skin/back.gif");
87 #back-button[disabled="true"]
89 list-style-image : url("chrome://navigator/skin/back-disabled.gif") !important;
93 #back-button[buttonover="true"],
94 #back-button[buttondown="true"],
95 #back-button[open="true"]
97 list-style-image : url("chrome://navigator/skin/back-hover.gif");
101 list-style-image : url("chrome://navigator/skin/forward.gif");
104 #forward-button[disabled="true"]
106 list-style-image : url("chrome://navigator/skin/forward-disabled.gif") !important;
109 #forward-button:hover,
110 #forward-button[buttonover="true"],
111 #forward-button[buttondown="true"],
112 #forward-button[open="true"]
114 list-style-image : url("chrome://navigator/skin/forward-hover.gif");
119 list-style-image : url("chrome://navigator/skin/reload.gif");
122 #reload-button:hover,
123 #reload-button:hover:active
125 list-style-image : url("chrome://navigator/skin/reload-hover.gif");
129 list-style-image : url("chrome://navigator/skin/reload-hover-active.gif");
132 #reload-button[disabled="true"]
134 list-style-image : url("chrome://navigator/skin/reload-disabled.gif") !important;
139 list-style-image : url("chrome://navigator/skin/stop.gif");
142 #stop-button[disabled="true"]
144 list-style-image : url("chrome://navigator/skin/stop-disabled.gif") !important;
148 #stop-button:hover:active
150 list-style-image : url("chrome://navigator/skin/stop-hover.gif");
155 list-style-image : url("chrome://global/skin/print.gif");
158 #print-button[disabled="true"] {
159 list-style-image : url("chrome://global/skin/print-disabled.gif") !important;
163 #print-button[buttonover="true"],
164 #print-button[buttondown="true"],
165 #print-button[open="true"]
167 list-style-image : url("chrome://global/skin/print-hover.gif");
170 /* Hides text below the above buttons */
171 .toolbarbutton-1 > .toolbarbutton-menubutton-box > .toolbarbutton-menubutton-button > .toolbarbutton-box > .toolbarbutton-text,
172 .toolbarbutton-1 > .toolbarbutton-box > .toolbarbutton-text {
176 /*all the urlbar stuff*/
180 margin : 1px 1px 1px 2px;
187 list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
193 #page-proxy-button[pageproxystate="valid"]:hover
195 list-style-image : url("chrome://communicator/skin/bookmarks/location-hover.gif");
198 #page-proxy-button[pageproxystate="valid"]:hover:active
200 list-style-image : url("chrome://communicator/skin/bookmarks/location-clicked.gif");
203 #page-proxy-button[pageproxystate="invalid"]
206 list-style-image : url("chrome://communicator/skin/bookmarks/location-disabled.gif");
212 list-style-image : none;
230 #urlbar .autocomplete-icon-box {
231 border : 1px inset #CCD0DD;
235 #urlbar .autocomplete-textbox-container {
236 border : 1px inset #CCD0DD;
243 margin : 0px 5px 0px 0px;
247 -moz-border-radius : 5px;
248 border : 1px solid #9C9CFF;
249 background-color : #000000;
256 margin : 0px 3px 0px 0px;
257 background-color : #000000;
260 #search-button:hover,
263 margin : 0px 3px 0px 0px;
264 background-color : #FFCF00;
269 /* list-style-image : url("chrome://communicator/skin/search.gif"); */
275 list-style-image : url("chrome://communicator/skin/search-hover.gif");
278 #search-button:hover:active
280 list-style-image : url("chrome://communicator/skin/search-active.gif");
289 /* ::::: urlbar autocomplete widget ::::: */
291 .autocomplete-outlinerbody:-moz-outliner-cell-text(value)
296 .autocomplete-outlinerbody:-moz-outliner-cell-text(comment)
298 /* font-style : italic; */
301 .autocomplete-history-button:hover
303 background-color : #FFCF00;
306 .autocomplete-history-button-internal-box:hover
308 background-color : #FFCF00;
312 .autocomplete-history-button
314 border : 1px outset -moz-Dialog;
317 .autocomplete-history-button[open="true"]
319 border : 1px solid ThreeDShadow;
322 .autocomplete-history-button-internal-box,
323 .autocomplete-history-button[open="true"] > .autocomplete-history-button-internal-box
329 .autocomplete-search-box
331 border-top : 1px solid #FF9F00;
332 background-color : #9C9CFF;
336 .autocomplete-result-popup[nomatch="true"] > .autocomplete-search-box
338 border-top : 1px solid #9C9CFF;
341 .autocomplete-search-engine
346 .autocomplete-search-engine[menuactive="true"]
348 background-color : #008484;
352 .autocomplete-search-engine-img