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 1px;
187 list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
189 padding-bottom : 2px;
195 #page-proxy-button[pageproxystate="valid"]:hover
197 list-style-image : url("chrome://communicator/skin/bookmarks/location-hover.gif");
200 #page-proxy-button[pageproxystate="valid"]:hover:active
202 list-style-image : url("chrome://communicator/skin/bookmarks/location-clicked.gif");
205 #page-proxy-button[pageproxystate="invalid"]
208 list-style-image : url("chrome://communicator/skin/bookmarks/location-disabled.gif");
214 list-style-image : none;
233 #urlbar .autocomplete-icon-box {
234 border : 1px inset #CCD0DD;
238 #urlbar .autocomplete-textbox-container {
239 border : 1px inset #CCD0DD;
246 margin : 0px 5px 0px 0px;
250 -moz-border-radius : 5px;
251 border : 1px solid #9C9CFF;
252 background-color : #000000;
259 margin : 0px 3px 0px 0px;
260 background-color : #000000;
263 #search-button:hover,
266 margin : 0px 3px 0px 0px;
267 background-color : #FFCF00;
272 /* list-style-image : url("chrome://communicator/skin/search.gif"); */
278 list-style-image : url("chrome://communicator/skin/search-hover.gif");
281 #search-button:hover:active
283 list-style-image : url("chrome://communicator/skin/search-active.gif");
292 /* ::::: urlbar autocomplete widget ::::: */
294 .autocomplete-outlinerbody:-moz-outliner-cell-text(value)
299 .autocomplete-outlinerbody:-moz-outliner-cell-text(comment)
301 /* font-style : italic; */
304 .autocomplete-history-button:hover
306 background-color : #FFCF00;
309 .autocomplete-history-button-internal-box:hover
311 background-color : #FFCF00;
315 .autocomplete-history-button
317 border : 1px outset -moz-Dialog;
320 .autocomplete-history-button[open="true"]
322 border : 1px solid ThreeDShadow;
325 .autocomplete-history-button-internal-box,
326 .autocomplete-history-button[open="true"] > .autocomplete-history-button-internal-box
332 .autocomplete-search-box
334 border-top : 1px solid #FF9F00;
335 background-color : #9C9CFF;
339 .autocomplete-result-popup[nomatch="true"] > .autocomplete-search-box
341 border-top : 1px solid #9C9CFF;
344 .autocomplete-search-engine
349 .autocomplete-search-engine[menuactive="true"]
351 background-color : #008484;
355 .autocomplete-search-engine-img