@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;
-}
+/* ::::: tabs ::::: */
-/* we give all tabpanel types a full border
- tabpanel is the box in which contents show up */
-
-/* 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 {
+tabpanels {
-moz-border-radius: 5px;
border: 1px solid #9C9CFF;
padding: 5px;
+ background-color: #000000;
+ color: #FF9F00;
+ -moz-user-focus: normal;
}
-/* 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 {
+ -moz-border-radius: 8px 8px 0px 0px;
margin-top: 2px;
+ border: 1px solid #9C9CFF;
border-bottom: none;
- -moz-border-radius: 8px 8px 0px 0px;
-}
-
-tabs tab > .tab-box {
-/* -moz-border-radius: 4px 4px 0px 0px; */
+ padding: 1px 4px 2px 4px;
+ background-color: #000000;
+ color: #FF9F00;
}
-/* 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;
-}
-
-tabpanels + tabs > tab > .tab-box {
-/* -moz-border-radius: 0px 0px 4px 4px; */
+.tab-text {
+ margin: 0 !important;
}
-/* left tabs */
-tabbox[orient="horizontal"] > tabs[orient="vertical"] tab[first-tab="true"] {
- margin-top: 2px;
+tab[selected="true"] {
+ -moz-user-focus: normal;
+ font-weight: bold;
+ background-color: #008484;
}
-tabbox[orient="horizontal"] > tabs[orient="vertical"] tab {
- margin-left: 2px;
- border-right: none;
- -moz-border-radius: 8px 0px 0px 8px;
+tab:hover {
+ background-color: #FFCF00;
+ color: #000000;
+ text-decoration: underline;
}
-tabbox[orient="horizontal"] > tabs[orient="vertical"] tab > .tab-box {
-/* -moz-border-radius: 4px 0px 0px 4px; */
+tab:hover:active {
+ text-decoration: none;
}
-/* 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:focus > .tab-middle {
+ outline: 1px dotted invert;
}
-tabbox[orient="horizontal"] > tabpanels + tabs[orient="vertical"] > tab > .tab-box {
-/* -moz-border-radius: 0px 4px 4px 0px !important; */
+/*
+tab[first-tab="true"][selected="true"] {
+ padding-right: 5px;
+ padding-left: 5px;
}
+*/
-/* 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[selected="true"] {
- font-weight: bold;
- background-color: #008484;
+.tab-bottom {
+ -moz-border-radius: 0px 0px 8px 8px;
+ margin-top: 0;
+ margin-bottom: 2px;
+ border: 1px solid #9C9CFF;
+ border-top: none;
+ padding: 2px 4px 1px 4px;
}
-tab:hover {
- background-color: #FFCF00;
- color: #000000;
- text-decoration: underline;
-}
+/* ::::: tabs-bottom ::::: */
-tab:hover:active {
- text-decoration: none;
-}
+.tabs-bottom > .tabs-left,
+.tabs-bottom > .tabs-right {
+ border-top: 1px solid #9C9CFF;
+ border-bottom: none;
+}
\ No newline at end of file