home *** CD-ROM | disk | FTP | other *** search
- /* ***** BEGIN LICENSE BLOCK *****
- * Version: NPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Netscape 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/NPL/
- *
- * 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 mozilla.org code.
- *
- * The Initial Developer of the Original Code is
- * Netscape Communications Corporation.
- * Portions created by the Initial Developer are Copyright (C) 1998-1999
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Joe Hewitt (hewitt@netscape.com)
- *
- * 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 NPL, 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 NPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
- @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");
-
- /* ::::: primary toolbar buttons ::::: */
-
- .toolbarbutton-1 {
- list-style-image: url("chrome://navigator/skin/icons/btn1.png");
- }
-
- #back-button {
- -moz-image-region: rect(0px 22px 22px 0px);
- }
-
- #back-button[buttonover="true"] {
- -moz-image-region: rect(0px 44px 22px 22px);
- }
-
- #back-button[buttondown="true"] {
- -moz-image-region: rect(0px 66px 22px 44px);
- }
-
- #back-button[disabled="true"] {
- -moz-image-region: rect(0px 88px 22px 66px) !important;
- }
-
- #forward-button {
- -moz-image-region: rect(22px 22px 44px 0px);
- }
-
- #forward-button[buttonover="true"] {
- -moz-image-region: rect(22px 44px 44px 22px);
- }
-
- #forward-button[buttondown="true"] {
- -moz-image-region: rect(22px 66px 44px 44px);
- }
-
- #forward-button[disabled="true"] {
- -moz-image-region: rect(22px 88px 44px 66px) !important;
- }
-
- #reload-button {
- -moz-image-region: rect(44px 22px 66px 0px);
- }
-
- #reload-button:hover {
- -moz-image-region: rect(44px 44px 66px 22px);
- }
-
- #reload-button:hover:active {
- -moz-image-region: rect(44px 66px 66px 44px);
- }
-
- #reload-button[disabled="true"] {
- -moz-image-region: rect(44px 88px 66px 66px) !important;
- }
-
- #stop-button {
- list-style-image: url("chrome://communicator/skin/icons/btn1.png");
- -moz-image-region: rect(22px 22px 44px 0px);
- }
-
- #stop-button:hover {
- -moz-image-region: rect(22px 44px 44px 22px);
- }
-
- #stop-button:hover:active {
- -moz-image-region: rect(22px 66px 44px 44px);
- }
-
- #stop-button[disabled="true"] {
- -moz-image-region: rect(22px 88px 44px 66px) !important;
- }
-
-
-
- /* ::::: home button toolbar addon support ::::: */
- #home {
- list-style-image: url("chrome://navigator/skin/icons/home.png") !important;
- }
-
- #home:hover {
- list-style-image: url("chrome://navigator/skin/icons/home-hov.png") !important;
- }
-
- #home:hover:active {
- list-style-image: url("chrome://communicator/skin/help/home-act.gif") !important;
- }
-
- #home[disabled="true"] {
- list-style-image: url("chrome://communicator/skin/help/home-dis.gif") !important;
- }
-
- #home[toolbarmode="small"] {
- list-style-image: url("chrome://navigator/skin/icons/home.png");
- }
-
- #home[toolbarmode="small"]:hover {
- list-style-image: url("chrome://navigator/skin/icons/home-hov.png");
- }
-
- #home[toolbarmode="small"]:hover:active {
- list-style-image: url("chrome://navigator/skin/icons/home-act.png");
- }
-
- #home[toolbarmode="small"][disabled="true"] {
- list-style-image: url("chrome://navigator/skin/icons/home-dis.png") !important;
- }
- /* ::::: end home button toolbar addon support ::::: */
-
-
-
-
-
-
- #print-button {
- list-style-image: url("chrome://communicator/skin/icons/btn1.png");
- -moz-image-region: rect(0px 22px 22px 0px);
- }
-
- #print-button[buttonover="true"] {
- -moz-image-region: rect(0px 44px 22px 22px);
- }
-
- #print-button[buttondown="true"] {
- -moz-image-region: rect(0px 66px 22px 44px);
- }
-
- #print-button[disabled="true"] {
- -moz-image-region: rect(0px 88px 22px 66px) !important;
- }
-
- #fullscreen-exit-button {
- list-style-image: url("chrome://navigator/skin/icons/window-nofullscreen.png");
- }
-
- /* ::::: small primary toolbar buttons ::::: */
-
- .toolbarbutton-1[toolbarmode="small"] {
- min-width: 0;
- }
-
- .toolbarbutton-text[toolbarmode="small"] {
- display: none;
- }
-
- #search-button[toolbarmode="small"] > .button-box > .button-text {
- display: none;
- }
-
- .toolbarbutton-icon[toolbarmode="small"] {
- display: inline;
- }
-
- #nav-bar[toolbarmode="small"] > .toolbar-primary-grippy {
- display: none;
- }
-
- /* ::::: fullscreen window controls ::::: */
-
- #window-controls {
- -moz-box-align: center;
- padding: 0 2px 0 4px;
- border-left: 2px solid;
- -moz-border-left-colors: ThreeDHighlight ThreeDShadow;
- }
-
- #minimize-button {
- list-style-image: url("chrome://navigator/skin/icons/minimize.png");
- }
-
- #restore-button {
- list-style-image: url("chrome://navigator/skin/icons/restore.png");
- }
-
- #close-button {
- list-style-image: url("chrome://navigator/skin/icons/close.png");
- }
-
- /* ::::: nav-bar-inner ::::: */
-
- #nav-bar-inner {
- -moz-box-align: center;
- min-width: 0px;
- }
-
- #urlbar {
- border: 2px solid;
- -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
- -moz-border-right-colors: ThreeDHighlight ThreeDFace;
- -moz-border-bottom-colors: ThreeDHighlight ThreeDFace;
- -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
- }
-
- /* ::::: page proxy icon ::::: */
-
- #page-proxy-deck,
- #page-proxy-favicon,
- #page-proxy-button {
- width: 16px;
- height: 16px;
- }
-
- #page-proxy-deck {
- cursor: -moz-grab;
- margin: 2px 3px;
- }
-
- #page-proxy-button {
- list-style-image: url("chrome://communicator/skin/bookmarks/location.png");
- }
-
- #page-proxy-favicon {
- list-style-image: none;
- }
-
- #page-proxy-button[pageproxystate="valid"]:hover {
- list-style-image: url("chrome://communicator/skin/bookmarks/location-hov.png");
- }
-
- #page-proxy-button[pageproxystate="valid"]:hover:active {
- list-style-image: url("chrome://communicator/skin/bookmarks/location-act.png");
- }
-
- #page-proxy-button[pageproxystate="invalid"] {
- cursor: default;
- list-style-image: url("chrome://communicator/skin/bookmarks/location-dis.png");
- }
-
- /* ::::: autocomplete ::::: */
-
- .autocomplete-history-dropmarker {
- border-right-width: 1px;
- border-bottom-width: 1px;
- -moz-border-right-colors: ThreeDShadow;
- -moz-border-bottom-colors: ThreeDShadow;
- }
-
- .autocomplete-treebody:-moz-tree-cell-text(value) {
- padding-left: 15px;
- }
-
- .autocomplete-treebody:-moz-tree-cell-text(comment) {
- color: ThreeDShadow;
- }
-
- .autocomplete-search-box {
- border-top: 2px groove -moz-Dialog;
- background-color: -moz-Dialog;
- color: ButtonText;
- }
-
- .autocomplete-result-popup[nomatch] > .autocomplete-search-box {
- border-top: 1px solid ThreeDHighlight;
- }
-
- .autocomplete-search-engine {
- padding: 2px;
- }
-
- .autocomplete-search-engine[menuactive="true"] {
- background-color: Highlight;
- color: HighlightText;
- }
-
- .autocomplete-search-engine-img {
- margin-right: 4px;
- }
-
- /* ::::: go and searchbuttons ::::: */
- #search-button,
- #go-button {
- margin: 0px 4px 0px 0px;
- font: message-box;
- }
-
- #go-button {
- list-style-image: url("chrome://communicator/skin/icons/go.png");
- font-weight: bold;
- -moz-border-top-colors: transparent;
- -moz-border-right-colors: transparent;
- -moz-border-bottom-colors: transparent;
- -moz-border-left-colors: transparent;
- }
-
- #go-button:hover {
- list-style-image: url("chrome://communicator/skin/icons/go-hov.png");
- -moz-border-top-colors: ThreeDHighlight;
- -moz-border-right-colors: ThreeDShadow;
- -moz-border-bottom-colors: ThreeDShadow;
- -moz-border-left-colors: ThreeDHighlight;
- }
-
- #go-button:active {
- list-style-image: url("chrome://communicator/skin/icons/go-act.png");
- }
-
- #search-button {
- list-style-image: url("chrome://communicator/skin/icons/search.png");
- }
-
- #search-button:hover {
- list-style-image: url("chrome://communicator/skin/icons/search-hov.png");
- }
-
- #search-button:hover:active {
- list-style-image: url("chrome://communicator/skin/icons/search-act.png");
- }
-
- /* ::::: personal toolbar ::::: */
-
- #bookmarks-button {
- list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.png");
- }
-
- #bookmarks-button:hover {
- list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed-hov.png");
- }
-
-
- #bookmarks-button[open="true"] {
- list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.png");
- }
-
- #bookmarks-button[open="true"]:hover {
- list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open-hov.png");
- }
-
- /* ::::: sidebar splitter ::::: */
-
- #sidebar-splitter {
- border-left: none;
- border-right: none;
- min-width: 5px;
- }
-
- /* ::::: content area ::::: */
-
- #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;
- }
-
- #security-button {
- list-style-image: url("chrome://communicator/skin/icons/lock-insecure.png");
- }
-
- #security-button[level="high"] {
- list-style-image: url("chrome://communicator/skin/icons/lock-secure.png");
- }
-
- #security-button[level="low"] {
- list-style-image: url("chrome://communicator/skin/icons/lock-secure.png");
- }
-
- #security-button[level="broken"] {
- list-style-image: url("chrome://communicator/skin/icons/lock-broken.png");
- }
-
- /* ::::: personal toolbar ::::: */
-
- #home-button {
- list-style-image: url("chrome://communicator/skin/bookmarks/home.png");
- }
-
- #home-button:hover {
- list-style-image: url("chrome://communicator/skin/bookmarks/home-hover.png");
- }
-
- #home-button:hover:active {
- list-style-image: url("chrome://communicator/skin/bookmarks/home-active.png");
- }
-
-