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;
90 /* Hides text below the above buttons */
91 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text,
92 .toolbarbutton-1 > .toolbarbutton-text {
96 #fullscreen-exit-button {
97 list-style-image: none;
100 #fullscreen-exit-button > .toolbarbutton-text {
104 /* ::::: small primary toolbar buttons ::::: */
106 .toolbarbutton-1[toolbarmode="small"],
107 .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button {
112 .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-dropmarker {
113 padding: 0px 1px 13px 1px;
116 .toolbarbutton-1[toolbarmode="small"][type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
117 .toolbarbutton-1[toolbarmode="small"][type="menu-button"][buttondown="true"] > .toolbarbutton-menubutton-dropmarker,
118 .toolbarbutton-1[toolbarmode="small"][type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
119 padding: 1px 0px 12px 2px;
122 .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] {
123 padding: 0px 1px 13px 1px !important;
126 .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button > .toolbarbutton-text,
127 .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-text {
131 #nav-bar[toolbarmode="small"] > #nav-bar-inner {
135 toolbar[toolbarmode="small"] > toolbargrippy {
139 /* ::::: fullscreen window controls ::::: */
142 -moz-box-align: center;
143 padding: 0 2px 0 4px;
144 border-left: 2px solid;
145 -moz-border-left-colors: ThreeDHighlight ThreeDShadow;
149 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
153 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
157 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
160 /* ::::: nav-bar-inner ::::: */
165 margin: 7px 4px 8px 4px;
169 border: 1px inset #CCD0DD;
170 margin: 0px 7px 0px 0px;
173 /* ::::: page proxy icon ::::: */
184 margin: 1px 1px 1px 2px;
188 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
193 #page-proxy-favicon {
194 list-style-image: none;
198 #page-proxy-button[pageproxystate="valid"]:hover {
199 list-style-image: url("chrome://communicator/skin/bookmarks/location-hover.gif");
202 #page-proxy-button[pageproxystate="valid"]:hover:active {
203 list-style-image: url("chrome://communicator/skin/bookmarks/location-act.gif");
206 #page-proxy-button[pageproxystate="invalid"] {
208 list-style-image: url("chrome://communicator/skin/bookmarks/location-dis.gif");
212 /* ::::: autocomplete ::::: */
215 .autocomplete-history-dropmarker {
216 border-right-width: 1px;
217 border-bottom-width: 1px;
218 -moz-border-right-colors: ThreeDShadow;
219 -moz-border-bottom-colors: ThreeDShadow;
223 .autocomplete-outlinerbody:-moz-outliner-cell-text(value) {
227 .autocomplete-outlinerbody:-moz-outliner-cell-text(comment) {
229 /* font-style: italic; */
232 .autocomplete-search-box {
233 border-top: 1px solid #9999CC;
234 background-color: #666699;
238 .autocomplete-result-popup[nomatch] > .autocomplete-search-box {
239 border-top: 1px solid #666699;
242 .autocomplete-search-engine {
246 .autocomplete-search-engine[menuactive="true"] {
247 background-color: #9999CC;
251 .autocomplete-search-engine-img {
255 /* ::::: go and searchbuttons ::::: */
259 margin: 0px 3px 0px 0px;
260 /* min-height: 25px; */
262 background-color: #9999CC;
266 /* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */
270 /* ::::: personal toolbar ::::: */
273 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
276 #bookmarks-button[open="true"] {
277 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
281 list-style-image: url("chrome://communicator/skin/bookmarks/home.gif");
284 /* ::::: sidebar splitter ::::: */
294 /* ::::: content area ::::: */
298 border-top: 1px solid ThreeDDarkShadow;
299 border-bottom: 1px solid ThreeDLightShadow;
300 border-left: 2px solid;
301 -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;