/* ***** 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/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://communicator/skin/icons/communicatoricons.png"); -moz-image-region: rect(42px 25px 63px 0px); } #back-button[disabled="true"] { -moz-image-region: rect(42px 50px 63px 25px); } #back-button:not([disabled="true"]):hover, #back-button:not([disabled="true"]):hover:active, #back-button[open="true"] { -moz-image-region: rect(42px 75px 63px 50px); } #forward-button { list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); -moz-image-region: rect(63px 25px 84px 0px); } #forward-button[disabled="true"] { -moz-image-region: rect(63px 50px 84px 25px); } #forward-button:not([disabled="true"]):hover, #forward-button:not([disabled="true"]):hover:active, #forward-button[open="true"] { -moz-image-region: rect(63px 75px 84px 50px); } #reload-button { list-style-image: url("chrome://navigator/skin/icons/navigatoricons.png"); -moz-image-region: rect(0px 25px 21px 0px); } #reload-button[disabled="true"] { -moz-image-region: rect(0px 50px 21px 25px); } #reload-button:not([disabled="true"]):hover, #reload-button:not([disabled="true"]):hover:active { -moz-image-region: rect(0px 75px 21px 50px); } #stop-button { list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); -moz-image-region: rect(21px 25px 42px 0px); } #stop-button[disabled="true"] { -moz-image-region: rect(21px 50px 42px 25px); } #stop-button:not([disabled="true"]):hover, #stop-button:not([disabled="true"]):hover:active { -moz-image-region: rect(21px 75px 42px 50px); } #print-button { list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); -moz-image-region: rect(0px 25px 21px 0px); } #print-button[disabled="true"] { -moz-image-region: rect(0px 50px 21px 25px); } #print-button:not([disabled="true"]):hover, #print-button:not([disabled="true"]):hover:active, #print-button[open="true"] { -moz-image-region: rect(0px 75px 21px 50px); } #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"); } /* ::::: small primary toolbar buttons ::::: */ #nav-bar[inFullscreen="true"] .toolbar-grippy { /* display: none; */ } /* ::::: fullscreen window controls ::::: */ #window-controls { -moz-box-align: center; padding: 0 1px; border-left: 3px solid #000000; -moz-margin-start: 2px; } #window-controls > toolbarbutton { padding: 3px; -moz-padding-start: 2px; -moz-padding-end: 1px; } toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { display: -moz-box; } #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 { -moz-padding-start: 1px; -moz-padding-end: 1px; min-width: 0px; /*margin: 0px 4px; */ -moz-box-align: center; } #urlbar { -moz-border-radius: 5px; /*outline: none; border: 1px solid #9C9CFF; background-color: #000000; */ margin: 0; -moz-margin-start: 3px; padding: 1px 0; } #urlbar[level="high"] > .autocomplete-textbox-container, #urlbar[level="low"] > .autocomplete-textbox-container { background-color: #FFCF00; color: #000000; } /* ::::: 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; } .autocomplete-history-dropmarker:hover { background-color: #FFCF00; } .autocomplete-history-dropmarker:hover:active, .autocomplete-history-dropmarker[open="true"] { background-color: #FF9F00; } /* ::::: go and searchbuttons ::::: */ #search-button, #go-button { margin: 0; padding: 1px 0; -moz-margin-start: 2px; 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; } /* toolbar[mode="text"] #search-button > .button-box > .button-icon, toolbar[mode="icons"] #search-button > .button-box > .button-text { display: none; } */ /* ::::: throbber ::::: */ #throbber-box { -moz-margin-start: 2px; } /* ::::: security button ::::: */ #security-button { list-style-image:url("chrome://communicator/skin/icons/lock-insecure.gif"); -moz-margin-start: 2px; } /* |high| and |low| styles could be different, to better reflect the secure level... */ #security-button[level="high"], #security-button[level="low"] { list-style-image:url("chrome://communicator/skin/icons/lock-secure.gif"); } #security-button[level="broken"] { list-style-image:url("chrome://communicator/skin/icons/lock-broken.gif"); } #popupIcon { list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif"); } /* ::::: 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/icons/communicatoricons.png"); -moz-image-region: rect(84px 25px 105px 0px); } #home-button[disabled="true"] { -moz-image-region: rect(84px 50px 105px 25px); } #home-button:not([disabled="true"]):hover, #home-button:not([disabled="true"]):hover:active { -moz-image-region: rect(84px 75px 105px 50px); } toolbarbutton.chevron { list-style-image: url("chrome://navigator/skin/icons/chevron.gif") !important; } toolbarbutton.chevron:hover, toolbarbutton.chevron[open="true"] { list-style-image: url("chrome://navigator/skin/icons/chevron-hover.gif") !important; } toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { display: none; } toolbarbutton.chevron > .toolbarbutton-text { display: none; /* hide chevron label which has a width even if blank */ } toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon { display: -moz-box; /* display chevron icon in text mode */ } /* Prevent [mode="icons"|"text"] from hiding the label and icon */ #bookmarks-ptf .bookmark-item > .toolbarbutton-text, #bookmarks-ptf .bookmark-item > .toolbarbutton-icon { display: -moz-box !important; } /* ::::: feeds ::::: */ #feedsMenu { list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png") !important; -moz-image-region: rect(0px 16px 16px 0px); } #feedsMenu[disabled="true"] { -moz-image-region: rect(32px 16px 48px 0px); } #feedsButton { list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png"); -moz-image-region: rect(0px 32px 16px 16px); } #feedsButton:hover { -moz-image-region: rect(16px 32px 32px 16px); } #feedsButton:hover:active { -moz-image-region: rect(48px 32px 64px 16px); } #urlbar-icons { -moz-margin-end: 2px; } toolbar[iconsize="small"] > #back-button { list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); -moz-image-region: rect(32px 16px 48px 0); } toolbar[iconsize="small"] > #back-button[disabled="true"] { -moz-image-region: rect(32px 32px 48px 16px) !important; } toolbar[iconsize="small"] > #back-button:not([disabled="true"]):hover, toolbar[iconsize="small"] > #back-button:not([disabled="true"]):hover:active { -moz-image-region: rect(32px 48px 48px 32px); } toolbar[iconsize="small"] > #forward-button { list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); -moz-image-region: rect(48px 16px 64px 0); } toolbar[iconsize="small"] > #forward-button[disabled="true"] { -moz-image-region: rect(48px 32px 64px 16px) !important; } toolbar[iconsize="small"] > #forward-button:not([disabled="true"]):hover, toolbar[iconsize="small"] > #forward-button:not([disabled="true"]):hover:active { -moz-image-region: rect(48px 48px 64px 32px); } toolbar[iconsize="small"] > #reload-button { list-style-image: url("chrome://navigator/skin/icons/navigatoricons-small.png"); -moz-image-region: rect(0 16px 16px 0); } toolbar[iconsize="small"] > #reload-button[disabled="true"] { -moz-image-region: rect(0 32px 16px 16px) !important; } toolbar[iconsize="small"] > #reload-button:not([disabled="true"]):hover, toolbar[iconsize="small"] > #reload-button:not([disabled="true"]):hover:active { -moz-image-region: rect(0 48px 16px 32px); } toolbar[iconsize="small"] > #stop-button { list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); -moz-image-region: rect(16px 16px 32px 0); } toolbar[iconsize="small"] > #stop-button[disabled="true"] { -moz-image-region: rect(16px 32px 32px 16px) !important; } toolbar[iconsize="small"] > #stop-button:not([disabled="true"]):hover, toolbar[iconsize="small"] > #stop-button:not([disabled="true"]):hover:active { -moz-image-region: rect(16px 48px 32px 32px); } toolbar[iconsize="small"] > #print-button { list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); -moz-image-region: rect(0 16px 16px 0); } toolbar[iconsize="small"] > #print-button[disabled="true"] { -moz-image-region: rect(0 32px 16px 16px) !important; } toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover, toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover:active { -moz-image-region: rect(0 48px 16px 32px); } toolbar[iconsize="small"] > #home-button { list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); -moz-image-region: rect(64px 16px 80px 0); } toolbar[iconsize="small"] > #home-button[disabled="true"] { -moz-image-region: rect(64px 32px 80px 16px) !important; } toolbar[iconsize="small"] > #home-button:not([disabled="true"]):hover, toolbar[iconsize="small"] > #home-button:not([disabled="true"]):hover:active { -moz-image-region: rect(64px 48px 80px 32px); } /* ::::: home button on the personal toolbar ::::: */ #PersonalToolbar[iconsize="small"] > #home-button > .toolbarbutton-icon { /* width: 16px; height: 16px; */ } #PersonalToolbar > #home-button { cursor: pointer; } #PersonalToolbar > #home-button[disabled="true"] { cursor: default !important; }