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://communicator/skin/icons/communicatoricons.png");
53 -moz-image-region: rect(42px 25px 63px 0px);
57 #back-button:hover:active,
58 #back-button[open="true"] {
59 -moz-image-region: rect(42px 72px 63px 50px);
62 #back-button[disabled="true"] {
63 -moz-image-region: rect(42px 50px 63px 25px) !important;
67 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
68 -moz-image-region: rect(63px 25px 84px 0px);
71 #forward-button:hover,
72 #forward-button:hover:active,
73 #forward-button[open="true"] {
74 -moz-image-region: rect(63px 75px 84px 50px);
77 #forward-button[disabled="true"] {
78 -moz-image-region: rect(63px 50px 84px 25px) !important;
82 list-style-image: url("chrome://navigator/skin/icons/reload.gif");
86 #reload-button:hover:active {
87 list-style-image: url("chrome://navigator/skin/icons/reload-hover.gif");
90 #reload-button[disabled="true"] {
91 list-style-image: url("chrome://navigator/skin/icons/reload-disabled.gif") !important;
95 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
96 -moz-image-region: rect(21px 25px 42px 0px);
100 #stop-button:hover:active {
101 -moz-image-region: rect(21px 75px 42px 50px);
104 #stop-button[disabled="true"] {
105 -moz-image-region: rect(21px 50px 42px 25px) !important;
109 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
110 -moz-image-region: rect(0px 25px 21px 0px);
114 #print-button:hover:active,
115 #print-button[open="true"] {
116 -moz-image-region: rect(0px 75px 21px 50px);
119 #print-button[disabled="true"] {
120 -moz-image-region: rect(0px 50px 21px 25px) !important;
124 list-style-image: url("chrome://global/skin/icons/close-button.gif");
127 #clear-button:hover {
128 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
131 /* Hides text below the above buttons */
133 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text,
134 .toolbarbutton-1 > .toolbarbutton-text {
139 #fullscreen-exit-button {
140 list-style-image: none;
143 #fullscreen-exit-button > .toolbarbutton-text {
144 /* display: normal; */
147 /* ::::: small primary toolbar buttons ::::: */
149 .toolbarbutton-text[toolbarmode="small"] {
153 .toolbarbutton-icon[toolbarmode="small"] {
157 #nav-bar[mode="text"] > #nav-bar-inner,
158 #nav-bar[mode="icons"] > #nav-bar-inner,
159 #nav-bar[toolbarmode="small"] > #nav-bar-inner {
160 margin: 2px 0px 2px 6px;
163 toolbar[toolbarmode="small"] > toolbargrippy {
167 /* ::::: fullscreen window controls ::::: */
170 -moz-box-align: center;
171 padding: 0 3px 0 1px;
172 border-left: 3px solid #000000;
175 #window-controls > toolbarbutton {
176 padding: 2px 0px 2px 2px;
180 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
183 #minimize-button:hover {
184 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
188 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
191 #restore-button:hover {
192 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
196 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
199 #close-button:hover {
200 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
203 /* ::::: nav-bar-inner ::::: */
208 margin: 6px 4px 7px 4px;
213 border: 1px solid #9C9CFF;
214 background-color: #000000;
215 margin: 0px 7px 0px 0px;
218 #urlbar[level="high"] > .autocomplete-textbox-container,
219 #urlbar[level="low"] > .autocomplete-textbox-container {
220 background-color: #FFCF00;
224 /* ::::: page proxy icon ::::: */
235 margin: 1px 1px 1px 2px;
239 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
244 #page-proxy-favicon {
245 list-style-image: none;
248 /* ::::: autocomplete ::::: */
250 .autocomplete-treebody::-moz-tree-cell-text(value) {
254 .autocomplete-treebody::-moz-tree-cell-text(comment) {
256 /* font-style: italic; */
259 .autocomplete-search-box {
260 border-top: 1px solid #FF9F00;
261 background-color: #9C9CFF;
265 .autocomplete-result-popup[nomatch] > .autocomplete-search-box {
266 border-top: 1px solid #9C9CFF;
269 .autocomplete-search-engine {
273 .autocomplete-search-engine[menuactive="true"] {
274 background-color: #008484;
278 .autocomplete-search-engine-img {
282 .autocomplete-history-dropmarker:hover {
283 background-color: #FFCF00;
286 .autocomplete-history-dropmarker:hover:active,
287 .autocomplete-history-dropmarker[open="true"] {
288 background-color: #FF9F00;
291 /* ::::: go and searchbuttons ::::: */
295 margin: 1px 3px 1px 0px;
296 /* min-height: 25px; */
298 background-color: #000000;
301 #search-button:hover,
303 background-color: #FFCF00;
307 /* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */
311 /* ::::: throbber ::::: */
314 -moz-margin-start: 2px;
317 /* ::::: security button ::::: */
320 list-style-image:url("chrome://communicator/skin/icons/lock-insecure.gif");
321 -moz-margin-start: 2px;
324 /* |high| and |low| styles could be different, to better reflect the secure level... */
325 #security-button[level="high"],
326 #security-button[level="low"] {
327 list-style-image:url("chrome://communicator/skin/icons/lock-secure.gif");
330 #security-button[level="broken"] {
331 list-style-image:url("chrome://communicator/skin/icons/lock-broken.gif");
335 list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif");
338 /* ::::: personal toolbar ::::: */
341 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
344 #bookmarks-button[open="true"] {
345 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
349 list-style-image: url("chrome://communicator/skin/bookmarks/home.gif");
353 list-style-image: url("chrome://navigator/skin/icons/chevron.gif") !important;
357 #bookmarks-chevron:hover,
358 #bookmarks-chevron[open="true"] {
359 list-style-image: url("chrome://navigator/skin/icons/chevron-hover.gif") !important;
362 #bookmarks-chevron > .toolbarbutton-menu-dropmarker {
366 /* ::::: feeds ::::: */
369 list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png") !important;
370 -moz-image-region: rect(0px 16px 16px 0px);
373 #feedsMenu[disabled="true"] {
374 -moz-image-region: rect(32px 16px 48px 0px);
378 list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png");
379 -moz-image-region: rect(0px 32px 16px 16px);
383 -moz-image-region: rect(16px 32px 32px 16px);
386 #feedsButton:hover:active {
387 -moz-image-region: rect(48px 32px 64px 16px);