home *** CD-ROM | disk | FTP | other *** search
- /*
- * 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 Communicator client code, released
- * March 31, 1998.
- *
- * The Initial Developer of the Original Code is Netscape
- * Communications Corporation. Portions created by Netscape are
- * Copyright (C) 1998-2001 Netscape Communications Corporation. All
- * Rights Reserved.
- *
- * Contributor(s):
- * Joe Hewitt (hewitt@netscape.com)
- */
-
- /* ===== tabbox.css =================================================
- == Styles used by XUL tab-related elements.
- ======================================================================= */
-
- @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-
- /* ::::: tabs ::::: */
-
- .tabs-left,
- .tabs-right {
- border-bottom: none;
- }
-
- /* ::::: tabpanels ::::: */
-
- tabpanels {
- -moz-appearance: tabpanels;
- border-right: 2px solid;
- /*border-bottom: 2px solid;*/
- border-left: 2px solid;
- -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
- -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
- -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow;
- /*padding: 8px;*/
- background-color: -moz-Dialog;
- color: -moz-DialogText;
- }
-
- /* ::::: tab ::::: */
-
- tab {
- -moz-appearance: none;
- -moz-border-radius: 0;
- padding: 1px;
- margin: 2px;
- border: 1px solid ThreeDShadow;
- -moz-border-top-colors: ThreeDShadow;
- -moz-border-right-colors: ThreeDShadow;
- -moz-border-left-colors: ThreeDShadow;
- -moz-border-bottom-colors: ThreeDShadow;
- color: ButtonText;
- }
-
- .tab-text {
- margin: 0px;
- padding: 0px 3px 0px 0px;
- }
-
- tab[first-tab="true"] {
- /*margin-left: 2px;*/
- }
-
- tab[beforeselected="true"] {
- /*-moz-appearance: tab-left-edge;
- border-right: none;
- -moz-border-radius-topright: 0;
- padding-right: 3px;*/
- }
-
- tab[afterselected="true"] {/*
- -moz-appearance: tab-right-edge;
- border-left: none;
- -moz-border-radius-topleft: 0;
- padding-left: 5px;*/
- }
-
- tab[selected="true"] {
- padding: 2px 0 0 2px;
- border-color: Highlight !important;
- -moz-border-top-colors: Highlight;
- -moz-border-right-colors: Highlight;
- -moz-border-left-colors: Highlight;
- -moz-border-bottom-colors: highlight;
- background-color: #F3F3F0 !important;
- }
-
- tab[first-tab="true"][selected="true"] {
- /*margin-left: 0;*/
- }
-
- /* ::::: tab-bottom ::::::::::
- :: Tabs that are attached to the bottom of a panel, but not necessarily
- :: a tabpanels.
- ::::: */
-
- .tab-bottom {
- -moz-appearance: none !important;
- -moz-border-radius: 0 !important;
- padding: 1px !important;
- margin: 2px !important;
- border: 1px solid ThreeDShadow;
- -moz-border-top-colors: ThreeDShadow;
- -moz-border-right-colors: ThreeDShadow;
- -moz-border-left-colors: ThreeDShadow;
- -moz-border-bottom-colors: ThreeDShadow;
- color: ButtonText;
- }
-
- .tab-bottom[selected="true"] {
- padding: 2px 0 0 2px;
- border-color: Highlight !important;
- -moz-border-top-colors: Highlight;
- -moz-border-right-colors: Highlight;
- -moz-border-left-colors: Highlight;
- -moz-border-bottom-colors: highlight;
- background-color: #F3F3F0 !important;
- }
-
- .tab-bottom[beforeselected="true"] {
- -moz-border-radius-bottomright: 0;
- }
-
- .tab-bottom[afterselected="true"] {
- -moz-border-radius-bottomleft: 0;
- }
-
- /* ::::: tabs-bottom ::::: */
-
- .tabs-bottom > .tabs-left,
- .tabs-bottom > .tabs-right {
- /* border-top: 1px solid ThreeDShadow;*/
- border-bottom: none;
- }