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 /* ::::: primary toolbar buttons ::::: */
51 list-style-image: url("chrome://navigator/skin/icons/back.gif");
54 #back-button[disabled="true"] {
55 list-style-image: url("chrome://navigator/skin/icons/back-disabled.gif") !important;
59 list-style-image: url("chrome://navigator/skin/icons/forward.gif");
62 #forward-button[disabled="true"] {
63 list-style-image: url("chrome://navigator/skin/icons/forward-disabled.gif") !important;
67 list-style-image: url("chrome://navigator/skin/icons/reload.gif");
70 #reload-button[disabled="true"] {
71 list-style-image: url("chrome://navigator/skin/icons/reload-disabled.gif") !important;
75 list-style-image: url("chrome://global/skin/icons/stop.gif");
78 #stop-button[disabled="true"] {
79 list-style-image: url("chrome://global/skin/icons/stop-disabled.gif") !important;
83 list-style-image: url("chrome://global/skin/icons/print.gif");
86 #print-button[disabled="true"] {
87 list-style-image: url("chrome://global/skin/icons/print-disabled.gif") !important;
91 list-style-image: url("chrome://global/skin/icons/close-button.gif");
94 /* Hides text below the above buttons - should now be configurable */
96 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text,
97 .toolbarbutton-1 > .toolbarbutton-text {
102 #fullscreen-exit-button {
103 list-style-image: none;
106 #fullscreen-exit-button > .toolbarbutton-text {
107 /* display: normal; */
110 /* ::::: small primary toolbar buttons ::::: */
112 .toolbarbutton-text[toolbarmode="small"] {
116 .toolbarbutton-icon[toolbarmode="small"] {
120 #nav-bar[buttonstyle="text"] > #nav-bar-inner,
121 #nav-bar[buttonstyle="pictures"] > #nav-bar-inner,
122 #nav-bar[toolbarmode="small"] > #nav-bar-inner {
123 margin: 2px 0px 2px 4px;
126 toolbar[toolbarmode="small"] > toolbargrippy {
130 /* ::::: fullscreen window controls ::::: */
133 -moz-box-align: center;
134 padding: 0 2px 0 4px;
135 border-left: 1px solid #9999CC;
138 #window-controls > toolbarbutton {
139 padding: 2px 0px 2px 2px;
143 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
147 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
151 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
154 /* ::::: nav-bar-inner ::::: */
159 margin: 7px 4px 8px 4px;
164 -moz-border-top-colors: #71737A;
165 -moz-border-right-colors: #EFF0F4;
166 -moz-border-bottom-colors: #EFF0F4;
167 -moz-border-left-colors: #71737A;
168 margin: 0px 7px 0px 0px;
171 /* ::::: page proxy icon ::::: */
182 margin: 1px 1px 1px 2px;
186 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
191 #page-proxy-favicon {
192 list-style-image: none;
195 /* ::::: autocomplete ::::: */
197 .autocomplete-treebody::-moz-tree-cell-text(value) {
201 .autocomplete-treebody::-moz-tree-cell-text(comment) {
203 /* font-style: italic; */
206 .autocomplete-search-box {
207 border-top: 1px solid #9999CC;
208 background-color: #666699;
212 .autocomplete-result-popup[nomatch] > .autocomplete-search-box {
213 border-top: 1px solid #666699;
216 .autocomplete-search-engine {
220 .autocomplete-search-engine[menuactive="true"] {
221 background-color: #9999CC;
225 .autocomplete-search-engine-img {
229 /* ::::: go and searchbuttons ::::: */
233 margin: 0px 3px 0px 0px;
234 /* min-height: 25px; */
236 background-color: #9999CC;
240 /* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */
244 /* ::::: security button ::::: */
247 list-style-image:url("chrome://communicator/skin/icons/lock-insecure.gif");
251 #security-button[level="high"] {
252 list-style-image:url("chrome://communicator/skin/icons/lock-secure.gif");
255 #security-button[level="low"] {
256 list-style-image:url("chrome://communicator/skin/icons/lock-secure.gif");
259 #security-button[level="broken"] {
260 list-style-image:url("chrome://communicator/skin/icons/lock-broken.gif");
264 list-style-image: url("chrome://communicator/skin/cookie/taskbar-cookie.gif");
268 list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif");
272 list-style-image: url("chrome://navigator/skin/icons/about-popups.gif");
276 /* ::::: personal toolbar ::::: */
279 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
282 #bookmarks-button[open="true"] {
283 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
287 list-style-image: url("chrome://communicator/skin/bookmarks/home.gif");
290 toolbarbutton.chevron {
291 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
294 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {