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 */
95 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text,
96 .toolbarbutton-1 > .toolbarbutton-text {
100 #fullscreen-exit-button {
101 list-style-image: none;
104 #fullscreen-exit-button > .toolbarbutton-text {
108 /* ::::: small primary toolbar buttons ::::: */
110 .toolbarbutton-1[toolbarmode="small"],
111 .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button {
116 .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-dropmarker {
117 padding: 0px 1px 13px 1px;
120 .toolbarbutton-1[toolbarmode="small"][type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
121 .toolbarbutton-1[toolbarmode="small"][type="menu-button"][buttondown="true"] > .toolbarbutton-menubutton-dropmarker,
122 .toolbarbutton-1[toolbarmode="small"][type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
123 padding: 1px 0px 12px 2px;
126 .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] {
127 padding: 0px 1px 13px 1px !important;
130 .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button > .toolbarbutton-text,
131 .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-text {
135 #nav-bar[toolbarmode="small"] > #nav-bar-inner {
136 margin: 2px 0px 2px 4px;
139 toolbar[toolbarmode="small"] > toolbargrippy {
143 /* ::::: fullscreen window controls ::::: */
146 -moz-box-align: center;
147 padding: 0 2px 0 4px;
148 border-left: 1px solid #9999CC;
151 #window-controls > toolbarbutton {
152 padding: 2px 0px 2px 2px;
156 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
160 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
164 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
167 /* ::::: nav-bar-inner ::::: */
172 margin: 7px 4px 8px 4px;
177 -moz-border-top-colors: #71737A;
178 -moz-border-right-colors: #EFF0F4;
179 -moz-border-bottom-colors: #EFF0F4;
180 -moz-border-left-colors: #71737A;
181 margin: 0px 7px 0px 0px;
184 /* ::::: page proxy icon ::::: */
195 margin: 1px 1px 1px 2px;
199 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
204 #page-proxy-favicon {
205 list-style-image: none;
208 /* ::::: autocomplete ::::: */
210 .autocomplete-treebody:-moz-tree-cell-text(value) {
214 .autocomplete-treebody:-moz-tree-cell-text(comment) {
216 /* font-style: italic; */
219 .autocomplete-search-box {
220 border-top: 1px solid #9999CC;
221 background-color: #666699;
225 .autocomplete-result-popup[nomatch] > .autocomplete-search-box {
226 border-top: 1px solid #666699;
229 .autocomplete-search-engine {
233 .autocomplete-search-engine[menuactive="true"] {
234 background-color: #9999CC;
238 .autocomplete-search-engine-img {
242 /* ::::: go and searchbuttons ::::: */
246 margin: 0px 3px 0px 0px;
247 /* min-height: 25px; */
249 background-color: #9999CC;
253 /* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */
257 /* ::::: personal toolbar ::::: */
260 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
263 #bookmarks-button[open="true"] {
264 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
268 list-style-image: url("chrome://communicator/skin/bookmarks/home.gif");
271 /* ::::: sidebar splitter ::::: */
281 /* ::::: content area ::::: */
285 border-top: 1px solid ThreeDDarkShadow;
286 border-bottom: 1px solid ThreeDLightShadow;
287 border-left: 2px solid;
288 -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;