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/bookmarks/bookmarksToolbar.css");
45 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
47 /********** resource bundle binding **********/
49 /* ::::: primary toolbar buttons ::::: */
52 list-style-image: url("chrome://navigator/skin/icons/back.gif");
56 #back-button:hover:active,
57 #back-button[open="true"] {
58 list-style-image: url("chrome://navigator/skin/icons/back-hover.gif");
61 #back-button[disabled="true"] {
62 list-style-image: url("chrome://navigator/skin/icons/back-disabled.gif") !important;
66 list-style-image: url("chrome://navigator/skin/icons/forward.gif");
69 #forward-button:hover,
70 #forward-button:hover:active,
71 #forward-button[open="true"] {
72 list-style-image: url("chrome://navigator/skin/icons/forward-hover.gif");
75 #forward-button[disabled="true"] {
76 list-style-image: url("chrome://navigator/skin/icons/forward-disabled.gif") !important;
80 list-style-image: url("chrome://navigator/skin/icons/reload.gif");
84 #reload-button:hover:active {
85 list-style-image: url("chrome://navigator/skin/icons/reload-hover.gif");
88 #reload-button[disabled="true"] {
89 list-style-image: url("chrome://navigator/skin/icons/reload-disabled.gif") !important;
93 list-style-image: url("chrome://global/skin/icons/stop.gif");
97 #stop-button:hover:active {
98 list-style-image: url("chrome://global/skin/icons/stop-hover.gif");
101 #stop-button[disabled="true"] {
102 list-style-image: url("chrome://global/skin/icons/stop-disabled.gif") !important;
106 list-style-image: url("chrome://global/skin/icons/print.gif");
110 #print-button:hover:active,
111 #print-button[open="true"] {
112 list-style-image: url("chrome://global/skin/icons/print-hover.gif");
115 #print-button[disabled="true"] {
116 list-style-image: url("chrome://global/skin/icons/print-disabled.gif") !important;
120 list-style-image: url("chrome://global/skin/icons/close-button.gif");
123 #clear-button:hover {
124 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
127 /* Hides text below the above buttons */
129 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text,
130 .toolbarbutton-1 > .toolbarbutton-text {
135 #fullscreen-exit-button {
136 list-style-image: none;
139 #fullscreen-exit-button > .toolbarbutton-text {
140 /* display: normal; */
143 /* ::::: small primary toolbar buttons ::::: */
145 .toolbarbutton-text[toolbarmode="small"] {
149 .toolbarbutton-icon[toolbarmode="small"] {
153 #nav-bar[buttonstyle="text"] > #nav-bar-inner,
154 #nav-bar[buttonstyle="pictures"] > #nav-bar-inner,
155 #nav-bar[toolbarmode="small"] > #nav-bar-inner {
156 margin: 2px 0px 2px 6px;
159 toolbar[toolbarmode="small"] > toolbargrippy {
163 /* ::::: fullscreen window controls ::::: */
166 -moz-box-align: center;
167 padding: 0 3px 0 1px;
168 border-left: 3px solid #000000;
171 #window-controls > toolbarbutton {
172 padding: 2px 0px 2px 2px;
176 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
179 #minimize-button:hover {
180 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
184 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
187 #restore-button:hover {
188 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
192 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
195 #close-button:hover {
196 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
199 /* ::::: nav-bar-inner ::::: */
204 margin: 6px 4px 7px 4px;
208 -moz-border-top-colors: transparent #9C9CFF;
209 -moz-border-right-colors: transparent #9C9CFF;
210 -moz-border-bottom-colors: transparent #9C9CFF;
211 -moz-border-left-colors: transparent #9C9CFF;
212 background-color: #000000;
213 margin: 0px 7px 0px 0px;
216 /* ::::: page proxy icon ::::: */
227 margin: 1px 1px 1px 2px;
231 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
236 #page-proxy-favicon {
237 list-style-image: none;
240 /* ::::: autocomplete ::::: */
242 .autocomplete-treebody::-moz-tree-cell-text(value) {
246 .autocomplete-treebody::-moz-tree-cell-text(comment) {
248 /* font-style: italic; */
251 .autocomplete-search-box {
252 border-top: 1px solid #FF9F00;
253 background-color: #9C9CFF;
257 .autocomplete-result-popup[nomatch] > .autocomplete-search-box {
258 border-top: 1px solid #9C9CFF;
261 .autocomplete-search-engine {
265 .autocomplete-search-engine[menuactive="true"] {
266 background-color: #008484;
270 .autocomplete-search-engine-img {
274 /* ::::: go and searchbuttons ::::: */
278 margin: 1px 3px 1px 0px;
279 /* min-height: 25px; */
281 background-color: #000000;
284 #search-button:hover,
286 background-color: #FFCF00;
290 /* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */
294 /* ::::: security button ::::: */
297 list-style-image:url("chrome://communicator/skin/icons/lock-insecure.gif");
301 /* |high| and |low| styles could be different, to better reflect the secure level... */
302 #security-button[level="high"],
303 #security-button[level="low"] {
304 list-style-image:url("chrome://communicator/skin/icons/lock-secure.gif");
307 #security-button[level="broken"] {
308 list-style-image:url("chrome://communicator/skin/icons/lock-broken.gif");
312 list-style-image: url("chrome://communicator/skin/permissions/taskbar-cookie.gif");
316 list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif");
320 list-style-image: url("chrome://navigator/skin/icons/about-popups.gif");
324 /* ::::: personal toolbar ::::: */
327 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
330 #bookmarks-button[open="true"] {
331 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
335 list-style-image: url("chrome://communicator/skin/bookmarks/home.gif");
338 toolbarbutton.chevron {
339 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
343 toolbarbutton.chevron:hover,
344 toolbarbutton.chevron[open="true"] {
345 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
348 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {