home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2005 October
/
Gamestar_77_2005-10_dvd.iso
/
Programy
/
nsb-install-8-0.exe
/
chrome
/
fusion.jar
/
skin
/
fusion
/
global
/
tabbox.css
< prev
next >
Wrap
Cascading Style Sheet File
|
2005-07-29
|
8KB
|
304 lines
/*
* 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");
/* ::::: Default styles for tabs ::::: */
tabbox {
background-color: -moz-Dialog;
}
tabs {
-moz-box-align: end;
}
tabs > stack {
height: 22px;
background-color: transparent;
}
tabs > hbox {
background-color: transparent;
}
.tabs-left,
.tabs-right {
border-bottom: 1px solid black;
}
.tab-closebutton-stack,
.tab-popupmenu-button,
.active-tab-dropdown {
display: none;
}
/* ::::: tab ::::: */
tab
{
-moz-appearance: tab;
margin-top: 2px;
border-top: 2px solid;
border-right: 2px solid;
border-left: 2px solid;
border-bottom: 1px solid ThreeDHighlight;
-moz-border-top-colors: ThreeDHighlight ThreeDLightShadow;
-moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
-moz-border-left-colors: ThreeDHighlight ThreeDLightShadow;
-moz-border-radius-topleft: 2px;
-moz-border-radius-topright: 2px;
-moz-border-radius-bottomright: 1px;
padding: 1px 4px 2px 4px;
background-color: -moz-Dialog;
color: -moz-DialogText;
}
.tab-text {
margin: 0;
}
tab:hover:active {
-moz-border-top-colors: transparent #8190A5 #899AAC;
-moz-border-right-colors: transparent #8190A5 #899AAC;
-moz-border-left-colors: transparent #8190A5 #899AAC;
color: #FFFFFF;
}
tab[selected="true"] {
margin-top: 0;
border-bottom-color: transparent;
padding: 1px 6px 4px 6px;
}
tab[selected="true"] .tab-text {
margin-bottom: 2px;
}
tab[beforeselected="true"] {
-moz-appearance: tab-left-edge;
border-right: none;
-moz-border-radius-topright: 0;
}
tab[afterselected="true"] {
-moz-appearance: tab-right-edge;
border-left: none;
-moz-border-radius-topleft: 0;
}
tab[first-tab="true"][selected="true"] {
padding-right: 5px;
padding-left: 5px;
}
.tab-content {
padding: 0px;
}
.tab-icon {
margin-bottom: 3px;
}
.tab-text {
font-weight: normal;
margin: 2px 1px 1px 1px;
padding-bottom: 3px;
}
.tab-image {
list-style-image: inherit;
}
/* ::::: 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: transparent;
color: -moz-DialogText;
}
/* ::::: Extended styles for main browser tabs ::::: */
tabbrowser tabbox {
border: none;
}
tabbrowser .tabbrowser-tabs {
padding: 0px !important;
}
tabbrowser tabs > stack {
height: 28px;
}
tabbrowser .tab-closebutton-stack,
tabbrowser .tab-popupmenu-button,
tabbrowser .active-tab-dropdown {
display: -moz-box;
}
tabbrowser tab {
-moz-appearance: none;
height: 28px !important;
min-width: 50px;
margin: 0px 2px 0px 1px; !important;
background-color: #c8e3eb;
-moz-border-radius: 0px;
background-image: url("chrome://global/skin/tabs/tab_inactive_slice.png");
background-repeat: repeat-x;
padding: 0px !important;
color: #026b86;
border: none !important;
}
tabbrowser tab[selected="true"] {
color: black;
min-width: 250px;
background-image: url("chrome://global/skin/tabs/tab_active_slice.png");
padding: 0px !important;
border: none !important;
-moz-border-top-colors: transparent !important;
-moz-border-right-colors: transparent !important;
-moz-border-left-colors: transparent !important;
}
tabbrowser .tab-icon {
margin-bottom: 5px;
}
tabbrowser .tab-text {
padding-bottom: 5px;
}
tabbrowser tab[selected="true"] .tab-text {
padding-bottom: 3px;
}
tabbrowser .tab-left,
tabbrowser .tab-content,
tabbrowser .tab-right {
height: 28px !important;
}
tabbrowser .tab-content {
background-image: url("chrome://global/skin/tabs/tab_inactive_slice.png");
background-repeat: repeat-x;
}
tabbrowser .tab-left {
width: 6px;
background-image: url("chrome://global/skin/tabs/tab_inactive_left.png");
background-repeat: no-repeat;
}
tabbrowser .tab-right {
width: 6px;
background-image: url("chrome://global/skin/tabs/tab_inactive_right.png");
background-repeat: no-repeat;
}
.tabbrowser-tabs[showCloseButton="true"] tab:not([selected="true"]) .tab-closebutton-container {
margin-top: 3px;
display: -moz-box;
}
tabbrowser tab[selected="true"] .tab-content-bgimage,
tabbrowser tab:hover:active[selected="true"] .tab-content-bgimage {
list-style-image: url("chrome://global/skin/tabs/tab_active_stretch.png");
}
tabbrowser tab[selected="true"] .tab-content,
tabbrowser tab:hover:active[selected="true"] .tab-content {
background-image: none;
}
tabbrowser tab[selected="true"] .tab-left,
tabbrowser tab:hover:active[selected="true"] .tab-left {
width: 4px;
background-image: url("chrome://global/skin/tabs/tab_active_left.png");
}
tabbrowser tab[selected="true"] .tab-right,
tabbrowser tab:hover:active[selected="true"] .tab-right {
width: 5px;
background-image: url("chrome://global/skin/tabs/tab_active_right.png");
}
tabbrowser .tabs-newbutton-stack {
margin-left: 3px;
width: 36px;
}
tabbrowser .tabs-newbutton-stack .toolbarbutton-icon {
margin-right: 0px;
}
tabbrowser tab *[hidden=true] {
display: none !important;
}
tabbrowser tab[taboverflow="true"] {
visibility: hidden;
}
/* ::::: tab-bottom ::::::::::
:: Tabs that are attached to the bottom of a panel, but not necessarily
:: a tabpanels.
::::: */
.tab-bottom {
-moz-border-top-colors: #000000 #8C9DAF #8C9DAF;
-moz-border-bottom-colors: #000000 #8190A5 #899AAC #8D9EB0;
-moz-border-radius-topleft: 0;
-moz-border-radius-topright: 0;
-moz-border-radius-bottomright: 3px;
-moz-border-radius-bottomleft: 3px;
}
.tab-bottom:hover:active {
-moz-border-top-colors: #000000 #8C9DAF #8C9DAF;
-moz-border-bottom-colors: transparent #8190A5 #899AAC #8D9EB0;
}
.tab-bottom[selected="true"] {
-moz-border-top-colors: transparent !important;
-moz-border-bottom-colors: #000000 #DFE2E6 #D0D7DD transparent !important;
}
.tab-bottom > .tab-text {
font: message-box;
font-weight: bold;
}
/* ::::: tabs-bottom ::::: */
.tabs-bottom {
-moz-box-align: start;
}
.tabs-bottom > .tabs-left,
.tabs-bottom > .tabs-right {
border-top: 1px solid #000000;
border-bottom: none;
}
.tab-popupmenu-button {
padding: 0px;
margin-top: 0px;
margin-right: 0px;
}