RetroZilla/themes/modern/global/tabbox.css
2015-10-20 23:03:22 -04:00

168 lines
4.8 KiB
CSS

/* ***** 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 mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Joe Hewitt <hewitt@netscape.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either of 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 ***** */
/* ===== tabbox.css =================================================
== Styles used by XUL tab-related elements.
======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: tabs ::::: */
tabs {
-moz-box-align: end;
}
.tabs-left,
.tabs-right {
border-bottom: 1px solid #000000;
}
/* ::::: tabpanels ::::: */
tabpanels {
border-right: 3px solid;
border-left: 3px solid;
border-bottom: 3px solid;
-moz-border-right-colors: #000000 #BAC2CD #C1C9D3;
-moz-border-bottom-colors: #000000 #BAC2CD #C1C9D3;
-moz-border-left-colors: #000000 #DFE2E6 #D0D7DD;
padding: 5px;
background-color: #C7D0D9;
}
/* ::::: tab ::::: */
tab {
margin: 0px;
border: 3px solid;
border-bottom-width: 3px;
-moz-border-top-colors: #000000 #90A0B0 #98A7B5;
-moz-border-right-colors: #000000 #90A0B0 #98A7B5;
-moz-border-bottom-colors: #000000 #98A7B5;
-moz-border-left-colors: #000000 #90A0B0 #98A7B5;
-moz-border-radius-topleft: 3px;
-moz-border-radius-topright: 3px;
padding: 1px 3px;
/*background-color: #8C9DAF;*/
background-color: #9CABBA;
color: #000000;
font: menu;
}
tab[selected="true"] {
-moz-user-focus: normal;
}
.tab-text {
margin: 0px !important;
}
.tab-image {
list-style-image: inherit;
}
/* ..... active state ..... */
tab:hover:active {
-moz-border-top-colors: transparent #8190A5 #899AAC;
-moz-border-right-colors: transparent #8190A5 #899AAC;
-moz-border-left-colors: transparent #8190A5 #899AAC;
background-color: #8B9AAD;
color: #FFFFFF;
}
/* ..... selected state ..... */
tab[selected="true"],
tab[selected="true"]:hover:active {
-moz-border-top-colors: #000000 #DFE2E6 #D0D7DD;
-moz-border-right-colors: #000000 #BAC2CD #C1C9D3;
-moz-border-bottom-colors: transparent;
-moz-border-left-colors: #000000 #DFE2E6 #D0D7DD;
background-color: #C7D0D9;
color: #000000;
}
/* ::::: 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:focus {
-moz-border-top-colors: #000000 #8C9DAF #8C9DAF;
-moz-border-left-colors: #000000 #8C9DAF #8C9DAF;
-moz-border-right-colors: #000000 #8C9DAF #8C9DAF;
-moz-border-bottom-colors: #8190A5 #8190A5 #899AAC;
}
.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;
}