2000-05-23 04:04:02 +00:00
|
|
|
/********** Tab widget *********/
|
2000-08-16 03:27:44 +00:00
|
|
|
/*******************************/
|
|
|
|
/* This Mac-specific CSS styles tabs that are located on the top of their content,
|
|
|
|
* as Macintosh tabs generally are. An example of using bottom tab images can be
|
|
|
|
* found in EditorToolbar.css in classic/editor/.
|
|
|
|
*******************************/
|
2000-09-14 10:35:21 +00:00
|
|
|
|
2001-11-07 00:25:21 +00:00
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
|
2000-09-14 10:35:21 +00:00
|
|
|
/*** TAB: TOP <tab> ***/
|
|
|
|
|
2002-01-22 23:21:51 +00:00
|
|
|
tab {
|
2002-01-24 15:16:56 +00:00
|
|
|
-moz-appearance: tab;
|
2002-01-22 23:21:51 +00:00
|
|
|
-moz-box-align: stretch;
|
|
|
|
color : #000000;
|
2000-08-09 23:42:18 +00:00
|
|
|
}
|
|
|
|
|
2002-01-24 15:16:56 +00:00
|
|
|
/* we use |tab-left-edge| for all 3, which is not drawn in the theme impl
|
|
|
|
* and let the |tab| take care of everything.
|
|
|
|
*/
|
2000-08-09 23:42:18 +00:00
|
|
|
.tab-image-left {
|
2002-01-24 15:16:56 +00:00
|
|
|
-moz-appearance: tab-left-edge;
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 12:04:11 +00:00
|
|
|
background : url(chrome://global/skin/tabbox/tab-unselect-left.gif) no-repeat;
|
2000-08-09 23:42:18 +00:00
|
|
|
width : 11px;
|
2002-01-22 23:21:51 +00:00
|
|
|
height : 25px;
|
2000-08-09 23:42:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-image-middle {
|
2002-01-24 15:16:56 +00:00
|
|
|
-moz-appearance: tab-left-edge;
|
2002-01-22 23:21:51 +00:00
|
|
|
background-color : #CECECE;
|
|
|
|
border-top : 3px solid;
|
|
|
|
border-bottom : 3px solid;
|
|
|
|
-moz-border-top-colors: #000000 #CECECE #DEDEDE;
|
|
|
|
-moz-border-bottom-colors: #FFFFFF #CECECE #000000;
|
2000-08-09 23:42:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-image-right {
|
2002-01-24 15:16:56 +00:00
|
|
|
-moz-appearance: tab-left-edge;
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 12:04:11 +00:00
|
|
|
background : url(chrome://global/skin/tabbox/tab-unselect-right.gif) no-repeat;
|
2000-08-09 23:42:18 +00:00
|
|
|
width : 12px;
|
2002-01-22 23:21:51 +00:00
|
|
|
height : 25px;
|
2000-05-23 04:04:02 +00:00
|
|
|
}
|
|
|
|
|
2000-08-09 23:42:18 +00:00
|
|
|
.tab-text {
|
2001-02-23 00:39:02 +00:00
|
|
|
font : menu;
|
2000-08-09 23:42:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tab:hover:active {
|
|
|
|
color : #FFFFFF;
|
|
|
|
}
|
|
|
|
|
|
|
|
tab:hover:active > .tab-image-left {
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 12:04:11 +00:00
|
|
|
background : url(chrome://global/skin/tabbox/tab-unselect-active-left.gif) no-repeat;
|
2000-08-09 23:42:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tab:hover:active > .tab-image-middle {
|
2002-01-22 23:21:51 +00:00
|
|
|
background-color: #666666;
|
|
|
|
-moz-border-top-colors: #000000 #444444 #555555;
|
|
|
|
-moz-border-bottom-colors: #FFFFFF #CCCCCC #000000;
|
2000-08-09 23:42:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tab:hover:active > .tab-image-right {
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 12:04:11 +00:00
|
|
|
background : url(chrome://global/skin/tabbox/tab-unselect-active-right.gif) no-repeat;
|
2000-08-09 23:42:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2000-05-23 04:04:02 +00:00
|
|
|
/* when a tab is selected this is how it should look */
|
2002-01-22 23:21:51 +00:00
|
|
|
tab:hover:active[selected="true"] {
|
2000-08-09 23:42:18 +00:00
|
|
|
color : #000000;
|
|
|
|
}
|
|
|
|
|
|
|
|
tab[selected="true"] > .tab-image-left,
|
|
|
|
tab:hover:active[selected="true"] > .tab-image-left {
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 12:04:11 +00:00
|
|
|
background : url(chrome://global/skin/tabbox/tab-select-left.gif) no-repeat;
|
2000-08-09 23:42:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tab[selected="true"] > .tab-image-middle,
|
|
|
|
tab:hover:active[selected="true"] > .tab-image-middle {
|
2002-01-22 23:21:51 +00:00
|
|
|
background-color: #EEEEEE;
|
|
|
|
-moz-border-top-colors: #000000 #CCCCCC #FFFFFF;
|
|
|
|
-moz-border-bottom-colors: #EEEEEE;
|
2000-08-09 23:42:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tab[selected="true"] > .tab-image-right,
|
|
|
|
tab:hover:active[selected="true"] > .tab-image-right {
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 12:04:11 +00:00
|
|
|
background : url(chrome://global/skin/tabbox/tab-select-right.gif) no-repeat;
|
2000-08-09 23:42:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-border-top-left {
|
2002-01-22 23:21:51 +00:00
|
|
|
background-color : #DEDEDE;
|
|
|
|
border-bottom : 3px solid;
|
|
|
|
-moz-border-bottom-colors: #FFFFFF #CECECE #000000;
|
|
|
|
width : 3px;
|
2000-05-23 04:04:02 +00:00
|
|
|
}
|
|
|
|
|
2000-08-09 23:42:18 +00:00
|
|
|
.tab-border-top-right {
|
2002-01-22 23:21:51 +00:00
|
|
|
background-color : #DEDEDE;
|
|
|
|
border-bottom : 3px solid;
|
|
|
|
-moz-border-bottom-colors: #FFFFFF #CECECE #000000;
|
2000-05-23 04:04:02 +00:00
|
|
|
}
|
|
|
|
|
2002-01-22 23:21:51 +00:00
|
|
|
.tab-border-top-left-cap, .tab-border-top-right-cap {
|
|
|
|
background-color : #DEDEDE;
|
|
|
|
border-bottom : 3px solid;
|
|
|
|
-moz-border-bottom-colors: #000000;
|
|
|
|
width : 1px;
|
2000-05-23 04:04:02 +00:00
|
|
|
}
|
|
|
|
|
2001-04-18 06:59:04 +00:00
|
|
|
tabs {
|
2000-08-09 23:42:18 +00:00
|
|
|
padding : 0px;
|
2000-05-23 04:04:02 +00:00
|
|
|
}
|
|
|
|
|
2000-09-14 10:35:21 +00:00
|
|
|
/*** TAB: BOTTOM <tab class="tab-bottom"> ***/
|
|
|
|
/* Found in editor.xul & editorOverlay.xul
|
|
|
|
* SMALL TABS FOR NOW */
|
|
|
|
|
|
|
|
.tab-bottom > .tab-image-left {
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 12:04:11 +00:00
|
|
|
background : url(chrome://global/skin/tabbox/tab-sm-bot-unsel-left.gif) no-repeat;
|
2000-09-14 10:35:21 +00:00
|
|
|
width : 11px;
|
2002-01-22 23:21:51 +00:00
|
|
|
height : 22px;
|
2000-09-14 10:35:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-bottom > .tab-image-middle {
|
2002-01-22 23:21:51 +00:00
|
|
|
-moz-border-top-colors: #FFFFFF #CECECE #000000;
|
|
|
|
-moz-border-bottom-colors: #000000 #CECECE #DEDEDE;
|
2000-09-14 10:35:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-bottom > .tab-image-right {
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 12:04:11 +00:00
|
|
|
background : url(chrome://global/skin/tabbox/tab-sm-bot-unsel-right.gif) no-repeat;
|
2000-09-14 10:35:21 +00:00
|
|
|
width : 11px;
|
2002-01-22 23:21:51 +00:00
|
|
|
height : 22px;
|
2000-09-14 10:35:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-bottom > .tab-image-middle > .tab-text {
|
2002-01-22 23:21:51 +00:00
|
|
|
font : message-box;
|
|
|
|
font-weight : bold;
|
|
|
|
padding : 0px;
|
|
|
|
margin : 0px !important;
|
2000-09-14 10:35:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-bottom:hover:active > .tab-image-left {
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 12:04:11 +00:00
|
|
|
background : url(chrome://global/skin/tabbox/tab-sm-bot-unsel-acti-left.gif) no-repeat;
|
2000-09-14 10:35:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-bottom:hover:active > .tab-image-middle {
|
2002-01-22 23:21:51 +00:00
|
|
|
background-color: #666666;
|
|
|
|
-moz-border-top-colors: #FFFFFF #CCCCCC #000000;
|
|
|
|
-moz-border-bottom-colors: #000000 #444444 #555555;
|
2000-09-14 10:35:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-bottom:hover:active > .tab-image-right {
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 12:04:11 +00:00
|
|
|
background : url(chrome://global/skin/tabbox/tab-sm-bot-unsel-acti-right.gif) no-repeat;
|
2000-09-14 10:35:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* when a tab is selected this is how it should look */
|
|
|
|
|
2001-03-02 00:52:01 +00:00
|
|
|
.tab-bottom[selected="true"] > .tab-image-left,
|
|
|
|
.tab-bottom:hover:active[selected="true"] > .tab-image-left {
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 12:04:11 +00:00
|
|
|
background : url(chrome://global/skin/tabbox/tab-sm-bot-sel-left.gif) no-repeat;
|
2000-09-14 10:35:21 +00:00
|
|
|
}
|
|
|
|
|
2001-03-02 00:52:01 +00:00
|
|
|
.tab-bottom[selected="true"] > .tab-image-middle,
|
|
|
|
.tab-bottom:hover:active[selected="true"] > .tab-image-middle {
|
2002-01-22 23:21:51 +00:00
|
|
|
background-color: #EEEEEE;
|
|
|
|
-moz-border-top-colors: #EEEEEE;
|
|
|
|
-moz-border-bottom-colors: #000000 #CCCCCC #FFFFFF;
|
2000-09-14 10:35:21 +00:00
|
|
|
}
|
|
|
|
|
2001-03-02 00:52:01 +00:00
|
|
|
.tab-bottom[selected="true"] > .tab-image-right,
|
|
|
|
.tab-bottom:hover:active[selected="true"] > .tab-image-right {
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 12:04:11 +00:00
|
|
|
background : url(chrome://global/skin/tabbox/tab-sm-bot-sel-right.gif) no-repeat;
|
2000-09-14 10:35:21 +00:00
|
|
|
}
|
|
|
|
|
2001-04-18 06:59:04 +00:00
|
|
|
.tabs-bottom > .tab-border-top-left {
|
2002-01-22 23:21:51 +00:00
|
|
|
background-color : #DEDEDE;
|
|
|
|
border-bottom : 0px;
|
|
|
|
border-top : 3px solid;
|
|
|
|
-moz-border-top-colors: #FFFFFF #CECECE #000000;
|
|
|
|
width : 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs-bottom > stack > .tab-border-top-right {
|
|
|
|
background-color : #DEDEDE;
|
|
|
|
border-bottom : 0px;
|
|
|
|
border-top : 3px solid;
|
|
|
|
-moz-border-top-colors: #FFFFFF #CECECE #000000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs-bottom > .tab-border-top-left-cap, .tabs-bottom > .tab-border-top-right-cap {
|
|
|
|
background-color : #DEDEDE;
|
|
|
|
border-bottom : 0px;
|
|
|
|
border-top : 3px solid;
|
|
|
|
-moz-border-top-colors: #000000;
|
|
|
|
width : 1px;
|
2000-09-14 10:35:21 +00:00
|
|
|
}
|
|
|
|
|
2000-05-23 04:04:02 +00:00
|
|
|
/* top tabs */
|
2001-04-18 06:59:04 +00:00
|
|
|
tabbox[orient="vertical"] tabs[orient="horizontal"] tab {
|
2000-08-09 23:42:18 +00:00
|
|
|
padding: 0px;
|
|
|
|
margin: 0px;
|
2000-05-23 04:04:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* bottom tabs */
|
2001-04-18 06:59:04 +00:00
|
|
|
tabbox[orient="vertical"] tabpanels + tabs[orient="horizontal"] tab {
|
2000-05-23 04:04:02 +00:00
|
|
|
border-top: none;
|
|
|
|
border-bottom: 1px solid #666666;
|
|
|
|
border-left: 1px solid white;
|
|
|
|
border-right: 1px solid #666666;
|
|
|
|
-moz-border-radius: 0px 0px 8px 8px;
|
|
|
|
padding: 1px 5px 3px 5px;
|
|
|
|
margin: 1px 2px 1px 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* left tabs */
|
2001-04-18 06:59:04 +00:00
|
|
|
tabbox[orient="horizontal"] tabs[orient="vertical"] tab {
|
2000-05-23 04:04:02 +00:00
|
|
|
border-right: none;
|
|
|
|
-moz-border-radius: 8px 0px 0px 8px;
|
|
|
|
padding-right: 1px;
|
|
|
|
margin: 2px 1px 2px 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* right tabs */
|
2001-04-18 06:59:04 +00:00
|
|
|
tabbox[orient="horizontal"] tabpanels + tabs[orient="vertical"] tab {
|
2000-05-23 04:04:02 +00:00
|
|
|
border-top: 1px solid white;
|
|
|
|
border-bottom: 1px solid #666666;
|
|
|
|
border-left: none;
|
|
|
|
border-right: 1px solid #666666;
|
|
|
|
-moz-border-radius: 0px 8px 8px 0px;
|
|
|
|
padding: 3px 5px 1px 5px;
|
|
|
|
margin: 2px 1px 2px 1px;
|
|
|
|
}
|
|
|
|
|
2001-04-18 06:59:04 +00:00
|
|
|
tabbox {
|
2000-05-23 04:04:02 +00:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* border on bottom only, no padding (used in search) */
|
2001-04-18 06:59:04 +00:00
|
|
|
tabpanels.light {
|
2000-05-23 04:04:02 +00:00
|
|
|
border: none;
|
|
|
|
border-bottom: 1px outset #CCCCCC;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
2001-04-18 06:59:04 +00:00
|
|
|
tabpanels {
|
2002-01-24 15:16:56 +00:00
|
|
|
-moz-appearance: tabpanels;
|
2000-08-09 23:42:18 +00:00
|
|
|
border-top: 0px;
|
|
|
|
border-bottom: 2px ridge #000000;
|
|
|
|
border-left: 2px groove #000000;
|
|
|
|
border-right: 2px ridge #000000;
|
2000-05-23 04:04:02 +00:00
|
|
|
padding: 5px;
|
2000-08-09 23:42:18 +00:00
|
|
|
background-color : #EEEEEE;
|
2000-05-23 04:04:02 +00:00
|
|
|
}
|
|
|
|
|