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
/
toolbarbutton.css
< prev
next >
Wrap
Cascading Style Sheet File
|
2005-07-29
|
4KB
|
149 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-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Joe Hewitt (hewitt@netscape.com)
*/
/* ===== toolbarbutton.css =====================================================
== Styles used by the XUL button element.
======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: toolbarbutton ::::: */
toolbarbutton {
-moz-box-align: center;
-moz-box-pack: center;
padding: 0px;
font: message-box;
}
.toolbarbutton-icon {
margin-right: 2px;
list-style-image: inherit;
}
.toolbarbutton-text {
margin: 0px !important;
text-align: center;
}
toolbarbutton:hover,
toolbarbutton[buttonover="true"] {
border-top-color: #EEF0F3;
border-right-color: #86929E;
border-bottom-color: #86929E;
border-left-color: #EEF0F3;
}
toolbarbutton:hover:active,
toolbarbutton[open="true"] {
border-top-color: #86929E;
border-right-color: #EEF0F3;
border-bottom-color: #EEF0F3;
border-left-color: #86929E;
padding: 0px;
}
toolbarbutton[disabled="true"],
toolbarbutton[disabled="true"]:hover,
toolbarbutton[disabled="true"]:hover:active,
toolbarbutton[disabled="true"][open="true"] {
color: #444444 !important;
}
/* ..... checked state ..... */
toolbarbutton[checked="true"] {
border-top-color: #454C55 !important;
border-right-color: #7D848D !important;
border-bottom-color: #7D848D !important;
border-left-color: #454C55 !important;
background-color: #8C9AA8 !important;
color: #EFF1F4;
}
/* ::::: toolbarbutton menu ::::: */
.toolbarbutton-menu-dropmarker {
list-style-image: url("chrome://global/skin/button/tbmenu-arrow.gif");
-moz-image-region: auto; /* cut off inheritance */
}
.toolbarbutton-menu-dropmarker[disabled="true"] {
list-style-image: url("chrome://global/skin/button/tbmenu-arrow-dis.gif");
}
.toolbarbutton-menu-dropmarker[open="true"] {
list-style-image: url("chrome://global/skin/button/tbmenu-arrow-act.gif");
}
/* ::::: toolbarbutton menu-button ::::: */
toolbarbutton[type="menu-button"] {
-moz-box-orient: horizontal;
font: inherit;
}
toolbarbutton[type="menu-button"],
toolbarbutton[type="menu-button"]:hover,
toolbarbutton[type="menu-button"]:hover:active,
toolbarbutton[type="menu-button"][open="true"],
toolbarbutton[type="menu-button"][disabled="true"],
toolbarbutton[type="menu-button"][disabled="true"]:hover,
toolbarbutton[type="menu-button"][disabled="true"]:hover:active {
border-style: none;
padding: 0px !important;
}
.toolbarbutton-menubutton-button {
-moz-box-orient: vertical;
font: inherit;
}
/* .......... dropmarker .......... */
.toolbarbutton-menubutton-dropmarker {
-moz-box-orient: vertical;
-moz-box-pack: end;
-moz-image-region: auto;
margin: 0px;
margin-bottom: 10px;
width: 11px;
height: 11px;
list-style-image: none;
-moz-image-region: auto; /* cut off inheritance */
}
[iconsize="small"] .toolbarbutton-menubutton-dropmarker {
margin-bottom: 5px;
}
.toolbarbutton-menubutton-dropmarker:hover,
.toolbarbutton-menubutton-dropmarker image:hover,
toolbarbutton:hover .toolbarbutton-menubutton-dropmarker {
list-style-image: url("chrome://global/skin/toolbar/toolbarbutton-dropmarker.png");
}
toolbarbutton[disabled="true"] .toolbarbutton-menubutton-dropmarker,
toolbarbutton[disabled="true"]:hover .toolbarbutton-menubutton-dropmarker
{
list-style-image: none;
}