/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License * for the specific language governing rights and limitations under the * License. * * The Original Code is "Classic" theme of mozilla.org code. * * The Initial Developer of the Original Code is * the Mozilla Organization. * Portions created by the Initial Developer are Copyright (C) 1998-2001 * the Initial Developer. All Rights Reserved. * * Contributor(s): * Robert Kaiser * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), * in which case the provisions of the GPL or the LGPL are applicable instead * of those above. If you wish to allow use of your version of this file only * under the terms of either the GPL or the LGPL, and not to allow others to * use your version of this file under the terms of the MPL, indicate your * decision by deleting the provisions above and replace them with the notice * and other provisions required by the GPL or the LGPL. If you do not delete * the provisions above, a recipient may use your version of this file under * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ /** Contains style definitions for the navigator application **/ @import url("chrome://navigator/content/navigator.css"); @import url("chrome://communicator/skin/"); @import url("chrome://communicator/skin/sidebar/sidebar.css"); @import url("chrome://communicator/skin/bookmarks/bookmarksToolbar.css"); @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /********** resource bundle binding **********/ /* ::::: primary toolbar buttons ::::: */ #back-button { list-style-image: url("chrome://navigator/skin/icons/back.gif"); } #back-button:hover, #back-button[buttonover="true"], #back-button[buttondown="true"], #back-button[open="true"] { list-style-image: url("chrome://navigator/skin/icons/back-hover.gif"); } #back-button[disabled="true"] { list-style-image: url("chrome://navigator/skin/icons/back-disabled.gif") !important; } #forward-button { list-style-image: url("chrome://navigator/skin/icons/forward.gif"); } #forward-button:hover, #forward-button[buttonover="true"], #forward-button[buttondown="true"], #forward-button[open="true"] { list-style-image: url("chrome://navigator/skin/icons/forward-hover.gif"); } #forward-button[disabled="true"] { list-style-image: url("chrome://navigator/skin/icons/forward-disabled.gif") !important; } #reload-button { list-style-image: url("chrome://navigator/skin/icons/reload.gif"); } #reload-button:hover, #reload-button:hover:active { list-style-image: url("chrome://navigator/skin/icons/reload-hover.gif"); } #reload-button[disabled="true"] { list-style-image: url("chrome://navigator/skin/icons/reload-disabled.gif") !important; } #stop-button { list-style-image: url("chrome://global/skin/icons/stop.gif"); } #stop-button:hover, #stop-button:hover:active { list-style-image: url("chrome://global/skin/icons/stop-hover.gif"); } #stop-button[disabled="true"] { list-style-image: url("chrome://global/skin/icons/stop-disabled.gif") !important; } #print-button { list-style-image: url("chrome://global/skin/icons/print.gif"); } #print-button:hover, #print-button[buttonover="true"], #print-button[buttondown="true"], #print-button[open="true"] { list-style-image: url("chrome://global/skin/icons/print-hover.gif"); } #print-button[disabled="true"] { list-style-image: url("chrome://global/skin/icons/print-disabled.gif") !important; } #clear-button { list-style-image: url("chrome://global/skin/icons/close-button.gif"); } #clear-button:hover { list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); } /* Hides text below the above buttons */ .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text, .toolbarbutton-1 > .toolbarbutton-text { display: none; } #fullscreen-exit-button { list-style-image: none; } #fullscreen-exit-button > .toolbarbutton-text { display: normal; } /* ::::: small primary toolbar buttons ::::: */ .toolbarbutton-1[toolbarmode="small"], .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button { min-width: 0px; min-height: 0px; } .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-dropmarker { padding: 0px 1px 13px 1px; } .toolbarbutton-1[toolbarmode="small"][type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, .toolbarbutton-1[toolbarmode="small"][type="menu-button"][buttondown="true"] > .toolbarbutton-menubutton-dropmarker, .toolbarbutton-1[toolbarmode="small"][type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { padding: 1px 0px 12px 2px; } .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] { padding: 0px 1px 13px 1px !important; } .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button > .toolbarbutton-text, .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-text { display: none; } #nav-bar[toolbarmode="small"] > #nav-bar-inner { margin: 2px 0px 2px 6px; } toolbar[toolbarmode="small"] > toolbargrippy { /* display: none; */ } /* ::::: fullscreen window controls ::::: */ #window-controls { -moz-box-align: center; padding: 0 3px 0 1px; border-left: 3px solid #000000; } #window-controls > toolbarbutton { padding: 2px 0px 2px 2px; } #minimize-button { list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); } #minimize-button:hover { list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); } #restore-button { list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); } #restore-button:hover { list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); } #close-button { list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); } #close-button:hover { list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); } /* ::::: nav-bar-inner ::::: */ #nav-bar-inner { padding-left: 0px; min-width: 0px; margin: 6px 4px 7px 4px; } #urlbar { -moz-border-top-colors: transparent #9C9CFF; -moz-border-right-colors: transparent #9C9CFF; -moz-border-bottom-colors: transparent #9C9CFF; -moz-border-left-colors: transparent #9C9CFF; background-color: #000000; margin: 0px 7px 0px 0px; } /* ::::: page proxy icon ::::: */ #page-proxy-deck, #page-proxy-favicon, #page-proxy-button { width: 16px; height: 16px; } #page-proxy-deck { cursor: -moz-grab; margin: 1px 1px 1px 2px; } #page-proxy-button { list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); padding-top: 2px; padding-bottom: 2px; } #page-proxy-favicon { list-style-image: none; } /* ::::: autocomplete ::::: */ .autocomplete-treebody:-moz-tree-cell-text(value) { padding-left: 13px; } .autocomplete-treebody:-moz-tree-cell-text(comment) { color: #E7ADE7; /* font-style: italic; */ } .autocomplete-search-box { border-top: 1px solid #FF9F00; background-color: #9C9CFF; color: #000000; } .autocomplete-result-popup[nomatch] > .autocomplete-search-box { border-top: 1px solid #9C9CFF; } .autocomplete-search-engine { padding: 2px; } .autocomplete-search-engine[menuactive="true"] { background-color: #008484; color: #FFCF00; } .autocomplete-search-engine-img { margin-right: 4px; } /* ::::: go and searchbuttons ::::: */ #search-button, #go-button { margin: 1px 3px 1px 0px; /* min-height: 25px; */ font-weight: bold; background-color: #000000; } #search-button:hover, #go-button:hover { background-color: #FFCF00; } #search-button { /* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */ font-weight: bold; } /* ::::: personal toolbar ::::: */ #bookmarks-button { list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); } #bookmarks-button[open="true"] { list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); } #home-button { list-style-image: url("chrome://communicator/skin/bookmarks/home.gif"); } /* ::::: sidebar splitter ::::: */ /* #sidebar-splitter { border-left: none; border-right: none; min-width: 5px; } */ /* #content { border-top: 1px solid ThreeDDarkShadow; border-bottom: 1px solid ThreeDLightShadow; border-left: 2px solid; -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow; } #status-bar { border-top: none; } */