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 ***** */
-
- /* Modified for IE Skin by Bamm Gabriana, Jan 2004 */
-
- @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 ::::: */
-
- .toolbarbutton-1,
- .toolbarbutton-1 > .toolbarbutton-menubutton-button {
- min-width: 4.2em;
- }
-
- .toolbarbutton-1 {
- list-style-image: url("chrome://navigator/skin/icons/btn1.gif");
- }
-
- .toolbarbutton-1 > .toolbarbutton-icon,
- .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
- margin: 0px 0px 0px 1px;
- padding: 2px 0px 0px 0px;
- }
-
- .toolbarbutton-1 > .toolbarbutton-text,
- .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text {
- margin: 0px 0px 1px 1px !important;
- padding: 0;
- }
-
-
- /* ::::: primary toolbar buttons ::::: */
-
- #back-button {
- -moz-image-region: rect(0px 23px 21px 0px);
- }
-
- #back-button:hover {
- -moz-image-region: rect(0px 45px 21px 22px);
- }
-
- #back-button:hover:active,
- #back-button[open="true"] {
- -moz-image-region: rect(0px 67px 21px 44px);
- }
-
- #back-button[disabled="true"] {
- -moz-image-region: rect(0px 89px 21px 66px) !important;
- }
-
- #forward-button {
- -moz-image-region: rect(20px 23px 41px 0px);
- }
-
- #forward-button:hover {
- -moz-image-region: rect(20px 45px 41px 22px);
- }
-
- #forward-button:hover:active,
- #forward-button[open="true"] {
- -moz-image-region: rect(20px 67px 41px 44px);
- }
-
- #forward-button[disabled="true"] {
- -moz-image-region: rect(20px 89px 41px 66px) !important;
- }
-
- #reload-button {
- -moz-image-region: rect(40px 23px 61px 0px);
- }
-
- #reload-button:hover {
- -moz-image-region: rect(40px 45px 61px 22px);
- }
-
- #reload-button:hover:active {
- -moz-image-region: rect(40px 67px 61px 44px);
- }
-
- #reload-button[disabled="true"] {
- -moz-image-region: rect(40px 89px 61px 66px) !important;
- }
-
- #stop-button {
- list-style-image: url("chrome://navigator/skin/icons/btn2.gif");
- -moz-image-region: rect(21px 23px 42px 0px);
- }
-
- #stop-button:hover {
- -moz-image-region: rect(21px 45px 42px 22px);
- }
-
- #stop-button:hover:active {
- -moz-image-region: rect(21px 67px 42px 44px);
- }
-
- #stop-button[disabled="true"] {
- -moz-image-region: rect(21px 89px 42px 66px) !important;
- }
-
- #print-button {
- list-style-image: url("chrome://navigator/skin/icons/btn2.gif");
- -moz-image-region: rect(0px 23px 21px 0px);
- }
-
- #print-button:hover {
- -moz-image-region: rect(0px 45px 21px 22px);
- }
-
- #print-button:hover:active,
- #print-button[open="true"] {
- -moz-image-region: rect(0px 67px 21px 44px);
- }
-
- #print-button[disabled="true"] {
- -moz-image-region: rect(0px 89px 21px 66px) !important;
- }
-
-
- /* ::::: support for home button package ::::: */
-
- #home {
- list-style-image: url("chrome://communicator/skin/help/home.gif") !important;
- -moz-image-region: rect(0px 23px 21px 0px) !important;
- }
-
- #home:hover {
- list-style-image: url("chrome://communicator/skin/help/home-hov.gif") !important;
- -moz-image-region: rect(0px 23px 21px 0px) !important;
- }
-
- #home:hover:active {
- list-style-image: url("chrome://communicator/skin/help/home-act.gif") !important;
- -moz-image-region: rect(0px 23px 21px 0px) !important;
- }
-
-
- /* ::::: go and searchbuttons ::::: */
-
- #go-button > .button-box > .button-icon,
- #search-button > .button-box > .button-icon {
- margin: 0 2px 0 0;
- }
-
- #go-button {
- list-style-image: url("chrome://communicator/skin/icons/go.gif");
- margin: 0;
- padding: 1px 3px 1px 6px !important;
- }
-
- #go-button:hover {
- list-style-image: url("chrome://communicator/skin/icons/go-hov.gif");
- }
-
- #go-button:hover:active {
- list-style-image: url("chrome://communicator/skin/icons/go-act.gif");
- }
-
- #search-button {
- list-style-image: url("chrome://communicator/skin/icons/search.gif");
- margin: 0;
- padding: 1px 3px 0px 6px !important;
- }
-
- #search-button:hover {
- list-style-image: url("chrome://communicator/skin/icons/search-hov.gif");
- }
-
- #search-button:hover:active {
- list-style-image: url("chrome://communicator/skin/icons/search-act.gif");
- }
-
- #go-button,
- #search-button {
- border: 3px solid;
- -moz-border-top-colors: transparent transparent transparent !important;
- -moz-border-right-colors: transparent transparent transparent !important;
- -moz-border-bottom-colors: transparent transparent transparent !important;
- -moz-border-left-colors: transparent transparent transparent !important;
- border-top-color: transparent !important;
- border-right-color: transparent !important;
- border-bottom-color: transparent !important;
- border-left-color: transparent !important;
- }
-
-
- /* ::::: small primary toolbar buttons ::::: */
-
- .toolbarbutton-1[toolbarmode="small"],
- .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button {
- min-width: 0px;
- }
-
- .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-icon,
- .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
- margin: 0px 1px 0px 0px;
- padding: 0px;
- }
-
- .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-text,
- .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button > .toolbarbutton-text {
- display: none;
- }
-
- #nav-bar[toolbarmode="small"] > #nav-bar-inner {
- margin: 0;
- border-left: 1px solid ThreeDHighlight;
- }
-
- #nav-bar[toolbarmode="small"] > .toolbar-primary-grippy {
- display: none;
- }
-
-
- /* ::::: fullscreen window controls ::::: */
-
- #window-controls {
- -moz-box-align: top;
- margin: 0px !important;
- border-left: 2px solid;
- -moz-border-left-colors: ThreeDShadow ThreeDHighlight;
- padding-left: 34px !important;
- background-color: black;
- background: url("chrome://communicator/skin/brand/throbber-single-full.gif");
- background-repeat: no-repeat;
- background-position: 0% 25%;
- }
-
- #window-controls[busy=true] {
- background: url("chrome://communicator/skin/brand/throbber-anim-full.gif");
- }
-
- #minimize-button {
- list-style-image: url("chrome://navigator/skin/icons/minimize.gif");
- min-width: 0 !important;
- width: 18px;
- height: 12px;
- margin: 0 0 8px 0;
- padding: 1px 0 0 0;
- }
-
- #restore-button {
- list-style-image: url("chrome://navigator/skin/icons/restore.gif");
- min-width: 0 !important;
- width: 18px;
- height: 12px;
- margin: 0 0 8px 0;
- padding: 1px 0 0 0;
- }
-
- #close-button {
- list-style-image: url("chrome://navigator/skin/icons/close.gif");
- min-width: 0 !important;
- width: 18px;
- height: 12px;
- margin: 0 0 8px 0;
- padding: 1px 0 0 0;
- }
-
-
- /* ::::: personal toolbar ::::: */
-
- #home-button {
- list-style-image: url("chrome://communicator/skin/bookmarks/home.gif");
- }
-
- #home-button:hover {
- list-style-image: url("chrome://communicator/skin/bookmarks/home-hover.gif");
- }
-
- #home-button:hover:active {
- list-style-image: url("chrome://communicator/skin/bookmarks/home-active.gif");
- }
-
- #bookmarks-button {
- list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-button.gif");
- }
-
- #bookmarks-button:hover {
- list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-button-hov.gif");
- }
-
- #bookmarks-button:hover:active {
- list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-button-act.gif");
- }
-
- #bookmarks-button[open="true"] {
- list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-button-act.gif");
- }
-
-
- /* ::::: nav bar ::::: */
-
- #nav-bar-buttons {
- border-right: 1px solid ThreeDShadow;
- padding: 0px 4px 0px 0px;
- }
-
- #nav-bar-inner {
- -moz-box-align: center;
- margin: 0;
- border-left: 1px solid ThreeDHighlight;
- padding: 0 4px;
- min-width: 0;
- }
-
- #urlbar {
- margin: 0px 2px;
- border: 2px solid;
- -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
- -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
- -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
- -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
- padding: 0px !important;
- }
-
-
- /* ::::: page proxy icon ::::: */
-
- #page-proxy-deck,
- #page-proxy-favicon,
- #page-proxy-button {
- width: 16px;
- height: 16px;
- }
-
- #page-proxy-deck {
- margin: 1px;
- }
-
- #page-proxy-button {
- list-style-image: url("chrome://communicator/skin/bookmarks/location.gif");
- }
-
- #page-proxy-favicon {
- list-style-image: none;
- }
-
- #page-proxy-button[pageproxystate="valid"]:hover {
- list-style-image: url("chrome://communicator/skin/bookmarks/location-hov.gif");
- }
-
- #page-proxy-button[pageproxystate="valid"]:hover:active {
- list-style-image: url("chrome://communicator/skin/bookmarks/location-act.gif");
- }
-
- #page-proxy-button[pageproxystate="invalid"] {
- cursor: default;
- list-style-image: url("chrome://communicator/skin/bookmarks/location-dis.gif");
- }
-
-
- /* ::::: autocomplete ::::: */
-
- .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;
- background-color: ThreeDLightShadow;
- }
-
- .autocomplete-search-engine[menuactive="true"] {
- background-color: Highlight;
- color: HighlightText;
- }
-
- .autocomplete-search-engine-img {
- margin-right: 4px;
- }
-
-
- /* ::::: sidebar splitter ::::: */
-
- #sidebar-splitter {
- border-left: none;
- border-right: none;
- min-width: 4px;
- }
-
-
- /* ::::: content area ::::: */
-
- #content {
- border: 2px solid;
- -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
- -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
- -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
- -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
- }
-
- #status-bar {
- border-top: none;
- }
-
-
- /* ::::: throbber ::::: */
-
- #main-menubar {
- background: url("chrome://communicator/skin/brand/throbber-single.gif") no-repeat 100% 0%;
- }
-
- #main-menubar[busy=true] {
- background: url("chrome://communicator/skin/brand/throbber-anim.gif") no-repeat 100% 0%;
- }
-
-
- /* ::::: statusbar display ::::: */
-
- .statusbarpanel-text {
- background: url("chrome://communicator/skin/bookmarks/location.gif") no-repeat 0% 50%;
- margin: 0px 1px;
- padding: 1px 1px 1px 20px;
- height: 16px
- }
-
- /* ::::: security overlay ::::: */
-
- #security-button {
- list-style-image: url("chrome://communicator/skin/icons/lock-insecure.gif");
- }
-
- #security-button[level="high"] {
- list-style-image: url("chrome://communicator/skin/icons/lock-securehi.gif");
- }
-
- #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");
- }
-
-
- /* ::::: popup controls ::::: */
-
- #popupIcon {
- display: -moz-box;
- list-style-image: url("chrome://navigator/skin/icons/popup-blocked.png");
- }
-
- #popupIcon[hidden="true"] {
- list-style-image: none;
- }
-
- #popupImage {
- list-style-image: url("chrome://navigator/skin/icons/about-popups.gif");
- margin: 6px 0px;
- }
-
- /* ::::: chevron ::::: */
-
- toolbarbutton.chevron {
- list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
- }
-
- toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
- display: none;
- }
-