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 /* ::::: primary toolbar buttons ::::: */
50 list-style-image: url("chrome://navigator/skin/icons/back.gif");
53 #back-button[disabled="true"] {
54 list-style-image: url("chrome://navigator/skin/icons/back-disabled.gif") !important;
58 list-style-image: url("chrome://navigator/skin/icons/forward.gif");
61 #forward-button[disabled="true"] {
62 list-style-image: url("chrome://navigator/skin/icons/forward-disabled.gif") !important;
66 list-style-image: url("chrome://navigator/skin/icons/reload.gif");
69 #reload-button[disabled="true"] {
70 list-style-image: url("chrome://navigator/skin/icons/reload-disabled.gif") !important;
74 list-style-image: url("chrome://global/skin/icons/stop.gif");
77 #stop-button[disabled="true"] {
78 list-style-image: url("chrome://global/skin/icons/stop-disabled.gif") !important;
82 list-style-image: url("chrome://global/skin/icons/print.gif");
85 #print-button[disabled="true"] {
86 list-style-image: url("chrome://global/skin/icons/print-disabled.gif") !important;
90 list-style-image: url("chrome://global/skin/icons/close-button.gif");
93 /* Hides text below the above buttons - should now be configurable */
95 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text,
96 .toolbarbutton-1 > .toolbarbutton-text {
101 #fullscreen-exit-button {
102 list-style-image: none;
105 #fullscreen-exit-button > .toolbarbutton-text {
106 /* display: normal; */
109 /* ::::: small primary toolbar buttons ::::: */
111 .toolbarbutton-text[toolbarmode="small"] {
115 .toolbarbutton-icon[toolbarmode="small"] {
119 #nav-bar[buttonstyle="text"] > #nav-bar-inner,
120 #nav-bar[buttonstyle="pictures"] > #nav-bar-inner,
121 #nav-bar[toolbarmode="small"] > #nav-bar-inner {
122 margin: 2px 0px 2px 4px;
125 toolbar[toolbarmode="small"] > toolbargrippy {
129 /* ::::: fullscreen window controls ::::: */
132 -moz-box-align: center;
133 padding: 0 2px 0 4px;
134 border-left: 1px solid #9999CC;
137 #window-controls > toolbarbutton {
138 padding: 2px 0px 2px 2px;
142 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
146 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
150 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
153 /* ::::: nav-bar-inner ::::: */
158 margin: 7px 4px 8px 4px;
163 -moz-border-top-colors: #71737A;
164 -moz-border-right-colors: #EFF0F4;
165 -moz-border-bottom-colors: #EFF0F4;
166 -moz-border-left-colors: #71737A;
167 margin: 0px 7px 0px 0px;
170 #urlbar[level="high"] > .autocomplete-textbox-container,
171 #urlbar[level="low"] > .autocomplete-textbox-container {
172 background-color: #FFFFCC;
175 /* ::::: page proxy icon ::::: */
186 margin: 1px 1px 1px 2px;
190 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
195 #page-proxy-favicon {
196 list-style-image: none;
199 /* ::::: autocomplete ::::: */
201 .autocomplete-treebody::-moz-tree-cell-text(value) {
205 .autocomplete-treebody::-moz-tree-cell-text(comment) {
207 /* font-style: italic; */
210 .autocomplete-search-box {
211 border-top: 1px solid #9999CC;
212 background-color: #666699;
216 .autocomplete-result-popup[nomatch] > .autocomplete-search-box {
217 border-top: 1px solid #666699;
220 .autocomplete-search-engine {
224 .autocomplete-search-engine[menuactive="true"] {
225 background-color: #9999CC;
229 .autocomplete-search-engine-img {
233 /* ::::: go and searchbuttons ::::: */
237 margin: 0px 3px 0px 0px;
238 /* min-height: 25px; */
240 background-color: #9999CC;
244 /* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */
248 /* ::::: security button ::::: */
251 list-style-image:url("chrome://communicator/skin/icons/lock-insecure.gif");
255 /* |high| and |low| styles could be different, to better reflect the secure level... */
256 #security-button[level="high"],
257 #security-button[level="low"] {
258 list-style-image:url("chrome://communicator/skin/icons/lock-secure.gif");
261 #security-button[level="broken"] {
262 list-style-image:url("chrome://communicator/skin/icons/lock-broken.gif");
266 list-style-image: url("chrome://communicator/skin/permissions/taskbar-cookie.gif");
270 list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif");
274 list-style-image: url("chrome://navigator/skin/icons/about-popups.gif");
278 /* ::::: personal toolbar ::::: */
281 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
284 #bookmarks-button[open="true"] {
285 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
289 list-style-image: url("chrome://communicator/skin/bookmarks/home.gif");
292 toolbarbutton.chevron {
293 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
296 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {