2001-03-16 02:56:38 +00:00
|
|
|
/*
|
|
|
|
* 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)
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* ===== tabcontrol.css =================================================
|
|
|
|
== Styles used by XUL tab-related elements.
|
|
|
|
======================================================================= */
|
|
|
|
|
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
|
|
|
|
/* ::::: tabbox ::::: */
|
2000-06-17 03:51:16 +00:00
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
tabbox {
|
|
|
|
-moz-binding: url("chrome://global/skin/globalBindings.xml#tabbox");
|
|
|
|
}
|
2000-09-14 10:36:17 +00:00
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
.tab-border-top-left,
|
|
|
|
.tabbox-top-right {
|
|
|
|
height: 2px;
|
|
|
|
background: url("chrome://global/skin/tabcontrol/tabbox-mid.gif") repeat-x bottom;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbox-top-left-cap {
|
|
|
|
width: 2px;
|
|
|
|
height: 2px;
|
|
|
|
background: url("chrome://global/skin/tabcontrol/tabbox-lft.gif") no-repeat bottom;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbox-top-right-cap {
|
|
|
|
width: 2px;
|
|
|
|
height: 2px;
|
|
|
|
background: url("chrome://global/skin/tabcontrol/tabbox-rit.gif") no-repeat bottom;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: tabpanel ::::: */
|
|
|
|
|
|
|
|
tabpanel {
|
|
|
|
border-top: none;
|
|
|
|
border-right: 1px solid #313948;
|
|
|
|
border-bottom: 1px solid #313948;
|
|
|
|
border-left: 1px solid #313948;
|
|
|
|
padding: 5px;
|
|
|
|
background-color: #C2D0D0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: tab ::::: */
|
|
|
|
|
|
|
|
tab {
|
|
|
|
-moz-binding: url("chrome://global/skin/globalBindings.xml#tab");
|
|
|
|
color: #1C1D1F;
|
|
|
|
font: menu;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-text {
|
|
|
|
padding: 3px 0px 3px 0px;
|
2000-09-14 10:36:17 +00:00
|
|
|
}
|
|
|
|
|
2000-12-19 01:06:31 +00:00
|
|
|
.tab-image-left-top {
|
2001-03-16 02:56:38 +00:00
|
|
|
width: 11px;
|
|
|
|
height: 19px;
|
|
|
|
background: url("chrome://global/skin/tabcontrol/tab-usel-lft.gif") no-repeat;
|
2000-12-19 01:06:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-image-left-mid {
|
|
|
|
border-left: 1px solid #333D4B;
|
|
|
|
background-color: #9BA8AA;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-image-left-btm {
|
|
|
|
border-top: 1px solid #333D4B;
|
|
|
|
border-bottom: 1px solid #D7E2E3;
|
2000-05-03 19:31:21 +00:00
|
|
|
}
|
|
|
|
|
2001-01-19 04:41:50 +00:00
|
|
|
.tab-image-mid {
|
2001-03-16 02:56:38 +00:00
|
|
|
background: url("chrome://global/skin/tabcontrol/tab-usel-mid.gif") #9BA8AA repeat-x top;
|
2000-09-14 10:36:17 +00:00
|
|
|
}
|
|
|
|
|
2001-01-19 04:41:50 +00:00
|
|
|
.tab-image-mid-btm {
|
2000-12-19 01:06:31 +00:00
|
|
|
border-top: 1px solid #333D4B;
|
|
|
|
border-bottom: 1px solid #D7E2E3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-image-right-top {
|
2001-03-16 02:56:38 +00:00
|
|
|
width: 11px;
|
|
|
|
height: 19px;
|
|
|
|
background: url("chrome://global/skin/tabcontrol/tab-usel-rit.gif") no-repeat;
|
2000-12-19 01:06:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-image-right-mid {
|
2001-03-16 02:56:38 +00:00
|
|
|
background: url("chrome://global/skin/tabcontrol/tab-usel-rit-mid.gif") repeat-y;
|
2000-12-19 01:06:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-image-right-btm {
|
|
|
|
border-top: 1px solid #333D4B;
|
|
|
|
border-bottom: 1px solid #D7E2E3;
|
2001-03-16 02:56:38 +00:00
|
|
|
min-height: 2px;
|
2000-09-14 10:36:17 +00:00
|
|
|
}
|
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
/* ..... active state ..... */
|
2000-09-14 10:36:17 +00:00
|
|
|
|
|
|
|
tab:hover:active {
|
2001-03-16 02:56:38 +00:00
|
|
|
color: #FEFEFE;
|
2000-09-14 10:36:17 +00:00
|
|
|
}
|
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
tab:hover:active > box > box > .tab-image-left-top {
|
|
|
|
background-image: url("chrome://global/skin/tabcontrol/tab-act-lft.gif");
|
2000-12-19 01:06:31 +00:00
|
|
|
}
|
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
tab:hover:active > box > box > .tab-image-left-mid {
|
|
|
|
background-image: url("chrome://global/skin/tabcontrol/tab-act-lft-mid.gif");
|
2000-09-14 10:36:17 +00:00
|
|
|
}
|
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
tab:hover:active > box > .tab-image-mid {
|
|
|
|
background-image: url("chrome://global/skin/tabcontrol/tab-act-mid.gif");
|
2000-12-19 01:06:31 +00:00
|
|
|
background-color: #7A878C;
|
2000-09-14 10:36:17 +00:00
|
|
|
}
|
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
tab:hover:active > box > box > .tab-image-right-top {
|
|
|
|
background-image: url("chrome://global/skin/tabcontrol/tab-act-rit.gif");
|
2000-09-14 10:36:17 +00:00
|
|
|
}
|
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
tab:hover:active > box > box > .tab-image-right-mid {
|
|
|
|
background-image: url("chrome://global/skin/tabcontrol/tab-act-rit-mid.gif");
|
2000-12-19 01:06:31 +00:00
|
|
|
}
|
2000-09-14 10:36:17 +00:00
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
/* ..... selected state ..... */
|
|
|
|
|
|
|
|
tab[selected="true"],
|
|
|
|
tab:hover:active[selected="true"] {
|
|
|
|
color: #1C1D1F;
|
2000-09-14 10:36:17 +00:00
|
|
|
}
|
|
|
|
|
2000-12-19 01:06:31 +00:00
|
|
|
.tab-image-left-top[selected="true"],
|
2001-03-16 02:56:38 +00:00
|
|
|
tab:hover:active[selected="true"] > box > box > .tab-image-left-top {
|
|
|
|
background-image: url("chrome://global/skin/tabcontrol/tab-sel-lft.gif");
|
2000-12-19 01:06:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-image-left-mid[selected="true"],
|
2001-03-16 02:56:38 +00:00
|
|
|
tab:hover:active[selected="true"] > box > box > .tab-image-left-mid {
|
2000-12-19 01:06:31 +00:00
|
|
|
background-image: none;
|
|
|
|
background-color: #C3D1D1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-image-left-btm[selected="true"],
|
2001-03-16 02:56:38 +00:00
|
|
|
tab:hover:active[selected="true"] > box > box > .tab-image-left-btm {
|
|
|
|
background: url("chrome://global/skin/tabcontrol/tab-sel-left-btm.gif");
|
2000-12-19 01:06:31 +00:00
|
|
|
border: none;
|
|
|
|
height: 2px;
|
2000-05-03 19:31:21 +00:00
|
|
|
}
|
|
|
|
|
2001-01-19 04:41:50 +00:00
|
|
|
.tab-image-mid[selected="true"],
|
2001-03-16 02:56:38 +00:00
|
|
|
tab:hover:active[selected="true"] > box > .tab-image-mid {
|
|
|
|
background-image: url("chrome://global/skin/tabcontrol/tab-sel-mid.gif");
|
2000-12-19 01:06:31 +00:00
|
|
|
background-color: #C3D1D1;
|
|
|
|
}
|
|
|
|
|
2001-01-19 04:41:50 +00:00
|
|
|
.tab-image-mid-btm[selected="true"],
|
2001-03-16 02:56:38 +00:00
|
|
|
tab:hover:active[selected="true"] > box > box > .tab-image-mid-btm {
|
2000-12-19 01:06:31 +00:00
|
|
|
border-top: 1px solid #919FA3;
|
|
|
|
border-bottom: 1px solid #F4F7F9;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-image-right-top[selected="true"],
|
2001-03-16 02:56:38 +00:00
|
|
|
tab:hover:active[selected="true"] > box > box > .tab-image-right-top {
|
|
|
|
background-image: url("chrome://global/skin/tabcontrol/tab-sel-rit.gif");
|
2000-12-19 01:06:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-image-right-mid[selected="true"],
|
2001-03-16 02:56:38 +00:00
|
|
|
tab:hover:active[selected="true"] > box > box > .tab-image-right-mid {
|
|
|
|
background-image: url("chrome://global/skin/tabcontrol/tab-sel-rit-mid.gif");
|
2000-05-03 19:31:21 +00:00
|
|
|
}
|
|
|
|
|
2000-12-19 01:06:31 +00:00
|
|
|
.tab-image-right-btm[selected="true"],
|
2001-03-16 02:56:38 +00:00
|
|
|
tab:hover:active[selected="true"] > box > box > .tab-image-right-btm {
|
2000-12-19 01:06:31 +00:00
|
|
|
border: none;
|
|
|
|
height: 2px;
|
2001-03-16 02:56:38 +00:00
|
|
|
background: url("chrome://global/skin/tabcontrol/tab-sel-rit-btm.gif");
|
2000-09-14 10:36:17 +00:00
|
|
|
}
|
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
/* ::::: tab-bottom ::::::::::
|
|
|
|
:: Tabs that are attached to the bottom of a panel, but not necessarily
|
|
|
|
:: a tabpanel.
|
|
|
|
::::: */
|
2000-09-14 10:36:17 +00:00
|
|
|
|
2001-01-19 04:41:50 +00:00
|
|
|
.tab-bottom {
|
|
|
|
min-height: 21px;
|
|
|
|
}
|
2001-03-16 02:56:38 +00:00
|
|
|
|
2001-01-19 04:41:50 +00:00
|
|
|
.tab-bottom > .tab-top > .tab-image-left > .tab-image-left-top {
|
|
|
|
border-top: 1px solid #919FA3;
|
|
|
|
border-bottom: 1px solid #333D4B;
|
|
|
|
height: 0px;
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-bottom > .tab-top > .tab-image-left > .tab-image-left-middle {
|
|
|
|
border-left: 1px solid #333D4B;
|
|
|
|
background-color: #9BA8AA;
|
2000-09-14 10:36:17 +00:00
|
|
|
}
|
|
|
|
|
2001-01-19 04:41:50 +00:00
|
|
|
.tab-bottom > .tab-top > .tab-image-left > .tab-image-left-btm {
|
|
|
|
border: none;
|
2001-03-16 02:56:38 +00:00
|
|
|
width: 11px;
|
|
|
|
height: 19px;
|
|
|
|
background: url("chrome://global/skin/tabcontrol/tab-bot-usel-lft.gif") no-repeat;
|
2000-09-14 10:36:17 +00:00
|
|
|
}
|
|
|
|
|
2001-01-19 04:41:50 +00:00
|
|
|
.tab-bottom > .tab-top > .tab-image-mid > .tab-image-mid-top {
|
|
|
|
border-top: 1px solid #919FA3;
|
|
|
|
border-bottom: 1px solid #333D4B;
|
2000-09-14 10:36:17 +00:00
|
|
|
}
|
|
|
|
|
2001-01-19 04:41:50 +00:00
|
|
|
.tab-bottom > .tab-top > .tab-image-mid > .tab-image-mid-mid {
|
2001-03-16 02:56:38 +00:00
|
|
|
background: url("chrome://global/skin/tabcontrol/tab-bot-usel-mid.gif") #9BA8AA repeat-x bottom;
|
2001-01-19 04:41:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-bottom > .tab-top > .tab-image-mid > .tab-image-mid-btm {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-bottom > .tab-top > .tab-image-right > .tab-image-right-top {
|
|
|
|
border-top: 1px solid #919FA3;
|
|
|
|
border-bottom: 1px solid #333D4B;
|
|
|
|
height: 0px;
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-bottom > .tab-top > .tab-image-right > .tab-image-right-mid {
|
2001-03-16 02:56:38 +00:00
|
|
|
background: url("chrome://global/skin/tabcontrol/tab-usel-right-mid.gif") repeat-y;
|
2001-01-19 04:41:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-bottom > .tab-top > .tab-image-right > .tab-image-right-btm {
|
|
|
|
border: none;
|
2001-03-16 02:56:38 +00:00
|
|
|
width: 11px;
|
|
|
|
height: 19px;
|
|
|
|
background: url("chrome://global/skin/tabcontrol/tab-bot-usel-rit.gif") no-repeat;
|
2000-09-14 10:36:17 +00:00
|
|
|
}
|
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
/* ..... active state ..... */
|
2000-09-14 10:36:17 +00:00
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
.tab-bottom:hover:active > .tab-top > .tab-image-left > .tab-image-left-btm {
|
|
|
|
background-image: url("chrome://global/skin/tabcontrol/tab-bot-act-lft.gif");
|
2000-09-14 10:36:17 +00:00
|
|
|
}
|
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
.tab-bottom:hover:active > .tab-top > .tab-image-mid > .tab-image-mid-mid {
|
|
|
|
background-image: url("chrome://global/skin/tabcontrol/tab-bot-act-mid.gif");
|
2000-09-14 10:36:17 +00:00
|
|
|
}
|
|
|
|
|
2001-01-19 04:41:50 +00:00
|
|
|
.tab-bottom:hover:active > .tab-top > .tab-image-right > .tab-image-right-btm {
|
2001-03-16 02:56:38 +00:00
|
|
|
background-image: url("chrome://global/skin/tabcontrol/tab-bot-act-rit.gif");
|
2000-09-14 10:36:17 +00:00
|
|
|
}
|
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
/* ..... selected state ..... */
|
2000-09-14 10:36:17 +00:00
|
|
|
|
2001-01-19 04:41:50 +00:00
|
|
|
.tab-bottom[selected="true"] > .tab-top > .tab-image-left > .tab-image-left-btm,
|
2001-03-16 02:56:38 +00:00
|
|
|
.tab-bottom[selected="true"]:hover:active > .tab-top > .tab-image-left > .tab-image-left-btm {
|
|
|
|
height: 19px;
|
|
|
|
background-image: url("chrome://global/skin/tabcontrol/tab-bot-sel-lft.gif");
|
2000-09-14 10:36:17 +00:00
|
|
|
}
|
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
.tab-bottom[selected="true"] > .tab-top > .tab-image-mid > .tab-image-mid-mid,
|
|
|
|
.tab-bottom[selected="true"]:hover:active > .tab-top > .tab-image-mid > .tab-image-mid-mid {
|
|
|
|
background-image: url("chrome://global/skin/tabcontrol/tab-bot-sel-mid.gif");
|
2000-09-14 10:36:17 +00:00
|
|
|
}
|
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
.tab-bottom[selected="true"] > .tab-top > .tab-image-mid > .tab-image-mid-btm,
|
|
|
|
.tab-bottom[selected="true"]:hover:active > .tab-top > .tab-image-mid > .tab-image-mid-btm {
|
|
|
|
border: none;
|
2000-09-14 10:36:17 +00:00
|
|
|
}
|
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
.tab-bottom[selected="true"] > .tab-top > .tab-image-right > .tab-image-right-btm,
|
|
|
|
.tab-bottom[selected="true"]:hover:active > .tab-top > .tab-image-right > .tab-image-right-btm {
|
|
|
|
height: 19px;
|
|
|
|
background-image: url("chrome://global/skin/tabcontrol/tab-bot-sel-rit.gif");
|
2000-09-14 10:36:17 +00:00
|
|
|
}
|
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
/* ::::: tabbox-bottom ::::: */
|
2000-05-03 19:31:21 +00:00
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
.tabbox-bottom > .tabbox-top-left,
|
|
|
|
.tabbox-bottom > .tabbox-top-right {
|
|
|
|
background: url("chrome://global/skin/tabcontrol/tabbox-bot-mid.gif") repeat-x top;
|
|
|
|
width: 2px;
|
2000-05-03 19:31:21 +00:00
|
|
|
}
|
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
.tabbox-bottom > .tabbox-top-left-cap {
|
|
|
|
background: url("chrome://global/skin/tabcontrol/tabbox-bot-lft.gif") no-repeat top;
|
|
|
|
width: 2px;
|
2000-05-03 19:31:21 +00:00
|
|
|
}
|
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
.tabbox-bottom > .tabbox-top-right-cap {
|
|
|
|
background: url("chrome://global/skin/tabcontrol/tabbox-bot-rit.gif") no-repeat top;
|
|
|
|
width: 2px;
|
2000-05-03 19:31:21 +00:00
|
|
|
}
|
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
/* ::::: special looks for widgets in tabpanels ::::: */
|
2000-05-03 19:31:21 +00:00
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
tree.tabpanel,
|
2001-03-22 00:15:47 +00:00
|
|
|
textbox.tabpanel {
|
2001-03-16 02:56:38 +00:00
|
|
|
border-top: 1px solid #ACB9B9;
|
|
|
|
border-right: 1px solid #ECF0F0;
|
|
|
|
border-bottom: 1px solid #ECF0F0;
|
|
|
|
border-left: 1px solid #ACB9B9;
|
2000-05-03 19:31:21 +00:00
|
|
|
}
|
|
|
|
|
2001-03-16 02:56:38 +00:00
|
|
|
tree.tabpanel > .tree-container-treerows,
|
2001-03-22 00:15:47 +00:00
|
|
|
textbox.tabpanel > .textbox-internal-box {
|
2001-03-16 02:56:38 +00:00
|
|
|
border: 1px solid #6E7676;
|
2000-05-03 19:31:21 +00:00
|
|
|
}
|
|
|
|
|
2001-03-22 00:15:47 +00:00
|
|
|
textbox.tabpanel[focused="true"] {
|
2001-03-16 02:56:38 +00:00
|
|
|
border: 1px solid #909090;
|
2000-09-14 10:36:17 +00:00
|
|
|
}
|