-/* ***** 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 <KaiRo@KaiRo.at>
- *
- * 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 ***** */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-
-/*============ tabpanels widget =============*/
+/* ===== tabbox.css =================================================
+ == Styles used by XUL tab-related elements.
+ ======================================================================= */
-tabpanels {
- padding: 5px;
-}
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-/* we give all tabpanel types a full border
- tabpanel is the box in which contents show up */
+/* ::::: tabs ::::: */
-/* top tabs */
-tabs + tabpanels {
- -moz-border-radius: 5px;
- border: 1px solid #9C9CFF;
- padding: 5px;
+.tabs-left,
+.tabs-right {
+/*
+ border-bottom: 2px solid;
+ -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
+*/
}
-/* bottom tabs */
-tabbox > tabpanels {
- -moz-border-radius: 5px;
- border: 1px solid #9C9CFF;
- padding: 5px;
-}
+/* ::::: tabpanels ::::: */
-/* left tabs */
-tabbox[orient="horizontal"] > tabs + tabpanels {
- -moz-border-radius: 5px;
- border: 1px solid #9C9CFF;
- padding: 5px;
-}
+/* tabpanel is the box in which contents show up */
-/* right tabs */
-tabbox[orient="horizontal"] > tabpanels {
- -moz-border-radius: 5px;
- border: 1px solid #9C9CFF;
+tabpanels {
+ border-radius: 5px;
+ border: 2px solid #008484;
padding: 5px;
+ background-color: #000000;
+ color: #FF9F00;
}
-/* border on bottom only, no padding (used in search) */
-tabpanels.light {
- border: none;
- border-bottom: 1px solid #9C9CFF;
- padding: 0px;
-}
-
-.tabpanels-inner-box {
-}
-
-/* tabs-spacer ========================== */
-
-/* top tabs */
-tabbox > tabs > .tabs-spacer {
-}
-
-/* bottom tabs */
-tabbox > tabpanels + tabs > .tabs-spacer {
-}
-
-/* left tabs */
-tabbox[orient="horizontal"] > tabs > .tabs-spacer {
-}
-
-/* right tabs */
-tabbox[orient="horizontal"] > tabpanels + tabs > .tabs-spacer {
-}
-
-/*============ tab widget ============*/
-/* NOTE: there should be code in here for indenting the first tab
- by two pixels, however, this needs to be done with a spacer to
- fill in the border, but current attempts to use said spacer
- result in said spacer not rendering. Will revisit. - JRH */
+/* ::::: tab ::::: */
-/* tabs is the strip showing the tabs, while tab is the tab (switcher) itself */
-
tab {
- -moz-border-radius: 3px 3px 0px 0px;
- border: 1px solid #9C9CFF;
- color: #FF9F00;
-}
-
-tab > .tab-box > .tab-text {
- border: 1px solid transparent;
- padding: 0px 1px 0px 1px;
-}
-
-tab:focus > .tab-box > .tab-text {
- border: 1px dotted #008484;
-}
-
-.tab-box {
- margin: 0px;
- padding: 1px 3px 1px 3px !important;
-}
-
-/* top tabs */
-tabs tab[first-tab="true"] {
- margin-left: 2px;
-}
-
-tabs tab {
+ border-radius: 8px 8px 0px 0px;
margin-top: 2px;
+ -moz-border-end: 2px solid transparent;
border-bottom: none;
- -moz-border-radius: 8px 8px 0px 0px;
+ padding: 2px 4px 1px;
+ background-color: #C09070;
+ color: #000000;
+ background-clip: padding-box;
}
-tabs tab > .tab-box {
-/* -moz-border-radius: 4px 4px 0px 0px; */
+.tab-text {
+ margin: 0 !important;
}
-/* bottom tabs */
-tabpanels + tabs > tab {
- margin-top: 0px;
- margin-bottom: 2px;
- border-top: none;
- -moz-border-radius: 0px 0px 8px 8px;
- padding: 1px 5px 3px 5px;
+tab[selected="true"] {
+ font-weight: bold;
+ background-color: #008484;
}
-tabpanels + tabs > tab > .tab-box {
-/* -moz-border-radius: 0px 0px 4px 4px; */
+tab:hover {
+ background-color: #FFCF00;
+ color: #000000;
}
-/* left tabs */
-tabbox[orient="horizontal"] > tabs[orient="vertical"] tab[first-tab="true"] {
- margin-top: 2px;
+tab:hover:active {
+ background-color: #FF9F00;
+ color: #000000;
}
-tabbox[orient="horizontal"] > tabs[orient="vertical"] tab {
- margin-left: 2px;
- border-right: none;
- -moz-border-radius: 8px 0px 0px 8px;
+tab:-moz-focusring > .tab-middle {
+ /* Don't specify the outline-color, we should always use initial value. */
+ outline: 1px dotted;
+ -moz-outline-radius: 3px 3px 0px 0px;
}
-tabbox[orient="horizontal"] > tabs[orient="vertical"] tab > .tab-box {
-/* -moz-border-radius: 4px 0px 0px 4px; */
+tab:first-of-type {
+ -moz-margin-start: 5px;
}
-
-/* right tabs */
-tabbox[orient="horizontal"] > tabpanels + tabs[orient="vertical"] > tab {
- margin-right: 2px;
- margin-left: 0px;
- border-left: none;
- -moz-border-radius: 0px 8px 8px 0px !important;
+/*
+tab:first-of-type[selected="true"] {
+ -moz-padding-end: 5px;
+ -moz-padding-start: 5px;
}
+*/
-tabbox[orient="horizontal"] > tabpanels + tabs[orient="vertical"] > tab > .tab-box {
-/* -moz-border-radius: 0px 4px 4px 0px !important; */
+tab[disabled="true"] {
+ background-color: #402858 !important;
+ color: #000000 !important;
+}
+.tab-text[disabled="true"] {
+ color: #000000 !important;
}
-/* selected tabs ============================= */
+/* ::::: tab-bottom ::::::::::
+ :: Tabs that are attached to the bottom of a panel, but not necessarily
+ :: a tabpanels.
+ ::::: */
-tab[selected="true"] {
- font-weight: bold;
+.tab-bottom {
+ border-radius: 0px 0px 8px 8px;
+ margin-top: 0;
+ margin-bottom: 2px;
+ border-top: none;
+ padding: 2px 4px 1px;
}
-tab[selected="true"] {
- font-weight: bold;
- background-color: #008484;
-}
+/* ::::: tabs-bottom ::::: */
-tab:hover {
- background-color: #FFCF00;
- color: #000000;
- text-decoration: underline;
+.tab-bottom:last-of-type {
+ margin-right: 0;
}
-tab:hover:active {
- text-decoration: none;
-}
+.tabs-bottom > .tabs-left,
+.tabs-bottom > .tabs-right {
+ border-top: 1px solid #008484;
+ border-bottom: none;
+}
\ No newline at end of file