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://communicator/skin/sidebar/sidebar.css");
44 @import url("chrome://communicator/skin/bookmarks/bookmarksToolbar.css");
46 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
48 /********** resource bundle binding **********/
50 /* ::::: primary toolbar buttons ::::: */
53 list-style-image: url("chrome://navigator/skin/icons/back.gif");
57 #back-button[buttonover="true"],
58 #back-button[buttondown="true"],
59 #back-button[open="true"] {
60 list-style-image: url("chrome://navigator/skin/icons/back-hover.gif");
63 #back-button[disabled="true"] {
64 list-style-image: url("chrome://navigator/skin/icons/back-disabled.gif") !important;
68 list-style-image: url("chrome://navigator/skin/icons/forward.gif");
71 #forward-button:hover,
72 #forward-button[buttonover="true"],
73 #forward-button[buttondown="true"],
74 #forward-button[open="true"] {
75 list-style-image: url("chrome://navigator/skin/icons/forward-hover.gif");
78 #forward-button[disabled="true"] {
79 list-style-image: url("chrome://navigator/skin/icons/forward-disabled.gif") !important;
83 list-style-image: url("chrome://navigator/skin/icons/reload.gif");
87 #reload-button:hover:active {
88 list-style-image: url("chrome://navigator/skin/icons/reload-hover.gif");
91 #reload-button[disabled="true"] {
92 list-style-image: url("chrome://navigator/skin/icons/reload-disabled.gif") !important;
96 list-style-image: url("chrome://global/skin/icons/stop.gif");
100 #stop-button:hover:active {
101 list-style-image: url("chrome://global/skin/icons/stop-hover.gif");
104 #stop-button[disabled="true"] {
105 list-style-image: url("chrome://global/skin/icons/stop-disabled.gif") !important;
109 list-style-image: url("chrome://global/skin/icons/print.gif");
113 #print-button[buttonover="true"],
114 #print-button[buttondown="true"],
115 #print-button[open="true"] {
116 list-style-image: url("chrome://global/skin/icons/print-hover.gif");
119 #print-button[disabled="true"] {
120 list-style-image: url("chrome://global/skin/icons/print-disabled.gif") !important;
123 /* Hides text below the above buttons */
124 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text,
125 .toolbarbutton-1 > .toolbarbutton-text {
129 #fullscreen-exit-button {
130 list-style-image: none;
133 #fullscreen-exit-button > .toolbarbutton-text {
137 /* ::::: nav-bar-inner ::::: */
142 margin: 7px 4px 8px 4px;
146 -moz-border-radius: 5px;
147 border: 1px solid #9C9CFF;
148 background-color: #000000;
149 margin: 0px 7px 0px 0px;
152 /* ::::: page proxy icon ::::: */
163 margin: 1px 1px 1px 2px;
167 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
172 #page-proxy-favicon {
173 list-style-image: none;
177 #page-proxy-button[pageproxystate="valid"]:hover {
178 list-style-image: url("chrome://communicator/skin/bookmarks/location-hover.gif");
181 #page-proxy-button[pageproxystate="valid"]:hover:active {
182 list-style-image: url("chrome://communicator/skin/bookmarks/location-act.gif");
185 #page-proxy-button[pageproxystate="invalid"] {
187 list-style-image: url("chrome://communicator/skin/bookmarks/location-dis.gif");
191 /* ::::: autocomplete ::::: */
194 .autocomplete-history-dropmarker {
195 border-right-width: 1px;
196 border-bottom-width: 1px;
197 -moz-border-right-colors: ThreeDShadow;
198 -moz-border-bottom-colors: ThreeDShadow;
201 .autocomplete-history-button:hover {
202 background-color: #FFCF00;
206 .autocomplete-outlinerbody:-moz-outliner-cell-text(value) {
210 .autocomplete-outlinerbody:-moz-outliner-cell-text(comment) {
212 /* font-style: italic; */
215 .autocomplete-search-box {
216 border-top: 1px solid #FF9F00;
217 background-color: #9C9CFF;
221 .autocomplete-result-popup[nomatch] > .autocomplete-search-box {
222 border-top: 1px solid #9C9CFF;
225 .autocomplete-search-engine {
229 .autocomplete-search-engine[menuactive="true"] {
230 background-color: #008484;
234 .autocomplete-search-engine-img {
238 /* ::::: go and searchbuttons ::::: */
242 margin: 0px 3px 0px 0px;
243 /* min-height: 25px; */
245 background-color: #000000;
248 #search-button:hover,
250 background-color: #FFCF00;
254 /* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */
258 /* ::::: personal toolbar ::::: */
261 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
264 #bookmarks-button[open="true"] {
265 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
269 list-style-image: url("chrome://communicator/skin/bookmarks/home.gif");
272 /* ::::: sidebar splitter ::::: */
284 border-top: 1px solid ThreeDDarkShadow;
285 border-bottom: 1px solid ThreeDLightShadow;
286 border-left: 2px solid;
287 -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;